From 7bc38dd4463b7275e9c97c4b2ac308df73278dad Mon Sep 17 00:00:00 2001 From: Nikolai Kudasov Date: Fri, 29 May 2026 13:38:06 +0300 Subject: [PATCH 1/2] Update .cabal to support GHC 14 --- .github/workflows/haskell-ci.yml | 5 +++++ http-api-data.cabal | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index ea81084..2276687 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -35,6 +35,11 @@ jobs: strategy: matrix: include: + - compiler: ghc-9.14.1 + compilerKind: ghc + compilerVersion: 9.14.1 + setup-method: ghcup + allow-failure: false - compiler: ghc-9.12.2 compilerKind: ghc compilerVersion: 9.12.2 diff --git a/http-api-data.cabal b/http-api-data.cabal index 57f71de..81b24eb 100644 --- a/http-api-data.cabal +++ b/http-api-data.cabal @@ -32,7 +32,8 @@ tested-with: GHC==9.6.7, GHC==9.8.4, GHC==9.10.1, - GHC==9.12.2 + GHC==9.12.2, + GHC==9.14.1 flag use-text-show description: Use text-show library for efficient ToHttpApiData implementations. @@ -43,9 +44,9 @@ library hs-source-dirs: src/ -- GHC bundled - build-depends: base >= 4.12.0.0 && < 4.22 + build-depends: base >= 4.12.0.0 && < 4.23 , bytestring >= 0.10.8.2 && < 0.13 - , containers >= 0.6.0.1 && < 0.8 + , containers >= 0.6.0.1 && < 0.9 , text >= 1.2.3.0 && < 1.3 || >=2.0 && <2.2 -- other-dependencies From f10caa2d685c2b63ada8ef308657b1f3db1273cc Mon Sep 17 00:00:00 2001 From: Nikolai Kudasov Date: Sun, 31 May 2026 11:11:29 +0300 Subject: [PATCH 2/2] Fix test-suite constraints --- http-api-data.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http-api-data.cabal b/http-api-data.cabal index 81b24eb..1be0481 100644 --- a/http-api-data.cabal +++ b/http-api-data.cabal @@ -94,8 +94,8 @@ test-suite spec , uuid-types build-depends: hspec >= 2.7.1 && <2.12 - , QuickCheck >= 2.13.1 && <2.16 - , quickcheck-instances >= 0.3.25.2 && <0.4 + , QuickCheck >= 2.13.1 && <2.19 + , quickcheck-instances >= 0.3.25.2 && <0.5 source-repository head type: git