Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions aeson.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
cabal-version: 2.2
name: aeson
version: 2.2.3.0
x-revision: 4
version: 2.2.4.0
license: BSD-3-Clause
license-file: LICENSE
category: Text, Web, JSON
Expand Down Expand Up @@ -124,7 +123,7 @@ library
, network-uri ^>=2.6.4.1
, OneTuple ^>=0.4.1.1
, primitive ^>=0.8.0.0 || ^>=0.9.0.0
, QuickCheck ^>=2.14.3 || ^>=2.15 || ^>=2.16.0.0
, QuickCheck ^>=2.14.3 || ^>=2.15 || ^>=2.16.0.0 || ^>=2.17.1.0 || ^>=2.18.0.0
, scientific ^>=0.3.7.0
, semialign ^>=1.3
, strict ^>=0.5
Expand Down Expand Up @@ -219,7 +218,7 @@ test-suite aeson-tests
, OneTuple
, primitive
, QuickCheck
, quickcheck-instances >=0.3.29 && <0.4
, quickcheck-instances >=0.3.29 && <0.5
, scientific
, strict
, tagged
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
For the latest version of this document, please see [https://github.com/haskell/aeson/blob/master/changelog.md](https://github.com/haskell/aeson/blob/master/changelog.md).

### 2.2.4.0

* Check for control characters in text literals everywhere

### 2.2.3.0

* Support `hashable-1.4.6.0`.
Expand Down
11 changes: 10 additions & 1 deletion tests/Instances.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ import qualified Network.URI as URI
import Data.Orphans ()
import Test.QuickCheck.Instances ()

#if !MIN_VERSION_base(4,16,0)
import Data.Semigroup (Option (..))
import Data.Tuple.Solo (Solo (..))
#endif

-- "System" types.

instance Arbitrary DotNetTime where
Expand Down Expand Up @@ -157,9 +162,13 @@ instance Arbitrary (GADT String) where

#if !MIN_VERSION_base(4,16,0)
instance Arbitrary OptionField where
arbitrary = OptionField <$> arbitrary
arbitrary = OptionField . Option <$> arbitrary
#endif

#if !MIN_VERSION_base(4,16,0) && MIN_VERSION_QuickCheck(2,17,0)
instance Arbitrary a => Arbitrary (Solo a) where
arbitrary = MkSolo <$> arbitrary
#endif

instance ApproxEq Char where
(=~) = (==)
Expand Down
6 changes: 3 additions & 3 deletions text-iso8601/text-iso8601.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 1.12
name: text-iso8601
version: 0.1.1
x-revision: 2
x-revision: 3
synopsis: Converting time to and from ISO 8601 text.
description:
Converting time to and from IS0 8601 text.
Expand Down Expand Up @@ -66,8 +66,8 @@ test-suite text-iso8601-tests

-- test dependencies
build-depends:
QuickCheck >=2.14.3 && <2.17
, quickcheck-instances >=0.3.29.1 && <0.4
QuickCheck >=2.14.3 && <2.19
, quickcheck-instances >=0.3.29.1 && <0.5
, tasty >=1.4.3 && <1.6
, tasty-hunit >=0.10.0.3 && <0.11
, tasty-quickcheck >=0.10.2 && <0.12
Expand Down
Loading