From 2227e3df59eb266b0767222812941926a6365d1602f501a3f62880353e4a289d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 21 Dec 2017 19:38:09 +0000 Subject: [PATCH 1/8] osc copypac from project:devel:languages:haskell:lts:10 package:ghc-aeson revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=31 --- aeson-1.1.2.0.tar.gz | 3 - aeson-1.2.3.0.tar.gz | 3 + aeson.cabal | 252 ------------------------------------------- ghc-aeson.changes | 6 ++ ghc-aeson.spec | 5 +- 5 files changed, 11 insertions(+), 258 deletions(-) delete mode 100644 aeson-1.1.2.0.tar.gz create mode 100644 aeson-1.2.3.0.tar.gz delete mode 100644 aeson.cabal diff --git a/aeson-1.1.2.0.tar.gz b/aeson-1.1.2.0.tar.gz deleted file mode 100644 index 2181b07..0000000 --- a/aeson-1.1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37488cfbf6ecf65c4d63164d760c1a0f3bcc3371a35a50e5c4a3c0fd2ffac5ff -size 262853 diff --git a/aeson-1.2.3.0.tar.gz b/aeson-1.2.3.0.tar.gz new file mode 100644 index 0000000..02257b5 --- /dev/null +++ b/aeson-1.2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aacdc69295dc2a781b3fdc5fce4eb019610df4ae0dee6c2ab5234923d7c59cbf +size 264912 diff --git a/aeson.cabal b/aeson.cabal deleted file mode 100644 index 9c849cd..0000000 --- a/aeson.cabal +++ /dev/null @@ -1,252 +0,0 @@ -name: aeson -version: 1.1.2.0 -x-revision: 1 -license: BSD3 -license-file: LICENSE -category: Text, Web, JSON -copyright: (c) 2011-2016 Bryan O'Sullivan - (c) 2011 MailRank, Inc. -author: Bryan O'Sullivan -maintainer: Adam Bergmark -stability: experimental -tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1 -synopsis: Fast JSON parsing and encoding -cabal-version: >= 1.10 -homepage: https://github.com/bos/aeson -bug-reports: https://github.com/bos/aeson/issues -build-type: Simple -description: - A JSON parsing and encoding library optimized for ease of use - and high performance. - . - 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.) - -extra-source-files: - *.yaml - README.markdown - benchmarks/*.cabal - benchmarks/*.hs - benchmarks/*.py - benchmarks/Compare/*.hs - benchmarks/Makefile - benchmarks/Typed/*.hs - benchmarks/json-data/*.json - cbits/*.c - changelog.md - examples/*.cabal - examples/*.hs - examples/Twitter/*.hs - ffi/Data/Aeson/Parser/*.hs - include/*.h - tests/JSONTestSuite/test_parsing/*.json - tests/JSONTestSuite/test_transform/*.json - pure/Data/Aeson/Parser/*.hs - -flag developer - description: operate in developer mode - default: False - manual: True - -flag fast - description: compile without optimizations - default: False - manual: True - -flag bytestring-builder - description: Depend on the bytestring-builder package for backwards compatibility. - default: False - manual: False - -flag cffi - description: Controls whether to include c-ffi bits or pure haskell - default: True - manual: True - -library - default-language: Haskell2010 - hs-source-dirs: . - - exposed-modules: - Data.Aeson - Data.Aeson.Encoding - Data.Aeson.Parser - Data.Aeson.Text - Data.Aeson.Types - Data.Aeson.TH - - Data.Aeson.Encoding.Internal - Data.Aeson.Internal - Data.Aeson.Internal.Time - - -- Deprecated modules - exposed-modules: - Data.Aeson.Encode - - other-modules: - Data.Aeson.Encoding.Builder - Data.Aeson.Internal.Functions - Data.Aeson.Parser.Internal - Data.Aeson.Parser.Unescape - Data.Aeson.Parser.Time - Data.Aeson.Types.FromJSON - Data.Aeson.Types.Generic - Data.Aeson.Types.ToJSON - Data.Aeson.Types.Class - Data.Aeson.Types.Internal - - build-depends: - attoparsec >= 0.13.0.1, - base >= 4.5 && < 5, - base-compat >= 0.9.1 && < 0.10, - containers >= 0.2.4.1, - deepseq >= 1.3, - dlist >= 0.2, - ghc-prim >= 0.2, - hashable >= 1.1.2.0, - scientific >= 0.3.4.7 && < 0.4, - tagged >=0.8.3 && <0.9, - template-haskell >= 2.7, - text >= 1.1.1.0, - time >= 1.1.1.4, - time-locale-compat >= 0.1.1 && < 0.2, - unordered-containers >= 0.2.5.0, - uuid-types >= 1.0.3 && <1.1, - vector >= 0.8 - - if flag(bytestring-builder) - build-depends: bytestring >= 0.9 && < 0.10.4, - bytestring-builder >= 0.10.4 && < 1 - else - build-depends: bytestring >= 0.10.4 - - if !impl(ghc >= 8.0) - -- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9 - build-depends: - semigroups >= 0.18.2 && < 0.19, - transformers >= 0.2.2.0, - transformers-compat >= 0.3, - fail == 4.9.* - - if !impl(ghc >= 7.10) - -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8 - build-depends: nats >= 1 && < 1.2 - - ghc-options: -Wall - - if flag(developer) - ghc-options: -Werror - ghc-prof-options: -auto-all - - if flag(fast) - ghc-options: -O0 - else - ghc-options: -O2 - - include-dirs: include - if impl(ghcjs) || !flag(cffi) - hs-source-dirs: pure - other-modules: Data.Aeson.Parser.UnescapePure - else - c-sources: cbits/unescape_string.c - cpp-options: -DCFFI - hs-source-dirs: ffi - other-modules: Data.Aeson.Parser.UnescapeFFI - -test-suite tests - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: tests ffi pure - main-is: Tests.hs - c-sources: cbits/unescape_string.c - ghc-options: -Wall -threaded -rtsopts - - other-modules: - Data.Aeson.Parser.UnescapeFFI - Data.Aeson.Parser.UnescapePure - DataFamilies.Properties - DataFamilies.Instances - DataFamilies.Encoders - DataFamilies.Types - Encoders - ErrorMessages - Functions - Instances - Options - Properties - SerializationFormatSpec - Types - UnitTests - UnitTests.NullaryConstructors - - build-depends: - HUnit, - QuickCheck >= 2.8 && <2.9.3, - aeson, - integer-logarithms >= 1 && <1.1, - attoparsec, - base, - base-compat, - base-orphans >= 0.5.3 && <0.7, - base16-bytestring, - containers, - directory, - dlist, - filepath, - generic-deriving >= 1.10 && < 1.12, - ghc-prim >= 0.2, - hashable >= 1.2.4.0, - scientific, - tagged, - template-haskell, - test-framework, - test-framework-hunit, - test-framework-quickcheck2, - text, - time, - time-locale-compat, - unordered-containers, - uuid-types, - vector, - quickcheck-instances >=0.3.12 - - if flag(bytestring-builder) - build-depends: bytestring >= 0.9 && < 0.10.4, - bytestring-builder >= 0.10.4 && < 1 - else - build-depends: bytestring >= 0.10.4 - - if !impl(ghc >= 8.0) - build-depends: - semigroups >= 0.18.2 && < 0.19, - transformers >= 0.2.2.0, - transformers-compat >= 0.3 - - if !impl(ghc >= 7.10) - build-depends: nats >=1 && <1.2 - - if impl(ghc >= 7.8) - build-depends: hashable-time >= 0.2 && <0.3 - - if flag(fast) - ghc-options: -fno-enable-rewrite-rules - -source-repository head - type: git - location: git://github.com/bos/aeson.git diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 24b3bd5..a972547 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 19:12:45 UTC 2017 - psimons@suse.com + +- Update to version 1.2.3.0. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 132af3c..80eea50 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -19,14 +19,13 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1.2.0 +Version: 1.2.3.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base-compat-devel @@ -40,6 +39,7 @@ BuildRequires: ghc-scientific-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel +BuildRequires: ghc-th-abstraction-devel BuildRequires: ghc-time-devel BuildRequires: ghc-time-locale-compat-devel BuildRequires: ghc-unordered-containers-devel @@ -95,7 +95,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build From ebbd20bc7aaedeca0f8359f1799958c08d73c1ed2229ef5ecdea2e1ae98cb436 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 12 Feb 2018 02:16:33 +0000 Subject: [PATCH 2/8] osc copypac from project:devel:languages:haskell:lts:10 package:ghc-aeson revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=32 --- aeson-1.2.3.0.tar.gz | 3 --- aeson-1.2.4.0.tar.gz | 3 +++ ghc-aeson.changes | 6 ++++++ ghc-aeson.spec | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 aeson-1.2.3.0.tar.gz create mode 100644 aeson-1.2.4.0.tar.gz diff --git a/aeson-1.2.3.0.tar.gz b/aeson-1.2.3.0.tar.gz deleted file mode 100644 index 02257b5..0000000 --- a/aeson-1.2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aacdc69295dc2a781b3fdc5fce4eb019610df4ae0dee6c2ab5234923d7c59cbf -size 264912 diff --git a/aeson-1.2.4.0.tar.gz b/aeson-1.2.4.0.tar.gz new file mode 100644 index 0000000..3a35a21 --- /dev/null +++ b/aeson-1.2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3401dba4fddb92c8a971f6645b38e2f8a1b286ef7061cd392a1a567640bbfc9b +size 265740 diff --git a/ghc-aeson.changes b/ghc-aeson.changes index a972547..f925bb5 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 10 03:01:40 UTC 2018 - psimons@suse.com + +- Update aeson to version 1.2.4.0. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Dec 21 19:12:45 UTC 2017 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 80eea50..2202e89 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-aeson # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.3.0 +Version: 1.2.4.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause From fef746390e577cb4a8767adbd5e807be16bb1c30e49b2eabda13fb2992af6190 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:50:33 +0000 Subject: [PATCH 3/8] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-aeson revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=34 --- ghc-aeson.changes | 167 +--------------------------------------------- 1 file changed, 1 insertion(+), 166 deletions(-) diff --git a/ghc-aeson.changes b/ghc-aeson.changes index f925bb5..51b945e 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,171 +1,6 @@ ------------------------------------------------------------------- -Sat Feb 10 03:01:40 UTC 2018 - psimons@suse.com +Wed Mar 14 16:56:14 UTC 2018 - psimons@suse.com - Update aeson to version 1.2.4.0. A more detailed change log is not available. -------------------------------------------------------------------- -Thu Dec 21 19:12:45 UTC 2017 - psimons@suse.com - -- Update to version 1.2.3.0. - A more detailed change log is not available. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Thu Jul 27 14:07:48 UTC 2017 - psimons@suse.com - -- Update to version 1.1.2.0 revision 1. - -------------------------------------------------------------------- -Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com - -- Update to version 1.0.2.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -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 - From 80fe7929d40a3a0ed6cc7d1a0f0dbc3ff53c2fad1da488b2d05def03e7ebc214 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:28:11 +0000 Subject: [PATCH 4/8] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-aeson revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=35 --- ghc-aeson.changes | 161 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 160 insertions(+), 1 deletion(-) diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 51b945e..807f408 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,6 +1,165 @@ ------------------------------------------------------------------- -Wed Mar 14 16:56:14 UTC 2018 - psimons@suse.com +Thu Apr 12 08:31:43 UTC 2018 - psimons@suse.com - Update aeson to version 1.2.4.0. A more detailed change log is not available. +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Thu Jul 27 14:07:48 UTC 2017 - psimons@suse.com + +- Update to version 1.1.2.0 revision 1. + +------------------------------------------------------------------- +Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com + +- Update to version 1.0.2.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +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 + From ecde07c21da7be964458d41a96f83049e7ca76b4e7e02c8765e3231eae39840d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Apr 2018 07:10:55 +0000 Subject: [PATCH 5/8] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-aeson revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=36 --- ghc-aeson.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 2202e89..98e3573 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -112,7 +112,7 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc README.markdown changelog.md examples From 7636b0def8202ad7c4422033f3735907d26b057217325da64bd83025269f8235 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:15:39 +0000 Subject: [PATCH 6/8] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-aeson revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=37 --- ghc-aeson.changes | 165 ---------------------------------------------- 1 file changed, 165 deletions(-) delete mode 100644 ghc-aeson.changes diff --git a/ghc-aeson.changes b/ghc-aeson.changes deleted file mode 100644 index 807f408..0000000 --- a/ghc-aeson.changes +++ /dev/null @@ -1,165 +0,0 @@ -------------------------------------------------------------------- -Thu Apr 12 08:31:43 UTC 2018 - psimons@suse.com - -- Update aeson to version 1.2.4.0. - A more detailed change log is not available. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Thu Jul 27 14:07:48 UTC 2017 - psimons@suse.com - -- Update to version 1.1.2.0 revision 1. - -------------------------------------------------------------------- -Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com - -- Update to version 1.0.2.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -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 - From 1adb8ef27a752a653717cbbde3da506381a8c6384a1598b96b17bf24b1e6b5ba Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 15:20:01 +0000 Subject: [PATCH 7/8] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-aeson revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=38 --- ghc-aeson.changes | 159 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 ghc-aeson.changes diff --git a/ghc-aeson.changes b/ghc-aeson.changes new file mode 100644 index 0000000..24b3bd5 --- /dev/null +++ b/ghc-aeson.changes @@ -0,0 +1,159 @@ +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Thu Jul 27 14:07:48 UTC 2017 - psimons@suse.com + +- Update to version 1.1.2.0 revision 1. + +------------------------------------------------------------------- +Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com + +- Update to version 1.0.2.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +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 + From bd2ac0f39b52f83f1a5aa015c85aeb559f194de2c69895cfb032657847749625 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 May 2018 18:23:17 +0000 Subject: [PATCH 8/8] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-aeson revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=39 --- ghc-aeson.changes | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 24b3bd5..65a88ce 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update aeson to version 1.2.4.0. + * Add `Ord` instance for `JSONPathElement`, thanks to Simon Hengel. + * Added `withEmbeddedJSON` to help parse JSON embedded inside a JSON string, thanks to Jesse Kempf. + * Memory usage improvements to the default (pure) parser, thanks to Jonathan Paugh. Also thanks to Neil Mitchell & Oleg Grenrus for contributing a benchmark. + * `omitNothingFields` now works for the `Option` newtype, thanks to Xia Li-yao. + * Some documentation fixes, thanks to Jonathan Paug & Philippe Crama. + * Add `FromJSON` and `ToJSON` instances for + * `DiffTime`, thanks to Víctor López Juan. + * `CTime`, thanks to Daniel Díaz. + * Fix handling of fractions when parsing Natural, thanks to Yuriy Syrovetskiy. + * Change text in error messages for Integral types to make them follow the common pattern, thanks to Yuriy Syrovetskiy. + * Add missing `INCOHERENT` pragma for `RecordToPair`, thanks to Xia Li-yao. + * Everything related to `Options` is now exported from `Data.Aeson`, thanks to Xia Li-yao. + * Optimizations to not escape text in clear cases, thanks to Oleg Grenrus. + * Some documentation fixes, thanks to Phil de Joux & Xia Li-yao. + * Add `parserThrowError` and `parserCatchError` combinators, thanks to Oleg Grenrus. + * Add `Generic` instance for `Value`, thanks to Xia Li-yao. + * Fix a mistake in the 1.2.0.0 changelog, the `cffi` flag is disabled by default! Thanks to dbaynard. + * `tagSingleConstructors`, an option to encode single-constructor types as tagged sums was added to `Options`. It is disabled by default for backward compatibility. + * The `cffi` flag is now turned off (`False`) by default, this means C FFI code is no longer used by default. You can flip the flag to get C implementation. + * The `Options` constructor is no longer exposed to prevent new options from being breaking changes, use `defaultOptions` instead. + * The contents of `GToJSON` and `GToEncoding` are no longer exposed. + * Some INLINE pragmas were removed to avoid GHC running out of simplifier ticks. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com