@@ -1,3 +1,55 @@
1+0.10.0.0
2+
3+MANY MAJOR CHANGES, READ CAREFULLY
4+
5+* The ToJSON class has a new method, toEncoding, that allows direct
6+ encoding from a Haskell value to a lazy bytestring without
7+ construction of an intermediate Value.
8+
9+ The performance benefits of direct encoding are significant: more
10+ than 3x faster than before, with less than 1/3 the memory usage.
11+
12+ To preserve API compatibility across upgrades from older versions of
13+ this library, toEncoding is implemented using toJSON. You will not
14+ see a performance improvement unless you write an implementation of
15+ toEncoding.
16+
17+ If you use Template Haskell or GHC Generics to auto-generate your
18+ ToJSON instances, you'll benefit from fast toEncoding
19+ implementations for free!
20+
21+* When converting from a Value to a target Haskell type, FromJSON
22+ instances now provide much better error messages, including a
23+ complete JSON path from the root of the object to the offending
24+ element. This greatly eases debugging.
25+
26+* If you used to use the camelTo function to rename fields when using
27+ TH or generics, the new camelTo2 function is smarter. For example,
28+ camelTo will rename `CamelAPICase` to `camelapi_case`, while
29+ camelTo2 will map it to `camel_api_case`.
30+
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+
36+* New ToJSON and FromJSON instances for the following time-related
37+ types: Day, LocalTime.
38+
39+* The Result type is now an instance of Foldable and Traversable.
40+
41+* Parsing into an Object is now 5% faster and more memory-efficient.
42+
43+* The Data.Aeson.Generic module has been removed. It was deprecated in
44+ late 2013.
45+
46+* GHC 7.2 and older are no longer supported.
47+
48+* The instance of Monad for the Result type lacked an implementation
49+ of fail. This has been corrected.
50+
51+
52+
1530.9.0.1
254
355* A stray export of encodeToBuilder got away!