File tree 2 files changed +3
-2
lines changed
src/main/java/tools/jackson/databind
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Versions: 3.x (for earlier see VERSION-2.x)
57
57
#3601: Change `Optional` deserialization from "absent" value into `null`, from "empty"
58
58
#4160: Deprecate `DefaultTyping.EVERYTHING` in `2.x` and remove in `3.0`
59
59
#4381: Prevent construction of `null`-valued `JsonNode`s (like `TextNode`)
60
+ #4552: Change `MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS` default to `false` for 3.0
60
61
- Remove `MappingJsonFactory`
61
62
- Add context parameter for `TypeSerializer` contextualization (`forProperty()`)
62
63
- Default for `JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROES` changed to `false` for 3.0
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ public enum MapperFeature
78
78
* rules; if disabled, such fields are NOT used as mutators except if
79
79
* explicitly annotated for such use.
80
80
*<p>
81
- * Feature is enabled by default, for backwards compatibility reasons .
81
+ * Feature is disabled by default in Jackson 3.x, in 2.x it was enabled by default .
82
82
*/
83
- ALLOW_FINAL_FIELDS_AS_MUTATORS (true ),
83
+ ALLOW_FINAL_FIELDS_AS_MUTATORS (false ),
84
84
85
85
/**
86
86
* Feature that determines whether member mutators (fields and
You can’t perform that action at this time.
0 commit comments