forked from vladmihalcea/hypersistence-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.txt
331 lines (189 loc) · 12.1 KB
/
changelog.txt
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
Version 2.9.13 - July 28, 2020
================================================================================
Add support for mapping Java boolean[] arrays or List<Boolean> on PostgreSQL boolean[] array column types #167
Version 2.9.12 - June 19, 2020
================================================================================
Add jackson-module-jaxb-annotations dependency #247
Guava range mapping does not support infinite bounds #244
Allow JSON Types to handle parameterized entity attribute type variables #237
Version 2.9.11 - June 02, 2020
================================================================================
Add SQLExtractor utility #241
A ClassNotFoundException is thrown when using an Enum List or Array in Kotlin #238
Version 2.9.10 - May 15, 2020
================================================================================
Allow the ClassImportIntegrator to include a relative path when registering DTO aliases #231
ObjectMapperJsonSerializer#clone throws NullPointerException if the Map key or value are null #227
Version 2.9.9 - April 26, 2020
================================================================================
Allow the custom ObjectMapper be used for JSON serialization #220
Allow ArrayType to work on HSQLDB #219
Expose the Hibernate Type for Range elements #215
Make AbstractArrayTypeDescriptor#getArrayObjectClass public #214
Version 2.9.8 - April 09, 2020
================================================================================
Add support for PostgreSQL "infinity" String values #211
Add support for saving null JSON objects when using the JsonStringType #210
Add support for "empty" String values when mapping PostgreSQL range column types #209
Version 2.9.7 - March 23, 2020
================================================================================
Add support for checking if the bounds are open or closed for a given Range #204
Row is always updated when using JSON objects wrapped in POJOs with no explicit equals method duplicate #203
Allow all ArrayType objects to be used in the addScalar Hibernate Query method #190
Version 2.9.6 - March 21, 2020
================================================================================
Use byte arrays when cloning JSON objects #198
Add Iso8601MonthType to save the 1-based value instead of the 0-based Enum ordinal for a java.time.Month entity attribute #56
Version 2.9.5 - March 07, 2020
================================================================================
Switch to using a single Logger instance #197
Version 2.9.4 - February 26, 2020
================================================================================
A NullPointerException is thrown when adding a ListArrayType definition to a MappedSuperClass bug #189
The ListArrayTypeDescriptor deepCopy method should not convert a List to an Java array bug #187
Add support for double arrays #183
Improve logging of array parameters in BasicBinder #182
ListArrayType generates an extra UPDATE when persisting an entity bug #180
Version 2.9.3 - January 26, 2020
================================================================================
PostgreSQLEnumType is not compatible with Hibernate 5.2 because of JavaTypeDescriptorRegistry and TypeConfiguration #176
Unexpected Hibernate dirty checking when using Sets #175
GraalVM / Quarkus native build support #173
When fetching an entity from the second-level cache, ListArrayType throws UnsupportedOperationException #169
Version 2.9.2 - January 14, 2020
================================================================================
Multidimensional Enum arrays are wrapped to String arrays and a ClassCastException is thrown #168
Version 2.9.1 - January 14, 2020
================================================================================
When fetching a List backed by a NULL PostgreSQL array, a NPE is thrown #164
Version 2.9.0 - January 06, 2020
================================================================================
Add support for MapResultTransformer and ListResultTransformer #163
Empty multi-dimensional arrays throw ClassCastException #161
Add support for mapping java.util.Date ARRAY or List to PostgreSQL DATE[] and TIMESTAMP[] #150
Add support for mapping ARRAY to a java.util.List #97
Version 2.8.0 - December 08, 2019
================================================================================
ObjectMapperJsonSerializer should inspect the inner Collection element type #158
Upgrade Jackson Databind library to 2.9.10.1 #157
Add support for ClassImportIntegrator for compact DTOs #151
NPE thrown by AbstractArrayTypeDescriptor#setParameterValues when creating a PostgreSQL ARRAY #142
Add support for PostgreSQL tx_vector column type #116
Version 2.7.1 - October 10, 2019
================================================================================
Unexpected dirty checking behavior on collections of POJOs mapped with JsonBinaryType #138
Mapping Enum to a String column uses toString() instead of name() #135
Upgrade Jackson Databind library version to 2.9.10 #134
Add support for passing the mapping Class to Json Types #133
Version 2.7.0 - September 14, 2019
================================================================================
Add support for JSON column values for Oracle #131
Add support for mapping a Guava Range object to a PostgreSQL range type #129
Add support for mapping the Java Period object to a PostgreSQL interval type #128
Add YearMonthTimestampType #127
Ability to use PostgreSQLEnumType and EnumArrayType with TypedParameterValue #125
Version 2.6.1 - August 29, 2019
================================================================================
Add support for Oracle Interval Day to Second column type #123
Version 2.6.0 - August 23, 2019
================================================================================
ImmutableType should also implement the Type interface #119
Remove unnecessary null checks and PGobject instantiations #118
Add support for the PostgreSQL citext type #117
Version 2.5.1 - August 15, 2019
================================================================================
Add support for PostgreSQL Interval column type #53
Add missing type INSTANCE constants #111
Upgrade Jackson Databind artifact version
Version 2.5.0 - July 05, 2019
================================================================================
Allow the Configuration to be accessed by all custom Types #107
Add handling for null PostgreSQL Range column values #106
Add PostgreSQL UUID ARRAY support #105
Version 2.4.4 - June 06, 2019
================================================================================
Update Javadoc to specify which JSON types are suitable for PostgreSQL and MySQL.
Add ZoneIdType to map the java.time.ZoneId to a VARCHAR-based column #103
In case the JSON attribute is a java.util.Set, an additional SQL UPDATE is executed when persisting the entity #100
Replace reflection usage in PostgreSQL Types with Driver-specific API calls #99
Version 2.4.3 - April 07, 2019
================================================================================
Adjustment in ZoneDateTime pattern for 1-6 nanoseconds digits #90
Array types use a singleton Java descriptors and that prevents them from being
initialized separately using dynamic parameters #84
Version 2.4.2 - February 26, 2019
================================================================================
Add a LongArrayType to support long[] array mappings #82
Version 2.4.1 - February 01, 2019
================================================================================
Change constructor type args from Class to Type for JSON Types so it's easier to register them dynamically
Support insertion of String values into JSON columns #80
Fix issue with ZonedDateTimeRanges and DST #78
Version 2.4.0 - January 02, 2019
================================================================================
Add support for PostgreSQL range type #63
Add support for the PostgreSQL hstore type #44
Version 2.3.5 - December 03, 2018
================================================================================
Add EnumArrayType to support mapping database Enums as Java arrays #58
Version 2.3.4 - November 14, 2018
================================================================================
Add CamelCaseToSnakeCaseNamingStrategy so that we can automatically map the cameCase JPA properties
to snake_case database identifiers.
Version 2.3.3 - October 23, 2018
================================================================================
Add types for java.time.Year and java.time.Month #51
Add continuous Integer solution for YearMonthType #47
Version 2.3.2 - October 18, 2018
================================================================================
Add the Java 9 automatic module name to the MANIFEST file.
Migrate hibernate-types-52 to Jackson 2.9.7.
Version 2.3.1 - October 16, 2018
================================================================================
Add support for the java.util.YearMonth which can be persisted as a DATE or INTEGER column
Version 2.3.0 - September 06, 2018
================================================================================
Add InetType for PostgreSQL #43
Version 2.2.3 - September 06, 2018
================================================================================
String fields on entity as JSONB don't work correctly #39
Version 2.2.2 - June 03, 2018
================================================================================
Allow the JSON to be extracted either via the ResultSet#getObject or ResultSet#getString based on the underlying SQL type descriptor.
Version 2.2.1 - May 12, 2018
================================================================================
Pass the original IOException when throwing the IllegalArgumentException from ObjectMapperWrapper#readValue and ObjectMapperWrapper#writeValueAsString.
Version 2.2.0 - March 27, 2018
================================================================================
Fix issue which allows you to customize the deep copy mechanism via the JsonSerializer interface supplied by the hibernate.types.json.serializer configuration property #21
Version 2.1.1 - March 08, 2018
================================================================================
Allows using the ObjectMapperWrapper in JSON types and pass a custom ObjectMapper via the hibernate.types.jackson.object.mapper configuration property.
Refactor internal PropertyLoader to Configuration and make it work with hibernate.properties as well.
Version 2.1.0 - March 07, 2018
================================================================================
Add support to provide an external ObjectMapper #3
Add the cause to the IllegalArgumentException thrown by JacksonUtil.
Version 2.0.0 - February 02, 2018
================================================================================
Refactor support for List, Set, Map to be saved as JSON using a simplified mechanism which no longer requires the TypeReferenceJsonStringSerializer. For this reason, this version breaks backward compatibility.
Optimize String equality checks in JsonTypeDescriptor.
Migrate hibernate-types-52 to Jackson 2.9.0.
Version 1.2.0 - November 28, 2018
================================================================================
Serialization problem when using JsonNodeBinaryType and Hibernate 2nd-level cache #14
Add support for List, Set, Map to be saved as JSON #11
Version 1.1.2 - November 11, 2018
================================================================================
JacksonUtil#clone should support Lists as well #8
Add an INSTANCE constant to existing Types.
Version 1.1.1 - October 26, 2018
================================================================================
Update JavaDocs to reference documentation.
Version 1.1.0 - October 26, 2018
================================================================================
Add support for PostgreSQL Enum Type.
Use ObjectMapper#findAndRegisterModules() for the default ObjectMapper.
Version 1.0.0 - September 25, 2018
================================================================================
Initial release which adds the JSON, Array, Nullable Character and ImmutableType support.