Revisions of ghc-aeson

Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 674293 from Peter Simons's avatar Peter Simons (psimons) (revision 21)
version update
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 623707 from Peter Simons's avatar Peter Simons (psimons) (revision 18)
- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Update aeson to version 1.4.0.0.
  ### 1.4.0.0
  This release introduces bounds on the size of `Scientific` numbers when they are converted to other arbitrary precision types that do not represent them efficiently in memory.
  This means that trying to decode a number such as `1e1000000000` into an `Integer` will now fail instead of using a lot of memory. If you need to represent large numbers you can add a newtype (preferably over `Scientific`) and providing a parser using `withScientific`.
  The following instances are affected by this:
  * `FromJSON Natural`
  * `FromJSONKey Natural`
  * `FromJSON Integer`
  * `FromJSONKey Integer`
  * `FromJSON NominalDiffTime`
  For the same reasons the following instances & functions have been removed:
  * Remove `FromJSON Data.Attoparsec.Number` instance. Note that `Data.Attoparsec.Number` is deprecated.
  * Remove deprecated `withNumber`, use `withScientific` instead.
  Finally, encoding integral values with large exponents now uses scientific notation, this saves space for large numbers.
  ### 1.3.1.1
  * Catch 0 denominators when parsing Ratio
  ### 1.3.1.0
  * Fix bug in generically derived `FromJSON` instances that are using `unwrapUnaryRecords`, thanks to Xia Li-yao
  * Allow base-compat 0.10.*, thanks to Oleg Grenrus
  ## 1.3.0.0
  Breaking changes:
  * `GKeyValue` has been renamed to `KeyValuePair`, thanks to Xia Li-yao
  * Removed unused `FromJSON` constraint in `withEmbeddedJson`, thanks to Tristan Seligmann
  Other improvements:
  * Optimizations of TH toEncoding, thanks to Xia Li-yao
  * Optimizations of hex decoding when using the default/pure unescape implementation, thanks to Xia Li-yao
  * Improved error message on `Day` parse failures, thanks to Gershom Bazerman
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 607734 from Peter Simons's avatar Peter Simons (psimons) (revision 17)
Update ghc-aeson to the latest version.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 524018 from Peter Simons's avatar Peter Simons (psimons) (revision 16)
re-format spec file with latest spec-cleaner and cabal2obs
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 487383 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 14)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 461532 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 13)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 454891 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 12)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 434605 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 11)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 421777 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 10)
- Update to version 0.11.2.1 revision 0 with cabal2obs.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 398191 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 8)
- 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)
Displaying revisions 21 - 40 of 47
openSUSE Build Service is sponsored by