File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Tatu Saloranta (@cowtowncoder)
2121* #889 : Upgrade kotlin dep to 1.9.25 (from 1.9.24)
2222
2323WrongWrong (@k163377 )
24+ * #929 : Bug fixes to hasRequiredMarker and added isRequired considerations
2425* #914 : Add test case to serialize Nothing? (for #314)
2526* #910 : Add default KeyDeserializer for value class
2627* #885 : Performance improvement of strictNullChecks
Original file line number Diff line number Diff line change @@ -18,6 +18,18 @@ Co-maintainers:
1818
19192.19 .0 (not yet released )
2020
21+ #929 : Added consideration of `JsonProperty .isRequired ` added in `2.19 ` in `hasRequiredMarker ` processing .
22+ Previously `JsonProperty .required ` was defined as `Boolean ` with default `false`,
23+ so `KotlinModule ` was forced to override it if the value was `false`.
24+ This made it impossible for users to override the parsed result by `KotlinModule `.
25+ The new `JsonProperty .isRequired ` is defined with three values , including the default ,
26+ so `KotlinModule ` can now respect user specifications .
27+ #929 : Fixed a problem with the `NullToEmptyCollection` and `NullToEmptyMap` options overriding annotated specifications
28+ in the `hasRequiredMarker ` process .
29+ #929 : Fixed a problem with the `NullToEmptyCollection` and `NullToEmptyMap` options being applied to non-parameters
30+ in the `hasRequiredMarker ` process .
31+ They currently do not work for setters or fields and are not related to serialization ,
32+ but were being incorrectly applied to their `required ` decisions .
2133#910 : A default `KeyDeserializer` for `value class` has been added.
2234 This eliminates the need to have a custom `KeyDeserializer ` for each `value class ` when using it as a key in a `Map `, if only simple boxing is needed .
2335#889 : Kotlin has been upgraded to 1.9.25.
You can’t perform that action at this time.
0 commit comments