diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 413d991..538bddc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - "9.2.8" - "9.4.8" - "9.6.6" - - "9.8.2" + - "9.8.3" - "9.10.1" exclude: - os: "macOS-latest" @@ -69,12 +69,11 @@ jobs: matrix: stack: ["latest"] resolver: - - "--resolver lts-18" # GHC 8.10.7 - "--resolver lts-19" # GHC 9.0.2 - "--resolver lts-20" # GHC 9.2.8 - "--resolver lts-21" # GHC 9.4.8 - "--resolver lts-22" # GHC 9.6.6 - - "--resolver nightly" # GHC 9.8.2 + - "--resolver nightly" # GHC 9.8.3 steps: - uses: actions/checkout@v4 diff --git a/ChangeLog.md b/ChangeLog.md index a85a7ca..bd728a7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,24 @@ # Changelog for safe-json +## 1.2.0.2 + +* Make the test build with `quickcheck-instances-0.3.32` +* Build with GHC 9.10.* +* Dropped building with GHC 8.10.7 +* Bumped more dependency constraints +* Added Changelog entry for version `1.2.0.1` + +## 1.2.0.1 + +* Bumped upper dependency constraints to: + * `bytestring < 0.1` + * `containers < 0.8` + * `hashable < 1.6` + * `tasty-quickcheck < 0.12` + * `text < 2.2` + * `time < 0.15` +* and built with GHC 9.8.* + ## 1.2.0.0 * Compatibility with GHC 9.6.* and `tasty < 1.6` diff --git a/package.yaml b/package.yaml index b7596d1..c6b16c4 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: safe-json -version: 1.2.0.1 +version: 1.2.0.2 github: "Vlix/safe-json" license: MIT author: "Felix Paulusma" @@ -8,12 +8,12 @@ copyright: "2019 Felix Paulusma" # Metadata used when publishing your package synopsis: Automatic JSON format versioning category: "JSON" -tested-with: GHC == 8.10.7 - , GHC == 9.0.2 +tested-with: GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.6 - , GHC == 9.8.2 + , GHC == 9.8.3 + , GHC == 9.10.1 extra-source-files: - README.md diff --git a/safe-json.cabal b/safe-json.cabal index f15c99d..09f3956 100644 --- a/safe-json.cabal +++ b/safe-json.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: safe-json -version: 1.2.0.1 +version: 1.2.0.2 synopsis: Automatic JSON format versioning description: This library aims to make the updating of JSON formats or contents, while keeping backward compatibility, as painless as possible. The way this is achieved is through versioning and defined migration functions to migrate older (or newer) versions to the one used. . @@ -28,7 +28,7 @@ license: MIT license-file: LICENSE build-type: Simple tested-with: - GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.6 , GHC == 9.8.2 + GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.6 , GHC == 9.8.3 , GHC == 9.10.1 extra-source-files: README.md ChangeLog.md diff --git a/test/Instances.hs b/test/Instances.hs index 8150ddf..3e06635 100644 --- a/test/Instances.hs +++ b/test/Instances.hs @@ -41,9 +41,11 @@ instance Arbitrary a => Arbitrary (DList a) where arbitrary = fromList <$> arbitrary shrink = fmap fromList . shrink . toList +#if !MIN_VERSION_quickcheck_instances(0,3,32) instance (Arbitrary a, VP.Prim a) => Arbitrary (VP.Vector a) where arbitrary = VP.fromList <$> arbitrary shrink = fmap VP.fromList . shrink . VP.toList +#endif #if MIN_VERSION_aeson(2,0,0) && !MIN_VERSION_aeson(2,0,3) instance Arbitrary v => Arbitrary (KM.KeyMap v) where