Elffuss BraidHub

kikocis/java-driver public

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