diff --git a/aeson-1.4.3.0.tar.gz b/aeson-1.4.3.0.tar.gz deleted file mode 100644 index f84dd51..0000000 --- a/aeson-1.4.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6564ac0fb429cd4bcafc706fa4b905dab94f57f765ebd96a65c9ba4b9e520c19 -size 272210 diff --git a/aeson-1.4.4.0.tar.gz b/aeson-1.4.4.0.tar.gz new file mode 100644 index 0000000..e759cbe --- /dev/null +++ b/aeson-1.4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17c67cdaca651e18f310b21b2b12bac6bcec5188c3ac0e4b64cc60c94d7e4d2e +size 279980 diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 4ea0f80..4c0e9e4 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Tue Jun 25 02:02:15 UTC 2019 - psimons@suse.com + +- 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. + ------------------------------------------------------------------- Tue Apr 30 09:23:03 UTC 2019 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 2e561a1..dac726c 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -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-tagged-devel 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