on master help sign in
Update changelog with a couple of merged changes
commite5194f4e55bb3b9e3ffb06f746868d079302b7a7 authorAdam Bergmark <adam@bergmark.nl> dateSun 5 Jun 2016, 14:15 (10 years ago) parent319ef69
1 file changed+14
changelog.md+14
changelog.md+14
@@ -23,6 +23,20 @@ For the latest version of this document, please see [https://github.com/bos/aeso
2323* Fix a bug where `genericToEncoding` with `unwrapUnaryRecords = True`
2424 would produce an invalid encoding: `"unwrap\":""`.
2525
26+* Get rid of redundancy of JSONPath error messages in nested records.
27+
28+ `eitherDecode "{\"x\":{\"a\": [1,2,true]}}" :: Either String Y`
29+ previously yielded `Error in $.x.a[2]: failed to parse field" x:
30+ failed to parse field a: expected Int, encountered Boolean` and now
31+ yields `Error in $.x.a[2]: expected Int, encountered Boolean"`.
32+
33+ Some users might prefer to insert `modifyFailure` themselves to
34+ customize error messages, which previously prevented the use of
35+ `(.:)`.
36+
37+* `ToJSON` instances using `genericToEncoding` and `omitNothingFields`
38+ no longer produces invalid JSON.
39+
2640### 0.11.2.0
2741
2842* Enable `PolyKinds` to generalize `Proxy`, `Tagged`, and `Const` instances.