Elffuss BraidHub

kikocis/java-driver public

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