diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86e3e2a..6249294 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ghc: ["8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10"] + ghc: ["8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10", "9.12"] steps: - uses: actions/checkout@v4 - name: "Setup haskell" diff --git a/CHANGELOG.md b/CHANGELOG.md index bda5975..6371316 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for nothunks +## 0.3.1 -- 2025-01-06 + +* Make it build with ghc-9.12. + ## 0.3.0 -- 2024-08-13 * Include _both_ `Context` _and_ `Info` in `ThunkInfo` (#54) diff --git a/cabal.project b/cabal.project index 5f7aa6f..60d8f07 100644 --- a/cabal.project +++ b/cabal.project @@ -4,3 +4,9 @@ package nothunks tests: True test-show-details: direct + +if impl (ghc >= 9.12) + allow-newer: + , filepath:template-haskell + , hedgehog:template-haskell + , text:template-haskell diff --git a/nothunks.cabal b/nothunks.cabal index eaf0ee6..2fa1a8c 100644 --- a/nothunks.cabal +++ b/nothunks.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: nothunks -version: 0.3.0.0 +version: 0.3.1 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 @@ -43,13 +43,13 @@ library build-depends: base >= 4.12 && < 5 , containers >= 0.5 && < 0.8 , stm >= 2.5 && < 2.6 - , time >= 1.5 && < 1.13 + , time >= 1.5 && < 1.15 -- Whatever is bundled with ghc , ghc-heap if impl(ghc >= 9.2) - build-depends: wherefrom-compat ^>= 0.1.1 + build-depends: wherefrom-compat ^>= 0.2 if flag(bytestring) build-depends: bytestring >= 0.10 && < 0.13 @@ -80,7 +80,7 @@ test-suite nothunks-test , ghc-prim -- Additional dependencies - , hedgehog >= 1.1 && < 1.5 + , hedgehog >= 1.1 && < 1.6 , random >= 1.1 && < 1.3 , tasty >= 1.3 && < 1.6 , tasty-hedgehog >= 1.1 && < 1.5