ghc-aeson/ghc-aeson.changes

145 lines
6.3 KiB
Plaintext

-------------------------------------------------------------------
Sun Feb 12 14:08:22 UTC 2017 - psimons@suse.com
- Update to version 1.0.2.1 with cabal2obs.
-------------------------------------------------------------------
Thu Jan 26 16:20:17 UTC 2017 - psimons@suse.com
- Update to version 0.11.3.0 with cabal2obs.
-------------------------------------------------------------------
Mon Sep 19 10:39:23 UTC 2016 - psimons@suse.com
- Update to version 0.11.2.1 revision 1 with cabal2obs.
-------------------------------------------------------------------
Wed Aug 17 18:30:25 UTC 2016 - psimons@suse.com
- Update to version 0.11.2.1 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:33:06 UTC 2016 - psimons@suse.com
- Update to version 0.11.2.0 revision 1 with cabal2obs.
-------------------------------------------------------------------
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
- update to 0.9.0.1
* A stray export of encodeToBuilder got away!
* The json and json' parsers are now synonyms for value and value', in conformance
with the looser semantics of RFC 7159.
* Renamed encodeToByteStringBuilder to the more compact encodeToBuilder.
* The dependency on the unordered-containers package was too lax, and has been
corrected.
* Encoding a Scientific value with a huge exponent is now handled efficiently.
(This would previously allocate a huge arbitrary-precision integer, potentially
leading to a denial of service.)
* Handling of strings that contain backslash escape sequences is greatly improved.
For a pathological string containing almost a megabyte of consecutive backslashes,
the new implementation is 27x faster and uses 42x less memory.
* The ToJSON instance for UTCTime is rendered with higher (picosecond) resolution.
* The value parser now correctly handles leading whitespace.
* New instances of ToJSON and FromJSON for Data.Sequence and Data.Functor.Identity.
The Value type now has a Read instance.
* ZonedTime parser ordering now favours the standard JSON format, increasing
efficiency in the common case.
* Encoding to a Text.Builder now escapes '<' and '>' characters, to reduce XSS risk.
-------------------------------------------------------------------
Wed Apr 22 10:47:20 UTC 2015 - mimi.vx@gmail.com
- update to 0.8.0.2
* Fix ToJSON instance for 15-tuples.
* Support time-1.5.
* Add ToJSON and FromJSON instances for tuples of up to 15 elements.
* Major compiler and library compatibility changes: we have dropped
support for GHC older than 7.4, text older than 1.1, and bytestring
older than 0.10.4.0. Supporting the older versions had become
increasingly difficult, to the point where it was no longer worth
it.
* The performance of encoding to and decoding of bytestrings have both
improved by up to 2x, while also using less memory.
* New dependency: the scientific package lets us parse floating point
numbers more quickly and accurately.
* eitherDecode, decodeStrictWith: fixed bugs.
* Added FromJSON and ToJSON instances for Tree and Scientific.
* Fixed the ToJSON instances for UTCTime and ZonedTime.
-------------------------------------------------------------------
Sun Nov 9 15:24:35 UTC 2014 - peter.trommler@ohm-hochschule.de
- drop aeson-disable-TH.patch
* Template Haskell (TH) now available on all supprted archs
-------------------------------------------------------------------
Sat Oct 18 14:50:27 UTC 2014 - dvaleev@suse.com
- disable TH module on arch's without ghci
aeson-disable-TH.patch
-------------------------------------------------------------------
Mon Oct 28 19:50:03 UTC 2013 - sbahling@suse.com
- Remove redundant Requires for ghc-compiler
-------------------------------------------------------------------
Mon Oct 7 13:35:59 UTC 2013 - sbahling@suse.com
- Initial package - version 0.6.2.0