File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Tatu Saloranta (@cowtowncoder)
21
21
* #889 : Upgrade kotlin dep to 1.9.25 (from 1.9.24)
22
22
23
23
WrongWrong (@k163377 )
24
+ * #929 : Bug fixes to hasRequiredMarker and added isRequired considerations
24
25
* #914 : Add test case to serialize Nothing? (for #314)
25
26
* #910 : Add default KeyDeserializer for value class
26
27
* #885 : Performance improvement of strictNullChecks
Original file line number Diff line number Diff line change @@ -18,6 +18,18 @@ Co-maintainers:
18
18
19
19
2.19 .0 (not yet released )
20
20
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 .
21
33
#910 : A default `KeyDeserializer` for `value class` has been added.
22
34
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 .
23
35
#889 : Kotlin has been upgraded to 1.9.25.
You can’t perform that action at this time.
0 commit comments