Commit Graph

18 Commits

Author SHA256 Message Date
Peter Simons
a1e4aac4e3 synchronize with lts:8 from configuration 04e39209a68a16a2c832175a3136d33072945ab8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=25
2017-04-04 14:22:41 +00:00
Peter Simons
657a8d3485 synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=24
2017-02-22 17:25:14 +00:00
Peter Simons
46673e1118 syncronize with lts-7 repo from configuration 2c5a8d9cf26081f520de1f85ce8b0c84c5974021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=23
2017-01-30 09:02:00 +00:00
Peter Simons
949affac17 Use pristine copy of edited Cabal file from upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=22
2016-10-05 17:32:15 +00:00
Peter Simons
3a5baf4233 Accepting request 432713 from devel:languages:haskell:lts:7
version / revision update

OBS-URL: https://build.opensuse.org/request/show/432713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=21
2016-10-03 08:19:28 +00:00
Peter Simons
404ebfe155 Accepting request 421714 from devel:languages:haskell:lts:6
version update

OBS-URL: https://build.opensuse.org/request/show/421714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=20
2016-08-24 13:12:22 +00:00
5879768b84 Accepting request 421595 from devel:languages:haskell:lts:6
version update

OBS-URL: https://build.opensuse.org/request/show/421595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=19
2016-08-24 13:06:59 +00:00
Peter Simons
896dc01bc5 osc copypac from project:devel:languages:haskell:lts:6 package:ghc-aeson revision:5
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=18
2016-07-22 21:35:56 +00:00
5bf744e6af Accepting request 409159 from devel:languages:haskell:lts:6
See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details.

OBS-URL: https://build.opensuse.org/request/show/409159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=16
2016-07-16 21:08:40 +00:00
a941189a99 Accepting request 398189 from devel:languages:haskell:lts
- 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

OBS-URL: https://build.opensuse.org/request/show/398189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=14
2016-05-26 12:19:34 +00:00
aacec19a27 Accepting request 355919 from devel:languages:haskell:lts
downgrade to 0.9.0.1

OBS-URL: https://build.opensuse.org/request/show/355919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=12
2016-01-26 08:06:43 +00:00
5317774364 Accepting request 352123 from devel:languages:haskell:lts
- update to 0.10.0.0
* Performance improvements:
	+ Direct encoding via the new toEncoding method is over 2x faster than toJSON.
      (You must write or code-gen a toEncoding implementation to unlock this speedup. 
      See below for details.)
	+ Improved string decoding gives a 12% speed win in parsing string-heavy JSON
	  payloads (very common).
	+ Encoding and decoding of time-related types are 10x faster (!!) as a result of
      bypassing Data.Time.Format and the arbitrary-precision Integer type.
	+ When using toEncoding, [Char] can be encoded without a conversion to Text. 
	  This is fast and efficient.
	+ Parsing into an Object is now 5% faster and more allocation-efficient.
* SUBTLE API CHANGES, READ CAREFULLY:
	+ With the exception of long-deprecated code, the API changes below should be 
		upwards compatible from older versions of aeson. If you run into upgrade 
		problems, please file an issue with details.
	+ The ToJSON class has a new method, toEncoding, that allows direct encoding 
		from a Haskell value to a lazy bytestring without construction of an 
		intermediate Value.
	+ The performance benefits of direct encoding are significant: more than 2x 
		faster than before, with less than 1/3 the memory usage.
	+ To preserve API compatibility across upgrades from older versions of this 
		library, the default implementation of toEncoding uses toJSON. You will not 
		see any performance improvement unless you write an implementation of 
		toEncoding, which can be very simple:
			instance ToJSON Coord where
  			  toEncoding = genericToEncoding defaultOptions
		(Behind the scenes, the encode function uses toEncoding now, so if you 
		implement toEncoding for your types, you should see a speedup immediately.)
	+ If you use Template Haskell or GHC Generics to auto-generate your ToJSON

OBS-URL: https://build.opensuse.org/request/show/352123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=10
2016-01-06 09:17:01 +00:00
Peter Trommler
a02b34da79 Accepting request 304886 from devel:languages:haskell:lts
- 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.

OBS-URL: https://build.opensuse.org/request/show/304886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=8
2015-05-04 18:21:44 +00:00
Peter Trommler
fbfee4ed2e Accepting request 291643 from devel:languages:haskell:pandoc
Enable Template Haskell on all platforms.

OBS-URL: https://build.opensuse.org/request/show/291643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=6
2015-03-19 19:45:30 +00:00
Peter Trommler
dfe66d9401 Accepting request 257529 from openSUSE:Factory:PowerPC
- disable TH module on arch's without ghci
  aeson-disable-TH.patch

OBS-URL: https://build.opensuse.org/request/show/257529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=4
2014-10-18 15:05:55 +00:00
Stephan Kulow
23f8238fa0 Accepting request 227573 from devel:languages:haskell
New package for pandoc.
See: http://lists.opensuse.org/archive/opensuse-factory/2014-03/msg00332.html

OBS-URL: https://build.opensuse.org/request/show/227573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=1
2014-04-02 15:18:41 +00:00
Scott Bahling
2757e7ac45 - Remove redundant Requires for ghc-compiler
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=2
2013-10-28 19:51:54 +00:00
Scott Bahling
43e62b15d7 osc copypac from project:devel:languages:haskell:pandoc package:ghc-aeson revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=1
2013-10-28 19:49:56 +00:00