Hello community, here is the log from the commit of package ghc-aeson for openSUSE:Factory checked in at 2019-10-18 14:33:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-aeson (Old) and /work/SRC/openSUSE:Factory/.ghc-aeson.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-aeson" Fri Oct 18 14:33:32 2019 rev:24 rq:737186 version:1.4.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-aeson/ghc-aeson.changes 2019-06-30 10:21:26.535614690 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-aeson.new.2352/ghc-aeson.changes 2019-10-18 14:33:32.952221305 +0200 @@ -1,0 +2,12 @@ +Tue Sep 10 02:02:48 UTC 2019 - [email protected] + +- Update aeson to version 1.4.5.0. + ### 1.4.5.0 + + * Expose `(<?>)`, `JSONPath` and `JSONPathElement(..)` from `Data.Aeson.Types`. Previously only available through internal modules. Thanks to Luke Clifton. + + * Support for base-compat 0.11, thanks to Ryan Scott. + + * Travis build for GHC 8.8, thanks to Oleg Grenrus. + +------------------------------------------------------------------- Old: ---- aeson-1.4.4.0.tar.gz New: ---- aeson-1.4.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-aeson.spec ++++++ --- /var/tmp/diff_new_pack.aSfC25/_old 2019-10-18 14:33:33.840218992 +0200 +++ /var/tmp/diff_new_pack.aSfC25/_new 2019-10-18 14:33:33.840218992 +0200 @@ -19,7 +19,7 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.4.0 +Version: 1.4.5.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause ++++++ aeson-1.4.4.0.tar.gz -> aeson-1.4.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/Data/Aeson/Types/FromJSON.hs new/aeson-1.4.5.0/Data/Aeson/Types/FromJSON.hs --- old/aeson-1.4.4.0/Data/Aeson/Types/FromJSON.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/Data/Aeson/Types/FromJSON.hs 2001-09-09 03:46:40.000000000 +0200 @@ -5,7 +5,6 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/Data/Aeson/Types/Internal.hs new/aeson-1.4.5.0/Data/Aeson/Types/Internal.hs --- old/aeson-1.4.4.0/Data/Aeson/Types/Internal.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/Data/Aeson/Types/Internal.hs 2001-09-09 03:46:40.000000000 +0200 @@ -99,6 +99,7 @@ import Data.Typeable (Typeable) import Data.Vector (Vector) import GHC.Generics (Generic) +import qualified Control.Monad as Monad import qualified Control.Monad.Fail as Fail import qualified Data.HashMap.Strict as H import qualified Data.Scientific as S @@ -152,7 +153,7 @@ fmap _ (Error err) = Error err {-# INLINE fmap #-} -instance Monad IResult where +instance Monad.Monad IResult where return = pure {-# INLINE return #-} @@ -169,7 +170,7 @@ fail err = IError [] err {-# INLINE fail #-} -instance Monad Result where +instance Monad.Monad Result where return = pure {-# INLINE return #-} @@ -288,7 +289,7 @@ -> f r } -instance Monad Parser where +instance Monad.Monad Parser where m >>= g = Parser $ \path kf ks -> let ks' a = runParser (g a) path kf ks in runParser m path kf ks' {-# INLINE (>>=) #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/Data/Aeson/Types/ToJSON.hs new/aeson-1.4.5.0/Data/Aeson/Types/ToJSON.hs --- old/aeson-1.4.4.0/Data/Aeson/Types/ToJSON.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/Data/Aeson/Types/ToJSON.hs 2001-09-09 03:46:40.000000000 +0200 @@ -5,7 +5,6 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE GADTs #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternGuards #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/Data/Aeson/Types.hs new/aeson-1.4.5.0/Data/Aeson/Types.hs --- old/aeson-1.4.4.0/Data/Aeson/Types.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/Data/Aeson/Types.hs 2001-09-09 03:46:40.000000000 +0200 @@ -136,6 +136,11 @@ , JSONKeyOptions , keyModifier , defaultJSONKeyOptions + + -- * Parsing context + , (<?>) + , JSONPath + , JSONPathElement(..) ) where import Prelude.Compat diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/aeson.cabal new/aeson-1.4.5.0/aeson.cabal --- old/aeson-1.4.4.0/aeson.cabal 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/aeson.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: aeson -version: 1.4.4.0 +version: 1.4.5.0 license: BSD3 license-file: LICENSE category: Text, Web, JSON @@ -107,16 +107,16 @@ containers >= 0.4.2.1 && < 0.7, deepseq >= 1.3.0.0 && < 1.5, ghc-prim >= 0.2 && < 0.6, - template-haskell >= 2.7.0.0 && < 2.15, + template-haskell >= 2.7.0.0 && < 2.16, text >= 1.2.3.0 && < 1.3, - time >= 1.4 && < 1.9 + time >= 1.4 && < 1.10 if impl(ghc >= 8.0) build-depends: bytestring >= 0.10.8.1 -- Compat build-depends: - base-compat >= 0.9.1 && < 0.11, + base-compat >= 0.9.1 && < 0.12, time-compat >= 1.9.2.2 && < 1.10 if flag(bytestring-builder) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/benchmarks/AesonEncode.hs new/aeson-1.4.5.0/benchmarks/AesonEncode.hs --- old/aeson-1.4.4.0/benchmarks/AesonEncode.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/benchmarks/AesonEncode.hs 2001-09-09 03:46:40.000000000 +0200 @@ -7,7 +7,7 @@ import Prelude.Compat import Control.DeepSeq -import Control.Monad +import Control.Monad (forM_) import Data.Aeson import Data.Attoparsec.ByteString (IResult(..), parseWith) import Data.Char (isDigit) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/benchmarks/Compare/JsonBench.hs new/aeson-1.4.5.0/benchmarks/Compare/JsonBench.hs --- old/aeson-1.4.4.0/benchmarks/Compare/JsonBench.hs 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/benchmarks/Compare/JsonBench.hs 2001-09-09 03:46:40.000000000 +0200 @@ -20,6 +20,7 @@ import Data.Monoid ((<>)) import Data.Text (Text) import Typed.Common (load) +import qualified Control.Monad.Fail as Fail import qualified Data.Aeson as Aeson import qualified Data.BufferBuilder.Json as Json @@ -82,7 +83,7 @@ fruitTable :: [(Text, Fruit)] fruitTable = [("apple", Apple), ("strawberry", Strawberry), ("banana", Banana)] -enumFromJson :: Monad m => String -> [(Text, enum)] -> (json -> m Text) -> json -> m enum +enumFromJson :: Fail.MonadFail m => String -> [(Text, enum)] -> (json -> m Text) -> json -> m enum enumFromJson enumName table extract v = do s <- extract v case lookup s table of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/changelog.md new/aeson-1.4.5.0/changelog.md --- old/aeson-1.4.4.0/changelog.md 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/changelog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,13 @@ 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.4.5.0 + +* Expose `(<?>)`, `JSONPath` and `JSONPathElement(..)` from `Data.Aeson.Types`. Previously only available through internal modules. Thanks to Luke Clifton. + +* Support for base-compat 0.11, thanks to Ryan Scott. + +* Travis build for GHC 8.8, thanks to Oleg Grenrus. + ### 1.4.4.0 **New features**: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-1.4.4.0/stack-nightly.yaml new/aeson-1.4.5.0/stack-nightly.yaml --- old/aeson-1.4.4.0/stack-nightly.yaml 2019-06-25 02:26:22.000000000 +0200 +++ new/aeson-1.4.5.0/stack-nightly.yaml 2001-09-09 03:46:40.000000000 +0200 @@ -1,4 +1,4 @@ -resolver: nightly-2019-05-13 +resolver: nightly-2019-07-11 packages: - '.' - attoparsec-iso8601
