packages feed

aeson 1.5.1.0 → 1.5.2.0

raw patch · 4 files changed

+22/−9 lines, 4 filesdep ~primitivedep ~taggeddep ~unordered-containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: primitive, tagged, unordered-containers

API changes (from Hackage documentation)

+ Data.Aeson: rejectUnknownFields :: Options -> Bool

Files

Data/Aeson.hs view
@@ -113,6 +113,7 @@     , sumEncoding     , unwrapUnaryRecords     , tagSingleConstructors+    , rejectUnknownFields     -- *** Options utilities     , SumEncoding(..)     , camelTo2
Data/Aeson/Types/Internal.hs view
@@ -4,6 +4,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE Rank2Types #-}+{-# LANGUAGE StandaloneDeriving #-} #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)@@ -366,6 +367,17 @@            | Bool !Bool            | Null              deriving (Eq, Read, Show, Typeable, Data, Generic)++-- |+--+-- The ordering is total, consistent with 'Eq' innstance.+-- However, nothing else about the ordering is specified,+-- and it may change from environment to environment and version to version+-- of either this package or its dependencies ('hashable' and 'unordered-containers').+--+-- @since 1.5.2.0+deriving instance Ord Value+-- standalone deriving to attach since annotation.  -- | A newtype wrapper for 'UTCTime' that uses the same non-standard -- serialization format as Microsoft .NET, whose
aeson.cabal view
@@ -1,5 +1,5 @@ name:            aeson-version:         1.5.1.0+version:         1.5.2.0 license:         BSD3 license-file:    LICENSE category:        Text, Web, JSON@@ -133,22 +133,17 @@     build-depends: nats >= 1.1.1 && < 1.2,                    void >= 0.7.2 && < 0.8 -  -- cannot use latest version-  build-depends:-    unordered-containers >= 0.2.8.0  && < 0.3,--    -- not in LTS-12.10-    tagged               >= 0.8.5    && < 0.9,-    primitive            >= 0.6.3.0  && < 0.8-   -- Other dependencies   build-depends:     attoparsec           >= 0.13.2.2 && < 0.14,     dlist                >= 0.8.0.4  && < 0.9,     hashable             >= 1.2.7.0  && < 1.4,+    primitive            >= 0.7.0.1  && < 0.8,     scientific           >= 0.3.6.2  && < 0.4,+    tagged               >= 0.8.6    && < 0.9,     th-abstraction       >= 0.2.8.0  && < 0.4,     these                >= 1.1      && < 1.2,+    unordered-containers >= 0.2.10.0 && < 0.3,     uuid-types           >= 1.0.3    && < 1.1,     vector               >= 0.12.0.1 && < 0.13 
changelog.md view
@@ -1,5 +1,10 @@ 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). +### 1.5.2.0++* Add `Ord Value` instance, thanks to Oleg Grenrus.+* Export `rejectUnknownFields` from `Data.Aeson`+ ### 1.5.1.0  * Add instances for `these`, thanks to Oleg Grenrus.