Elffuss BraidHub

kikocis/java-driver public

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