Elffuss BraidHub

kikocis/java-driver public

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