AArch64 | |
ppc64le | |
s390x | |
x86-64 |
- Update to version 0.11.2.0 revision 1 with cabal2obs.
- 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 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.