Highlights
- New
mapBlankStringToNulloption on both modules: with it on, a blank string for a non-StringJsonNullablereads asof(null)instead ofundefined()(#186, thanks @Thorsrud22, and @krangerich for the first version in #126). Character,CharSequenceand deserializers you register yourself now get the empty string instead ofundefined()(#187, fixes #26 and #46). Two cases behave differently from 0.2.11: a wrapper deserializer that neither extendsDelegatingDeserializernor overridesgetDelegatee()is judged by its own class, so the deserializer it wraps can now throw on""; and a subclass ofFromStringDeserializernow reads""asof(null). Content converters (@JsonDeserialize(contentConverter = ...)) still don't see"". Thanks @Thorsrud22 for testing it past the suite.- Docs: module-path registration on Java 17+ (#188) and what
NON_NULLdoes in the usage example (#190). - CI runs on JDK 17, 21 and 25 (#171), and
CreatorTestis back on (#170), thanks @davidpavlovschi.
What's Changed
- prepare 0.2.12 snapshot version by @wing328 in #169
- Test against JDK 17, 21 and 25 in CI by @davidpavlovschi in #171
- Bump actions/setup-java from 5.6.0 to 5.7.0 by @dependabot[bot] in #172
- Bump org.apache.maven:apache-maven from 3.9.9 to 3.9.16 by @dependabot[bot] in #173
- Bump org.apache.maven.wrapper:maven-wrapper from 3.3.2 to 3.3.4 by @dependabot[bot] in #174
- Bump tools.jackson:jackson-bom from 3.2.1 to 3.2.2 by @dependabot[bot] in #175
- Bump com.fasterxml.jackson:jackson-bom from 2.22.1 to 2.22.2 by @dependabot[bot] in #178
- Bump com.fasterxml.jackson:jackson-base from 2.22.1 to 2.22.2 by @dependabot[bot] in #177
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0 by @dependabot[bot] in #181
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.15.0 to 3.16.0 by @dependabot[bot] in #180
- Enable CreatorTest and drop the stale @JsonCreator limitation by @davidpavlovschi in #170
- Group dependabot updates to reduce PR noise by @Sekator778 in #182
- Keep major GitHub Actions updates out of the group by @Sekator778 in #185
- Document module-path registration on Java 17+ by @Thorsrud22 in #188
- Add mapBlankStringToNull option to JsonNullableModule and JsonNullableJackson3Module by @Thorsrud22 in #186
- README: remove the 'looking for maintainers' banner by @Sekator778 in #191
- Bump actions/setup-java from 5.7.0 to 6.0.1 by @dependabot[bot] in #189
- README: say what NON_NULL does in the usage example by @Sekator778 in #190
- Bump the minor-and-patch group across 1 directory with 3 updates by @dependabot[bot] in #193
- Let Character, CharSequence and custom deserializers see empty strings by @Sekator778 in #187
- 0.2.12 release by @Sekator778 in #194
New Contributors
- @davidpavlovschi made their first contribution in #171
- @Sekator778 made their first contribution in #182
- @Thorsrud22 made their first contribution in #188
Full Changelog: v0.2.11...v0.2.12