Elffuss BraidHub

kikocis/java-driver public

cffdc91a1227 · 13.6 KiBRawPermalink
1CHANGELOG
2=========
3
42.0.6:
5------
6
7- [bug] Check cluster name when connecting to a new node (JAVA-397)
8- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
9
102.0.5:
11------
12
13- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
14- [bug] Fix handling of SimpleStatement with values in query builder
15 batches (JAVA-393)
16- [bug] Ensure pool is properly closed in onDown (JAVA-417)
17- [bug] Fix tokenMap initialization at startup (JAVA-415)
18- [bug] Avoid deadlock on close (JAVA-418)
19
20
212.0.4:
22------
23
24- [improvement] Better handling of dead connections (JAVA-204)
25- [bug] Fix potential NPE in ControlConnection (JAVA-373)
26- [bug] Throws NPE when passed null for a contact point (JAVA-291)
27- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
28- [bug] Avoid classloader leak in Tomcat (JAVA-343)
29- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
30- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
31- [bug] Ensure defunct connections are completely closed (JAVA-394)
32- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
33
34
352.0.3:
36------
37
38- [new] The new AbsractSession makes mocking of Session easier.
39- [new] Allow to trigger a refresh of connected hosts (JAVA-309)
40- [new] New Session#getState method allows to grab information on
41 which nodes a session is connected to (JAVA-265)
42- [new] Add QueryBuilder syntax for tuples in where clauses (syntax
43 introduced in Cassandra 2.0.6) (JAVA-327)
44- [improvement] Properly validate arguments of PoolingOptions methods
45 (JAVA-359)
46- [bug] Fix bogus rejection of BigInteger in 'execute with values'
47 (JAVA-368)
48- [bug] Signal connection failure sooner to avoid missing them
49 (JAVA-367)
50- [bug] Throw UnsupportedOperationException for protocol batch
51 setSerialCL (JAVA-377)
52
53Merged from 1.0 branch:
54
55- [bug] Fix periodic reconnection to down hosts (JAVA-325)
56
57
582.0.2:
59------
60
61- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from
62 InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and
63 for AuthProvider#newAuthenticator.
64- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
65 datacenter is automatically picked based on the first connected node. Furthermore,
66 the TokenAwarePolicy is also used by default (JAVA-296)
67- [new] New optional AddressTranslater (JAVA-145)
68- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321)
69- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320)
70- [bug] Fix thread-safety of page fetching (JAVA-319)
71- [bug] Fix potential NPE using fetchMoreResults (JAVA-318)
72
73Merged from 1.0 branch:
74
75- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179)
76- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list
77- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289)
78- [bug] Revert back to longs for dates in the query builder (JAVA-313)
79- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314)
80
81
822.0.1:
83------
84
85- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278)
86- [improvement] Add Cluster#newSession method to create Session without connecting
87 right away (JAVA-208)
88- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279)
89- [bug] Properly parse BytesType as the blob type
90- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280)
91
92Merged from 1.0 branch:
93
94- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275)
95- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114)
96
97
982.0.0:
99------
100
101- [api] Case sensitive identifier by default in Metadata (JAVA-269)
102- [bug] Fix potential NPE in Cluster#connect (JAVA-274)
103
104Merged from 1.0 branch:
105
106- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263)
107- [bug] Fix race when multiple connect are done in parallel (JAVA-261)
108- [bug] Don't connect at all to nodes that are ignored by the load balancing
109 policy (JAVA-270)
110
111
1122.0.0-rc3:
113----------
114
115- [improvement] The protocol version 1 is now supported (features only supported by the
116 version 2 of the protocol throw UnsupportedFeatureException).
117- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195)
118- [improvement] Adds new getStatements and clear methods to BatchStatement.
119- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
120 and Session also now implement Closeable (JAVA-247).
121- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232)
122- [bug] Fix potential NPE in HostConnectionPool (JAVA-231)
123- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244)
124- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258)
125
126Merged from 1.0 branch:
127
128- [new] Added Session#prepareAsync calls (JAVA-224)
129- [new] Added Cluster#getLoggedKeyspace (JAVA-249)
130- [improvement] Avoid preparing a statement multiple time per host with multiple sessions
131- [bug] Make sure connections are returned to the right pools (JAVA-255)
132- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264)
133
134
1352.0.0-rc2:
136----------
137
138- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207)
139- [bug] Fix parsing of counter types (JAVA-219)
140- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218)
141- [bug] Fix replicas computation for token aware balancing (JAVA-221)
142
143Merged from 1.0 branch:
144
145- [bug] Fix regression from JAVA-201 (JAVA-213)
146- [improvement] New getter to obtain a snapshot of the scores maintained by
147 LatencyAwarePolicy.
148
149
1502.0.0-rc1:
151----------
152
153- [new] Mark compression dependencies optional in maven (JAVA-199).
154- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns.
155
156Merged from 1.0 branch:
157
158- [new] OSGi bundle (JAVA-142)
159- [improvement] Make collections returned by Row immutable (JAVA-205)
160- [improvement] Limit internal thread pool size (JAVA-203)
161- [bug] Don't retain unused PreparedStatement in memory (JAVA-201)
162- [bug] Add missing clustering order info in TableMetadata
163- [bug] Allow bind markers for collections in the query builder (JAVA-196)
164
165
1662.0.0-beta2:
167------------
168
169- [api] BoundStatement#setX(String, X) methods now set all values (if there is
170 more than one) having the provided name, not just the first occurence.
171- [api] The Authenticator interface now has a onAuthenticationSuccess method that
172 allows to handle the potential last token sent by the server.
173- [new] The query builder don't serialize large values to strings anymore by
174 default by making use the new ability to send values alongside the query string.
175- [new] The query builder has been updated for new CQL features (JAVA-140).
176- [bug] Fix exception when a conditional write timeout C* side.
177- [bug] Ensure connection is created when Cluster metadata are asked for
178 (JAVA-182).
179- [bug] Fix potential NPE during authentication (JAVA-187)
180
181
1822.0.0-beta1:
183-----------
184
185- [api] The 2.0 version is an API-breaking upgrade of the driver. While most
186 of the breaking changes are minor, there are too numerous to be listed here
187 and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe
188 those changes in details.
189- [new] LZ4 compression is supported for the protocol.
190- [new] The driver does not depend on cassandra-all anymore (JAVA-39)
191- [new] New BatchStatement class allows to execute batch other statements.
192- [new] Large ResultSet are now paged (incrementally fetched) by default.
193- [new] SimpleStatement support values for bind-variables, to allow
194 prepare+execute behavior with one roundtrip.
195- [new] Query parameters defaults (Consistency level, page size, ...) can be
196 configured globally.
197- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are
198 supported.
199- [new] Cluster#shutdown now waits for ongoing queries to complete by default
200 (JAVA-116).
201- [new] Generic authentication through SASL is now exposed.
202- [bug] TokenAwarePolicy now takes all replica into account, instead of only the
203 first one (JAVA-88).
204
205
2061.0.5:
207------
208
209- [new] OSGi bundle (JAVA-142)
210- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this
211 require Cassandra 1.2.12+ (JAVA-207)
212- [improvement] Make collections returned by Row immutable (JAVA-205)
213- [improvement] Limit internal thread pool size (JAVA-203)
214- [improvement] New getter to obtain a snapshot of the scores maintained by
215 LatencyAwarePolicy.
216- [improvement] Avoid synchronization when getting codec for collection
217 types (JAVA-222)
218- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213)
219- [bug] Add missing clustering order info in TableMetadata
220- [bug] Allow bind markers for collections in the query builder (JAVA-196)
221
222
2231.0.4:
224------
225
226- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
227 are now deprecated. They are replaced by the new withPoolingOptions and
228 withSocketOptions methods (JAVA-163).
229- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to
230 add latency awareness to a wrapped load balancing policy (JAVA-129).
231- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization)
232 (JAVA-161)
233- [new] Add truncate statement in query builder (JAVA-117).
234- [new] Support empty IN in the query builder (JAVA-106).
235- [bug] Fix spurious "No current pool set; this should not happen" error
236 message (JAVA-166)
237- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if
238 a balancing policy throws (JAVA-184)
239- [bug] Don't release Stream ID for timeouted queries (unless we do get back
240 the response)
241- [bug] Correctly escape identifiers and use fully qualified table names when
242 exporting schema as string.
243
244
2451.0.3:
246------
247
248- [api] The query builder now correctly throw an exception when given a value
249 of a type it doesn't know about.
250- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
251 wait for the answer of one node. See the javadoc for more details.
252- [new] New Session#prepare method that takes a Statement.
253- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder
254 statements (JAVA-143).
255- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
256
257
2581.0.2:
259------
260
261- [api] Host#getMonitor and all Host.HealthMonitor methods have been
262 deprecated. The new Host#isUp method is now prefered to the method
263 in the monitor and you should now register Host.StateListener against
264 the Cluster object directly (registering against a host HealthMonitor
265 was much more limited anyway).
266- [new] New serialize/deserialize methods in DataType to serialize/deserialize
267 values to/from bytes (JAVA-92).
268- [new] New getIndexOf() method in ColumnDefinitions to find the index of
269 a given column name (JAVA-128).
270- [bug] Fix a bug when thread could get blocked while setting the current
271 keyspace (JAVA-131).
272- [bug] Quote inet addresses in the query builder since CQL3 requires it
273 (JAVA-136)
274
275
2761.0.1:
277------
278
279- [api] Function call handling in the query builder has been modified in a
280 backward incompatible way. Function calls are not parsed from string values
281 anymore as this wasn't safe. Instead the new 'fcall' method should be used
282 (JAVA-100).
283- [api] Some typos in method names in PoolingOptions have been fixed in a
284 backward incompatible way before the API get widespread.
285- [bug] Don't destroy composite partition key with BoundStatement and
286 TokenAwarePolicy (JAVA-123).
287- [new] null values support in the query builder.
288- [new] SSL support (requires C* >= 1.2.1) (JAVA-5).
289- [new] Allow generating unlogged batch in the query builder (JAVA-113).
290- [improvement] Better error message when no host are available.
291- [improvement] Improves performance of the stress example application been.
292
293
2941.0.0:
295------
296
297- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the
298 Cluster builder has a new withCredentials() method to provide a username
299 and password for use with Cassandra's PasswordAuthenticator. Custom
300 authenticator will be re-introduced in a future version but are not
301 supported at the moment.
302- [api] The isMetricsEnabled() method in Configuration has been replaced by
303 getMetricsOptions(). An option to disabled JMX reporting (on by default)
304 has been added.
305- [bug] Don't make default load balancing policy a static singleton since it
306 is stateful (JAVA-91).
307
308
3091.0.0-RC1:
310----------
311
312- [new] Null values are now supported in BoundStatement (but you will need at
313 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
314 slightly changed so that not binding a variable is not an error anymore,
315 the variable is simply considered null by default. The isReady() method has
316 been removed (JAVA-79).
317- [improvement] The Cluster/Session shutdown methods now properly block until
318 the shutdown is complete. A version with at timeout has been added (JAVA-75).
319- [bug] Fix use of CQL3 functions in the query builder (JAVA-44).
320- [bug] Fix case where multiple schema changes too quickly wouldn't work
321 (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra
322 nodes) (JAVA-77).
323- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O
324 thread (JAVA-72).
325- [bug] Correctly reports errors during authentication phase (JAVA-82).
326
327
3281.0.0-beta2:
329------------
330
331- [new] Support blob constants, BigInteger, BigDecimal and counter batches in
332 the query builder (JAVA-51, JAVA-60, JAVA-58)
333- [new] Basic support for custom CQL3 types (JAVA-61)
334- [new] Add "execution infos" for a result set (this also move the query
335 trace in the new ExecutionInfos object, so users of beta1 will have to
336 update) (JAVA-65)
337- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62)
338- [bug] Fix use of bind markers for routing keys in the query builder
339 (JAVA-66)
340
341
3421.0.0-beta1:
343------------
344
345- initial release