Hello community, here is the log from the commit of package ghc-aeson for openSUSE:Factory checked in at 2018-07-24 17:12:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-aeson (Old) and /work/SRC/openSUSE:Factory/.ghc-aeson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-aeson" Tue Jul 24 17:12:35 2018 rev:18 rq:623707 version:1.4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-aeson/ghc-aeson.changes 2018-05-30 12:23:04.678519275 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-aeson.new/ghc-aeson.changes 2018-07-24 17:12:37.642544969 +0200 @@ -1,0 +2,52 @@ +Wed Jul 18 14:26:12 UTC 2018 - [email protected] + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Tue Jul 17 19:30:59 UTC 2018 - [email protected] + +- 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 + * Add `encodeFile` as well as `decodeFile*` variants, thanks to Markus Hauck + * Documentation fixes, thanks to Lennart Spitzner + * CPP cleanup, thanks to Ryan Scott + +------------------------------------------------------------------- @@ -186 +237,0 @@ - Old: ---- aeson-1.2.4.0.tar.gz New: ---- aeson-1.4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-aeson.spec ++++++ --- /var/tmp/diff_new_pack.m4J4Qz/_old 2018-07-24 17:12:38.142545618 +0200 +++ /var/tmp/diff_new_pack.m4J4Qz/_new 2018-07-24 17:12:38.146545624 +0200 @@ -19,7 +19,7 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.4.0 +Version: 1.4.0.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause @@ -46,7 +46,6 @@ BuildRequires: ghc-uuid-types-devel BuildRequires: ghc-vector-devel %if %{with tests} -BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-base16-bytestring-devel @@ -56,9 +55,9 @@ BuildRequires: ghc-hashable-time-devel BuildRequires: ghc-integer-logarithms-devel BuildRequires: ghc-quickcheck-instances-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-hunit-devel -BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel %endif %description @@ -67,19 +66,6 @@ To get started, see the documentation for the 'Data.Aeson' module below. -Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7), running 64-bit -GHC 7.10.1, for mostly-English tweets from Twitter's JSON search API: - -* 6.4 KB payloads, English: 7570 msg/sec (47.6 MB/sec) - -* 14.6 KB payloads, Japanese: 3261 msg/sec (46.6 MB/sec) - -Encoding performance on the same machine and data: - -* 6.4 KB payloads, English: 22738 msg/sec (142.9 MB/sec) - -* 14.6 KB payloads, Japanese: 15911 msg/sec (227.4 MB/sec) - (A note on naming: in Greek mythology, Aeson was the father of Jason.). %package devel ++++++ aeson-1.2.4.0.tar.gz -> aeson-1.4.0.0.tar.gz ++++++ ++++ 3416 lines of diff (skipped)
