Accepting request 398191 from devel:languages:haskell
- update to 0.11.2.0 * Enable PolyKinds to generalize Proxy, Tagged, and Const instances. * Add unsafeToEncoding in Data.Aeson.Types, use with care! - update to 0.11.1.4 * Fix build with base < 4.8 and unordered-containers < 0.2.6. * Add missing field in docs for defaultOptions. * Fixes a bug where the hashes of equal values could differ. * The only changes are added instances. (0.11.1.0) + These are new: ToJSON a => ToJSON (NonEmpty a) FromJSON a => FromJSON (NonEmpty a) ToJSON (Proxy a) FromJSON (Proxy a) ToJSON b => ToJSON (Tagged a b) FromJSON b => FromJSON (Tagged a b) ToJSON a => ToJSON (Const a b) FromJSON a => FromJSON (Const a b) + These are now available for older GHCs: ToJSON Natural FromJSON Natural * This release should be close to backwards compatible with aeson 0.9 (0.11.0.0) + Breaking changes: Revert .:? to behave like it did in 0.9. If you want the 0.10 behavior use .:! instead. Revert JSON format of Either to 0.9, Left and Right are now serialized with an initial uppercase letter. If you want the names in lowercase you can add a newtype with an instance. All ToJSON and FromJSON instances except for [a] are no longer OVERLAPPABLE. Mark your instance as OVERLAPPING if it overlaps any of the other aeson (forwarded request 398189 from mimi_vx) OBS-URL: https://build.opensuse.org/request/show/398191 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=8
This commit is contained in:
commit
a927c5212d
3
aeson-0.11.2.0.tar.gz
Normal file
3
aeson-0.11.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:447a454b51b8d6ca9e3b59bc5918115a880a9320afeb9030000fe6c87fd2285e
|
||||||
|
size 202914
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:92b97dbc4968a2af6bc13b499629118f85b22efe113a4d60e578fbfb0f6ef8bc
|
|
||||||
size 154482
|
|
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 26 06:06:35 UTC 2016 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- update to 0.11.2.0
|
||||||
|
* Enable PolyKinds to generalize Proxy, Tagged, and Const instances.
|
||||||
|
* Add unsafeToEncoding in Data.Aeson.Types, use with care!
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 25 07:41:45 UTC 2016 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- update to 0.11.1.4
|
||||||
|
* Fix build with base < 4.8 and unordered-containers < 0.2.6.
|
||||||
|
* Add missing field in docs for defaultOptions.
|
||||||
|
* Fixes a bug where the hashes of equal values could differ.
|
||||||
|
* The only changes are added instances. (0.11.1.0)
|
||||||
|
+ These are new:
|
||||||
|
ToJSON a => ToJSON (NonEmpty a)
|
||||||
|
FromJSON a => FromJSON (NonEmpty a)
|
||||||
|
ToJSON (Proxy a)
|
||||||
|
FromJSON (Proxy a)
|
||||||
|
ToJSON b => ToJSON (Tagged a b)
|
||||||
|
FromJSON b => FromJSON (Tagged a b)
|
||||||
|
ToJSON a => ToJSON (Const a b)
|
||||||
|
FromJSON a => FromJSON (Const a b)
|
||||||
|
+ These are now available for older GHCs:
|
||||||
|
ToJSON Natural
|
||||||
|
FromJSON Natural
|
||||||
|
* This release should be close to backwards compatible with aeson 0.9 (0.11.0.0)
|
||||||
|
+ Breaking changes:
|
||||||
|
Revert .:? to behave like it did in 0.9. If you want the 0.10 behavior
|
||||||
|
use .:! instead.
|
||||||
|
Revert JSON format of Either to 0.9, Left and Right are now serialized with
|
||||||
|
an initial uppercase letter. If you want the names in lowercase you can
|
||||||
|
add a newtype with an instance.
|
||||||
|
All ToJSON and FromJSON instances except for [a] are no longer OVERLAPPABLE.
|
||||||
|
Mark your instance as OVERLAPPING if it overlaps any of the other aeson
|
||||||
|
instances.
|
||||||
|
All ToJSON and FromJSON instances except for [Char] are no longer
|
||||||
|
incoherent, this means you may need to replace your incoherent instances
|
||||||
|
with a newtyped instance.
|
||||||
|
+ Additions:
|
||||||
|
Introduce .:! that behaves like .:? did in 0.10.
|
||||||
|
Allow HH:MM format for ZonedTime and UTCTime. This is one of the formats
|
||||||
|
allowed by ISO 8601.
|
||||||
|
Added ToJSON and FromJSON instances for the Version, Ordering, and Natural
|
||||||
|
types.
|
||||||
|
+ Bug fixes:
|
||||||
|
JSONPath identifiers are now escaped if they contain invalid characters.
|
||||||
|
Fixed JSONPath messages for Seq to include indices.
|
||||||
|
Fixed JSONPath messages for Either to include left/right.
|
||||||
|
Fix missing quotes surrounding time encodings.
|
||||||
|
Fix #293: Type error in TH when using omitNothingFields = True.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 28 18:42:15 UTC 2015 - mimi.vx@gmail.com
|
Mon Sep 28 18:42:15 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.9.0.1
|
Version: 0.11.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fast JSON parsing and encoding
|
Summary: Fast JSON parsing and encoding
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -39,11 +39,13 @@ BuildRequires: ghc-bytestring-devel
|
|||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-deepseq-devel
|
BuildRequires: ghc-deepseq-devel
|
||||||
BuildRequires: ghc-dlist-devel
|
BuildRequires: ghc-dlist-devel
|
||||||
|
BuildRequires: ghc-fail-devel
|
||||||
BuildRequires: ghc-hashable-devel
|
BuildRequires: ghc-hashable-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-old-locale-devel
|
|
||||||
BuildRequires: ghc-scientific-devel
|
BuildRequires: ghc-scientific-devel
|
||||||
|
BuildRequires: ghc-semigroups-devel
|
||||||
BuildRequires: ghc-syb-devel
|
BuildRequires: ghc-syb-devel
|
||||||
|
BuildRequires: ghc-tagged-devel
|
||||||
BuildRequires: ghc-template-haskell-devel
|
BuildRequires: ghc-template-haskell-devel
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user