-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathVERSION
148 lines (139 loc) · 8 KB
/
VERSION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
Project: jackson-databind
Versions: 3.x (for earlier see VERSION-2.x)
------------------------------------------------------------------------
=== Releases ===
------------------------------------------------------------------------
3.0.0-rc4 (not yet released)
#5093: Change the way `BeanDescription` passed during serializer construction
to use `Supplier`
#5094: Change the way `BeanDescription` passed during deserializer construction
to use `Supplier`
3.0.0-rc3 (13-Apr-2025)
#4603: Keep full stacktrace when re-throwing exception with
`DatabindException` during deserialization
(fixed by Joo-Hyuk K)
#5032: Move `jackson-datatype-jsr310` module into `jackson-databind` and
rename `JavaTimeFeature` from `jackson-datatype-jsr310` module as `DateTimeFeature`
(implemented by @pjfanning)
#5065: Change default for `DateTimeFeature.ONE_BASED_MONTHS` to `true` in 3.0
#5066: Move date/time `SerializationFeature`s into `DateTimeFeature` (3.0)
#5067: Move date/time `DeserializationFeature`s into `DateTimeFeature` (3.0)
#5079: Move Enum-related DeserializationFeatures into EnumFeature (3.0)
(contributed by Joo-Hyuk K)
#5080: Move Enum-related SerializationFeatures into EnumFeature (3.0)
(contributed by Joo-Hyuk K)
- Branch rename "master" -> "3.x" [JSTEP-12]
3.0.0-rc2 (28-Mar-2025)
#2882: Tighten accessor naming rules to not allow leading lower-case or
non-letter character for getters/setters
#5003: Extend, improve set of `JsonNode.asXxx()` methods for number types
#5025: Add support for automatic detection of subtypes (like `@JsonSubTypes`)
from Java 17 sealed types
(contributed by Andy B)
#5034: Extend, improve set of `JsonNode.asXxx()` methods for non-number
types (Boolean, String)
3.0.0-rc1 (07-Mar-2025)
#493: Change `DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES` default to `false`
(contributed by Joo-Hyuk K)
#1058: Add a way to pass std and format-specific parser/generator flags during
parser/generation construction
#1600: Serializing locale with underscore, not standard hyphen
(requested by Alexander K)
#1762: `StdDateFormat`: serialize time offset using colon
#1772: Remove `MapperFeature. USE_STD_BEAN_NAMING`
#1773: Remove `MapperFeature.AUTO_DETECT_xxx` features
#1774: Merge Java8 datatype (`Optional`, `Stream`) support (`jackson-datatype-jdk8`)
#1775: Merge Java8 parameter name support (`jackson-module-parameter-names`)
#1781: Return `ObjectNode` from `ObjectNode` set-methods in order to allow better chaining
(reported by timo-schmid@github)
#1789: Add `createGenerator` methods in `ObjectMapper`, `ObjectWriter`
#1790: Add `createParser` methods in `ObjectMapper`, `ObjectReader`
#1829: `JsonNode.deepCopy() `ClassCastException`s
(reported by @D3v01dZA)
#1883: Add "abstract type mapping" for deserialization from `Map<ENUMTYPE,V>`
into `EnumMap` (and `Set<ENUMTYPE>` to `EnumSet<EnumType>`)
#1888: Merge `ResolvableSerializer` into `JsonSerializer`, `ResolvableDeserializer`
into `JsonDeserializer`
#1889: Merge `ContextualSerializer` into `JsonSerializer`, `ContextualDeserializer`
into `JsonDeserializer`
#1916: Change `MapperFeature.USE_GETTERS_AS_SETTERS)` default to `false`
#1917: Remove `canSerialize` and `canDeserialize` methods from `ObjectMapper`
#1954: Add Builder pattern for creating configured `ObjectMapper` instances
#1955: Change the way `Module`s configure, interact with `ObjectMapper`
#1973: Remove support for "default [Map] key serializer" configuration from
`SerializerProvider`
#1994: Limit size of `SerializerCache`, auto-flush on exceeding
#1995: Limit size of `DeserializerCache`, auto-flush on exceeding
#2013: Allow use of `java.nio.file.Path` for `readValue()`, `writeValue()`
(requested by XakepSDK@github; contributed by Sven D)
#2040: Remove `JsonSerializer.isEmpty()` from 3.0
#2176: Add `JsonMapper.shared()` static method
#2177: Change parent type of `JsonProcessingException` to be `RuntimeException`
#2382: Support `AutoCloseable` with `SerializationFeature.CLOSE_CLOSEABLE`
(requested by @Logic-32)
#2405: Make `java.sql.Date` serializer default to same output as `java.util.Date`
#2411: Allow `valueToTree()` via `SerializationContext`, add to `ObjectWriter`
(requested by XakepSDK@github)
#2539: Add `Deserializers.hasDeserializerFor()` (and something for `DeserializerFactory`)
to allow detection of explicitly supported types
#2593: StackTraceElement w/ >= Java 9 doesn't deserialize properly
(requested by Michael D)
#2713: Change wording of `UnrecognizedPropertyException` to refer to "property" not "field"
#2828: Add `DatabindException` as intermediate subtype of `JsonMappingException`
#3028: Change `UUIDSerializer` to use `StreamWriteCapability` check instead of
`JsonGenerator.canWriteBinaryNatively()`
#3037: Rename `Module` as `JacksonModule` in 3.0 (to avoid overlap with `java.lang.Module`)
#3043: Rename `SerializerProvider` as `SerializationContext`
#3044: Rename `JsonDeserializer`/`JsonSerializer` as `ValueDeserializer`/`ValueSerializer`
#3046: Rename `JsonSerializable` as `JacksonSerializable`
#3047: Rename `Bean[De]SerializerModifier` as `Value[De]SerializerModifier`
#3070: Change default for `SerializationFeature.FAIL_ON_EMPTY_BEANS` to `false`
#3406: Change default of `DeserializationFeature.FAIL_ON_TRAILING_TOKENS` to `true`
(suggested by @yawkat)
#3522: Support serializing `ByteArrayOutputStream` as "simple" Binary value
#3536: Create new exception type `JsonNodeException` for use by `JsonNode`-related problems
#3542: Rename "com.fasterxml.jackson" -> "tools.jackson"
#3561: Add `DeserializationContext` as an argument for `SettableBeanProperty.set(...)`
#3601: Change `Optional` deserialization from "absent" value into `null`, from "empty"
#4160: Deprecate `DefaultTyping.EVERYTHING` in `2.x` and remove in `3.0`
#4381: Prevent construction of `null`-valued `JsonNode`s (like `TextNode`)
#4552: Change `MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS` default to `false`
#4566: Enable `DeserializationFeature.READ_ENUMS_USING_TO_STRING` by default
(contributed by Joo-Hyuk K)
#4567: Enable `SerializationFeature.WRITE_ENUMS_USING_TO_STRING` by default
(contributed by Joo-Hyuk K)
#4572: Change `MapperFeature.SORT_PROPERTIES_ALPHABETICALLY` default to true
(contributed by Joo-Hyuk K)
#4589: Remove `MapperFeature.SORT_CREATOR_PROPERTIES_BY_DECLARATION_ORDER` from 3.0;
make logic default
#4659: Remove use of global static `TypeFactory` singleton from 3.0
#4664: Change `EnumNamingStrategy.convertEnumToExternalName()` to take `MapperConfig` argument-
(contributed by Joo-Hyuk K)
#4818: Rename `AnnotationIntrospector.findDefaultCreator()` as `findPreferredCreator()`
#4820: Change JDK baseline for Jackson 3.0 from Java 8 to Java 17
#4835: Remove dynamic work-arounds wrt accessing `Record` definition
#4840: Increase minimum Android SDK required to 34 for Jackson 3.0
#4845: Change default of `SerializationFeature.WRITE_DATES_AS_TIMESTAMPS`
to `false` in 3.0
#4846: Change default of `SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS`
to `false` in 3.0
#4858: Change default of `DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES`
to `true` for 3.0
#4875: Remove `JsonNode.fields()` from 3.0
#4879: Rename `TextNode` as `StringNode`; `JsonNode.xxxTextYyy()` (mostly) as
`JsonNode.xxxStringYyy()` [JSTEP-3]
#4891: Change 3.0 to use `module-info.java` directly for build (instead of via Moditect)
#4956: Rename `JsonNode.isContainerNode()` as `isContainerNode()`
#4958: Extend, improve set of number value accessors for `JsonNode`
(`JsonNode.intValue()` etc) [JSTEP-3]
#4968: Add JsonMapper builder support in Jackson 3.0 for optionally creating
mappers with Jackson2 config defaults
(implemented by @pjfanning)
#4991: Extend, improve set of non-number scalar value accessors for `JsonNode`
(`JsonNode.booleanValue()` etc) [JSTEP-3]
#4992: Rename `JsonNodeFactory.textNode()` as `JsonNodeFactory.stringNode()` [JSTEP-3]
#5004: Add `JsonMapper.builderWithJackson2Defaults()`
(fixed by @pjfanning)
- Remove `MappingJsonFactory`
- Add context parameter for `TypeSerializer` contextualization (`forProperty()`)
- Default for `JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROES` changed to `false` for 3.0