Elffuss BraidHub

kikocis/java-driver public

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