Elffuss BraidHub

kikocis/java-driver public

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