Skip to content

Commit 0eb0cfc

Browse files
committed
Update release notes wrt #937
1 parent 371a858 commit 0eb0cfc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

release-notes/CREDITS-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Contributors:
1717

1818
# 2.19.0 (not yet released)
1919

20+
WrongWrong (@k163377)
21+
* #937: Added type match check to read functions
22+
2023
Tatu Saloranta (@cowtowncoder)
2124
* #889: Upgrade kotlin dep to 1.9.25 (from 1.9.24)
2225

release-notes/VERSION-2.x

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ Co-maintainers:
1616
=== Releases ===
1717
------------------------------------------------------------------------
1818

19+
2.19.0 (not yet released)
20+
21+
#937: For `readValue` and other shorthands for `ObjectMapper` deserialization methods,
22+
type consistency checks have been added.
23+
A `RuntimeJsonMappingException` will be thrown in case of inconsistency.
24+
This fixes a problem that broke `Kotlin` null safety by reading null as a value even if the type parameter was specified as non-null.
25+
It also checks for custom errors in ObjectMapper that cause a different value to be read than the specified type parameter.
26+
1927
2.19.0-rc2 (07-Apr-2025)
2028

2129
#929: Added consideration of `JsonProperty.isRequired` added in `2.19` in `hasRequiredMarker` processing.

0 commit comments

Comments
 (0)