osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-aeson revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=48
This commit is contained in:
parent
34b90aa71c
commit
02d225f2d3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6564ac0fb429cd4bcafc706fa4b905dab94f57f765ebd96a65c9ba4b9e520c19
|
||||
size 272210
|
3
aeson-1.4.4.0.tar.gz
Normal file
3
aeson-1.4.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17c67cdaca651e18f310b21b2b12bac6bcec5188c3ac0e4b64cc60c94d7e4d2e
|
||||
size 279980
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user