Elffuss BraidHub

kikocis/java-driver public

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