Elffuss BraidHub

kikocis/java-driver public

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