aeson 0.11.1.3 → 0.11.1.4
raw patch · 3 files changed
+9/−4 lines, 3 filesdep ~vectorPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: vector
API changes (from Hackage documentation)
Files
- Data/Aeson/Types/Internal.hs +3/−2
- aeson.cabal +2/−2
- changelog.md +4/−0
Data/Aeson/Types/Internal.hs view
@@ -69,6 +69,7 @@ import Data.ByteString.Builder (Builder, char7, toLazyByteString) import Data.Char (isLower, isUpper, toLower, isAlpha, isAlphaNum) import Data.Data (Data)+import Data.Foldable (foldl') import Data.HashMap.Strict (HashMap) import Data.Hashable (Hashable(..)) import Data.Semigroup (Semigroup((<>)))@@ -384,7 +385,7 @@ instance NFData Value where rnf (Object o) = rnf o- rnf (Array a) = V.foldl' (\x y -> rnf y `seq` x) () a+ rnf (Array a) = foldl' (\x y -> rnf y `seq` x) () a rnf (String s) = rnf s rnf (Number n) = rnf n rnf (Bool b) = rnf b@@ -403,7 +404,7 @@ where assocHashesSorted = sort [hash k `hashWithSalt` v | (k, v) <- H.toList o] #endif-hashValue s (Array a) = V.foldl' hashWithSalt+hashValue s (Array a) = foldl' hashWithSalt (s `hashWithSalt` (1::Int)) a hashValue s (String str) = s `hashWithSalt` (2::Int) `hashWithSalt` str hashValue s (Number n) = s `hashWithSalt` (3::Int) `hashWithSalt` n
aeson.cabal view
@@ -1,5 +1,5 @@ name: aeson-version: 0.11.1.3+version: 0.11.1.4 license: BSD3 license-file: LICENSE category: Text, Web, JSON@@ -105,7 +105,7 @@ text >= 1.1.1.0, transformers, unordered-containers >= 0.2.5.0,- vector >= 0.7.1+ vector >= 0.8 if !impl(ghc >= 8.0) -- `Data.Semigroup` is available in base only since GHC 8.0 / base 4.9
changelog.md view
@@ -1,5 +1,9 @@ For the latest version of this document, please see [https://github.com/bos/aeson/blob/master/changelog.md](https://github.com/bos/aeson/blob/master/changelog.md). +#### 0.11.1.4++* Fix build with `base >= 4.8` and `unordered-containers < 0.2.6`.+ #### 0.11.1.3 * Fix build on TH-less GHCs