github apache/fory v1.7.6

7 hours ago

Highlights

  • JSON can reject missing required constructor properties with ForyJson.builder().failOnMissingRequiredProperties(true). This opt-in setting supports Java records and property-based creators, Scala case classes, and Kotlin constructor models while preserving declared defaults.
  • JSON NON_DEFAULT inclusion now retains properties without defaults instead of rejecting them, including required constructor properties in Java, Scala, and Kotlin.

Features

  • feat(json): configure missing required constructor properties by @chaokunyang in #4079

Bug Fix

  • fix(json): retain properties without defaults under NON_DEFAULT by @chaokunyang in #4078

Full Changelog: v1.7.5...v1.7.6

Don't miss a new fory release

NewReleases is sending notifications on new releases.