Elffuss BraidHub

kikocis/java-driver public

af491f25bb81 · 30.2 KiBRawPermalink
1CHANGELOG
2=========
3
42.1.6:
5------
6
7Merged from 2.0 branch:
8
9- [new feature] Add getObject to BoundStatement and Row (JAVA-584)
10- [improvement] Improve connection pool resizing algorithm (JAVA-419)
11- [bug] Fix race condition between pool expansion and shutdown (JAVA-599)
12- [improvement] Upgrade Netty to 4.0.27 (JAVA-622)
13- [improvement] Coalesce frames before flushing them to the connection
14 (JAVA-562)
15- [improvement] Rename threads to indicate that they are for the driver
16 (JAVA-583)
17- [new feature] Expose paging state (JAVA-550)
18- [new feature] Slow Query Logger (JAVA-646)
19- [improvement] Exclude some errors from measurements in LatencyAwarePolicy
20 (JAVA-698)
21- [bug] Fix issue when executing a PreparedStatement from another cluster
22 (JAVA-641)
23- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534)
24- [improvement] Allow Cluster subclasses to delegate to another instance
25 (JAVA-619)
26- [new feature] Expose an API to check for schema agreement after a
27 schema-altering statement (JAVA-669)
28- [improvement] Make connection and pool creation fully async (JAVA-692)
29- [improvement] Optimize connection use after reconnection (JAVA-505)
30- [improvement] Remove "suspected" mechanism (JAVA-617)
31- [improvement] Don't mark connection defunct on client timeout (reverts
32 JAVA-425)
33- [new feature] Speculative query executions (JAVA-561)
34- [bug] Release connection before completing the ResultSetFuture (JAVA-666)
35- [new feature BETA] Percentile-based variant of query logger and speculative
36 executions (JAVA-723)
37- [bug] Fix buffer leaks when compression is enabled (JAVA-734).
38- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
39- [improvement] Expose "unsafe" paging state API (JAVA-759)
40
41
422.1.5:
43------
44
45- [bug] Authorize Null parameter in Accessor method (JAVA-575)
46- [improvement] Support C* 2.1.3's nested collections (JAVA-570)
47- [bug] Fix checks on mapped collection types (JAVA-612)
48- [bug] Fix QueryBuilder.putAll() when the collection contains UDTs (JAVA-672)
49
50Merged from 2.0 branch:
51
52- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518)
53- [improvement] Add connection heartbeat (JAVA-533)
54- [improvement] Reduce level of logs on missing rpc_address (JAVA-568)
55- [improvement] Expose node token and range information (JAVA-312, JAVA-681)
56- [bug] Fix cluster name mismatch check at startup (JAVA-595)
57- [bug] Fix guava dependency when using OSGI (JAVA-620)
58- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678)
59- [improvement] Use List<?> instead of List<Object> in QueryBuilder API
60 (JAVA-631)
61- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654)
62- [bug] Quote single quotes contained in table comments in asCQLQuery method
63 (JAVA-655)
64- [bug] Empty TokenRange returned in a one token cluster (JAVA-684)
65- [improvement] Expose TokenRange#contains (JAVA-687)
66- [bug] Prevent race between cancellation and query completion (JAVA-614)
67- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
68 streamId was already released and reused (JAVA-632).
69- [bug] Fix issue when newly opened pool fails before we could mark the node UP
70 (JAVA-642)
71- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
72- [bug] Fix edge cases where a connection was released twice (JAVA-651).
73- [bug] Fix edge cases in query cancellation (JAVA-653).
74
75
762.1.4:
77------
78
79Merged from 2.0 branch:
80
81- [improvement] Shade Netty dependency (JAVA-538)
82- [improvement] Target schema refreshes more precisely (JAVA-543)
83- [bug] Don't check rpc_address for control host (JAVA-546)
84- [improvement] Improve message of NoHostAvailableException (JAVA-409)
85- [bug] Rework connection reaper to avoid deadlock (JAVA-556)
86- [bug] Avoid deadlock when multiple connections to the same host get write
87 errors (JAVA-557)
88- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504)
89- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled
90 connections fails while bringing the node back up (JAVA-577)
91- [bug] Prevent faulty control connection from ignoring reconnecting hosts
92 (JAVA-587)
93- temporarily revert "Add idle timeout to the connection pool" (JAVA-419)
94- [bug] Ensure updateCreatedPools does not add pools for suspected hosts
95 (JAVA-593)
96- [bug] Ensure state change notifications for a given host are handled serially
97 (JAVA-594)
98- [bug] Ensure control connection reconnects when control host is removed
99 (JAVA-597)
100
101
1022.1.3:
103------
104
105- [bug] Ignore static fields in mapper (JAVA-510)
106- [bug] Fix UDT parsing at init when using the default protocol version (JAVA-509)
107- [bug] Fix toString, equals and hashCode on accessor proxies (JAVA-495)
108- [bug] Allow empty name on Column and Field annotations (JAVA-528)
109
110Merged from 2.0 branch:
111
112- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497)
113- [improvement] Keep trying to reconnect on authentication errors (JAVA-472)
114- [improvement] Expose close method on load balancing policy (JAVA-463)
115- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459)
116- [bug] Expose an API to cancel reconnection attempts (JAVA-493)
117- [bug] Fix NPE when a connection fails during pool construction (JAVA-503)
118- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided
119 (JAVA-423)
120- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504)
121- [improvement] Make schema agreement wait tuneable (JAVA-507)
122- [improvement] Document how to inject the driver metrics into another registry (JAVA-494)
123- [improvement] Add idle timeout to the connection pool (JAVA-419)
124- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516)
125- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
126 an explicit but null or empty local datacenter (JAVA-451).
127- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511)
128- [improvement] Make timeout on saturated pool customizable (JAVA-457)
129- [improvement] Downgrade Guava to 14.0.1 (JAVA-521)
130- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526)
131- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515)
132- [improvement] Expose the driver version through the API (JAVA-532)
133- [improvement] Optimize session initialization when some hosts are not
134 responsive (JAVA-522)
135
136
1372.1.2:
138------
139
140- [improvement] Support for native protocol v3 (JAVA-361, JAVA-364, JAVA-467)
141- [bug] Fix UDT fields of type inet in QueryBuilder (JAVA-454)
142- [bug] Exclude transient fields from Frozen checks (JAVA-455)
143- [bug] Fix handling of null collections in mapper (JAVA-453)
144- [improvement] Make implicit column names case-insensitive in mapper (JAVA-452)
145- [bug] Fix named bind markers in QueryBuilder (JAVA-433)
146- [bug] Fix handling of BigInteger in object mapper (JAVA-458)
147- [bug] Ignore synthetic fields in mapper (JAVA-465)
148- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
149 an explicit but null or empty local datacenter (JAVA-451)
150- [improvement] Add backwards-compatible DataType.serialize methods (JAVA-469)
151- [bug] Handle null enum fields in object mapper (JAVA-487)
152- [bug] Handle null UDT fields in object mapper (JAVA-499)
153
154Merged from 2.0 branch:
155
156- [bug] Handle null pool in PooledConnection.release (JAVA-449)
157- [improvement] Defunct connection on request timeout (JAVA-425)
158- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426)
159- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471)
160- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496)
161
162
1632.1.1:
164------
165
166- [new] Support for new "frozen" keyword (JAVA-441)
167
168Merged from 2.0 branch:
169
170- [bug] Check cluster name when connecting to a new node (JAVA-397)
171- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
172- [bug] Add collection and data length checks during serialization (JAVA-363)
173- [improvement] Surface number of retries in metrics (JAVA-329)
174- [bug] Do not use a host when no rpc_address found for it (JAVA-428)
175- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358)
176- [bug] Fix negative HostConnectionPool open count (JAVA-349)
177- [improvement] Log more connection details at trace and debug levels (JAVA-436)
178- [bug] Fix cluster shutdown (JAVA-445)
179
180
1812.1.0:
182------
183
184- [bug] ClusteringColumn annotation not working with specified ordering (JAVA-408)
185- [improvement] Fail BoundStatement if null values are not set explicitly (JAVA-410)
186- [bug] Handle UDT and tuples in BuiltStatement.toString (JAVA-416)
187
188Merged from 2.0 branch:
189
190- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
191- [bug] Fix handling of SimpleStatement with values in query builder
192 batches (JAVA-393)
193- [bug] Ensure pool is properly closed in onDown (JAVA-417)
194- [bug] Fix tokenMap initialization at startup (JAVA-415)
195- [bug] Avoid deadlock on close (JAVA-418)
196
197
1982.1.0-rc1:
199----------
200
201Merged from 2.0 branch:
202
203- [bug] Ensure defunct connections are completely closed (JAVA-394)
204- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
205
206
2072.1.0-beta1:
208------------
209
210- [new] Support for User Defined Types and tuples
211- [new] Simple object mapper
212
213Merged from 2.0 branch: everything up to 2.0.3 (included), and the following.
214
215- [improvement] Better handling of dead connections (JAVA-204)
216- [bug] Fix potential NPE in ControlConnection (JAVA-373)
217- [bug] Throws NPE when passed null for a contact point (JAVA-291)
218- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
219- [bug] Avoid classloader leak in Tomcat (JAVA-343)
220- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
221- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
222
223
2242.0.10:
225-------
226
227- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518)
228- [improvement] Add connection heartbeat (JAVA-533)
229- [improvement] Reduce level of logs on missing rpc_address (JAVA-568)
230- [improvement] Expose node token and range information (JAVA-312, JAVA-681)
231- [bug] Fix cluster name mismatch check at startup (JAVA-595)
232- [bug] Fix guava dependency when using OSGI (JAVA-620)
233- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678)
234- [improvement] Use List<?> instead of List<Object> in QueryBuilder API
235 (JAVA-631)
236- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654)
237- [bug] Quote single quotes contained in table comments in asCQLQuery method
238 (JAVA-655)
239- [bug] Empty TokenRange returned in a one token cluster (JAVA-684)
240- [improvement] Expose TokenRange#contains (JAVA-687)
241- [new feature] Expose values of BoundStatement (JAVA-547)
242- [new feature] Add getObject to BoundStatement and Row (JAVA-584)
243- [improvement] Improve connection pool resizing algorithm (JAVA-419)
244- [bug] Fix race condition between pool expansion and shutdown (JAVA-599)
245- [improvement] Upgrade Netty to 4.0.27 (JAVA-622)
246- [improvement] Coalesce frames before flushing them to the connection
247 (JAVA-562)
248- [improvement] Rename threads to indicate that they are for the driver
249 (JAVA-583)
250- [new feature] Expose paging state (JAVA-550)
251- [new feature] Slow Query Logger (JAVA-646)
252- [improvement] Exclude some errors from measurements in LatencyAwarePolicy
253 (JAVA-698)
254- [bug] Fix issue when executing a PreparedStatement from another cluster
255 (JAVA-641)
256- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534)
257- [improvement] Allow Cluster subclasses to delegate to another instance
258 (JAVA-619)
259- [new feature] Expose an API to check for schema agreement after a
260 schema-altering statement (JAVA-669)
261- [improvement] Make connection and pool creation fully async (JAVA-692)
262- [improvement] Optimize connection use after reconnection (JAVA-505)
263- [improvement] Remove "suspected" mechanism (JAVA-617)
264- [improvement] Don't mark connection defunct on client timeout (reverts
265 JAVA-425)
266- [new feature] Speculative query executions (JAVA-561)
267- [bug] Release connection before completing the ResultSetFuture (JAVA-666)
268- [new feature BETA] Percentile-based variant of query logger and speculative
269 executions (JAVA-723)
270- [bug] Fix buffer leaks when compression is enabled (JAVA-734).
271
272Merged from 2.0.9_fixes branch:
273
274- [bug] Prevent race between cancellation and query completion (JAVA-614)
275- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
276 streamId was already released and reused (JAVA-632).
277- [bug] Fix issue when newly opened pool fails before we could mark the node UP
278 (JAVA-642)
279- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
280- [bug] Fix edge cases where a connection was released twice (JAVA-651).
281- [bug] Fix edge cases in query cancellation (JAVA-653).
282
283
2842.0.9.2:
285--------
286
287- [bug] Fix edge cases where a connection was released twice (JAVA-651).
288- [bug] Fix edge cases in query cancellation (JAVA-653).
289
290
2912.0.9.1:
292--------
293
294- [bug] Prevent race between cancellation and query completion (JAVA-614)
295- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
296 streamId was already released and reused (JAVA-632).
297- [bug] Fix issue when newly opened pool fails before we could mark the node UP
298 (JAVA-642)
299- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
300
301
3022.0.9:
303------
304
305- [improvement] Shade Netty dependency (JAVA-538)
306- [improvement] Target schema refreshes more precisely (JAVA-543)
307- [bug] Don't check rpc_address for control host (JAVA-546)
308- [improvement] Improve message of NoHostAvailableException (JAVA-409)
309- [bug] Rework connection reaper to avoid deadlock (JAVA-556)
310- [bug] Avoid deadlock when multiple connections to the same host get write
311 errors (JAVA-557)
312- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504)
313- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled
314 connections fails while bringing the node back up (JAVA-577)
315- [bug] Prevent faulty control connection from ignoring reconnecting hosts
316 (JAVA-587)
317- temporarily revert "Add idle timeout to the connection pool" (JAVA-419)
318- [bug] Ensure updateCreatedPools does not add pools for suspected hosts
319 (JAVA-593)
320- [bug] Ensure state change notifications for a given host are handled serially
321 (JAVA-594)
322- [bug] Ensure control connection reconnects when control host is removed
323 (JAVA-597)
324
325
3262.0.8:
327------
328
329- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526)
330- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515)
331- [improvement] Expose the driver version through the API (JAVA-532)
332- [improvement] Optimize session initialization when some hosts are not
333 responsive (JAVA-522)
334
335
3362.0.7:
337------
338
339- [bug] Handle null pool in PooledConnection.release (JAVA-449)
340- [improvement] Defunct connection on request timeout (JAVA-425)
341- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426)
342- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471)
343- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496)
344- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497)
345- [improvement] Keep trying to reconnect on authentication errors (JAVA-472)
346- [improvement] Expose close method on load balancing policy (JAVA-463)
347- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459)
348- [bug] Expose an API to cancel reconnection attempts (JAVA-493)
349- [bug] Fix NPE when a connection fails during pool construction (JAVA-503)
350- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided
351 (JAVA-423)
352- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504)
353- [improvement] Make schema agreement wait tuneable (JAVA-507)
354- [improvement] Document how to inject the driver metrics into another registry (JAVA-494)
355- [improvement] Add idle timeout to the connection pool (JAVA-419)
356- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516)
357- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
358 an explicit but null or empty local datacenter (JAVA-451).
359- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511)
360- [improvement] Make timeout on saturated pool customizable (JAVA-457)
361- [improvement] Downgrade Guava to 14.0.1 (JAVA-521)
362
363
3642.0.6:
365------
366
367- [bug] Check cluster name when connecting to a new node (JAVA-397)
368- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
369- [bug] Add collection and data length checks during serialization (JAVA-363)
370- [improvement] Surface number of retries in metrics (JAVA-329)
371- [bug] Do not use a host when no rpc_address found for it (JAVA-428)
372- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358)
373- [bug] Fix negative HostConnectionPool open count (JAVA-349)
374- [improvement] Log more connection details at trace and debug levels (JAVA-436)
375- [bug] Fix cluster shutdown (JAVA-445)
376- [improvement] Expose child policy in chainable load balancing policies (JAVA-439)
377
378
3792.0.5:
380------
381
382- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
383- [bug] Fix handling of SimpleStatement with values in query builder
384 batches (JAVA-393)
385- [bug] Ensure pool is properly closed in onDown (JAVA-417)
386- [bug] Fix tokenMap initialization at startup (JAVA-415)
387- [bug] Avoid deadlock on close (JAVA-418)
388
389
3902.0.4:
391------
392
393- [improvement] Better handling of dead connections (JAVA-204)
394- [bug] Fix potential NPE in ControlConnection (JAVA-373)
395- [bug] Throws NPE when passed null for a contact point (JAVA-291)
396- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
397- [bug] Avoid classloader leak in Tomcat (JAVA-343)
398- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
399- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
400- [bug] Ensure defunct connections are completely closed (JAVA-394)
401- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
402
403
4042.0.3:
405------
406
407- [new] The new AbsractSession makes mocking of Session easier.
408- [new] Allow to trigger a refresh of connected hosts (JAVA-309)
409- [new] New Session#getState method allows to grab information on
410 which nodes a session is connected to (JAVA-265)
411- [new] Add QueryBuilder syntax for tuples in where clauses (syntax
412 introduced in Cassandra 2.0.6) (JAVA-327)
413- [improvement] Properly validate arguments of PoolingOptions methods
414 (JAVA-359)
415- [bug] Fix bogus rejection of BigInteger in 'execute with values'
416 (JAVA-368)
417- [bug] Signal connection failure sooner to avoid missing them
418 (JAVA-367)
419- [bug] Throw UnsupportedOperationException for protocol batch
420 setSerialCL (JAVA-337)
421
422Merged from 1.0 branch:
423
424- [bug] Fix periodic reconnection to down hosts (JAVA-325)
425
426
4272.0.2:
428------
429
430- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from
431 InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and
432 for AuthProvider#newAuthenticator.
433- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
434 datacenter is automatically picked based on the first connected node. Furthermore,
435 the TokenAwarePolicy is also used by default (JAVA-296)
436- [new] New optional AddressTranslater (JAVA-145)
437- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321)
438- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320)
439- [bug] Fix thread-safety of page fetching (JAVA-319)
440- [bug] Fix potential NPE using fetchMoreResults (JAVA-318)
441
442Merged from 1.0 branch:
443
444- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179)
445- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list
446- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289)
447- [bug] Revert back to longs for dates in the query builder (JAVA-313)
448- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314)
449
450
4512.0.1:
452------
453
454- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278)
455- [improvement] Add Cluster#newSession method to create Session without connecting
456 right away (JAVA-208)
457- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279)
458- [bug] Properly parse BytesType as the blob type
459- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280)
460
461Merged from 1.0 branch:
462
463- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275)
464- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114)
465
466
4672.0.0:
468------
469
470- [api] Case sensitive identifier by default in Metadata (JAVA-269)
471- [bug] Fix potential NPE in Cluster#connect (JAVA-274)
472
473Merged from 1.0 branch:
474
475- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263)
476- [bug] Fix race when multiple connect are done in parallel (JAVA-261)
477- [bug] Don't connect at all to nodes that are ignored by the load balancing
478 policy (JAVA-270)
479
480
4812.0.0-rc3:
482----------
483
484- [improvement] The protocol version 1 is now supported (features only supported by the
485 version 2 of the protocol throw UnsupportedFeatureException).
486- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195)
487- [improvement] Adds new getStatements and clear methods to BatchStatement.
488- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
489 and Session also now implement Closeable (JAVA-247).
490- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232)
491- [bug] Fix potential NPE in HostConnectionPool (JAVA-231)
492- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244)
493- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258)
494
495Merged from 1.0 branch:
496
497- [new] Added Session#prepareAsync calls (JAVA-224)
498- [new] Added Cluster#getLoggedKeyspace (JAVA-249)
499- [improvement] Avoid preparing a statement multiple time per host with multiple sessions
500- [bug] Make sure connections are returned to the right pools (JAVA-255)
501- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264)
502
503
5042.0.0-rc2:
505----------
506
507- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207)
508- [bug] Fix parsing of counter types (JAVA-219)
509- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218)
510- [bug] Fix replicas computation for token aware balancing (JAVA-221)
511
512Merged from 1.0 branch:
513
514- [bug] Fix regression from JAVA-201 (JAVA-213)
515- [improvement] New getter to obtain a snapshot of the scores maintained by
516 LatencyAwarePolicy.
517
518
5192.0.0-rc1:
520----------
521
522- [new] Mark compression dependencies optional in maven (JAVA-199).
523- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns.
524
525Merged from 1.0 branch:
526
527- [new] OSGi bundle (JAVA-142)
528- [improvement] Make collections returned by Row immutable (JAVA-205)
529- [improvement] Limit internal thread pool size (JAVA-203)
530- [bug] Don't retain unused PreparedStatement in memory (JAVA-201)
531- [bug] Add missing clustering order info in TableMetadata
532- [bug] Allow bind markers for collections in the query builder (JAVA-196)
533
534
5352.0.0-beta2:
536------------
537
538- [api] BoundStatement#setX(String, X) methods now set all values (if there is
539 more than one) having the provided name, not just the first occurence.
540- [api] The Authenticator interface now has a onAuthenticationSuccess method that
541 allows to handle the potential last token sent by the server.
542- [new] The query builder don't serialize large values to strings anymore by
543 default by making use the new ability to send values alongside the query string.
544- [new] The query builder has been updated for new CQL features (JAVA-140).
545- [bug] Fix exception when a conditional write timeout C* side.
546- [bug] Ensure connection is created when Cluster metadata are asked for
547 (JAVA-182).
548- [bug] Fix potential NPE during authentication (JAVA-187)
549
550
5512.0.0-beta1:
552-----------
553
554- [api] The 2.0 version is an API-breaking upgrade of the driver. While most
555 of the breaking changes are minor, there are too numerous to be listed here
556 and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe
557 those changes in details.
558- [new] LZ4 compression is supported for the protocol.
559- [new] The driver does not depend on cassandra-all anymore (JAVA-39)
560- [new] New BatchStatement class allows to execute batch other statements.
561- [new] Large ResultSet are now paged (incrementally fetched) by default.
562- [new] SimpleStatement support values for bind-variables, to allow
563 prepare+execute behavior with one roundtrip.
564- [new] Query parameters defaults (Consistency level, page size, ...) can be
565 configured globally.
566- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are
567 supported.
568- [new] Cluster#shutdown now waits for ongoing queries to complete by default
569 (JAVA-116).
570- [new] Generic authentication through SASL is now exposed.
571- [bug] TokenAwarePolicy now takes all replica into account, instead of only the
572 first one (JAVA-88).
573
574
5751.0.5:
576------
577
578- [new] OSGi bundle (JAVA-142)
579- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this
580 require Cassandra 1.2.12+ (JAVA-207)
581- [improvement] Make collections returned by Row immutable (JAVA-205)
582- [improvement] Limit internal thread pool size (JAVA-203)
583- [improvement] New getter to obtain a snapshot of the scores maintained by
584 LatencyAwarePolicy.
585- [improvement] Avoid synchronization when getting codec for collection
586 types (JAVA-222)
587- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213)
588- [bug] Add missing clustering order info in TableMetadata
589- [bug] Allow bind markers for collections in the query builder (JAVA-196)
590
591
5921.0.4:
593------
594
595- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
596 are now deprecated. They are replaced by the new withPoolingOptions and
597 withSocketOptions methods (JAVA-163).
598- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to
599 add latency awareness to a wrapped load balancing policy (JAVA-129).
600- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization)
601 (JAVA-161)
602- [new] Add truncate statement in query builder (JAVA-117).
603- [new] Support empty IN in the query builder (JAVA-106).
604- [bug] Fix spurious "No current pool set; this should not happen" error
605 message (JAVA-166)
606- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if
607 a balancing policy throws (JAVA-184)
608- [bug] Don't release Stream ID for timeouted queries (unless we do get back
609 the response)
610- [bug] Correctly escape identifiers and use fully qualified table names when
611 exporting schema as string.
612
613
6141.0.3:
615------
616
617- [api] The query builder now correctly throw an exception when given a value
618 of a type it doesn't know about.
619- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
620 wait for the answer of one node. See the javadoc for more details.
621- [new] New Session#prepare method that takes a Statement.
622- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder
623 statements (JAVA-143).
624- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
625
626
6271.0.2:
628------
629
630- [api] Host#getMonitor and all Host.HealthMonitor methods have been
631 deprecated. The new Host#isUp method is now prefered to the method
632 in the monitor and you should now register Host.StateListener against
633 the Cluster object directly (registering against a host HealthMonitor
634 was much more limited anyway).
635- [new] New serialize/deserialize methods in DataType to serialize/deserialize
636 values to/from bytes (JAVA-92).
637- [new] New getIndexOf() method in ColumnDefinitions to find the index of
638 a given column name (JAVA-128).
639- [bug] Fix a bug when thread could get blocked while setting the current
640 keyspace (JAVA-131).
641- [bug] Quote inet addresses in the query builder since CQL3 requires it
642 (JAVA-136)
643
644
6451.0.1:
646------
647
648- [api] Function call handling in the query builder has been modified in a
649 backward incompatible way. Function calls are not parsed from string values
650 anymore as this wasn't safe. Instead the new 'fcall' method should be used
651 (JAVA-100).
652- [api] Some typos in method names in PoolingOptions have been fixed in a
653 backward incompatible way before the API get widespread.
654- [bug] Don't destroy composite partition key with BoundStatement and
655 TokenAwarePolicy (JAVA-123).
656- [new] null values support in the query builder.
657- [new] SSL support (requires C* >= 1.2.1) (JAVA-5).
658- [new] Allow generating unlogged batch in the query builder (JAVA-113).
659- [improvement] Better error message when no host are available.
660- [improvement] Improves performance of the stress example application been.
661
662
6631.0.0:
664------
665
666- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the
667 Cluster builder has a new withCredentials() method to provide a username
668 and password for use with Cassandra's PasswordAuthenticator. Custom
669 authenticator will be re-introduced in a future version but are not
670 supported at the moment.
671- [api] The isMetricsEnabled() method in Configuration has been replaced by
672 getMetricsOptions(). An option to disabled JMX reporting (on by default)
673 has been added.
674- [bug] Don't make default load balancing policy a static singleton since it
675 is stateful (JAVA-91).
676
677
6781.0.0-RC1:
679----------
680
681- [new] Null values are now supported in BoundStatement (but you will need at
682 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
683 slightly changed so that not binding a variable is not an error anymore,
684 the variable is simply considered null by default. The isReady() method has
685 been removed (JAVA-79).
686- [improvement] The Cluster/Session shutdown methods now properly block until
687 the shutdown is complete. A version with at timeout has been added (JAVA-75).
688- [bug] Fix use of CQL3 functions in the query builder (JAVA-44).
689- [bug] Fix case where multiple schema changes too quickly wouldn't work
690 (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra
691 nodes) (JAVA-77).
692- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O
693 thread (JAVA-72).
694- [bug] Correctly reports errors during authentication phase (JAVA-82).
695
696
6971.0.0-beta2:
698------------
699
700- [new] Support blob constants, BigInteger, BigDecimal and counter batches in
701 the query builder (JAVA-51, JAVA-60, JAVA-58)
702- [new] Basic support for custom CQL3 types (JAVA-61)
703- [new] Add "execution infos" for a result set (this also move the query
704 trace in the new ExecutionInfos object, so users of beta1 will have to
705 update) (JAVA-65)
706- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62)
707- [bug] Fix use of bind markers for routing keys in the query builder
708 (JAVA-66)
709
710
7111.0.0-beta1:
712------------
713
714- initial release