Elffuss BraidHub

kikocis/java-driver public

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