aeson 0.11.1.2 → 0.11.1.3
raw patch · 4 files changed
+7/−3 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Aeson: parseJSON :: (FromJSON a, Generic a, GFromJSON (Rep a)) => Value -> Parser a
+ Data.Aeson: parseJSON :: FromJSON a => Value -> Parser a
- Data.Aeson: toJSON :: (ToJSON a, Generic a, GToJSON (Rep a)) => a -> Value
+ Data.Aeson: toJSON :: ToJSON a => a -> Value
- Data.Aeson.Types: parseJSON :: (FromJSON a, Generic a, GFromJSON (Rep a)) => Value -> Parser a
+ Data.Aeson.Types: parseJSON :: FromJSON a => Value -> Parser a
- Data.Aeson.Types: toJSON :: (ToJSON a, Generic a, GToJSON (Rep a)) => a -> Value
+ Data.Aeson.Types: toJSON :: ToJSON a => a -> Value
Files
- Data/Aeson/TH.hs +1/−1
- Data/Aeson/Types/Internal.hs +1/−1
- aeson.cabal +1/−1
- changelog.md +4/−0
Data/Aeson/TH.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns, NoImplicitPrelude, UndecidableInstances #-}-#if __GLASGOW_HASKELL >= 800+#if __GLASGOW_HASKELL__ >= 800 -- a) THQ works on cross-compilers and unregisterised GHCs -- b) may make compilation faster as no dynamic loading is ever needed (not sure about this) -- c) removes one hindrance to have code inferred as SafeHaskell safe
Data/Aeson/Types/Internal.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE CPP, DeriveDataTypeable, GeneralizedNewtypeDeriving, Rank2Types, RecordWildCards #-}-#if __GLASGOW_HASKELL >= 800+#if __GLASGOW_HASKELL__ >= 800 -- a) THQ works on cross-compilers and unregisterised GHCs -- b) may make compilation faster as no dynamic loading is ever needed (not sure about this) -- c) removes one hindrance to have code inferred as SafeHaskell safe
aeson.cabal view
@@ -1,5 +1,5 @@ name: aeson-version: 0.11.1.2+version: 0.11.1.3 license: BSD3 license-file: LICENSE category: Text, Web, JSON
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.3++* Fix build on TH-less GHCs+ #### 0.11.1.2 * Fix build with `base < 4.8` and `unordered-containers < 0.2.6`.