Elffuss BraidHub

kikocis/java-driver public

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