Skip to content

Commit 0ca8414

Browse files
committed
Update release notes for #4788
1 parent 45b2dac commit 0ca8414

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

release-notes/CREDITS-2.x

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,44 +1796,44 @@ Susan Witts (susanw1@github)
17961796
assign to property '@id'
17971797
(2.17.2)
17981798

1799-
Ulf Dreyer (u3r@github)
1799+
Ulf Dreyer (@u3r)
18001800
* Reported #4085: `@JsonView` does not work on class-level for records
18011801
(2.18.0)
18021802

1803-
Mark Herkrath (herkrath@github)
1803+
Mark Herkrath (@herkrath)
18041804
* Reported #4356: `BeanDeserializerModifier::updateBuilder()` doesn't work for
18051805
beans with Creator methods
18061806
(2.18.0)
18071807
1808-
David Moten (davidmoten@github)
1808+
David Moten (@davidmoten)
18091809
* Contributed #4453: Allow JSON Integer to deserialize into a single-arg constructor of
18101810
parameter type `double`
18111811
(2.18.0)
18121812
1813-
Teodor Danciu (teodord@github)
1813+
Teodor Danciu (@teodord)
18141814
* Reported #4464: When `Include.NON_DEFAULT` setting is used, `isEmpty()` method is
18151815
not called on the serializer
18161816
(2.18.0)
18171817
1818-
Matthew Luckam (mluckam@github)
1818+
Matthew Luckam (@mluckam)
18191819
* Contributed #4483: Remove `final` on method BeanSerializer.serialize()
18201820
(2.18.0)
18211821
1822-
Alexandre Jacob (ajacob@github)
1822+
Alexandre Jacob (@ajacob)
18231823
* Reported #4545: Unexpected deserialization behavior with `@JsonCreator`,
18241824
`@JsonProperty` and javac `-parameters`
18251825
(2.18.0)
18261826
1827-
Eduard Gomoliako (Gems@github)
1827+
Eduard Gomoliako (@Gems)
18281828
* Reported #4602: Possible wrong use of _arrayDelegateDeserializer in
18291829
BeanDeserializerBase::deserializeFromObjectUsingNonDefault()
18301830
(2.18.0)
18311831
1832-
Mathijs Vogelzang (mathijs81@github)
1832+
Mathijs Vogelzang (@mathijs81)
18331833
* Reported #4678: Java records don't serialize with `MapperFeature.REQUIRE_SETTERS_FOR_GETTERS`
18341834
(2.18.0)
18351835

1836-
Rikkarth (rikkarth@github)
1836+
Rikkarth (@rikkarth)
18371837
* Contributed #4709: Add `JacksonCollectors` with `toArrayNode()` implementation
18381838
(2.18.0)
18391839

@@ -1844,3 +1844,8 @@ Maxim Valeev (@MaximValeev)
18441844
wrongwrong (@k163377)
18451845
* Contributed #4749: Fixed problem in StdDelegatingSerializer#serializeWithType where final serializer lookup was done
18461846
on the pre-converted value when _delegateSerializer was null
1847+
1848+
Mike Minicki (@martel)
1849+
* Reported #4788: `EnumFeature.WRITE_ENUMS_TO_LOWERCASE` overrides `@JsonProperty` values
1850+
1851+

release-notes/VERSION-2.x

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Project: jackson-databind
1010
(reported by @nlisker)
1111
#4787: Wrong `String.format()` in `StdDelegatingDeserializer` hides actual error
1212
(reported by @Horus1337)
13+
#4788: `EnumFeature.WRITE_ENUMS_TO_LOWERCASE` overrides `@JsonProperty` values
14+
(reported by Mike M)
15+
(fix by Joo-Hyuk K)
1316

1417
2.18.1 (28-Oct-2024)
1518

src/main/java/com/fasterxml/jackson/databind/util/EnumValues.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public static EnumValues constructFromName(MapperConfig<?> config, AnnotatedClas
8888
for (int i = 0, len = enumConstants.length; i < len; ++i) {
8989
Enum<?> enumValue = enumConstants[i];
9090
String name = _findNameToUse(names[i], enumValue.name(), useLowerCase);
91-
// if it should lower case? then lower it, but if there is Json Property, use JsonProperty name first, and not lower
9291
textual[enumValue.ordinal()] = config.compileString(name);
9392
}
9493
return construct(enumCls, textual);

0 commit comments

Comments
 (0)