Skip to content

Commit

Permalink
bumped to version '1.2.0.2', fixed for new 'quickcheck-instances'. tr…
Browse files Browse the repository at this point in the history
…ying to biuld with GHC 9.10 as well
  • Loading branch information
Vlix committed Nov 5, 2024
1 parent e1c77cd commit 0bb2d8f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
8 changes: 4 additions & 4 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions safe-json.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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.
.
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/Instances.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bb2d8f

Please sign in to comment.