@@ -1,6 +1,28 @@
110.10.0.0
22
3−MANY MAJOR CHANGES, READ CAREFULLY
3+SPEEDUPS:
4+
5+* Direct encoding via toEncoding is over 2x faster than under 0.9 and
6+ earlier. (You must write or code-gen a toEncoding implementation to
7+ unlock this speedup. See below for details.)
8+
9+* Improved string decoding gives a 12% speed win in parsing
10+ string-heavy JSON payloads (very common).
11+
12+* Encoding and decoding of time-related types are 10x faster (!!) as a
13+ result of bypassing Data.Time.Format and arbitrary-precision Integers.
14+
15+* When using toEncoding, [Char] can be encoded without a conversion to
16+ Text. This is fast and efficient.
17+
18+* Parsing into an Object is now 5% faster and more
19+ allocation-efficient.
20+
21+MANY API CHANGES, READ CAREFULLY.
22+
23+With the exception of long-deprecated code, the API changes below
24+should be upwards compatible from older versions of aeson. If you run
25+into upgrade problems, please file an issue with details.
426
527* The ToJSON class has a new method, toEncoding, that allows direct
628 encoding from a Haskell value to a lazy bytestring without
@@ -28,18 +50,11 @@ MANY MAJOR CHANGES, READ CAREFULLY
2850 camelTo will rename `CamelAPICase` to `camelapi_case`, while
2951 camelTo2 will map it to `camel_api_case`.
3052
31−* Both encoding and decoding of time-related types are 10x faster.
32−
33−* Encoding [Char] no longer goes via Text. This is faster and uses
34− less memory.
35−
3653* New ToJSON and FromJSON instances for the following time-related
3754 types: Day, LocalTime.
3855
3956* The Result type is now an instance of Foldable and Traversable.
4057
41−* Parsing into an Object is now 5% faster and more memory-efficient.
42−
4358* The Data.Aeson.Generic module has been removed. It was deprecated in
4459 late 2013.
4560