safe-json 1.2.0.1 → 1.2.0.2
raw patch · 4 files changed
+31/−10 lines, 4 filesdep ~textPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: text
API changes (from Hackage documentation)
- Data.SafeJSON.Test: data Proxy (t :: k)
+ Data.SafeJSON.Test: data () => Proxy (t :: k)
Files
- ChangeLog.md +19/−0
- safe-json.cabal +9/−9
- src/Data/SafeJSON.hs +1/−1
- test/Instances.hs +2/−0
ChangeLog.md view
@@ -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`
safe-json.cabal view
@@ -5,7 +5,7 @@ -- 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-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.3 , GHC == 9.8.1+ 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@@ -67,13 +67,13 @@ , bytestring >=0.10.8.1 && <1 , containers >=0.5.7.1 && <0.8 , dlist >=0.8.0.3 && <2- , hashable >=1.2.6.1 && <1.5+ , hashable >=1.2.6.1 && <1.6 , scientific >=0.3.5.2 && <0.4 , tasty >=0.11.3 && <1.6 , tasty-hunit >=0.9.2 && <0.11- , tasty-quickcheck >=0.8.4 && <0.11+ , tasty-quickcheck >=0.8.4 && <0.12 , text >=1.2.3 && <2.2- , time >=1.6.0.1 && <1.13+ , time >=1.6.0.1 && <1.15 , unordered-containers >=0.2.9 && <0.3 , uuid-types >=1.0.3 && <1.1 , vector >=0.12.0.1 && <0.14@@ -104,18 +104,18 @@ , bytestring >=0.10.8.1 && <1 , containers >=0.5.7.1 && <0.8 , dlist >=0.8.0.3 && <2- , hashable >=1.2.6.1 && <1.5+ , hashable >=1.2.6.1 && <1.6 , quickcheck-instances >=0.3.16 && <0.4 , safe-json , scientific >=0.3.5.2 && <0.4 , tasty , tasty-hunit , tasty-quickcheck- , temporary >=1.2.1.1 && <1.4+ , temporary >=1.2.1.1 , text >=1.2.3 && <2.2- , time >=1.6.0.1 && <1.13+ , time >=1.6.0.1 && <1.15 , unordered-containers >=0.2.9 && <0.3- , uuid >=1.3.13 && <1.4+ , uuid >=1.3.13 , uuid-types >=1.0.3 && <1.1 , vector >=0.12.0.1 && <0.14 default-language: Haskell2010
src/Data/SafeJSON.hs view
@@ -7,7 +7,7 @@ Please read the -__[README on GitHub](https://github.com/Vlix/safe-json/blob/v1.1.0/README.md)__+__[README on GitHub](https://github.com/Vlix/safe-json/blob/master/README.md)__ for an extensive explanation of this library, why and how to use it, and examples.
test/Instances.hs view
@@ -41,9 +41,11 @@ 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