diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e61e7f..29d8c94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ # Revision history for nothunks +## 0.2.1.0 -- 2024-02-06 + +* Support `wherefrom` with `GHC-9.2` or newer. (Teo Camarasu, [#49](https://github.com/input-output-hk/nothunks/pull/49)) + ## 0.2.0 -- 2024-01-27 * Use `whereFrom` to get source information, which is avialable when the source - is compiled with `GHC-9.4` (or newer) and with `-finfo-table-map` (and even + is compiled with `GHC-9.6` (or newer) and with `-finfo-table-map` (and even more accurate when `-fdistinct-constructor-table` is passed). For that reason the `ThunkInfo` type has changed. * `NoThunks` instance for `Data.Tuple.Solo`. diff --git a/nothunks.cabal b/nothunks.cabal index 18395a6..d01e627 100644 --- a/nothunks.cabal +++ b/nothunks.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: nothunks -version: 0.2.0 +version: 0.2.1.0 synopsis: Examine values for unexpected thunks description: Long lived application data typically should not contain any thunks. This library can be used to examine values for @@ -49,7 +49,8 @@ library , ghc-heap if impl(ghc >= 9.2) - build-depends: wherefrom-compat >= 0.1.1.0 && < 0.2.0.0 + build-depends: wherefrom-compat ^>= 0.1.1 + if flag(bytestring) build-depends: bytestring >= 0.10 && < 0.13 if flag(text) diff --git a/src/NoThunks/Class.hs b/src/NoThunks/Class.hs index a55e215..0b45841 100644 --- a/src/NoThunks/Class.hs +++ b/src/NoThunks/Class.hs @@ -5,7 +5,6 @@ {-# LANGUAGE DerivingVia #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} -{-# LANGUAGE KindSignatures #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE ScopedTypeVariables #-}