All Versions
59
Latest Version
Avg Release Cycle
8 days
Latest Release
592 days ago

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

  • 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

  • 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

  • v2.5.0 Changes

    July 10, 2020

    ๐Ÿš€ SECURITY RELEASE

    • More efficient serialization of Int and java.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

  • 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

  • v2.4.2 Changes

    June 19, 2020
    • ๐Ÿ›  Fixed #541 so now BigDecimal(123, -2147483648) is serialized properly as 1.23E+2147483650

    All changes v2.4.1...v2.4.2

  • v2.4.1 Changes

    June 17, 2020
    • ๐Ÿ›  Fix #541 so now BigDecimal(1, -2147483648) is serialized as 1E+2147483648
    • More stable and efficient derivation of codecs
    • More efficient serialization of java.time.Instant and java.time.ZoneOffset values

    All changes v2.4.0...v2.4.1

  • v2.4.0 Changes

    June 12, 2020
    • โž• Added the makeWithRequiredCollectionFieldsAndNameAsDiscriminatorFieldName macro

    All changes v2.3.0...v2.4.0

  • v2.3.0 Changes

    June 09, 2020
    • โž• Added the makeWithRequireCollectionFields macro

    All changes v2.2.6...v2.3.0