From e91d8572cdc6edd23fcadda45157c99362f4103a Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Tue, 6 Feb 2024 09:38:48 +0100 Subject: [PATCH 1/3] Removed unused extensions --- src/NoThunks/Class.hs | 1 - 1 file changed, 1 deletion(-) 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 #-} From a50b30b40da3b4a3c685a1233be8e09987760ef8 Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Tue, 6 Feb 2024 09:43:19 +0100 Subject: [PATCH 2/3] code style --- nothunks.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nothunks.cabal b/nothunks.cabal index 18395a6..ba3926f 100644 --- a/nothunks.cabal +++ b/nothunks.cabal @@ -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) From 38c2d0e9422b31d3e6d7709d69960dc97624ff3d Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Tue, 6 Feb 2024 09:38:34 +0100 Subject: [PATCH 3/3] bump version 0.2.1.0 --- CHANGELOG.md | 6 +++++- nothunks.cabal | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 ba3926f..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