Elffuss BraidHub

kikocis/java-driver public

0507b669c13e · 68.9 KiBRenderedRawPermalink
1## Changelog
2
3### 3.1.0 (in progress)
4
5- [new feature] JAVA-1153: Add PER PARTITION LIMIT to Select QueryBuilder.
6- [improvement] JAVA-743: Add JSON support to QueryBuilder.
7- [improvement] JAVA-1233: Update HdrHistogram to 2.1.9.
8- [improvement] JAVA-1233: Update Snappy to 1.1.2.6.
9- [bug] JAVA-1161: Preserve full time zone info in ZonedDateTimeCodec and DateTimeCodec.
10- [new feature] JAVA-1157: Allow asynchronous paging of Mapper Result.
11- [improvement] JAVA-1212: Don't retry non-idempotent statements by default.
12- [improvement] JAVA-1192: Make EventDebouncer settings updatable at runtime.
13- [new feature] JAVA-541: Add polymorphism support to object mapper.
14- [new feature] JAVA-636: Allow @Column annotations on getters/setters as well as fields.
15- [new feature] JAVA-984: Allow non-void setters in object mapping.
16- [new feature] JAVA-1055: Add ErrorAware load balancing policy.
17
18Merged from 3.0.x branch:
19
20- [bug] JAVA-1179: Request objects should be copied when executed.
21- [improvement] JAVA-1182: Throw error when synchronous call made on I/O thread.
22- [bug] JAVA-1184: Unwrap StatementWrappers when extracting column definitions.
23- [bug] JAVA-1132: Executing bound statement with no variables results in exception with protocol v1.
24- [improvement] JAVA-1040: SimpleStatement parameters support in QueryLogger.
25- [improvement] JAVA-1151: Fail fast if HdrHistogram is not in the classpath.
26- [improvement] JAVA-1154: Allow individual Statement to cancel the read timeout.
27- [bug] JAVA-1074: Fix documentation around default timestamp generator.
28- [improvement] JAVA-1109: Document SSLOptions changes in upgrade guide.
29- [improvement] JAVA-1065: Add method to create token from partition key values.
30- [improvement] JAVA-1136: Enable JDK signature check in module driver-extras.
31- [improvement] JAVA-866: Support tuple notation in QueryBuilder.eq/in.
32- [bug] JAVA-1140: Use same connection to check for schema agreement after a DDL query.
33- [improvement] JAVA-1113: Support Cassandra 3.4 LIKE operator in QueryBuilder.
34- [improvement] JAVA-1086: Support Cassandra 3.2 CAST function in QueryBuilder.
35- [bug] JAVA-1095: Check protocol version for custom payload before sending the query.
36- [improvement] JAVA-1133: Add OSGi headers to cassandra-driver-extras.
37- [bug] JAVA-1137: Incorrect string returned by DataType.asFunctionParameterString() for collections and tuples.
38- [bug] JAVA-1046: (Dynamic)CompositeTypes need to be parsed as string literal, not blob.
39- [improvement] JAVA-1164: Clarify documentation on Host.listenAddress and broadcastAddress.
40- [improvement] JAVA-1171: Add Host method to determine if DSE Graph is enabled.
41- [improvement] JAVA-1069: Bootstrap driver-examples module.
42- [documentation] JAVA-1150: Add example and FAQ entry about ByteBuffer/BLOB.
43- [improvement] JAVA-1011: Expose PoolingOptions default values.
44- [improvement] JAVA-630: Don't process DOWN events for nodes that have active connections.
45- [improvement] JAVA-851: Improve UUIDs javadoc with regard to user-provided timestamps.
46- [improvement] JAVA-979: Update javadoc for RegularStatement toString() and getQueryString() to indicate that consistency level and other parameters are not maintained in the query string.
47- [bug] JAVA-1068: Unwrap StatementWrappers when hashing the paging state.
48- [improvement] JAVA-1021: Improve error message when connect() is called with an invalid keyspace name.
49- [improvement] JAVA-879: Mapper.map() accepts mapper-generated and user queries.
50- [bug] JAVA-1100: Exception when connecting with shaded java driver in OSGI
51- [bug] JAVA-1064: getTable create statement doesn't properly handle quotes in primary key.
52- [bug] JAVA-1089: Set LWT made from BuiltStatements to non-idempotent.
53- [improvement] JAVA-923: Position idempotent flag on object mapper queries.
54- [bug] JAVA-1070: The Mapper should not prepare queries synchronously.
55- [new feature] JAVA-982: Introduce new method ConsistencyLevel.isSerial().
56- [bug] JAVA-764: Retry with the normal consistency level (not the serial one) when a write times out on the Paxos phase.
57- [improvement] JAVA-852: Ignore peers with null entries during discovery.
58- [bug] JAVA-1005: DowngradingConsistencyRetryPolicy does not work with EACH_QUORUM when 1 DC is down.
59- [bug] JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
60- [bug] JAVA-1072: Ensure defunct connections are properly evicted from the pool.
61- [bug] JAVA-1152: Fix NPE at ControlConnection.refreshNodeListAndTokenMap().
62
63Merged from 2.1 branch:
64
65- [improvement] JAVA-1038: Fetch node info by rpc_address if its broadcast_address is not in system.peers.
66- [improvement] JAVA-888: Add cluster-wide percentile tracker.
67- [improvement] JAVA-963: Automatically register PercentileTracker from components that use it.
68- [new feature] JAVA-1019: SchemaBuilder support for CREATE/ALTER/DROP KEYSPACE.
69- [bug] JAVA-727: Allow monotonic timestamp generators to drift in the future + use microsecond precision when possible.
70- [improvement] JAVA-444: Add Java process information to UUIDs.makeNode() hash.
71
72
73### 3.0.3
74
75- [improvement] JAVA-1147: Upgrade Netty to 4.0.37.
76- [bug] JAVA-1213: Allow updates and inserts to BLOB column using read-only ByteBuffer.
77- [bug] JAVA-1209: ProtocolOptions.getProtocolVersion() should return null instead of throwing NPE if Cluster has not
78 been init'd.
79- [improvement] JAVA-1204: Update documentation to indicate tcnative version requirement.
80- [bug] JAVA-1186: Fix duplicated hosts in DCAwarePolicy warn message.
81- [bug] JAVA-1187: Fix warning message when local CL used with RoundRobinPolicy.
82- [improvement] JAVA-1175: Warn if DCAwarePolicy configuration is inconsistent.
83- [bug] JAVA-1139: ConnectionException.getMessage() throws NPE if address is null.
84- [bug] JAVA-1202: Handle null rpc_address when checking schema agreement.
85- [improvement] JAVA-1198: Document that BoundStatement is not thread-safe.
86- [improvement] JAVA-1200: Upgrade LZ4 to 1.3.0.
87- [bug] JAVA-1232: Fix NPE in IdempotenceAwareRetryPolicy.isIdempotent.
88- [improvement] JAVA-1227: Document "SELECT *" issue with prepared statement.
89- [bug] JAVA-1160: Fix NPE in VersionNumber.getPreReleaseLabels().
90- [improvement] JAVA-1126: Handle schema changes in Mapper.
91- [bug] JAVA-1193: Refresh token and replica metadata synchronously when schema is altered.
92- [bug] JAVA-1120: Skip schema refresh debouncer when checking for agreement as a result of schema change made by client.
93- [improvement] JAVA-1242: Fix driver-core dependency in driver-stress
94- [improvement] JAVA-1235: Move the query to the end of "re-preparing .." log message as a key value.
95
96
97### 3.0.2
98
99Merged from 2.1 branch:
100
101- [bug] JAVA-1179: Request objects should be copied when executed.
102- [improvement] JAVA-1182: Throw error when synchronous call made on I/O thread.
103- [bug] JAVA-1184: Unwrap StatementWrappers when extracting column definitions.
104
105
106### 3.0.1
107
108- [bug] JAVA-1132: Executing bound statement with no variables results in exception with protocol v1.
109- [improvement] JAVA-1040: SimpleStatement parameters support in QueryLogger.
110- [improvement] JAVA-1151: Fail fast if HdrHistogram is not in the classpath.
111- [improvement] JAVA-1154: Allow individual Statement to cancel the read timeout.
112- [bug] JAVA-1074: Fix documentation around default timestamp generator.
113- [improvement] JAVA-1109: Document SSLOptions changes in upgrade guide.
114- [improvement] JAVA-1065: Add method to create token from partition key values.
115- [improvement] JAVA-1136: Enable JDK signature check in module driver-extras.
116- [improvement] JAVA-866: Support tuple notation in QueryBuilder.eq/in.
117- [bug] JAVA-1140: Use same connection to check for schema agreement after a DDL query.
118- [improvement] JAVA-1113: Support Cassandra 3.4 LIKE operator in QueryBuilder.
119- [improvement] JAVA-1086: Support Cassandra 3.2 CAST function in QueryBuilder.
120- [bug] JAVA-1095: Check protocol version for custom payload before sending the query.
121- [improvement] JAVA-1133: Add OSGi headers to cassandra-driver-extras.
122- [bug] JAVA-1137: Incorrect string returned by DataType.asFunctionParameterString() for collections and tuples.
123- [bug] JAVA-1046: (Dynamic)CompositeTypes need to be parsed as string literal, not blob.
124- [improvement] JAVA-1164: Clarify documentation on Host.listenAddress and broadcastAddress.
125- [improvement] JAVA-1171: Add Host method to determine if DSE Graph is enabled.
126- [improvement] JAVA-1069: Bootstrap driver-examples module.
127- [documentation] JAVA-1150: Add example and FAQ entry about ByteBuffer/BLOB.
128
129Merged from 2.1 branch:
130
131- [improvement] JAVA-1011: Expose PoolingOptions default values.
132- [improvement] JAVA-630: Don't process DOWN events for nodes that have active connections.
133- [improvement] JAVA-851: Improve UUIDs javadoc with regard to user-provided timestamps.
134- [improvement] JAVA-979: Update javadoc for RegularStatement toString() and getQueryString() to indicate that consistency level and other parameters are not maintained in the query string.
135- [bug] JAVA-1068: Unwrap StatementWrappers when hashing the paging state.
136- [improvement] JAVA-1021: Improve error message when connect() is called with an invalid keyspace name.
137- [improvement] JAVA-879: Mapper.map() accepts mapper-generated and user queries.
138- [bug] JAVA-1100: Exception when connecting with shaded java driver in OSGI
139- [bug] JAVA-1064: getTable create statement doesn't properly handle quotes in primary key.
140- [bug] JAVA-1089: Set LWT made from BuiltStatements to non-idempotent.
141- [improvement] JAVA-923: Position idempotent flag on object mapper queries.
142- [bug] JAVA-1070: The Mapper should not prepare queries synchronously.
143- [new feature] JAVA-982: Introduce new method ConsistencyLevel.isSerial().
144- [bug] JAVA-764: Retry with the normal consistency level (not the serial one) when a write times out on the Paxos phase.
145- [improvement] JAVA-852: Ignore peers with null entries during discovery.
146- [bug] JAVA-1005: DowngradingConsistencyRetryPolicy does not work with EACH_QUORUM when 1 DC is down.
147- [bug] JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
148- [bug] JAVA-1072: Ensure defunct connections are properly evicted from the pool.
149- [bug] JAVA-1152: Fix NPE at ControlConnection.refreshNodeListAndTokenMap().
150
151
152### 3.0.0
153
154- [bug] JAVA-1034: fix metadata parser for collections of custom types.
155- [improvement] JAVA-1035: Expose host broadcast_address and listen_address if available.
156- [new feature] JAVA-1037: Allow named parameters in simple statements.
157- [improvement] JAVA-1033: Allow per-statement read timeout.
158- [improvement] JAVA-1042: Include DSE version and workload in Host data.
159
160Merged from 2.1 branch:
161
162- [improvement] JAVA-1030: Log token to replica map computation times.
163- [bug] JAVA-1039: Minor bugs in Event Debouncer.
164
165
166### 3.0.0-rc1
167
168- [bug] JAVA-890: fix mapper for case-sensitive UDT.
169
170
171### 3.0.0-beta1
172
173- [bug] JAVA-993: Support for "custom" types after CASSANDRA-10365.
174- [bug] JAVA-999: Handle unset parameters in QueryLogger.
175- [bug] JAVA-998: SchemaChangeListener not invoked for Functions or Aggregates having UDT arguments.
176- [bug] JAVA-1009: use CL ONE to compute query plan when reconnecting
177 control connection.
178- [improvement] JAVA-1003: Change default consistency level to LOCAL_ONE (amends JAVA-926).
179- [improvement] JAVA-863: Idempotence propagation in prepared statements.
180- [improvement] JAVA-996: Make CodecRegistry available to ProtocolDecoder.
181- [bug] JAVA-819: Driver shouldn't retry on client timeout if statement is not idempotent.
182- [improvement] JAVA-1007: Make SimpleStatement and QueryBuilder "detached" again.
183
184Merged from 2.1 branch:
185
186- [improvement] JAVA-989: Include keyspace name when invalid replication found when generating token map.
187- [improvement] JAVA-664: Reduce heap consumption for TokenMap.
188- [bug] JAVA-994: Don't call on(Up|Down|Add|Remove) methods if Cluster is closed/closing.
189
190
191### 3.0.0-alpha5
192
193- [improvement] JAVA-958: Make TableOrView.Order visible.
194- [improvement] JAVA-968: Update metrics to the latest version.
195- [improvement] JAVA-965: Improve error handling for when a non-type 1 UUID is given to bind() on a timeuuid column.
196- [improvement] JAVA-885: Pass the authenticator name from the server to the auth provider.
197- [improvement] JAVA-961: Raise an exception when an older version of guava (<16.01) is found.
198- [bug] JAVA-972: TypeCodec.parse() implementations should be case insensitive when checking for keyword NULL.
199- [bug] JAVA-971: Make type codecs invariant.
200- [bug] JAVA-986: Update documentation links to reference 3.0.
201- [improvement] JAVA-841: Refactor SSLOptions API.
202- [improvement] JAVA-948: Don't limit cipher suites by default.
203- [improvement] JAVA-917: Document SSL configuration.
204- [improvement] JAVA-936: Adapt schema metadata parsing logic to new storage format of CQL types in C* 3.0.
205- [new feature] JAVA-846: Provide custom codecs library as an extra module.
206- [new feature] JAVA-742: Codec Support for JSON.
207- [new feature] JAVA-606: Codec support for Java 8.
208- [new feature] JAVA-565: Codec support for Java arrays.
209- [new feature] JAVA-605: Codec support for Java enums.
210- [bug] JAVA-884: Fix UDT mapper to process fields in the correct order.
211
212Merged from 2.1 branch:
213
214- [bug] JAVA-854: avoid early return in Cluster.init when a node doesn't support the protocol version.
215- [bug] JAVA-978: Fix quoting issue that caused Mapper.getTableMetadata() to return null.
216- [improvement] JAVA-920: Downgrade "error creating pool" message to WARN.
217- [bug] JAVA-954: Don't trigger reconnection before initialization complete.
218- [improvement] JAVA-914: Avoid rejected tasks at shutdown.
219- [improvement] JAVA-921: Add SimpleStatement.getValuesCount().
220- [bug] JAVA-901: Move call to connection.release() out of cancelHandler.
221- [bug] JAVA-960: Avoid race in control connection shutdown.
222- [bug] JAVA-656: Fix NPE in ControlConnection.updateLocationInfo.
223- [bug] JAVA-966: Count uninitialized connections in conviction policy.
224- [improvement] JAVA-917: Document SSL configuration.
225- [improvement] JAVA-652: Add DCAwareRoundRobinPolicy builder.
226- [improvement] JAVA-808: Add generic filtering policy that can be used to exclude specific DCs.
227- [bug] JAVA-988: Metadata.handleId should handle escaped double quotes.
228- [bug] JAVA-983: QueryBuilder cannot handle collections containing function calls.
229
230
231### 3.0.0-alpha4
232
233- [improvement] JAVA-926: Change default consistency level to LOCAL_QUORUM.
234- [bug] JAVA-942: Fix implementation of UserType.hashCode().
235- [improvement] JAVA-877: Don't delay UP/ADDED notifications if protocol version = V4.
236- [improvement] JAVA-938: Parse 'extensions' column in table metadata.
237- [bug] JAVA-900: Fix Configuration builder to allow disabled metrics.
238- [new feature] JAVA-902: Prepare API for async query trace.
239- [new feature] JAVA-930: Add BoundStatement#unset.
240- [bug] JAVA-946: Make table metadata options class visible.
241- [bug] JAVA-939: Add crcCheckChance to TableOptionsMetadata#equals/hashCode.
242- [bug] JAVA-922: Make TypeCodec return mutable collections.
243- [improvement] JAVA-932: Limit visibility of codec internals.
244- [improvement] JAVA-934: Warn if a custom codec collides with an existing one.
245- [improvement] JAVA-940: Allow typed getters/setters to target any CQL type.
246- [bug] JAVA-950: Fix Cluster.connect with a case-sensitive keyspace.
247- [bug] JAVA-953: Fix MaterializedViewMetadata when base table name is case sensitive.
248
249
250### 3.0.0-alpha3
251
252- [new feature] JAVA-571: Support new system tables in C* 3.0.
253- [improvement] JAVA-919: Move crc_check_chance out of compressions options.
254
255Merged from 2.0 branch:
256
257- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
258- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
259- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
260- [improvement] #340: Allow DNS name with multiple A-records as contact point.
261- [bug] JAVA-794: Allow tracing across multiple result pages.
262- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
263- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
264- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
265- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
266- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
267- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
268- [improvement] JAVA-225: Create values() function for Insert builder using List.
269- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
270 replication factors.
271- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
272 connections.
273- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
274- [improvement] JAVA-726: Optimize internal copies of Request objects.
275- [bug] JAVA-815: Preserve tracing across retries.
276- [improvement] JAVA-709: New RetryDecision.tryNextHost().
277- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
278- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
279- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
280- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
281- [improvement] JAVA-720: Surface the coordinator used on query failure.
282- [bug] JAVA-792: Handle contact points removed during init.
283- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
284- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
285- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
286- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
287- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
288- [improvement] JAVA-853: Customizable creation of netty timer.
289- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
290- [improvement] JAVA-657: Debounce control connection queries.
291- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
292- [new feature] JAVA-828: Make driver-side metadata optional.
293- [improvement] JAVA-544: Allow hosts to remain partially up.
294- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
295 creation.
296- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
297 hosts.
298- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
299- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
300
301
302### 3.0.0-alpha2
303
304- [new feature] JAVA-875, JAVA-882: Move secondary index metadata out of column definitions.
305
306Merged from 2.2 branch:
307
308- [bug] JAVA-847: Propagate CodecRegistry to nested UDTs.
309- [improvement] JAVA-848: Ability to store a default, shareable CodecRegistry
310 instance.
311- [bug] JAVA-880: Treat empty ByteBuffers as empty values in TupleCodec and
312 UDTCodec.
313
314
315### 3.0.0-alpha1
316
317- [new feature] JAVA-876: Support new system tables in C* 3.0.0-alpha1.
318
319Merged from 2.2 branch:
320
321- [improvement] JAVA-810: Rename DateWithoutTime to LocalDate.
322- [bug] JAVA-816: DateCodec does not format values correctly.
323- [bug] JAVA-817: TimeCodec does not format values correctly.
324- [bug] JAVA-818: TypeCodec.getDataTypeFor() does not handle LocalDate instances.
325- [improvement] JAVA-836: Make ResultSet#fetchMoreResult return a
326 ListenableFuture<ResultSet>.
327- [improvement] JAVA-843: Disable frozen checks in mapper.
328- [improvement] JAVA-721: Allow user to register custom type codecs.
329- [improvement] JAVA-722: Support custom type codecs in mapper.
330
331
332### 2.2.0-rc3
333
334- [bug] JAVA-847: Propagate CodecRegistry to nested UDTs.
335- [improvement] JAVA-848: Ability to store a default, shareable CodecRegistry
336 instance.
337- [bug] JAVA-880: Treat empty ByteBuffers as empty values in TupleCodec and
338 UDTCodec.
339
340
341### 2.2.0-rc2
342
343- [improvement] JAVA-810: Rename DateWithoutTime to LocalDate.
344- [bug] JAVA-816: DateCodec does not format values correctly.
345- [bug] JAVA-817: TimeCodec does not format values correctly.
346- [bug] JAVA-818: TypeCodec.getDataTypeFor() does not handle LocalDate instances.
347- [improvement] JAVA-836: Make ResultSet#fetchMoreResult return a
348 ListenableFuture<ResultSet>.
349- [improvement] JAVA-843: Disable frozen checks in mapper.
350- [improvement] JAVA-721: Allow user to register custom type codecs.
351- [improvement] JAVA-722: Support custom type codecs in mapper.
352
353Merged from 2.1 branch:
354
355- [bug] JAVA-834: Special case check for 'null' string in index_options column.
356- [improvement] JAVA-835: Allow accessor methods with less parameters in case
357 named bind markers are repeated.
358- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
359- [improvement] JAVA-715: Make NativeColumnType a top-level class.
360- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
361- [bug] JAVA-542: Handle void return types in accessors.
362- [improvement] JAVA-225: Create values() function for Insert builder using List.
363- [improvement] JAVA-713: HashMap throws an OOM Exception when logging level is set to TRACE.
364- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
365- [improvement] JAVA-732: Expose KEYS and FULL indexing options in IndexMetadata.
366- [improvement] JAVA-589: Allow @Enumerated in Accessor method parameters.
367- [improvement] JAVA-554: Allow access to table metadata from Mapper.
368- [improvement] JAVA-661: Provide a way to map computed fields.
369- [improvement] JAVA-824: Ignore missing columns in mapper.
370- [bug] JAVA-724: Preserve default timestamp for retries and speculative executions.
371- [improvement] JAVA-738: Use same pool implementation for protocol v2 and v3.
372- [improvement] JAVA-677: Support CONTAINS / CONTAINS KEY in QueryBuilder.
373- [improvement] JAVA-477/JAVA-540: Add USING options in mapper for delete and save
374 operations.
375- [improvement] JAVA-473: Add mapper option to configure whether to save null fields.
376
377Merged from 2.0 branch:
378
379- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
380- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
381- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
382- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
383- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
384- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
385- [improvement] JAVA-225: Create values() function for Insert builder using List.
386- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
387 replication factors.
388- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
389 connections.
390- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
391- [improvement] JAVA-726: Optimize internal copies of Request objects.
392- [bug] JAVA-815: Preserve tracing across retries.
393- [improvement] JAVA-709: New RetryDecision.tryNextHost().
394- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
395
396
397### 2.2.0-rc1
398
399- [new feature] JAVA-783: Protocol V4 enum support.
400- [new feature] JAVA-776: Use PK columns in protocol v4 PREPARED response.
401- [new feature] JAVA-777: Distinguish NULL and UNSET values.
402- [new feature] JAVA-779: Add k/v payload for 3rd party usage.
403- [new feature] JAVA-780: Expose server-side warnings on ExecutionInfo.
404- [new feature] JAVA-749: Expose new read/write failure exceptions.
405- [new feature] JAVA-747: Expose function and aggregate metadata.
406- [new feature] JAVA-778: Add new client exception for CQL function failure.
407- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
408- [new feature] JAVA-404: Support new C* 2.2 CQL date and time types.
409
410Merged from 2.1 branch:
411
412- [improvement] JAVA-782: Unify "Target" enum for schema elements.
413
414
415### 2.1.10.2
416
417Merged from 2.0 branch:
418
419- [bug] JAVA-1179: Request objects should be copied when executed.
420- [improvement] JAVA-1182: Throw error when synchronous call made on I/O thread.
421- [bug] JAVA-1184: Unwrap StatementWrappers when extracting column definitions.
422
423
424### 2.1.10.1
425
426- [bug] JAVA-1152: Fix NPE at ControlConnection.refreshNodeListAndTokenMap().
427- [bug] JAVA-1156: Fix NPE at TableMetadata.equals().
428
429
430### 2.1.10
431
432- [bug] JAVA-988: Metadata.handleId should handle escaped double quotes.
433- [bug] JAVA-983: QueryBuilder cannot handle collections containing function calls.
434- [improvement] JAVA-863: Idempotence propagation in PreparedStatements.
435- [bug] JAVA-937: TypeCodec static initializers not always correctly executed.
436- [improvement] JAVA-989: Include keyspace name when invalid replication found when generating token map.
437- [improvement] JAVA-664: Reduce heap consumption for TokenMap.
438- [improvement] JAVA-1030: Log token to replica map computation times.
439- [bug] JAVA-1039: Minor bugs in Event Debouncer.
440- [improvement] JAVA-843: Disable frozen checks in mapper.
441- [improvement] JAVA-833: Improve message when a nested type can't be serialized.
442- [improvement] JAVA-1011: Expose PoolingOptions default values.
443- [improvement] JAVA-630: Don't process DOWN events for nodes that have active connections.
444- [improvement] JAVA-851: Improve UUIDs javadoc with regard to user-provided timestamps.
445- [improvement] JAVA-979: Update javadoc for RegularStatement toString() and getQueryString() to indicate that consistency level and other parameters are not maintained in the query string.
446- [improvement] JAVA-1038: Fetch node info by rpc_address if its broadcast_address is not in system.peers.
447- [improvement] JAVA-974: Validate accessor parameter types against bound statement.
448- [bug] JAVA-1068: Unwrap StatementWrappers when hashing the paging state.
449- [bug] JAVA-831: Mapper can't load an entity where the PK is a UDT.
450- [improvement] JAVA-1021: Improve error message when connect() is called with an invalid keyspace name.
451- [improvement] JAVA-879: Mapper.map() accepts mapper-generated and user queries.
452- [bug] JAVA-1100: Exception when connecting with shaded java driver in OSGI
453- [bug] JAVA-819: Expose more errors in RetryPolicy + provide idempotent-aware wrapper.
454- [improvement] JAVA-1040: SimpleStatement parameters support in QueryLogger.
455- [bug] JAVA-1064: getTable create statement doesn't properly handle quotes in primary key.
456- [improvement] JAVA-888: Add cluster-wide percentile tracker.
457- [improvement] JAVA-963: Automatically register PercentileTracker from components that use it.
458- [bug] JAVA-1089: Set LWT made from BuiltStatements to non-idempotent.
459- [improvement] JAVA-923: Position idempotent flag on object mapper queries.
460- [new feature] JAVA-1019: SchemaBuilder support for CREATE/ALTER/DROP KEYSPACE.
461- [bug] JAVA-1070: The Mapper should not prepare queries synchronously.
462- [new feature] JAVA-982: Introduce new method ConsistencyLevel.isSerial().
463- [bug] JAVA-764: Retry with the normal consistency level (not the serial one) when a write times out on the Paxos phase.
464- [bug] JAVA-727: Allow monotonic timestamp generators to drift in the future + use microsecond precision when possible.
465- [improvement] JAVA-444: Add Java process information to UUIDs.makeNode() hash.
466- [improvement] JAVA-977: Preserve original cause when BuiltStatement value can't be serialized.
467- [bug] JAVA-1094: Backport TypeCodec parse and format fixes from 3.0.
468- [improvement] JAVA-852: Ignore peers with null entries during discovery.
469- [bug] JAVA-1132: Executing bound statement with no variables results in exception with protocol v1.
470- [bug] JAVA-1005: DowngradingConsistencyRetryPolicy does not work with EACH_QUORUM when 1 DC is down.
471- [bug] JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
472
473Merged from 2.0 branch:
474
475- [bug] JAVA-994: Don't call on(Up|Down|Add|Remove) methods if Cluster is closed/closing.
476- [improvement] JAVA-805: Document that metrics are null until Cluster is initialized.
477- [bug] JAVA-1072: Ensure defunct connections are properly evicted from the pool.
478
479
480### 2.1.9
481
482- [bug] JAVA-942: Fix implementation of UserType.hashCode().
483- [bug] JAVA-854: avoid early return in Cluster.init when a node doesn't support the protocol version.
484- [bug] JAVA-978: Fix quoting issue that caused Mapper.getTableMetadata() to return null.
485
486Merged from 2.0 branch:
487
488- [bug] JAVA-950: Fix Cluster.connect with a case-sensitive keyspace.
489- [improvement] JAVA-920: Downgrade "error creating pool" message to WARN.
490- [bug] JAVA-954: Don't trigger reconnection before initialization complete.
491- [improvement] JAVA-914: Avoid rejected tasks at shutdown.
492- [improvement] JAVA-921: Add SimpleStatement.getValuesCount().
493- [bug] JAVA-901: Move call to connection.release() out of cancelHandler.
494- [bug] JAVA-960: Avoid race in control connection shutdown.
495- [bug] JAVA-656: Fix NPE in ControlConnection.updateLocationInfo.
496- [bug] JAVA-966: Count uninitialized connections in conviction policy.
497- [improvement] JAVA-917: Document SSL configuration.
498- [improvement] JAVA-652: Add DCAwareRoundRobinPolicy builder.
499- [improvement] JAVA-808: Add generic filtering policy that can be used to exclude specific DCs.
500
501
502### 2.1.8
503
504Merged from 2.0 branch:
505
506- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
507
508- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
509- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
510- [improvement] #340: Allow DNS name with multiple A-records as contact point.
511- [bug] JAVA-794: Allow tracing across multiple result pages.
512- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
513- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
514- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
515- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
516- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
517- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
518- [improvement] JAVA-225: Create values() function for Insert builder using List.
519- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
520 replication factors.
521- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
522 connections.
523- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
524- [improvement] JAVA-726: Optimize internal copies of Request objects.
525- [bug] JAVA-815: Preserve tracing across retries.
526- [improvement] JAVA-709: New RetryDecision.tryNextHost().
527- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
528- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
529- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
530- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
531- [improvement] JAVA-720: Surface the coordinator used on query failure.
532- [bug] JAVA-792: Handle contact points removed during init.
533- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
534- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
535- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
536- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
537- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
538- [improvement] JAVA-853: Customizable creation of netty timer.
539- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
540- [improvement] JAVA-657: Debounce control connection queries.
541- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
542- [new feature] JAVA-828: Make driver-side metadata optional.
543- [improvement] JAVA-544: Allow hosts to remain partially up.
544- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
545 creation.
546- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
547 hosts.
548- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
549- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
550
551
552### 2.1.7.1
553
554- [bug] JAVA-834: Special case check for 'null' string in index_options column.
555- [improvement] JAVA-835: Allow accessor methods with less parameters in case
556 named bind markers are repeated.
557
558
559### 2.1.7
560
561- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
562- [improvement] JAVA-715: Make NativeColumnType a top-level class.
563- [improvement] JAVA-782: Unify "Target" enum for schema elements.
564- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
565- [bug] JAVA-542: Handle void return types in accessors.
566- [improvement] JAVA-225: Create values() function for Insert builder using List.
567- [improvement] JAVA-713: HashMap throws an OOM Exception when logging level is set to TRACE.
568- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
569- [improvement] JAVA-732: Expose KEYS and FULL indexing options in IndexMetadata.
570- [improvement] JAVA-589: Allow @Enumerated in Accessor method parameters.
571- [improvement] JAVA-554: Allow access to table metadata from Mapper.
572- [improvement] JAVA-661: Provide a way to map computed fields.
573- [improvement] JAVA-824: Ignore missing columns in mapper.
574- [bug] JAVA-724: Preserve default timestamp for retries and speculative executions.
575- [improvement] JAVA-738: Use same pool implementation for protocol v2 and v3.
576- [improvement] JAVA-677: Support CONTAINS / CONTAINS KEY in QueryBuilder.
577- [improvement] JAVA-477/JAVA-540: Add USING options in mapper for delete and save
578 operations.
579- [improvement] JAVA-473: Add mapper option to configure whether to save null fields.
580
581Merged from 2.0 branch:
582
583- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
584- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
585- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
586- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
587- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
588- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
589- [improvement] JAVA-225: Create values() function for Insert builder using List.
590- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
591 replication factors.
592- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
593 connections.
594- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
595- [improvement] JAVA-726: Optimize internal copies of Request objects.
596- [bug] JAVA-815: Preserve tracing across retries.
597- [improvement] JAVA-709: New RetryDecision.tryNextHost().
598- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
599
600
601### 2.1.6
602
603Merged from 2.0 branch:
604
605- [new feature] JAVA-584: Add getObject to BoundStatement and Row.
606- [improvement] JAVA-419: Improve connection pool resizing algorithm.
607- [bug] JAVA-599: Fix race condition between pool expansion and shutdown.
608- [improvement] JAVA-622: Upgrade Netty to 4.0.27.
609- [improvement] JAVA-562: Coalesce frames before flushing them to the connection.
610- [improvement] JAVA-583: Rename threads to indicate that they are for the driver.
611- [new feature] JAVA-550: Expose paging state.
612- [new feature] JAVA-646: Slow Query Logger.
613- [improvement] JAVA-698: Exclude some errors from measurements in LatencyAwarePolicy.
614- [bug] JAVA-641: Fix issue when executing a PreparedStatement from another cluster.
615- [improvement] JAVA-534: Log keyspace xxx does not exist at WARN level.
616- [improvement] JAVA-619: Allow Cluster subclasses to delegate to another instance.
617- [new feature] JAVA-669: Expose an API to check for schema agreement after a
618 schema-altering statement.
619- [improvement] JAVA-692: Make connection and pool creation fully async.
620- [improvement] JAVA-505: Optimize connection use after reconnection.
621- [improvement] JAVA-617: Remove "suspected" mechanism.
622- [improvement] reverts JAVA-425: Don't mark connection defunct on client timeout.
623- [new feature] JAVA-561: Speculative query executions.
624- [bug] JAVA-666: Release connection before completing the ResultSetFuture.
625- [new feature BETA] JAVA-723: Percentile-based variant of query logger and speculative
626 executions.
627- [bug] JAVA-734: Fix buffer leaks when compression is enabled.
628- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
629- [improvement] JAVA-759: Expose "unsafe" paging state API.
630- [bug] JAVA-768: Prevent race during pool initialization.
631
632
633### 2.1.5
634
635- [bug] JAVA-575: Authorize Null parameter in Accessor method.
636- [improvement] JAVA-570: Support C* 2.1.3's nested collections.
637- [bug] JAVA-612: Fix checks on mapped collection types.
638- [bug] JAVA-672: Fix QueryBuilder.putAll() when the collection contains UDTs.
639
640Merged from 2.0 branch:
641
642- [new feature] JAVA-518: Add AddressTranslater for EC2 multi-region deployment.
643- [improvement] JAVA-533: Add connection heartbeat.
644- [improvement] JAVA-568: Reduce level of logs on missing rpc_address.
645- [improvement] JAVA-312, JAVA-681: Expose node token and range information.
646- [bug] JAVA-595: Fix cluster name mismatch check at startup.
647- [bug] JAVA-620: Fix guava dependency when using OSGI.
648- [bug] JAVA-678: Fix handling of DROP events when ks name is case-sensitive.
649- [improvement] JAVA-631: Use List<?> instead of List<Object> in QueryBuilder API.
650- [improvement] JAVA-654: Exclude Netty POM from META-INF in shaded JAR.
651- [bug] JAVA-655: Quote single quotes contained in table comments in asCQLQuery method.
652- [bug] JAVA-684: Empty TokenRange returned in a one token cluster.
653- [improvement] JAVA-687: Expose TokenRange#contains.
654- [bug] JAVA-614: Prevent race between cancellation and query completion.
655- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
656 streamId was already released and reused.
657- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
658- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
659- [bug] JAVA-651: Fix edge cases where a connection was released twice.
660- [bug] JAVA-653: Fix edge cases in query cancellation.
661
662
663### 2.1.4
664
665Merged from 2.0 branch:
666
667- [improvement] JAVA-538: Shade Netty dependency.
668- [improvement] JAVA-543: Target schema refreshes more precisely.
669- [bug] JAVA-546: Don't check rpc_address for control host.
670- [improvement] JAVA-409: Improve message of NoHostAvailableException.
671- [bug] JAVA-556: Rework connection reaper to avoid deadlock.
672- [bug] JAVA-557: Avoid deadlock when multiple connections to the same host get write
673 errors.
674- [improvement] JAVA-504: Make shuffle=true the default for TokenAwarePolicy.
675- [bug] JAVA-577: Fix bug when SUSPECT reconnection succeeds, but one of the pooled
676 connections fails while bringing the node back up.
677- [bug] JAVA-419: JAVA-587: Prevent faulty control connection from ignoring reconnecting hosts.
678- temporarily revert "Add idle timeout to the connection pool".
679- [bug] JAVA-593: Ensure updateCreatedPools does not add pools for suspected hosts.
680- [bug] JAVA-594: Ensure state change notifications for a given host are handled serially.
681- [bug] JAVA-597: Ensure control connection reconnects when control host is removed.
682
683
684### 2.1.3
685
686- [bug] JAVA-510: Ignore static fields in mapper.
687- [bug] JAVA-509: Fix UDT parsing at init when using the default protocol version.
688- [bug] JAVA-495: Fix toString, equals and hashCode on accessor proxies.
689- [bug] JAVA-528: Allow empty name on Column and Field annotations.
690
691Merged from 2.0 branch:
692
693- [bug] JAVA-497: Ensure control connection does not trigger concurrent reconnects.
694- [improvement] JAVA-472: Keep trying to reconnect on authentication errors.
695- [improvement] JAVA-463: Expose close method on load balancing policy.
696- [improvement] JAVA-459: Allow load balancing policy to trigger refresh for a single host.
697- [bug] JAVA-493: Expose an API to cancel reconnection attempts.
698- [bug] JAVA-503: Fix NPE when a connection fails during pool construction.
699- [improvement] JAVA-423: Log datacenter name in DCAware policy's init when it is explicitly provided.
700- [improvement] JAVA-504: Shuffle the replicas in TokenAwarePolicy.newQueryPlan.
701- [improvement] JAVA-507: Make schema agreement wait tuneable.
702- [improvement] JAVA-494: Document how to inject the driver metrics into another registry.
703- [improvement] JAVA-419: Add idle timeout to the connection pool.
704- [bug] JAVA-516: LatencyAwarePolicy does not shutdown executor on invocation of close.
705- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
706 an explicit but null or empty local datacenter.
707- [bug] JAVA-511: Fix check for local contact points in DCAware policy's init.
708- [improvement] JAVA-457: Make timeout on saturated pool customizable.
709- [improvement] JAVA-521: Downgrade Guava to 14.0.1.
710- [bug] JAVA-526: Fix token awareness for case-sensitive keyspaces and tables.
711- [bug] JAVA-515: Check maximum number of values passed to SimpleStatement.
712- [improvement] JAVA-532: Expose the driver version through the API.
713- [improvement] JAVA-522: Optimize session initialization when some hosts are not
714 responsive.
715
716
717### 2.1.2
718
719- [improvement] JAVA-361, JAVA-364, JAVA-467: Support for native protocol v3.
720- [bug] JAVA-454: Fix UDT fields of type inet in QueryBuilder.
721- [bug] JAVA-455: Exclude transient fields from Frozen checks.
722- [bug] JAVA-453: Fix handling of null collections in mapper.
723- [improvement] JAVA-452: Make implicit column names case-insensitive in mapper.
724- [bug] JAVA-433: Fix named bind markers in QueryBuilder.
725- [bug] JAVA-458: Fix handling of BigInteger in object mapper.
726- [bug] JAVA-465: Ignore synthetic fields in mapper.
727- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
728 an explicit but null or empty local datacenter.
729- [improvement] JAVA-469: Add backwards-compatible DataType.serialize methods.
730- [bug] JAVA-487: Handle null enum fields in object mapper.
731- [bug] JAVA-499: Handle null UDT fields in object mapper.
732
733Merged from 2.0 branch:
734
735- [bug] JAVA-449: Handle null pool in PooledConnection.release.
736- [improvement] JAVA-425: Defunct connection on request timeout.
737- [improvement] JAVA-426: Try next host when we get a SERVER_ERROR.
738- [bug] JAVA-449, JAVA-460, JAVA-471: Handle race between query timeout and completion.
739- [bug] JAVA-496: Fix DCAwareRoundRobinPolicy datacenter auto-discovery.
740
741
742### 2.1.1
743
744- [new] JAVA-441: Support for new "frozen" keyword.
745
746Merged from 2.0 branch:
747
748- [bug] JAVA-397: Check cluster name when connecting to a new node.
749- [bug] JAVA-326: Add missing CAS delete support in QueryBuilder.
750- [bug] JAVA-363: Add collection and data length checks during serialization.
751- [improvement] JAVA-329: Surface number of retries in metrics.
752- [bug] JAVA-428: Do not use a host when no rpc_address found for it.
753- [improvement] JAVA-358: Add ResultSet.wasApplied() for conditional queries.
754- [bug] JAVA-349: Fix negative HostConnectionPool open count.
755- [improvement] JAVA-436: Log more connection details at trace and debug levels.
756- [bug] JAVA-445: Fix cluster shutdown.
757
758
759### 2.1.0
760
761- [bug] JAVA-408: ClusteringColumn annotation not working with specified ordering.
762- [improvement] JAVA-410: Fail BoundStatement if null values are not set explicitly.
763- [bug] JAVA-416: Handle UDT and tuples in BuiltStatement.toString.
764
765Merged from 2.0 branch:
766
767- [bug] JAVA-407: Release connections on ResultSetFuture#cancel.
768- [bug] JAVA-393: Fix handling of SimpleStatement with values in query builder
769 batches.
770- [bug] JAVA-417: Ensure pool is properly closed in onDown.
771- [bug] JAVA-415: Fix tokenMap initialization at startup.
772- [bug] JAVA-418: Avoid deadlock on close.
773
774
775### 2.1.0-rc1
776
777Merged from 2.0 branch:
778
779- [bug] JAVA-394: Ensure defunct connections are completely closed.
780- [bug] JAVA-342, JAVA-390: Fix memory and resource leak on closed Sessions.
781
782
783### 2.1.0-beta1
784
785- [new] Support for User Defined Types and tuples
786- [new] Simple object mapper
787
788Merged from 2.0 branch: everything up to 2.0.3 (included), and the following.
789
790- [improvement] JAVA-204: Better handling of dead connections.
791- [bug] JAVA-373: Fix potential NPE in ControlConnection.
792- [bug] JAVA-291: Throws NPE when passed null for a contact point.
793- [bug] JAVA-315: Avoid LoadBalancingPolicy onDown+onUp at startup.
794- [bug] JAVA-343: Avoid classloader leak in Tomcat.
795- [bug] JAVA-387: Avoid deadlock in onAdd/onUp.
796- [bug] JAVA-377, JAVA-391: Make metadata parsing more lenient.
797
798
799### 2.0.12.2
800
801- [bug] JAVA-1179: Request objects should be copied when executed.
802- [improvement] JAVA-1182: Throw error when synchronous call made on I/O thread.
803- [bug] JAVA-1184: Unwrap StatementWrappers when extracting column definitions.
804
805
806### 2.0.12.1
807
808- [bug] JAVA-994: Don't call on(Up|Down|Add|Remove) methods if Cluster is closed/closing.
809- [improvement] JAVA-805: Document that metrics are null until Cluster is initialized.
810- [bug] JAVA-1072: Ensure defunct connections are properly evicted from the pool.
811
812
813### 2.0.12
814
815- [bug] JAVA-950: Fix Cluster.connect with a case-sensitive keyspace.
816- [improvement] JAVA-920: Downgrade "error creating pool" message to WARN.
817- [bug] JAVA-954: Don't trigger reconnection before initialization complete.
818- [improvement] JAVA-914: Avoid rejected tasks at shutdown.
819- [improvement] JAVA-921: Add SimpleStatement.getValuesCount().
820- [bug] JAVA-901: Move call to connection.release() out of cancelHandler.
821- [bug] JAVA-960: Avoid race in control connection shutdown.
822- [bug] JAVA-656: Fix NPE in ControlConnection.updateLocationInfo.
823- [bug] JAVA-966: Count uninitialized connections in conviction policy.
824- [improvement] JAVA-917: Document SSL configuration.
825- [improvement] JAVA-652: Add DCAwareRoundRobinPolicy builder.
826- [improvement] JAVA-808: Add generic filtering policy that can be used to exclude specific DCs.
827
828
829### 2.0.11
830
831- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
832- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
833- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
834- [improvement] #340: Allow DNS name with multiple A-records as contact point.
835- [bug] JAVA-794: Allow tracing across multiple result pages.
836- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
837- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
838- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
839- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
840- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
841- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
842- [improvement] JAVA-225: Create values() function for Insert builder using List.
843- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
844 replication factors.
845- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
846 connections.
847- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
848- [improvement] JAVA-726: Optimize internal copies of Request objects.
849- [bug] JAVA-815: Preserve tracing across retries.
850- [improvement] JAVA-709: New RetryDecision.tryNextHost().
851- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
852- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
853- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
854- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
855- [improvement] JAVA-720: Surface the coordinator used on query failure.
856- [bug] JAVA-792: Handle contact points removed during init.
857- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
858- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
859- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
860- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
861- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
862- [improvement] JAVA-853: Customizable creation of netty timer.
863- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
864- [improvement] JAVA-657: Debounce control connection queries.
865- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
866- [new feature] JAVA-828: Make driver-side metadata optional.
867- [improvement] JAVA-544: Allow hosts to remain partially up.
868- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
869 creation.
870- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
871 hosts.
872- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
873- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
874
875Merged from 2.0.10_fixes branch:
876
877- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
878- [improvement] JAVA-759: Expose "unsafe" paging state API.
879- [bug] JAVA-767: Fix getObject by name.
880- [bug] JAVA-768: Prevent race during pool initialization.
881
882
883### 2.0.10.1
884
885- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
886- [improvement] JAVA-759: Expose "unsafe" paging state API.
887- [bug] JAVA-767: Fix getObject by name.
888- [bug] JAVA-768: Prevent race during pool initialization.
889
890
891### 2.0.10
892
893- [new feature] JAVA-518: Add AddressTranslater for EC2 multi-region deployment.
894- [improvement] JAVA-533: Add connection heartbeat.
895- [improvement] JAVA-568: Reduce level of logs on missing rpc_address.
896- [improvement] JAVA-312, JAVA-681: Expose node token and range information.
897- [bug] JAVA-595: Fix cluster name mismatch check at startup.
898- [bug] JAVA-620: Fix guava dependency when using OSGI.
899- [bug] JAVA-678: Fix handling of DROP events when ks name is case-sensitive.
900- [improvement] JAVA-631: Use List<?> instead of List<Object> in QueryBuilder API.
901- [improvement] JAVA-654: Exclude Netty POM from META-INF in shaded JAR.
902- [bug] JAVA-655: Quote single quotes contained in table comments in asCQLQuery method.
903- [bug] JAVA-684: Empty TokenRange returned in a one token cluster.
904- [improvement] JAVA-687: Expose TokenRange#contains.
905- [new feature] JAVA-547: Expose values of BoundStatement.
906- [new feature] JAVA-584: Add getObject to BoundStatement and Row.
907- [improvement] JAVA-419: Improve connection pool resizing algorithm.
908- [bug] JAVA-599: Fix race condition between pool expansion and shutdown.
909- [improvement] JAVA-622: Upgrade Netty to 4.0.27.
910- [improvement] JAVA-562: Coalesce frames before flushing them to the connection.
911- [improvement] JAVA-583: Rename threads to indicate that they are for the driver.
912- [new feature] JAVA-550: Expose paging state.
913- [new feature] JAVA-646: Slow Query Logger.
914- [improvement] JAVA-698: Exclude some errors from measurements in LatencyAwarePolicy.
915- [bug] JAVA-641: Fix issue when executing a PreparedStatement from another cluster.
916- [improvement] JAVA-534: Log keyspace xxx does not exist at WARN level.
917- [improvement] JAVA-619: Allow Cluster subclasses to delegate to another instance.
918- [new feature] JAVA-669: Expose an API to check for schema agreement after a
919 schema-altering statement.
920- [improvement] JAVA-692: Make connection and pool creation fully async.
921- [improvement] JAVA-505: Optimize connection use after reconnection.
922- [improvement] JAVA-617: Remove "suspected" mechanism.
923- [improvement] reverts JAVA-425: Don't mark connection defunct on client timeout.
924- [new feature] JAVA-561: Speculative query executions.
925- [bug] JAVA-666: Release connection before completing the ResultSetFuture.
926- [new feature BETA] JAVA-723: Percentile-based variant of query logger and speculative
927 executions.
928- [bug] JAVA-734: Fix buffer leaks when compression is enabled.
929
930Merged from 2.0.9_fixes branch:
931
932- [bug] JAVA-614: Prevent race between cancellation and query completion.
933- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
934 streamId was already released and reused.
935- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
936- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
937- [bug] JAVA-651: Fix edge cases where a connection was released twice.
938- [bug] JAVA-653: Fix edge cases in query cancellation.
939
940
941### 2.0.9.2
942
943- [bug] JAVA-651: Fix edge cases where a connection was released twice.
944- [bug] JAVA-653: Fix edge cases in query cancellation.
945
946
947### 2.0.9.1
948
949- [bug] JAVA-614: Prevent race between cancellation and query completion.
950- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
951 streamId was already released and reused.
952- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
953- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
954
955
956### 2.0.9
957
958- [improvement] JAVA-538: Shade Netty dependency.
959- [improvement] JAVA-543: Target schema refreshes more precisely.
960- [bug] JAVA-546: Don't check rpc_address for control host.
961- [improvement] JAVA-409: Improve message of NoHostAvailableException.
962- [bug] JAVA-556: Rework connection reaper to avoid deadlock.
963- [bug] JAVA-557: Avoid deadlock when multiple connections to the same host get write
964 errors.
965- [improvement] JAVA-504: Make shuffle=true the default for TokenAwarePolicy.
966- [bug] JAVA-577: Fix bug when SUSPECT reconnection succeeds, but one of the pooled
967 connections fails while bringing the node back up.
968- [bug] JAVA-419: JAVA-587: Prevent faulty control connection from ignoring reconnecting hosts.
969- temporarily revert "Add idle timeout to the connection pool".
970- [bug] JAVA-593: Ensure updateCreatedPools does not add pools for suspected hosts.
971- [bug] JAVA-594: Ensure state change notifications for a given host are handled serially.
972- [bug] JAVA-597: Ensure control connection reconnects when control host is removed.
973
974
975### 2.0.8
976
977- [bug] JAVA-526: Fix token awareness for case-sensitive keyspaces and tables.
978- [bug] JAVA-515: Check maximum number of values passed to SimpleStatement.
979- [improvement] JAVA-532: Expose the driver version through the API.
980- [improvement] JAVA-522: Optimize session initialization when some hosts are not
981 responsive.
982
983
984### 2.0.7
985
986- [bug] JAVA-449: Handle null pool in PooledConnection.release.
987- [improvement] JAVA-425: Defunct connection on request timeout.
988- [improvement] JAVA-426: Try next host when we get a SERVER_ERROR.
989- [bug] JAVA-449, JAVA-460, JAVA-471: Handle race between query timeout and completion.
990- [bug] JAVA-496: Fix DCAwareRoundRobinPolicy datacenter auto-discovery.
991- [bug] JAVA-497: Ensure control connection does not trigger concurrent reconnects.
992- [improvement] JAVA-472: Keep trying to reconnect on authentication errors.
993- [improvement] JAVA-463: Expose close method on load balancing policy.
994- [improvement] JAVA-459: Allow load balancing policy to trigger refresh for a single host.
995- [bug] JAVA-493: Expose an API to cancel reconnection attempts.
996- [bug] JAVA-503: Fix NPE when a connection fails during pool construction.
997- [improvement] JAVA-423: Log datacenter name in DCAware policy's init when it is explicitly provided.
998- [improvement] JAVA-504: Shuffle the replicas in TokenAwarePolicy.newQueryPlan.
999- [improvement] JAVA-507: Make schema agreement wait tuneable.
1000- [improvement] JAVA-494: Document how to inject the driver metrics into another registry.
1001- [improvement] JAVA-419: Add idle timeout to the connection pool.
1002- [bug] JAVA-516: LatencyAwarePolicy does not shutdown executor on invocation of close.
1003- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
1004 an explicit but null or empty local datacenter.
1005- [bug] JAVA-511: Fix check for local contact points in DCAware policy's init.
1006- [improvement] JAVA-457: Make timeout on saturated pool customizable.
1007- [improvement] JAVA-521: Downgrade Guava to 14.0.1.
1008
1009
1010### 2.0.6
1011
1012- [bug] JAVA-397: Check cluster name when connecting to a new node.
1013- [bug] JAVA-326: Add missing CAS delete support in QueryBuilder.
1014- [bug] JAVA-363: Add collection and data length checks during serialization.
1015- [improvement] JAVA-329: Surface number of retries in metrics.
1016- [bug] JAVA-428: Do not use a host when no rpc_address found for it.
1017- [improvement] JAVA-358: Add ResultSet.wasApplied() for conditional queries.
1018- [bug] JAVA-349: Fix negative HostConnectionPool open count.
1019- [improvement] JAVA-436: Log more connection details at trace and debug levels.
1020- [bug] JAVA-445: Fix cluster shutdown.
1021- [improvement] JAVA-439: Expose child policy in chainable load balancing policies.
1022
1023
1024### 2.0.5
1025
1026- [bug] JAVA-407: Release connections on ResultSetFuture#cancel.
1027- [bug] JAVA-393: Fix handling of SimpleStatement with values in query builder
1028 batches.
1029- [bug] JAVA-417: Ensure pool is properly closed in onDown.
1030- [bug] JAVA-415: Fix tokenMap initialization at startup.
1031- [bug] JAVA-418: Avoid deadlock on close.
1032
1033
1034### 2.0.4
1035
1036- [improvement] JAVA-204: Better handling of dead connections.
1037- [bug] JAVA-373: Fix potential NPE in ControlConnection.
1038- [bug] JAVA-291: Throws NPE when passed null for a contact point.
1039- [bug] JAVA-315: Avoid LoadBalancingPolicy onDown+onUp at startup.
1040- [bug] JAVA-343: Avoid classloader leak in Tomcat.
1041- [bug] JAVA-387: Avoid deadlock in onAdd/onUp.
1042- [bug] JAVA-377, JAVA-391: Make metadata parsing more lenient.
1043- [bug] JAVA-394: Ensure defunct connections are completely closed.
1044- [bug] JAVA-342, JAVA-390: Fix memory and resource leak on closed Sessions.
1045
1046
1047### 2.0.3
1048
1049- [new] The new AbsractSession makes mocking of Session easier.
1050- [new] JAVA-309: Allow to trigger a refresh of connected hosts.
1051- [new] JAVA-265: New Session#getState method allows to grab information on
1052 which nodes a session is connected to.
1053- [new] JAVA-327: Add QueryBuilder syntax for tuples in where clauses (syntax
1054 introduced in Cassandra 2.0.6).
1055- [improvement] JAVA-359: Properly validate arguments of PoolingOptions methods.
1056- [bug] JAVA-368: Fix bogus rejection of BigInteger in 'execute with values'.
1057- [bug] JAVA-367: Signal connection failure sooner to avoid missing them.
1058- [bug] JAVA-337: Throw UnsupportedOperationException for protocol batch
1059 setSerialCL.
1060
1061Merged from 1.0 branch:
1062
1063- [bug] JAVA-325: Fix periodic reconnection to down hosts.
1064
1065
1066### 2.0.2
1067
1068- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from
1069 InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and
1070 for AuthProvider#newAuthenticator.
1071- [api] JAVA-296: The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
1072 datacenter is automatically picked based on the first connected node. Furthermore,
1073 the TokenAwarePolicy is also used by default.
1074- [new] JAVA-145: New optional AddressTranslater.
1075- [bug] JAVA-321: Don't remove quotes on keyspace in the query builder.
1076- [bug] JAVA-320: Fix potential NPE while cluster undergo schema changes.
1077- [bug] JAVA-319: Fix thread-safety of page fetching.
1078- [bug] JAVA-318: Fix potential NPE using fetchMoreResults.
1079
1080Merged from 1.0 branch:
1081
1082- [new] JAVA-179: Expose the name of the partitioner in use in the cluster metadata.
1083- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list.
1084- [improvement] JAVA-289: Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy.
1085- [bug] JAVA-313: Revert back to longs for dates in the query builder.
1086- [bug] JAVA-314: Don't reconnect to nodes ignored by the load balancing policy.
1087
1088
1089### 2.0.1
1090
1091- [improvement] JAVA-278: Handle the static columns introduced in Cassandra 2.0.6.
1092- [improvement] JAVA-208: Add Cluster#newSession method to create Session without connecting
1093 right away.
1094- [bug] JAVA-279: Add missing iso8601 patterns for parsing dates.
1095- [bug] Properly parse BytesType as the blob type.
1096- [bug] JAVA-280: Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes.
1097
1098Merged from 1.0 branch:
1099
1100- [bug] JAVA-275: LatencyAwarePolicy.Builder#withScale doesn't set the scale.
1101- [new] JAVA-114: Add methods to check if a Cluster/Session instance has been closed already.
1102
1103
1104### 2.0.0
1105
1106- [api] JAVA-269: Case sensitive identifier by default in Metadata.
1107- [bug] JAVA-274: Fix potential NPE in Cluster#connect.
1108
1109Merged from 1.0 branch:
1110
1111- [bug] JAVA-263: Always return the PreparedStatement object that is cache internally.
1112- [bug] JAVA-261: Fix race when multiple connect are done in parallel.
1113- [bug] JAVA-270: Don't connect at all to nodes that are ignored by the load balancing
1114 policy.
1115
1116
1117### 2.0.0-rc3
1118
1119- [improvement] The protocol version 1 is now supported (features only supported by the
1120 version 2 of the protocol throw UnsupportedFeatureException).
1121- [improvement] JAVA-195: Make most main objects interface to facilitate testing/mocking.
1122- [improvement] Adds new getStatements and clear methods to BatchStatement.
1123- [api] JAVA-247: Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
1124 and Session also now implement Closeable.
1125- [bug] JAVA-232: Fix potential thread leaks when shutting down Metrics.
1126- [bug] JAVA-231: Fix potential NPE in HostConnectionPool.
1127- [bug] JAVA-244: Avoid NPE when node is in an unconfigured DC.
1128- [bug] JAVA-258: Don't block for scheduled reconnections on Cluster#close.
1129
1130Merged from 1.0 branch:
1131
1132- [new] JAVA-224: Added Session#prepareAsync calls.
1133- [new] JAVA-249: Added Cluster#getLoggedKeyspace.
1134- [improvement] Avoid preparing a statement multiple time per host with multiple sessions.
1135- [bug] JAVA-255: Make sure connections are returned to the right pools.
1136- [bug] JAVA-264: Use date string in query build to work-around CASSANDRA-6718.
1137
1138
1139### 2.0.0-rc2
1140
1141- [new] JAVA-207: Add LOCAL_ONE consistency level support (requires using C* 2.0.2+).
1142- [bug] JAVA-219: Fix parsing of counter types.
1143- [bug] JAVA-218: Fix missing whitespace for IN clause in the query builder.
1144- [bug] JAVA-221: Fix replicas computation for token aware balancing.
1145
1146Merged from 1.0 branch:
1147
1148- [bug] JAVA-213: Fix regression from JAVA-201.
1149- [improvement] New getter to obtain a snapshot of the scores maintained by
1150 LatencyAwarePolicy.
1151
1152
1153### 2.0.0-rc1
1154
1155- [new] JAVA-199: Mark compression dependencies optional in maven.
1156- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns.
1157
1158Merged from 1.0 branch:
1159
1160- [new] JAVA-142: OSGi bundle.
1161- [improvement] JAVA-205: Make collections returned by Row immutable.
1162- [improvement] JAVA-203: Limit internal thread pool size.
1163- [bug] JAVA-201: Don't retain unused PreparedStatement in memory.
1164- [bug] Add missing clustering order info in TableMetadata
1165- [bug] JAVA-196: Allow bind markers for collections in the query builder.
1166
1167
1168### 2.0.0-beta2
1169
1170- [api] BoundStatement#setX(String, X) methods now set all values (if there is
1171 more than one) having the provided name, not just the first occurence.
1172- [api] The Authenticator interface now has a onAuthenticationSuccess method that
1173 allows to handle the potential last token sent by the server.
1174- [new] The query builder don't serialize large values to strings anymore by
1175 default by making use the new ability to send values alongside the query string.
1176- [new] JAVA-140: The query builder has been updated for new CQL features.
1177- [bug] Fix exception when a conditional write timeout C* side.
1178- [bug] JAVA-182: Ensure connection is created when Cluster metadata are asked for.
1179- [bug] JAVA-187: Fix potential NPE during authentication.
1180
1181
1182### 2.0.0-beta1
1183
1184- [api] The 2.0 version is an API-breaking upgrade of the driver. While most
1185 of the breaking changes are minor, there are too numerous to be listed here
1186 and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe
1187 those changes in details.
1188- [new] LZ4 compression is supported for the protocol.
1189- [new] JAVA-39: The driver does not depend on cassandra-all anymore.
1190- [new] New BatchStatement class allows to execute batch other statements.
1191- [new] Large ResultSet are now paged (incrementally fetched) by default.
1192- [new] SimpleStatement support values for bind-variables, to allow
1193 prepare+execute behavior with one roundtrip.
1194- [new] Query parameters defaults (Consistency level, page size, ...) can be
1195 configured globally.
1196- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are
1197 supported.
1198- [new] JAVA-116: Cluster#shutdown now waits for ongoing queries to complete by default.
1199- [new] Generic authentication through SASL is now exposed.
1200- [bug] JAVA-88: TokenAwarePolicy now takes all replica into account, instead of only the
1201 first one.
1202
1203
1204### 1.0.5
1205
1206- [new] JAVA-142: OSGi bundle.
1207- [new] JAVA-207: Add support for ConsistencyLevel.LOCAL_ONE; note that this
1208 require Cassandra 1.2.12+.
1209- [improvement] JAVA-205: Make collections returned by Row immutable.
1210- [improvement] JAVA-203: Limit internal thread pool size.
1211- [improvement] New getter to obtain a snapshot of the scores maintained by
1212 LatencyAwarePolicy.
1213- [improvement] JAVA-222: Avoid synchronization when getting codec for collection
1214 types.
1215- [bug] JAVA-201, JAVA-213: Don't retain unused PreparedStatement in memory.
1216- [bug] Add missing clustering order info in TableMetadata
1217- [bug] JAVA-196: Allow bind markers for collections in the query builder.
1218
1219
1220### 1.0.4
1221
1222- [api] JAVA-163: The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
1223 are now deprecated. They are replaced by the new withPoolingOptions and
1224 withSocketOptions methods.
1225- [new] JAVA-129: A new LatencyAwarePolicy wrapping policy has been added, allowing to
1226 add latency awareness to a wrapped load balancing policy.
1227- [new] JAVA-161: Cluster.Builder#deferInitialization: Allow defering cluster initialization.
1228- [new] JAVA-117: Add truncate statement in query builder.
1229- [new] JAVA-106: Support empty IN in the query builder.
1230- [bug] JAVA-166: Fix spurious "No current pool set; this should not happen" error
1231 message.
1232- [bug] JAVA-184: Fix potential overflow in RoundRobinPolicy and correctly errors if
1233 a balancing policy throws.
1234- [bug] Don't release Stream ID for timeouted queries (unless we do get back
1235 the response)
1236- [bug] Correctly escape identifiers and use fully qualified table names when
1237 exporting schema as string.
1238
1239
1240### 1.0.3
1241
1242- [api] The query builder now correctly throw an exception when given a value
1243 of a type it doesn't know about.
1244- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
1245 wait for the answer of one node. See the javadoc for more details.
1246- [new] New Session#prepare method that takes a Statement.
1247- [bug] JAVA-143: Always take per-query CL, tracing, etc. into account for QueryBuilder
1248 statements.
1249- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
1250
1251
1252### 1.0.2
1253
1254- [api] Host#getMonitor and all Host.HealthMonitor methods have been
1255 deprecated. The new Host#isUp method is now prefered to the method
1256 in the monitor and you should now register Host.StateListener against
1257 the Cluster object directly (registering against a host HealthMonitor
1258 was much more limited anyway).
1259- [new] JAVA-92: New serialize/deserialize methods in DataType to serialize/deserialize
1260 values to/from bytes.
1261- [new] JAVA-128: New getIndexOf() method in ColumnDefinitions to find the index of
1262 a given column name.
1263- [bug] JAVA-131: Fix a bug when thread could get blocked while setting the current
1264 keyspace.
1265- [bug] JAVA-136: Quote inet addresses in the query builder since CQL3 requires it.
1266
1267
1268### 1.0.1
1269
1270- [api] JAVA-100: Function call handling in the query builder has been modified in a
1271 backward incompatible way. Function calls are not parsed from string values
1272 anymore as this wasn't safe. Instead the new 'fcall' method should be used.
1273- [api] Some typos in method names in PoolingOptions have been fixed in a
1274 backward incompatible way before the API get widespread.
1275- [bug] JAVA-123: Don't destroy composite partition key with BoundStatement and
1276 TokenAwarePolicy.
1277- [new] null values support in the query builder.
1278- [new] JAVA-5: SSL support (requires C* >= 1.2.1).
1279- [new] JAVA-113: Allow generating unlogged batch in the query builder.
1280- [improvement] Better error message when no host are available.
1281- [improvement] Improves performance of the stress example application been.
1282
1283
1284### 1.0.0
1285
1286- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the
1287 Cluster builder has a new withCredentials() method to provide a username
1288 and password for use with Cassandra's PasswordAuthenticator. Custom
1289 authenticator will be re-introduced in a future version but are not
1290 supported at the moment.
1291- [api] The isMetricsEnabled() method in Configuration has been replaced by
1292 getMetricsOptions(). An option to disabled JMX reporting (on by default)
1293 has been added.
1294- [bug] JAVA-91: Don't make default load balancing policy a static singleton since it
1295 is stateful.
1296
1297
1298### 1.0.0-RC1
1299
1300- [new] JAVA-79: Null values are now supported in BoundStatement (but you will need at
1301 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
1302 slightly changed so that not binding a variable is not an error anymore,
1303 the variable is simply considered null by default. The isReady() method has
1304 been removed.
1305- [improvement] JAVA-75: The Cluster/Session shutdown methods now properly block until
1306 the shutdown is complete. A version with at timeout has been added.
1307- [bug] JAVA-44: Fix use of CQL3 functions in the query builder.
1308- [bug] JAVA-77: Fix case where multiple schema changes too quickly wouldn't work
1309 (only triggered when 0.0.0.0 was used for the rpc_address on the Cassandra
1310 nodes).
1311- [bug] JAVA-72: Fix IllegalStateException thrown due to a reconnection made on an I/O
1312 thread.
1313- [bug] JAVA-82: Correctly reports errors during authentication phase.
1314
1315
1316### 1.0.0-beta2
1317
1318- [new] JAVA-51, JAVA-60, JAVA-58: Support blob constants, BigInteger, BigDecimal and counter batches in
1319 the query builder.
1320- [new] JAVA-61: Basic support for custom CQL3 types.
1321- [new] JAVA-65: Add "execution infos" for a result set (this also move the query
1322 trace in the new ExecutionInfos object, so users of beta1 will have to
1323 update).
1324- [bug] JAVA-62: Fix failover bug in DCAwareRoundRobinPolicy.
1325- [bug] JAVA-66: Fix use of bind markers for routing keys in the query builder.
1326
1327
1328### 1.0.0-beta1
1329
1330- initial release