-
Notifications
You must be signed in to change notification settings - Fork 116
/
VERSION-2.x
307 lines (231 loc) · 9.73 KB
/
VERSION-2.x
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
Project: jackson-modules-java8
Modules:
jackson-module-parameter-names
jackson-datatype-jdk8
jackson-datatype-jsr310
------------------------------------------------------------------------
=== Releases ===
------------------------------------------------------------------------
2.18.0 (not yet released)
No changes since 2.17
2.17.1 (not yet released)
#306: Only `DateTimeFormatter.ISO_OFFSET_DATE_TIME` accepted by `ZonedDateTimeKeyDeserializer`
(fix contributed by @caluml)
2.17.0 (12-Mar-2024)
#274: Deserializing `java.time.Month` from an int causes an off-by-one
error (`0`->`Jan`,`11`->`Dec`), because it's an enum
(reported by Christoffer H)
(fix contributed Emanuel T)
#294: `Optional` deserialization, serialization ignore `contentConverter`
(reported by @richardsonwk)
2.16.2 (09-Mar-2024)
#296: NPE when serializing a `LocalDate` or `LocalDateTime` using `AsDeductionTypeSerializer`
(reported by @mike-reynolds-savient)
2.16.1 (24-Dec-2023)
#286: Breaking change in `InstantDeserializer API between 2.15 and 2.16
(reported by Harald K)
#288: `LocalDateTime` serialization issue with custom-configured
`LocalDateTimeSerializer`
(reported by @mklinkj)
2.16.0 (15-Nov-2023)
#263: Add `JavaTimeFeature.ALWAYS_ALLOW_STRINGIFIED_TIMESTAMPS` to allow parsing
quoted numbers when using a custom pattern (DateTimeFormatter)
(contributed by M.P. Korstanje)
#272: (datetime) `JsonFormat.Feature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS`
not respected when deserialising `Instant`s
(fix contributed by Raman B)
#281: (datetime) Add `JavaTimeFeature.NORMALIZE_DESERIALIZED_ZONE_ID` to allow
disabling ZoneId normalization on deserialization
(requested by @indyana)
2.15.4 (15-Feb-2024)
2.15.3 (12-Oct-2023)
2.15.2 (30-May-2023)
2.15.1 (16-May-2023)
No changes since 2.15.0
2.15.0 (23-Apr-2023)
#255: Change `InstantSerializerBase` to generate schema format in the same
way as `DateTimeSerializerBase`
(contributed by Felipe R)
#259: Wrong module auto-registered when using JPMS
(reported by Michał O)
#266: Optimize `InstantDeserializer` method `replaceZeroOffsetAsZIfNecessary()`
(contributed by David S)
#267: Normalize zone id during ZonedDateTime deserialization
(contribtued by Daniel S)
2.14.3 (05-May-2023)
2.14.2 (28-Jan-2023)
2.14.1 (21-Nov-2022)
No changes since 2.14.0
2.14.0 (05-Nov-2022)
#224: `DurationSerializer` ignores format pattern if nano-second
serialization enabled
(reported by Sam K)
#230: Change `LocalDateTimeSerializer` constructor protected from private
(requested by trydofor@github)
#240: `LocalDateDeserializer` should consider coercionConfig settings
(contributed by (Maciej D)
#242: Fix InstantSerializer ignoring the JsonFormat shape
(contributed by KaseiFR@github)
#249: `YearMonthDeserializer` fails for year > 9999
(reported by bent-lorentzen@github)
#251: Allow `Optional` deserialization for "absent" value as Java `null`
(like other Reference types), not "empty"
2.13.4 (03-Sep-2022)
2.13.3 (14-May-2022)
2.13.2 (06-Mar-2022)
2.13.1 (19-Dec-2021)
No changes since 2.13.0
2.13.0 (30-Sep-2021)
#131: Deserializing ZonedDateTime with basic TZ offset notation (0000)
(contributed by Øystein H)
#212: Make LocalDateDeserializer consider strict/lenient on accepting (or not)
of "time" part
#216: Deprecate method Jdk8Module.configureAbsentsAsNulls() (to be removed from Jackson 3)
2.12.7 (26-May-2022)
2.12.6 (15-Dec-2021)
2.12.5 (27-Aug-2021)
No changes since 2.12.4
2.12.4 (06-Jul-2021)
#214: readerForUpdating(objectToUpdate).readValue(json) behaves unexpectedly
on Optional<List>
(reported by jc84-dev@github)
2.12.3 (12-Apr-2021)
#207: Fail to serialize `TemporalAdjuster` type with 2.12
(reported by Gökhan Ö)
2.12.2 (03-Mar-2021)
#202: Unable to deserialize `YearMonth` when running as java9 module,
added with `@JsonDeserialize` annotation
(reported by walkeros@github)
#206: `@JsonKey`is ignored with parameter-names module registered
(reported by bertwin@github.com)
2.12.1 (08-Jan-2021)
#196: `@JsonFormat` overriden features don't apply when there are no other
options while deserializing ZonedDateTime
(reported, fix contributed by Maciej D)
2.12.0 (29-Nov-2020)
#94: Deserialization of timestamps with UTC timezone to LocalDateTime
doesn't yield correct time
(reported by Antti L)
#165: Problem in serializing negative Duration values
(reported by Joni S)
#166: Cannot deserialize `OffsetDateTime.MIN` or `OffsetDateTime.MAX` with
`ADJUST_DATES_TO_CONTEXT_TIME_ZONE` enabled
(reported, fix suggested by Moritz O)
#175: ObjectMapper#setTimeZone ignored by jsr-310/datetime types during serialization
when using `@JsonFormat` annotation
(reported by Erwan L; fix contributed by Ferenc C)
#184: `DurationDeserializer` should use `@JsonFormat.pattern` (and config override)
to support configurable `ChronoUnit`
(requested by Philipp D, fix contributed by Oriol B)
#189: Support use of "pattern" (`ChronoUnit`) for `DurationSerializer` too
(contributed bvy Oriol B)
- Add Gradle Module Metadata (https://blog.gradle.org/alignment-with-gradle-module-metadata)
2.11.4 (12-Dec-2020)
2.11.3 (02-Oct-2020)
2.11.2 (02-Aug-2020)
2.11.1 (25-Jun-2020)
No changes since 2.11.0
2.11.0 (26-Apr-2020)
#58: (datetime) Should not parse `LocalDate`s from number (timestamp), or at least
should have an option preventing
(reported by Bill O'N, fixed by Mike [kupci@github])
#128: (datetime) Timestamp keys from `ZonedDateTime`
(reported by Michał Ż, fixed by Vetle L-R)
#138: (datetime) Prevent deserialization of "" as `null` for `Duration`, `Instant`,
`LocalTime`, `OffsetTime` and `YearMonth` in "strict" (non-lenient) mode
(contributed by Mike [kupci@github])
#148: (datetime) Allow strict `LocalDate` parsing
(requested by by Arturas G, fix contributed by Samantha W)
- (datetime) Add explicit `ZoneId` serializer to force use of `ZoneId` as Type Id, and
not inaccessible subtype (`ZoneRegion`): this to avoid JDK9+ Module Access problem
2.10.5 (21-Jul-2020)
2.10.4 (03-May-2020)
2.10.3 (03-Mar-2020)
2.10.2 (05-Jan-2020)
No changes since 2.10.1
2.10.1 (09-Nov-2019)
#127: ZonedDateTime in map keys ignores option to write Zone IDs
(reported by Michał Ż, fixed by Vetle L-R)
2.10.0 (26-Sep-2019)
#51: `YearKeyDeserializer` doesn't work with non-padded year values
(reported by sladkoff@github; fix contributed by Mike [kupci@github])
#69: `ZonedDateTime` for times before the epoch do not serialize correctly
(fixed by Mike [kupci@github])
#75: (datetime) Use `SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS` for configuring
`Duration` serialization
(suggested by Kezhu W)
#80: Feature request: Support case-insensitive `LocalDate` formats
(MapperFeature.ACCEPT_CASE_INSENSITIVE_VALUES)
(contributed by Craig P)
#82: (datetime) Typo in YearMothKeyDeserializer class name
#105: `LocalTime` should generate "time" schema instead of "date-time"
(suggested by jaisonpjohn@github)
#114: Prevent deserialization of "" as `null` for `LocalDate`, `LocalDateTime`
in "strict" (non-lenient) mode
(suggested by beytun@github, implemented by Mike [kupci@github])
#121: Array representation of `MonthDay` can not be deserialized
- Add JDK9+ `module-info.class` with Moditect plugin
#126: Change auto-registration in 2.10 to provide "new" (JavaTimeModule) instead of legacy module
#129: Support `lenient` setting with `LocalDateDeserializer`
(suggested by esHack@github)
2.9.10 (21-Sep-2019)
2.9.9 (16-May-2019)
No changes since 2.9.8
2.9.8 (15-Dec-2018)
#90 (datetime): Performance issue with malicious `BigDecimal` input,
`InstantDeserializer`, `DurationDeserializer` (CVE-2018-1000873)
(reported by Andriy P, fix contributed by Todd J)
2.9.7 (19-Sep-2018)
#78: Year deserialization ignores `@JsonFormat` pattern
(reported, fixed by Adrian P)
2.9.6 (12-Jun-2018)
#65: Use `DeserializationContext.handleWeirdXxxValue()` for datetime deserializers
(contributed by Semyon L)
#67: `ParameterNamesModule` does not deserialize with a single parameter
constructor when using `SnakeCase` `PropertyNamingStrategy`
(reported by Sonny G)
2.9.5 (26-Mar-2018)
#98: `OffsetDateTime` with `@JsonFormat(without=...)` doesn't seem to work
(reported by ayush-veem@github)
2.9.4 (24-Jan-2018)
No changes since 2.9.3
2.9.3 (09-Dec-2017)
#46: Double array serialization of `LocalDate` stored as an object with
wrapper object typing enabled
(reported by unintended@github)
- Improve error reporting for `LocalDateTime`, `LocalTime`, `OffsetTime` for
timestamp input (JSON integer value)
2.9.2 (14-Oct-2017)
2.9.1 (07-Sep-2017)
No changes since 2.9.0
2.9.0 (30-Jul-2017)
#3: (datatype) Add Serialization Support for Streams
(contributed by Julien B)
#20: (datetime) Allow `LocalDate` to be serialized/deserialized as number (epoch day)
(contributed by João C)
#21: (datetime) `DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS` not respected
(contributed by JP Moresmau)
2.8.10 (not yet released)
#33: `Jdk8Serializer.findReferenceSerializer()` leads to `StackOverflowError` in 2.8.9
(reported by Mikko T)
2.8.9 (12-Jun-2017)
No changes since 2.8.8
2.8.8 (05-Apr-2017)
#13: (datatype) `configureAbsentsAsNulls` not working for primitive optionals
like `OptionalInt`
(reported by Louis-Rémi P)
#15: (datatype) Optional<Long> and OptionalLong deserialization are not consistent
when deserializing from String
(reported by Louis-Rémi P)
#17: (datatype) Cached `Optional` serializer does not apply annotations for POJO properties
(reported by codicusmaximus@github)
#18: (datetime) `InstantDeserializer` is not working with offset of zero `+00:00` and `+00`
(contributed by kevinjom@github)
2.8.7 (21-Feb-2017)
2.8.6 (12-Jan-2017)
No changes since 2.8.5
2.8.5 (14-Nov-2016)
The very first release from this repository!
#89: If the JsonFormat pattern is all numeric, the `InstantDeserializer` will
do the wrong thing
(reported, contributed fix, by ubik2@github)