@@ -4,12 +4,60 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) and this project adheres to
5
5
[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 4.11.0] - 2023-12-03
8
+ ### Added
9
+ - Add support for connections with multiple contact points using different ports (see feature request
10
+ [ #41 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/41 ) ).
11
+ - Handle additional types and conversions in the methods ` CassandraPreparedStatement.setObject() ` :
12
+ - JDBC types ` BLOB ` , ` CLOB ` , ` NCLOB ` and Java types ` java.sql.Blob ` , ` java.sql.Clob ` , and ` java.sql.NClob ` handled as
13
+ arrays of bytes (CQL type ` blob ` )
14
+ - JDBC types ` LONGVARCHAR ` , ` NCHAR ` , ` NVARCHAR ` , ` LONGNVARCHAR ` and ` DATALINK ` and Java type ` java.net.URL ` handled
15
+ as string (CQL types ` text ` , ` varchar ` and ` ascii ` )
16
+ - JDBC type ` TIME_WITH_TIMEZONE ` and Java types ` java.time.OffsetTime ` and ` java.time.LocalTime ` handled as
17
+ ` LocalTime ` (CQL type ` time ` )
18
+ - JDBC type ` TIMESTAMP_WITH_TIMEZONE ` and Java types ` java.util.OffsetDateTime ` , ` java.time.LocalDateTime ` ,
19
+ ` java.util.Date ` and ` java.util.Calendar ` handled as ` Instant ` (CQL type ` timestamp ` )
20
+ - Java type ` java.time.LocalDate ` (CQL type ` date ` )
21
+ - JDBC type ` BIT ` handled as boolean (CQL type ` boolean ` )
22
+ - JDBC type ` NUMERIC ` handled as ` BigDecimal ` (CQL type ` decimal ` )
23
+ - JDBC type ` REAL ` handled as float number (CQL type ` float ` )
24
+ - Handle ` java.util.Calendar ` in the methods ` CassandraResultSet.getObject(int | String, Class) ` .
25
+ - Implement the following methods in ` CassandraResultSet ` : ` getAsciiStream(int | String) ` ,
26
+ ` getCharacterStream(int | String) ` , ` getClob(int | String) ` , ` getNClob(int | String) ` .
27
+ ### Changed
28
+ - Deprecate the parameter ` version ` (CQL version) in JDBC URL because this one is purely informational and has no
29
+ effect. This will be removed in the next release.
30
+ - The index type returned by ` CassandraDatabaseMetaData.getIndexInfo(String, String, String, boolean, boolean) ` is
31
+ now always ` tableIndexOther ` .
32
+ - Improve the accuracy of the JDBC metadata of the collection types (` list ` , ` map ` , ` set ` and ` vector ` ).
33
+ - Update the following methods of ` CassandraDatabaseMetaData ` : ` getNumericFunctions() ` , ` getSQLKeywords() ` ,
34
+ ` getSystemFunctions() ` , ` getTimeDateFunctions() ` and ` getTypeInfo() ` to add the new math, date/time and
35
+ [ data masking] ( https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-20%3A+Dynamic+Data+Masking )
36
+ functions introduced in Cassandra 5.0 and take into account the version of the database the driver in connected to.
37
+ - Update Apache Commons IO to version 2.15.0.
38
+ - Update Apache Commons Lang to version 3.14.0.
39
+ - Update Jackson dependencies to version 2.16.0.
40
+ - Use Apache Cassandra® 5.0 image to run tests.
41
+ - Replace references to "DataStax Java driver" by "Java Driver for Apache Cassandra®" following the transfer of the
42
+ codebase to Apache Software Foundation (see:
43
+ [ IP clearance status] ( https://incubator.apache.org/ip-clearance/cassandra-java-driver.html ) and
44
+ [ CEP-8] ( https://cwiki.apache.org/confluence/x/5Y1rDQ ) )
45
+ ### Fixed
46
+ - Fix ` NullPointerException ` issue [ #38 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/38 ) when a null
47
+ type name pattern is specified in a call to ` CassandraDatabaseMetaData.getUDTs(String, String, String, int[]) ` .
48
+ - Fix issue [ #39 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/39 ) : return ` false ` when the method
49
+ ` isSearchable(int) ` is called on the metadata of a result set without table or schema name (typically on
50
+ ` CassandraMetadataResultSet ` s).
51
+ - Fix incorrect consistency level used to execute simple prepared statements.
52
+ - Fix issue preventing to retrieve the metadata of an empty ` CassandraMetadataResultSet ` .
53
+ - Add null safety on some methods of ` CassandraResultSet ` and ` CassandraMetadataResultSet ` .
54
+
7
55
## [ 4.10.2] - 2023-11-01
8
56
### Fixed
9
57
- Fix issue [ #33 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/33 ) to handle ` VARBINARY ` and
10
58
` LONGVARBINARY ` types with either ` ByteArrayInputStream ` or ` byte[] ` in the methods
11
59
` CassandraPreparedStatement.setObject() ` .
12
- - Fix issue [ #35 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/35 ) to fix configuration of the local
60
+ - Fix issue [ #35 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/issues/35 ) : configuration of the local
13
61
datacenter using the one from the configuration file when such a file is used.
14
62
15
63
## [ 4.10.1] - 2023-10-07
@@ -33,7 +81,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
33
81
- Implement the following methods of ` CassandraDatabaseMetaData ` :
34
82
` getBestRowIdentifier(String, String, String, int, boolean) ` and ` getAttributes(String, String, String, String) ` .
35
83
### Changed
36
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.17.0.
84
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.17.0.
37
85
- Update Apache Commons IO to version 2.13.0.
38
86
- Update Apache Commons Lang to version 3.13.0.
39
87
- Update Jackson dependencies to version 2.15.2.
@@ -71,7 +119,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
71
119
` getUDTs(String, String, String, int[]) ` .
72
120
### Changed
73
121
- Harmonize the implementations of ` Wrapper ` interface.
74
- - Rewrite the tests using Testcontainers with Apache Cassandra(R) 4.1.0 image.
122
+ - Rewrite the tests using Testcontainers with Apache Cassandra® 4.1.0 image.
75
123
- Modify the implementation of ` setQueryTimeout(int) ` and ` getQueryTimeout() ` in ` CassandraStatement ` to update the
76
124
request timeout on a specific statement.
77
125
### Removed
@@ -90,7 +138,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
90
138
` CassandraPreparedStatement ` of ` PreparedStatement ` interface. It fixes the issue
91
139
[ #19 ] ( https://github.com/adejanovski/cassandra-jdbc-wrapper/issues/19 ) of the [ original project] .
92
140
### Changed
93
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.15.0.
141
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.15.0.
94
142
- Fully implement methods from ` Wrapper ` interface for Cassandra connections, results sets and statements (see pull
95
143
request [ #14 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/pull/14 ) ).
96
144
### Fixed
@@ -108,7 +156,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
108
156
- Add an additional ` CassandraConnection ` constructor using a pre-existing session (see pull request
109
157
[ #8 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/pull/8 ) ).
110
158
### Changed
111
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.14.1.
159
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.14.1.
112
160
113
161
## [ 4.6.0] - 2022-03-20
114
162
### Added
@@ -118,7 +166,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
118
166
- Add query parameter ` requesttimeout ` to specify a non-default timeout for queries.
119
167
See the feature request [ #5 ] ( https://github.com/ing-bank/cassandra-jdbc-wrapper/discussions/5 ) .
120
168
### Changed
121
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.14.0.
169
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.14.0.
122
170
- Update Apache Commons Lang to version 3.12.0.
123
171
### Removed
124
172
- Remove ` cassandra-all ` and ` libthrift ` dependencies to limit exposure to vulnerable libraries (see pull request
@@ -138,7 +186,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
138
186
- Add codecs for conversions between ` Integer ` and CQL types ` varint ` , ` smallint ` and ` tinyint ` . It also fixes the issue
139
187
[ #33 ] ( https://github.com/adejanovski/cassandra-jdbc-wrapper/issues/33 ) of the [ original project] .
140
188
### Changed
141
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.10.0.
189
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.10.0.
142
190
- Update ` cassandra-all ` to version 3.11.9.
143
191
- Improve documentation and code quality (refactoring, removing dead code, adding tests, ...).
144
192
- Improve the implementation of the metadata precision/size for the columns.
@@ -159,7 +207,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
159
207
## 4.4.0 - 2020-12-23
160
208
For this version, the changelog lists the main changes comparatively to the latest version of the [ original project] .
161
209
### Changed
162
- - Update DataStax Java Driver for Apache Cassandra(R) to version 4.9.0.
210
+ - Update DataStax Java Driver for Apache Cassandra® to version 4.9.0.
163
211
- Update ` cassandra-all ` to version 3.11.8.
164
212
- Force using ` libthrift ` 0.13.0 instead of the vulnerable version included into ` cassandra-all ` .
165
213
- Manage separately the type ` LocalDate ` in ` CassandraResultSet ` .
@@ -171,6 +219,7 @@ For this version, the changelog lists the main changes comparatively to the late
171
219
- Fix logs in ` CassandraConnection ` constructor.
172
220
173
221
[ original project ] : https://github.com/adejanovski/cassandra-jdbc-wrapper/
222
+ [ 4.11.0 ] : https://github.com/ing-bank/cassandra-jdbc-wrapper/compare/v4.10.2...v4.11.0
174
223
[ 4.10.2 ] : https://github.com/ing-bank/cassandra-jdbc-wrapper/compare/v4.10.1...v4.10.2
175
224
[ 4.10.1 ] : https://github.com/ing-bank/cassandra-jdbc-wrapper/compare/v4.10.0...v4.10.1
176
225
[ 4.10.0 ] : https://github.com/ing-bank/cassandra-jdbc-wrapper/compare/v4.9.1...v4.10.0
0 commit comments