Changelog History
Page 1
-
v2.6.2 Changes
October 07, 2020- ๐ Fix #592 by throwing a parsing error when
null
or an empty JSON array is parsed for the::[_]
type
All changes v2.6.1...v2.6.2
- ๐ Fix #592 by throwing a parsing error when
-
v2.6.1 Changes
October 07, 2020- ๐ Fixed #591 by adding support for the
scala.collection.immutable.::
type - โก๏ธ Update Scala.js to 1.2.0
All changes v2.6.0...v2.6.1
- ๐ Fixed #591 by adding support for the
-
v2.6.0 Changes
July 20, 2020- โ Added the
makeWithoutDiscriminator
macro - โก๏ธ Update Scala 2.12.x to 2.12.12
All changes v2.5.0...v2.6.0
- โ Added the
-
v2.5.0 Changes
July 10, 2020๐ SECURITY RELEASE
- More efficient serialization of
Int
andjava.time.Period
values with Scala.js - ๐ Fix #562 by adding a configuration option to require the discriminator for ADTs to be the first field of JSON objects
๐ง This breaking change for the default derivation configuration was introduced to avoid CPU overuse in case of parsing of ADTs with discriminator (or type hint) set to the end of JSON objects (especially nested ones).
๐ It can affect the parsing of messages which are serialized by circe or other JSON serializers that put discriminators in the middle or to the end of JSON objects.
๐ง Use the
withRequireDiscriminatorFirst(false)
configuration option to restore parsing of discriminators without restrictions if impact can be neglected in your case.๐ A lot of thanks to @fommil who found this case and helped to recognize a security issue.
All changes v2.4.4...v2.5.0
- More efficient serialization of
-
v2.4.4 Changes
June 30, 2020- โ Added support of stacktrace-less exceptions with Scala.js
- โก๏ธ Updated Scala 2.13.x to 2.13.3
- Published Scala.js benchmarks here
All changes v2.4.3...v2.4.4
-
v2.4.3 Changes
June 22, 2020- ๐ Fixed #550 by throwing an error when parsing
java.time.Instant
without seconds
All changes v2.4.2...v2.4.3
- ๐ Fixed #550 by throwing an error when parsing
-
v2.4.2 Changes
June 19, 2020- ๐ Fixed #541 so now
BigDecimal(123, -2147483648)
is serialized properly as1.23E+2147483650
All changes v2.4.1...v2.4.2
- ๐ Fixed #541 so now
-
v2.4.1 Changes
June 17, 2020- ๐ Fix #541 so now
BigDecimal(1, -2147483648)
is serialized as1E+2147483648
- More stable and efficient derivation of codecs
- More efficient serialization of
java.time.Instant
andjava.time.ZoneOffset
values
All changes v2.4.0...v2.4.1
- ๐ Fix #541 so now
-
v2.4.0 Changes
June 12, 2020- โ Added the
makeWithRequiredCollectionFieldsAndNameAsDiscriminatorFieldName
macro
All changes v2.3.0...v2.4.0
- โ Added the
-
v2.3.0 Changes
June 09, 2020- โ Added the
makeWithRequireCollectionFields
macro
All changes v2.2.6...v2.3.0
- โ Added the