You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[#687](https://github.com/haskell/aeson/issues/687) Derived ToJSON1 instance does not respect omitNothingFields = True,
26
+
-[#571](https://github.com/haskell/aeson/issues/571) omitNothingFields not used in Generic Decode,
27
+
-[#792](https://github.com/haskell/aeson/issues/792) Make Proxy fields optional.
27
28
28
29
* Use `Data.Aeson.Decoding` parsing functions (introduced in version 2.1.2.0) as default in `Data.Aeson`.
29
30
As one side-effect, `decode` and `decode'` etc pair functions are operationally the same.
@@ -33,12 +34,18 @@ For the latest version of this document, please see [https://github.com/haskell/
33
34
34
35
* Move `Data.Aeson.Parser` module into separate [`attoparsec-aeson`](https://hackage.haskell.org/package/attoparsec-aeson) package, as these parsers are not used by `aeson` itself anymore.
35
36
* Use [`text-iso8601`](https://hackage.haskell.org/package/text-iso8601) package for parsing `time` types. These are slightly faster than previously used (copy of) `attoparsec-iso8601`.
37
+
Formats accepted is slightly changed:
38
+
- The space between time and timezone offset (in `UTCTime` and `ZonedTime`) is disallowed. ISO8601 explictly forbidds it.
39
+
- The timezone offsets can be in range -23:59..23:59. This is how Python, joda-time etc seems to do. (Previously the range was -12..+14)
40
+
36
41
* Remove `cffi` flag. Toggling the flag made `aeson` use a C implementation for string unescaping (used for `text <2` versions).
37
42
The new native Haskell implementation (introduced in version 2.0.3.0) is at least as fast.
38
43
* Drop instances for `Number` from `attoparsec` package.
39
44
* Improve `Arbitrary Value` instance.
40
45
* Add instances for `URI` from `network-uri`.
41
46
* add instances for `Down` from `Data.Ord`.
47
+
* Use `integer-conversion` for converting `Text` and `ByteString`s into `Integer`s.
48
+
* Bump lower bounds of non GHC-boot lib dependencies.
0 commit comments