Elffuss BraidHub

kikocis/java-driver public

bddb85d4f1c4 · 17.2 KiBRawPermalink
1CHANGELOG
2=========
3
42.0.9.1:
5--------
6
7
82.0.9:
9------
10
11- [improvement] Shade Netty dependency (JAVA-538)
12- [improvement] Target schema refreshes more precisely (JAVA-543)
13- [bug] Don't check rpc_address for control host (JAVA-546)
14- [improvement] Improve message of NoHostAvailableException (JAVA-409)
15- [bug] Rework connection reaper to avoid deadlock (JAVA-556)
16- [bug] Avoid deadlock when multiple connections to the same host get write
17 errors (JAVA-557)
18- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504)
19- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled
20 connections fails while bringing the node back up (JAVA-577)
21- [bug] Prevent faulty control connection from ignoring reconnecting hosts
22 (JAVA-587)
23- temporarily revert "Add idle timeout to the connection pool" (JAVA-419)
24- [bug] Ensure updateCreatedPools does not add pools for suspected hosts
25 (JAVA-593)
26- [bug] Ensure state change notifications for a given host are handled serially
27 (JAVA-594)
28- [bug] Ensure control connection reconnects when control host is removed
29 (JAVA-597)
30
31
322.0.8:
33------
34
35- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526)
36- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515)
37- [improvement] Expose the driver version through the API (JAVA-532)
38- [improvement] Optimize session initialization when some hosts are not
39 responsive (JAVA-522)
40
41
422.0.7:
43------
44
45- [bug] Handle null pool in PooledConnection.release (JAVA-449)
46- [improvement] Defunct connection on request timeout (JAVA-425)
47- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426)
48- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471)
49- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496)
50- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497)
51- [improvement] Keep trying to reconnect on authentication errors (JAVA-472)
52- [improvement] Expose close method on load balancing policy (JAVA-463)
53- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459)
54- [bug] Expose an API to cancel reconnection attempts (JAVA-493)
55- [bug] Fix NPE when a connection fails during pool construction (JAVA-503)
56- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided
57 (JAVA-423)
58- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504)
59- [improvement] Make schema agreement wait tuneable (JAVA-507)
60- [improvement] Document how to inject the driver metrics into another registry (JAVA-494)
61- [improvement] Add idle timeout to the connection pool (JAVA-419)
62- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516)
63- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
64 an explicit but null or empty local datacenter (JAVA-451).
65- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511)
66- [improvement] Make timeout on saturated pool customizable (JAVA-457)
67- [improvement] Downgrade Guava to 14.0.1 (JAVA-521)
68
69
702.0.6:
71------
72
73- [bug] Check cluster name when connecting to a new node (JAVA-397)
74- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
75- [bug] Add collection and data length checks during serialization (JAVA-363)
76- [improvement] Surface number of retries in metrics (JAVA-329)
77- [bug] Do not use a host when no rpc_address found for it (JAVA-428)
78- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358)
79- [bug] Fix negative HostConnectionPool open count (JAVA-349)
80- [improvement] Log more connection details at trace and debug levels (JAVA-436)
81- [bug] Fix cluster shutdown (JAVA-445)
82- [improvement] Expose child policy in chainable load balancing policies (JAVA-439)
83
84
852.0.5:
86------
87
88- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
89- [bug] Fix handling of SimpleStatement with values in query builder
90 batches (JAVA-393)
91- [bug] Ensure pool is properly closed in onDown (JAVA-417)
92- [bug] Fix tokenMap initialization at startup (JAVA-415)
93- [bug] Avoid deadlock on close (JAVA-418)
94
95
962.0.4:
97------
98
99- [improvement] Better handling of dead connections (JAVA-204)
100- [bug] Fix potential NPE in ControlConnection (JAVA-373)
101- [bug] Throws NPE when passed null for a contact point (JAVA-291)
102- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
103- [bug] Avoid classloader leak in Tomcat (JAVA-343)
104- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
105- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
106- [bug] Ensure defunct connections are completely closed (JAVA-394)
107- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
108
109
1102.0.3:
111------
112
113- [new] The new AbsractSession makes mocking of Session easier.
114- [new] Allow to trigger a refresh of connected hosts (JAVA-309)
115- [new] New Session#getState method allows to grab information on
116 which nodes a session is connected to (JAVA-265)
117- [new] Add QueryBuilder syntax for tuples in where clauses (syntax
118 introduced in Cassandra 2.0.6) (JAVA-327)
119- [improvement] Properly validate arguments of PoolingOptions methods
120 (JAVA-359)
121- [bug] Fix bogus rejection of BigInteger in 'execute with values'
122 (JAVA-368)
123- [bug] Signal connection failure sooner to avoid missing them
124 (JAVA-367)
125- [bug] Throw UnsupportedOperationException for protocol batch
126 setSerialCL (JAVA-337)
127
128Merged from 1.0 branch:
129
130- [bug] Fix periodic reconnection to down hosts (JAVA-325)
131
132
1332.0.2:
134------
135
136- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from
137 InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and
138 for AuthProvider#newAuthenticator.
139- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
140 datacenter is automatically picked based on the first connected node. Furthermore,
141 the TokenAwarePolicy is also used by default (JAVA-296)
142- [new] New optional AddressTranslater (JAVA-145)
143- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321)
144- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320)
145- [bug] Fix thread-safety of page fetching (JAVA-319)
146- [bug] Fix potential NPE using fetchMoreResults (JAVA-318)
147
148Merged from 1.0 branch:
149
150- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179)
151- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list
152- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289)
153- [bug] Revert back to longs for dates in the query builder (JAVA-313)
154- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314)
155
156
1572.0.1:
158------
159
160- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278)
161- [improvement] Add Cluster#newSession method to create Session without connecting
162 right away (JAVA-208)
163- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279)
164- [bug] Properly parse BytesType as the blob type
165- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280)
166
167Merged from 1.0 branch:
168
169- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275)
170- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114)
171
172
1732.0.0:
174------
175
176- [api] Case sensitive identifier by default in Metadata (JAVA-269)
177- [bug] Fix potential NPE in Cluster#connect (JAVA-274)
178
179Merged from 1.0 branch:
180
181- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263)
182- [bug] Fix race when multiple connect are done in parallel (JAVA-261)
183- [bug] Don't connect at all to nodes that are ignored by the load balancing
184 policy (JAVA-270)
185
186
1872.0.0-rc3:
188----------
189
190- [improvement] The protocol version 1 is now supported (features only supported by the
191 version 2 of the protocol throw UnsupportedFeatureException).
192- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195)
193- [improvement] Adds new getStatements and clear methods to BatchStatement.
194- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
195 and Session also now implement Closeable (JAVA-247).
196- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232)
197- [bug] Fix potential NPE in HostConnectionPool (JAVA-231)
198- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244)
199- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258)
200
201Merged from 1.0 branch:
202
203- [new] Added Session#prepareAsync calls (JAVA-224)
204- [new] Added Cluster#getLoggedKeyspace (JAVA-249)
205- [improvement] Avoid preparing a statement multiple time per host with multiple sessions
206- [bug] Make sure connections are returned to the right pools (JAVA-255)
207- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264)
208
209
2102.0.0-rc2:
211----------
212
213- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207)
214- [bug] Fix parsing of counter types (JAVA-219)
215- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218)
216- [bug] Fix replicas computation for token aware balancing (JAVA-221)
217
218Merged from 1.0 branch:
219
220- [bug] Fix regression from JAVA-201 (JAVA-213)
221- [improvement] New getter to obtain a snapshot of the scores maintained by
222 LatencyAwarePolicy.
223
224
2252.0.0-rc1:
226----------
227
228- [new] Mark compression dependencies optional in maven (JAVA-199).
229- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns.
230
231Merged from 1.0 branch:
232
233- [new] OSGi bundle (JAVA-142)
234- [improvement] Make collections returned by Row immutable (JAVA-205)
235- [improvement] Limit internal thread pool size (JAVA-203)
236- [bug] Don't retain unused PreparedStatement in memory (JAVA-201)
237- [bug] Add missing clustering order info in TableMetadata
238- [bug] Allow bind markers for collections in the query builder (JAVA-196)
239
240
2412.0.0-beta2:
242------------
243
244- [api] BoundStatement#setX(String, X) methods now set all values (if there is
245 more than one) having the provided name, not just the first occurence.
246- [api] The Authenticator interface now has a onAuthenticationSuccess method that
247 allows to handle the potential last token sent by the server.
248- [new] The query builder don't serialize large values to strings anymore by
249 default by making use the new ability to send values alongside the query string.
250- [new] The query builder has been updated for new CQL features (JAVA-140).
251- [bug] Fix exception when a conditional write timeout C* side.
252- [bug] Ensure connection is created when Cluster metadata are asked for
253 (JAVA-182).
254- [bug] Fix potential NPE during authentication (JAVA-187)
255
256
2572.0.0-beta1:
258-----------
259
260- [api] The 2.0 version is an API-breaking upgrade of the driver. While most
261 of the breaking changes are minor, there are too numerous to be listed here
262 and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe
263 those changes in details.
264- [new] LZ4 compression is supported for the protocol.
265- [new] The driver does not depend on cassandra-all anymore (JAVA-39)
266- [new] New BatchStatement class allows to execute batch other statements.
267- [new] Large ResultSet are now paged (incrementally fetched) by default.
268- [new] SimpleStatement support values for bind-variables, to allow
269 prepare+execute behavior with one roundtrip.
270- [new] Query parameters defaults (Consistency level, page size, ...) can be
271 configured globally.
272- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are
273 supported.
274- [new] Cluster#shutdown now waits for ongoing queries to complete by default
275 (JAVA-116).
276- [new] Generic authentication through SASL is now exposed.
277- [bug] TokenAwarePolicy now takes all replica into account, instead of only the
278 first one (JAVA-88).
279
280
2811.0.5:
282------
283
284- [new] OSGi bundle (JAVA-142)
285- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this
286 require Cassandra 1.2.12+ (JAVA-207)
287- [improvement] Make collections returned by Row immutable (JAVA-205)
288- [improvement] Limit internal thread pool size (JAVA-203)
289- [improvement] New getter to obtain a snapshot of the scores maintained by
290 LatencyAwarePolicy.
291- [improvement] Avoid synchronization when getting codec for collection
292 types (JAVA-222)
293- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213)
294- [bug] Add missing clustering order info in TableMetadata
295- [bug] Allow bind markers for collections in the query builder (JAVA-196)
296
297
2981.0.4:
299------
300
301- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
302 are now deprecated. They are replaced by the new withPoolingOptions and
303 withSocketOptions methods (JAVA-163).
304- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to
305 add latency awareness to a wrapped load balancing policy (JAVA-129).
306- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization)
307 (JAVA-161)
308- [new] Add truncate statement in query builder (JAVA-117).
309- [new] Support empty IN in the query builder (JAVA-106).
310- [bug] Fix spurious "No current pool set; this should not happen" error
311 message (JAVA-166)
312- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if
313 a balancing policy throws (JAVA-184)
314- [bug] Don't release Stream ID for timeouted queries (unless we do get back
315 the response)
316- [bug] Correctly escape identifiers and use fully qualified table names when
317 exporting schema as string.
318
319
3201.0.3:
321------
322
323- [api] The query builder now correctly throw an exception when given a value
324 of a type it doesn't know about.
325- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
326 wait for the answer of one node. See the javadoc for more details.
327- [new] New Session#prepare method that takes a Statement.
328- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder
329 statements (JAVA-143).
330- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
331
332
3331.0.2:
334------
335
336- [api] Host#getMonitor and all Host.HealthMonitor methods have been
337 deprecated. The new Host#isUp method is now prefered to the method
338 in the monitor and you should now register Host.StateListener against
339 the Cluster object directly (registering against a host HealthMonitor
340 was much more limited anyway).
341- [new] New serialize/deserialize methods in DataType to serialize/deserialize
342 values to/from bytes (JAVA-92).
343- [new] New getIndexOf() method in ColumnDefinitions to find the index of
344 a given column name (JAVA-128).
345- [bug] Fix a bug when thread could get blocked while setting the current
346 keyspace (JAVA-131).
347- [bug] Quote inet addresses in the query builder since CQL3 requires it
348 (JAVA-136)
349
350
3511.0.1:
352------
353
354- [api] Function call handling in the query builder has been modified in a
355 backward incompatible way. Function calls are not parsed from string values
356 anymore as this wasn't safe. Instead the new 'fcall' method should be used
357 (JAVA-100).
358- [api] Some typos in method names in PoolingOptions have been fixed in a
359 backward incompatible way before the API get widespread.
360- [bug] Don't destroy composite partition key with BoundStatement and
361 TokenAwarePolicy (JAVA-123).
362- [new] null values support in the query builder.
363- [new] SSL support (requires C* >= 1.2.1) (JAVA-5).
364- [new] Allow generating unlogged batch in the query builder (JAVA-113).
365- [improvement] Better error message when no host are available.
366- [improvement] Improves performance of the stress example application been.
367
368
3691.0.0:
370------
371
372- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the
373 Cluster builder has a new withCredentials() method to provide a username
374 and password for use with Cassandra's PasswordAuthenticator. Custom
375 authenticator will be re-introduced in a future version but are not
376 supported at the moment.
377- [api] The isMetricsEnabled() method in Configuration has been replaced by
378 getMetricsOptions(). An option to disabled JMX reporting (on by default)
379 has been added.
380- [bug] Don't make default load balancing policy a static singleton since it
381 is stateful (JAVA-91).
382
383
3841.0.0-RC1:
385----------
386
387- [new] Null values are now supported in BoundStatement (but you will need at
388 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
389 slightly changed so that not binding a variable is not an error anymore,
390 the variable is simply considered null by default. The isReady() method has
391 been removed (JAVA-79).
392- [improvement] The Cluster/Session shutdown methods now properly block until
393 the shutdown is complete. A version with at timeout has been added (JAVA-75).
394- [bug] Fix use of CQL3 functions in the query builder (JAVA-44).
395- [bug] Fix case where multiple schema changes too quickly wouldn't work
396 (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra
397 nodes) (JAVA-77).
398- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O
399 thread (JAVA-72).
400- [bug] Correctly reports errors during authentication phase (JAVA-82).
401
402
4031.0.0-beta2:
404------------
405
406- [new] Support blob constants, BigInteger, BigDecimal and counter batches in
407 the query builder (JAVA-51, JAVA-60, JAVA-58)
408- [new] Basic support for custom CQL3 types (JAVA-61)
409- [new] Add "execution infos" for a result set (this also move the query
410 trace in the new ExecutionInfos object, so users of beta1 will have to
411 update) (JAVA-65)
412- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62)
413- [bug] Fix use of bind markers for routing keys in the query builder
414 (JAVA-66)
415
416
4171.0.0-beta1:
418------------
419
420- initial release