Skip to content

v1.7.6

Latest

Choose a tag to compare

@chaokunyang chaokunyang released this 30 Sep 02:03
· 17 commits to main since this release

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