Elffuss BraidHub

kikocis/java-driver public

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