Skip to content

Commit

Permalink
Update release notes wrt #2536
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 6, 2023
1 parent d75496b commit ca9d1bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,11 @@ Gili Tzabari (cowwoc@github)
* Reported #3063: `@JsonValue` fails for Java Record
(2.14.2)
Joo Hyuk Kim (JooHyukKim@github)
* Contributed #2536: Add `EnumFeature.READ_ENUM_KEYS_USING_INDEX` to work with
existing "WRITE_ENUM_KEYS_USING_INDEX"
(2.15.0)
Hervé Boutemy (hboutemy@github)
* Contributed fix for #3680: Timestamp in classes inside jar showing 02/01/1980
(2.15.0)
Expand Down
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Project: jackson-databind

2.15.0 (not yet released)

#2536: Add `EnumFeature.READ_ENUM_KEYS_USING_INDEX` to work with
existing "WRITE_ENUM_KEYS_USING_INDEX"
(contributed by Joo-Hyuk K)
#2974: Null coercion with `@JsonSetter` does not work with `java.lang.Record`
(fix contributed by Sim Y-T)
#2992: Properties naming strategy do not work with Record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
*/
public enum EnumFeature implements DatatypeFeature
{
BOGUS_FEATURE(false),

/**
* Feature that determines standard deserialization mechanism used for
* Enum values: if enabled, Enums are assumed to have been serialized using
Expand All @@ -24,7 +22,8 @@ public enum EnumFeature implements DatatypeFeature
*
* @since 2.15
*/
READ_ENUM_KEYS_USING_INDEX(false);
READ_ENUM_KEYS_USING_INDEX(false)
;

private final static int FEATURE_INDEX = DatatypeFeatures.FEATURE_INDEX_ENUM;

Expand Down

0 comments on commit ca9d1bf

Please sign in to comment.