SHA256
1
0
forked from pool/ghc-aeson

Compare commits

...

43 Commits

Author SHA256 Message Date
Ana Guerrero
d44bf142f9 Accepting request 1181575 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1181575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=45
2024-06-19 14:39:57 +00:00
Dominique Leuenberger
e593a61807 Accepting request 1157232 from devel:languages:haskell
Update Haskell ecosystem to GHC version 9.8.2.

OBS-URL: https://build.opensuse.org/request/show/1157232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=44
2024-03-20 20:13:52 +00:00
Ana Guerrero
ee7db64f93 Accepting request 1105219 from devel:languages:haskell
update

OBS-URL: https://build.opensuse.org/request/show/1105219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=43
2023-08-23 12:57:45 +00:00
Dominique Leuenberger
ccc8625a38 Accepting request 1103126 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1103126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=42
2023-08-09 15:26:26 +00:00
Dominique Leuenberger
c33d0b5dd3 Accepting request 1075755 from devel:languages:haskell
update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1075755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=41
2023-04-04 19:18:17 +00:00
Dominique Leuenberger
d468c8496c Accepting request 953385 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/953385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=40
2022-02-11 22:07:48 +00:00
Dominique Leuenberger
a89e3f90c5 Accepting request 934275 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/934275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=39
2021-12-19 16:34:41 +00:00
Dominique Leuenberger
5b978a1e82 Accepting request 917475 from devel:languages:haskell
automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/917475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=38
2021-09-10 21:41:03 +00:00
Dominique Leuenberger
4800219236 Accepting request 891253 from devel:languages:haskell
OBS-URL: https://build.opensuse.org/request/show/891253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=37
2021-05-07 14:45:54 +00:00
Richard Brown
e0cc3dd6de Accepting request 881528 from devel:languages:haskell
automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/881528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=36
2021-03-28 09:55:36 +00:00
Dominique Leuenberger
d5b984212f Accepting request 877612 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/877612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=35
2021-03-10 07:54:27 +00:00
Dominique Leuenberger
2e4e95a6d3 Accepting request 862322 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/862322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=34
2021-01-20 17:24:13 +00:00
Dominique Leuenberger
08b23b4b72 Accepting request 857215 from devel:languages:haskell
update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=33
2020-12-22 10:34:12 +00:00
Dominique Leuenberger
bff44e6e4b Accepting request 842736 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/842736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=32
2020-10-23 13:13:24 +00:00
Dominique Leuenberger
2ae7e3a35b Accepting request 839524 from devel:languages:haskell
fix (forwarded request 839523 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/839524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=31
2020-10-05 17:40:20 +00:00
Dominique Leuenberger
ba332e24bb Accepting request 832240 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/832240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=30
2020-09-07 19:28:59 +00:00
Dominique Leuenberger
16e6d6ff73 Accepting request 829165 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/829165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=29
2020-08-28 19:24:42 +00:00
Dominique Leuenberger
19fa77f3ce Accepting request 825793 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/825793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=28
2020-08-18 10:24:30 +00:00
Dominique Leuenberger
48a66095f5 Accepting request 815025 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/815025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=27
2020-06-19 15:07:37 +00:00
Dominique Leuenberger
833be61986 Accepting request 800998 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/800998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=26
2020-05-11 11:33:06 +00:00
Dominique Leuenberger
de6a465fde Accepting request 759329 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/759329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=25
2019-12-27 12:51:16 +00:00
Dominique Leuenberger
c160c9fc32 Accepting request 737186 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/737186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=24
2019-10-18 12:33:32 +00:00
Dominique Leuenberger
84fe9534fa Accepting request 712499 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/712499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=23
2019-06-30 08:21:25 +00:00
Dominique Leuenberger
872daaa635 Accepting request 700194 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/700194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=22
2019-05-09 08:09:43 +00:00
Stephan Kulow
d36da0b621 Accepting request 674293 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/674293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=21
2019-02-17 11:19:48 +00:00
Dominique Leuenberger
44b39b3da9 Accepting request 653440 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/653440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=20
2018-12-06 11:16:47 +00:00
Dominique Leuenberger
e6a6a67a7a Accepting request 642845 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/642845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=19
2018-10-25 06:14:30 +00:00
Dominique Leuenberger
9af8bc983a Accepting request 623707 from devel:languages:haskell
- 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

OBS-URL: https://build.opensuse.org/request/show/623707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=18
2018-07-24 15:12:35 +00:00
Dominique Leuenberger
0541d48e51 Accepting request 607734 from devel:languages:haskell
Update ghc-aeson to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=17
2018-05-30 09:58:37 +00:00
Dominique Leuenberger
9e5ef02ebc Accepting request 524018 from devel:languages:haskell
re-format spec file with latest spec-cleaner and cabal2obs

OBS-URL: https://build.opensuse.org/request/show/524018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=16
2017-09-15 19:15:23 +00:00
Dominique Leuenberger
98c5707a16 Accepting request 513199 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/513199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=15
2017-08-31 18:46:12 +00:00
Yuchen Lin
4c4bf7732f Accepting request 487383 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/487383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=14
2017-04-14 11:41:18 +00:00
Dominique Leuenberger
1a8a76c3ad Accepting request 461532 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=13
2017-03-03 16:47:47 +00:00
Dominique Leuenberger
32a4ce2573 Accepting request 454891 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/454891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=12
2017-02-11 00:40:38 +00:00
Dominique Leuenberger
5ef454affc Accepting request 434605 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/434605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=11
2016-10-22 11:21:55 +00:00
Dominique Leuenberger
7e01a34d2f Accepting request 421777 from devel:languages:haskell
- Update to version 0.11.2.1 revision 0 with cabal2obs.

OBS-URL: https://build.opensuse.org/request/show/421777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=10
2016-09-05 19:21:14 +00:00
Dominique Leuenberger
a7344db38b Accepting request 411152 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/411152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=9
2016-07-21 06:00:51 +00:00
Dominique Leuenberger
a927c5212d Accepting request 398191 from devel:languages:haskell
- 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)

OBS-URL: https://build.opensuse.org/request/show/398191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=8
2016-05-26 21:54:23 +00:00
Dominique Leuenberger
a152d8be64 Accepting request 355920 from devel:languages:haskell
downgrade to 0.9.0.1 (forwarded request 355919 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/355920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=7
2016-01-28 16:23:29 +00:00
Dominique Leuenberger
598637a9c8 Accepting request 352165 from devel:languages:haskell
- 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 (forwarded request 352123 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/352165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=6
2016-01-08 14:22:35 +00:00
Stephan Kulow
f49b31a7b2 Accepting request 306423 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/306423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=5
2015-05-21 06:12:39 +00:00
Dominique Leuenberger
5bb3cbd06c Accepting request 291644 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/291644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=4
2015-03-23 11:17:17 +00:00
Stephan Kulow
b5bf6159b5 Accepting request 257531 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/257531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=3
2014-10-20 05:27:10 +00:00

Diff Content Not Available