safe-json 1.1.0 → 1.1.1
raw patch · 5 files changed
+16/−11 lines, 5 filesdep ~aeson
Dependency ranges changed: aeson
Files
- ChangeLog.md +4/−0
- safe-json.cabal +9/−8
- test/Instances.hs +3/−0
- test/SafeAeson.hs +0/−1
- test/Version.hs +0/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for safe-json +## 1.1.1++* Fix clash in `test/Instances.hs` of `Ord` instance for `Data.Aeson.Value` [#23]+ ## 1.1.0 * update for GHC 8.8.1 [#15]
safe-json.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.2.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: 5d912c70ee9329eebd7665ea92fcacb1ae56b1d590ddecf5abeb7d800e270bf3+-- hash: 9f89193c837c28565cd4e290695062fc359c44477f129d058d3f4e5971ec0e1b name: safe-json-version: 1.1.0+version: 1.1.1 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,6 +28,7 @@ copyright: 2019 Felix Paulusma license: MIT license-file: LICENSE+tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.4, GHC == 8.6.5, GHC == 8.8.3 build-type: Simple extra-source-files: README@@ -61,14 +62,14 @@ src default-extensions: OverloadedStrings build-depends:- aeson >=1.4.1 && <1.5+ aeson >=1.4.1 && <1.6 , base >=4.9 && <5 , bytestring >=0.10.8.1 && <0.11 , containers >=0.5.7.1 && <0.7- , dlist >=0.8.0.3 && <0.9+ , dlist >=0.8.0.3 && <2 , hashable >=1.2.6.1 && <1.4 , scientific >=0.3.5.2 && <0.4- , tasty >=0.11.3 && <1.3+ , tasty >=0.11.3 && <1.4 , tasty-hunit >=0.9.2 && <0.11 , tasty-quickcheck >=0.8.4 && <0.11 , text >=1.2.3 && <1.3@@ -98,11 +99,11 @@ default-extensions: OverloadedStrings ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends:- aeson >=1.4.1 && <1.5+ aeson >=1.4.1 && <1.6 , base >=4.9 && <5 , bytestring >=0.10.8.1 && <0.11 , containers >=0.5.7.1 && <0.7- , dlist >=0.8.0.3 && <0.9+ , dlist >=0.8.0.3 && <2 , generic-arbitrary >=0.1.0 && <0.2 , hashable >=1.2.6.1 && <1.4 , quickcheck-instances >=0.3.16 && <0.4
test/Instances.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -Wno-orphans #-} module Instances ( DotNetTime()@@ -48,6 +49,7 @@ ] shrink = genericShrink +#if !MIN_VERSION_aeson(1,5,2) -- | This is here just to test 'Set' in 'parseCollection' instance Ord Value where Null `compare` Null = EQ@@ -67,3 +69,4 @@ String{} `compare` _ = LT Array{} `compare` Object{} = LT _ `compare` _ = GT+#endif
test/SafeAeson.hs view
@@ -4,7 +4,6 @@ module SafeAeson where -import Data.Aeson (Value) import qualified Data.Aeson as A import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy as LBS
test/Version.hs view
@@ -6,10 +6,8 @@ import Control.Exception (handle) import Control.Monad (when)-import Data.Aeson (Value, (.:), (.=)) import qualified Data.Aeson as A import Data.Aeson.Safe-import Data.Aeson.Types (parseEither) import Data.Text as T import Test.Tasty as Tasty import Test.Tasty.HUnit as Tasty