Hello community, here is the log from the commit of package ghc-aeson for openSUSE:Factory checked in at 2019-06-30 10:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-aeson (Old) and /work/SRC/openSUSE:Factory/.ghc-aeson.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-aeson" Sun Jun 30 10:21:25 2019 rev:23 rq:712499 version:1.4.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-aeson/ghc-aeson.changes 2019-05-09 10:09:44.781085815 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-aeson.new.4615/ghc-aeson.changes 2019-06-30 10:21:26.535614690 +0200 @@ -1,0 +2,39 @@ +Tue Jun 25 02:02:15 UTC 2019 - [email protected] + +- Update aeson to version 1.4.4.0. + ### 1.4.4.0 + + **New features**: + + * Adds a parameterized parser `jsonWith` that can be used to choose how to handle duplicate keys in objects, thanks to Xia Li-Yao. + + * Add generic implementations of `FromJSONKey` and `ToJSONKey`, thanks to Xia Li-Yao. Example: + + ```haskell + data Foo = Bar + deriving Generic + + opts :: JSONKeyOptions + opts = defaultJSONKeyOptions { keyModifier = toLower } + + instance ToJSONKey Foo where + toJSONKey = genericToJSONKey opts + + instance FromJSONKey Foo where + fromJSONKey = genericFromJSONKey opts + ``` + + **Minor**: + * aeson now uses `time-compat` instead of `time-locale-compat`, thanks to Oleg Grenrus. + * Prepare for `MonadFail` breakages in GHC 8.8, thanks to Oleg Grenrus. + * Require `bytestring >= 0.10.8.1` for newer GHCs to avoid build failures, thanks to Oleg Grenrus. + * Support `primitive 0.7.*`, thanks to Adam Bergmark. + * Allow `semigroups 0.19.*` and `hashable 1.3.*`, thanks to Oleg Grenrus. + * Fix a typo in the error message when parsing `NonEmpty`, thanks to Colin Woodbury. + * Document surprising behavior when using `omitNothingFields` with type variables, thanks to Xia Li-Yao. + + **Internal changes**: + * Code cleanup by Oleg Grenrus + * Fix dependencies of the benchmarks on older GHC's, thanks to Xia Li-Yao. + +------------------------------------------------------------------- Old: ---- aeson-1.4.3.0.tar.gz New: ---- aeson-1.4.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-aeson.spec ++++++ --- /var/tmp/diff_new_pack.dYqMyI/_old 2019-06-30 10:21:27.019615442 +0200 +++ /var/tmp/diff_new_pack.dYqMyI/_new 2019-06-30 10:21:27.023615448 +0200 @@ -19,7 +19,7 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.3.0 +Version: 1.4.4.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause @@ -41,8 +41,8 @@ BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-th-abstraction-devel +BuildRequires: ghc-time-compat-devel BuildRequires: ghc-time-devel -BuildRequires: ghc-time-locale-compat-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-uuid-types-devel BuildRequires: ghc-vector-devel ++++++ aeson-1.4.3.0.tar.gz -> aeson-1.4.4.0.tar.gz ++++++ ++++ 1726 lines of diff (skipped)
