Elffuss BraidHub

kikocis/java-driver public

Update changelog format.

This commit introduces the following new format :
- [type] JAVA-XXX: description.
Changeset81ec312eada85d309695dead1a3eac814818b91842f1cb159ceacebee8cf02d6
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-11-13 11:03 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-11-13 11:03 +01:00
Parents1c1573fc9125

Browse the files at this changeset

1 file changed

modified changelog/README.md +653 −697
@@ -2,12 +2,12 @@
22
33 ### 3.0.0-beta1 (in progress)
44
5-- [improvement] Make TableOrView.Order visible (JAVA-958)
6-- [improvement] Update metrics to the latest version (JAVA-968)
7-- [improvement] Improve error handling for when a non-type 1 UUID is given to bind() on a timeuuid column (JAVA-965)
8-- [improvement] Pass the authenticator name from the server to the auth provider (JAVA-885)
9-- [improvement] Raise an exception when an older version of guava (<16.01) is found (JAVA-961)
10-- [bug] TypeCodec.parse() implementations should be case insensitive when checking for keyword NULL (JAVA-972)
5+- [improvement] JAVA-958: Make TableOrView.Order visible.
6+- [improvement] JAVA-968: Update metrics to the latest version.
7+- [improvement] JAVA-965: Improve error handling for when a non-type 1 UUID is given to bind() on a timeuuid column.
8+- [improvement] JAVA-885: Pass the authenticator name from the server to the auth provider.
9+- [improvement] JAVA-961: Raise an exception when an older version of guava (<16.01) is found.
10+- [bug] JAVA-972: TypeCodec.parse() implementations should be case insensitive when checking for keyword NULL.
1111
1212 Merged from 2.1 branch:
1313
@@ -27,194 +27,191 @@
2727
2828 ### 3.0.0-alpha4
2929
30-- [improvement] Change default consistency level to LOCAL_QUORUM (JAVA-926)
31-- [bug] Fix implementation of UserType.hashCode() (JAVA-942)
32-- [improvement] Don't delay UP/ADDED notifications if protocol version = V4 (JAVA-877)
33-- [improvement] Parse 'extensions' column in table metadata (JAVA-938)
34-- [bug] Fix Configuration builder to allow disabled metrics (JAVA-900)
35-- [new feature] Prepare API for async query trace (JAVA-902)
36-- [new feature] Add BoundStatement#unset (JAVA-930)
37-- [bug] Make table metadata options class visible (JAVA-946)
38-- [bug] Add crcCheckChance to TableOptionsMetadata#equals/hashCode (JAVA-939)
39-- [bug] Make TypeCodec return mutable collections (JAVA-922)
40-- [improvement] Limit visibility of codec internals (JAVA-932)
41-- [improvement] Warn if a custom codec collides with an existing one (JAVA-934)
42-- [improvement] Allow typed getters/setters to target any CQL type (JAVA-940)
43-- [bug] Fix Cluster.connect with a case-sensitive keyspace (JAVA-950)
44-- [bug] Fix MaterializedViewMetadata when base table name is case sensitive (JAVA-953)
30+- [improvement] JAVA-926: Change default consistency level to LOCAL_QUORUM.
31+- [bug] JAVA-942: Fix implementation of UserType.hashCode().
32+- [improvement] JAVA-877: Don't delay UP/ADDED notifications if protocol version = V4.
33+- [improvement] JAVA-938: Parse 'extensions' column in table metadata.
34+- [bug] JAVA-900: Fix Configuration builder to allow disabled metrics.
35+- [new feature] JAVA-902: Prepare API for async query trace.
36+- [new feature] JAVA-930: Add BoundStatement#unset.
37+- [bug] JAVA-946: Make table metadata options class visible.
38+- [bug] JAVA-939: Add crcCheckChance to TableOptionsMetadata#equals/hashCode.
39+- [bug] JAVA-922: Make TypeCodec return mutable collections.
40+- [improvement] JAVA-932: Limit visibility of codec internals.
41+- [improvement] JAVA-934: Warn if a custom codec collides with an existing one.
42+- [improvement] JAVA-940: Allow typed getters/setters to target any CQL type.
43+- [bug] JAVA-950: Fix Cluster.connect with a case-sensitive keyspace.
44+- [bug] JAVA-953: Fix MaterializedViewMetadata when base table name is case sensitive.
4545
4646
4747 ### 3.0.0-alpha3
4848
49-- [new feature] Support new system tables in C* 3.0 (JAVA-571)
50-- [improvement] Move crc_check_chance out of compressions options (JAVA-919)
49+- [new feature] JAVA-571: Support new system tables in C* 3.0.
50+- [improvement] JAVA-919: Move crc_check_chance out of compressions options.
5151
5252 Merged from 2.0 branch:
5353
54-- [improvement] Log streamid at the trace level on sending request and receiving response (JAVA-718)
55-- [bug] Fix SpeculativeExecutionPolicy.init() and close() are never called (JAVA-796)
56-- [improvement] Suppress unnecessary warning at shutdown (JAVA-710)
57-- [improvement] Allow DNS name with multiple A-records as contact point (#340)
58-- [bug] Allow tracing across multiple result pages (JAVA-794)
59-- [bug] DowngradingConsistencyRetryPolicy ignores write timeouts (JAVA-737)
60-- [bug] Forbid bind marker in QueryBuilder add/append/prepend (JAVA-736)
61-- [bug] Prevent QueryBuilder.quote() from applying duplicate double quotes (JAVA-712)
62-- [bug] Prevent QueryBuilder from trying to serialize raw string (JAVA-688)
63-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
64-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
65-- [improvement] Create values() function for Insert builder using List (JAVA-225)
66-- [improvement] Warn when ReplicationStrategy encounters invalid
67- replication factors (JAVA-702)
68-- [improvement] Add PoolingOptions method to set both core and max
69- connections (JAVA-662).
70-- [improvement] Do not include epoll JAR in binary distribution (JAVA-766)
71-- [improvement] Optimize internal copies of Request objects (JAVA-726)
72-- [bug] Preserve tracing across retries (JAVA-815)
73-- [improvement] New RetryDecision.tryNextHost() (JAVA-709)
74-- [bug] Handle function calls and raw strings as non-idempotent in QueryBuilder (JAVA-733)
75-- [improvement] Provide API to retrieve values of a Parameterized SimpleStatement (JAVA-765)
76-- [improvement] implement UPDATE ... IF EXISTS in QueryBuilder (JAVA-827)
77-- [improvement] Randomize contact points list to prevent hotspots (JAVA-618)
78-- [improvement] Surface the coordinator used on query failure (JAVA-720)
79-- [bug] Handle contact points removed during init (JAVA-792)
80-- [improvement] Allow PlainTextAuthProvider to change its credentials at runtime (JAVA-719)
81-- [new feature] Make it possible to register for SchemaChange Events (JAVA-151)
82-- [improvement] Downgrade "Asked to rebuild table" log from ERROR to INFO level (JAVA-861)
83-- [improvement] Provide an option to prepare statements only on one node (JAVA-797)
84-- [improvement] Provide an option to not re-prepare all statements in onUp (JAVA-658)
85-- [improvement] Customizable creation of netty timer (JAVA-853)
86-- [bug] Avoid quadratic ring processing with invalid replication factors (JAVA-859)
87-- [improvement] Debounce control connection queries (JAVA-657)
88-- [bug] LoadBalancingPolicy.distance() called before init() (JAVA-784)
89-- [new feature] Make driver-side metadata optional (JAVA-828)
90-- [improvement] Allow hosts to remain partially up (JAVA-544)
91-- [improvement] Remove internal blocking calls and expose async session
92- creation (JAVA-821, JAVA-822)
93-- [improvement] Use parallel calls when re-preparing statement on other
94- hosts (JAVA-725)
95-- [bug] Don't use connection timeout for unrelated internal queries (JAVA-629)
96-- [bug] Fix NPE in speculative executions when metrics disabled
97- (JAVA-892)
54+- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
55+- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
56+- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
57+- [improvement] #340: Allow DNS name with multiple A-records as contact point.
58+- [bug] JAVA-794: Allow tracing across multiple result pages.
59+- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
60+- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
61+- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
62+- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
63+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
64+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
65+- [improvement] JAVA-225: Create values() function for Insert builder using List.
66+- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
67+ replication factors.
68+- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
69+ connections.
70+- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
71+- [improvement] JAVA-726: Optimize internal copies of Request objects.
72+- [bug] JAVA-815: Preserve tracing across retries.
73+- [improvement] JAVA-709: New RetryDecision.tryNextHost().
74+- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
75+- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
76+- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
77+- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
78+- [improvement] JAVA-720: Surface the coordinator used on query failure.
79+- [bug] JAVA-792: Handle contact points removed during init.
80+- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
81+- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
82+- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
83+- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
84+- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
85+- [improvement] JAVA-853: Customizable creation of netty timer.
86+- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
87+- [improvement] JAVA-657: Debounce control connection queries.
88+- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
89+- [new feature] JAVA-828: Make driver-side metadata optional.
90+- [improvement] JAVA-544: Allow hosts to remain partially up.
91+- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
92+ creation.
93+- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
94+ hosts.
95+- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
96+- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
9897
9998
10099 ### 3.0.0-alpha2
101100
102-- [new feature] Move secondary index metadata out of column definitions
103- (JAVA-875, JAVA-882).
101+- [new feature] JAVA-875, JAVA-882: Move secondary index metadata out of column definitions.
104102
105103 Merged from 2.2 branch:
106104
107-- [bug] Propagate CodecRegistry to nested UDTs (JAVA-847)
108-- [improvement] Ability to store a default, shareable CodecRegistry
109- instance (JAVA-848)
110-- [bug] Treat empty ByteBuffers as empty values in TupleCodec and
111- UDTCodec (JAVA-880)
105+- [bug] JAVA-847: Propagate CodecRegistry to nested UDTs.
106+- [improvement] JAVA-848: Ability to store a default, shareable CodecRegistry
107+ instance.
108+- [bug] JAVA-880: Treat empty ByteBuffers as empty values in TupleCodec and
109+ UDTCodec.
112110
113111
114112 ### 3.0.0-alpha1
115113
116-- [new feature] Support new system tables in C* 3.0.0-alpha1 (JAVA-876)
114+- [new feature] JAVA-876: Support new system tables in C* 3.0.0-alpha1.
117115
118116 Merged from 2.2 branch:
119117
120-- [improvement] Rename DateWithoutTime to LocalDate (JAVA-810)
121-- [bug] DateCodec does not format values correctly (JAVA-816)
122-- [bug] TimeCodec does not format values correctly (JAVA-817)
123-- [bug] TypeCodec.getDataTypeFor() does not handle LocalDate instances (JAVA-818)
124-- [improvement] Make ResultSet#fetchMoreResult return a
125- ListenableFuture<ResultSet> (JAVA-836)
126-- [improvement] Disable frozen checks in mapper (JAVA-843)
127-- [improvement] Allow user to register custom type codecs (JAVA-721)
128-- [improvement] Support custom type codecs in mapper (JAVA-722)
118+- [improvement] JAVA-810: Rename DateWithoutTime to LocalDate.
119+- [bug] JAVA-816: DateCodec does not format values correctly.
120+- [bug] JAVA-817: TimeCodec does not format values correctly.
121+- [bug] JAVA-818: TypeCodec.getDataTypeFor() does not handle LocalDate instances.
122+- [improvement] JAVA-836: Make ResultSet#fetchMoreResult return a
123+ ListenableFuture<ResultSet>.
124+- [improvement] JAVA-843: Disable frozen checks in mapper.
125+- [improvement] JAVA-721: Allow user to register custom type codecs.
126+- [improvement] JAVA-722: Support custom type codecs in mapper.
129127
130128
131129 ### 2.2.0-rc3
132130
133-- [bug] Propagate CodecRegistry to nested UDTs (JAVA-847)
134-- [improvement] Ability to store a default, shareable CodecRegistry
135- instance (JAVA-848)
136-- [bug] Treat empty ByteBuffers as empty values in TupleCodec and
137- UDTCodec (JAVA-880)
131+- [bug] JAVA-847: Propagate CodecRegistry to nested UDTs.
132+- [improvement] JAVA-848: Ability to store a default, shareable CodecRegistry
133+ instance.
134+- [bug] JAVA-880: Treat empty ByteBuffers as empty values in TupleCodec and
135+ UDTCodec.
138136
139137
140138 ### 2.2.0-rc2
141139
142-- [improvement] Rename DateWithoutTime to LocalDate (JAVA-810)
143-- [bug] DateCodec does not format values correctly (JAVA-816)
144-- [bug] TimeCodec does not format values correctly (JAVA-817)
145-- [bug] TypeCodec.getDataTypeFor() does not handle LocalDate instances (JAVA-818)
146-- [improvement] Make ResultSet#fetchMoreResult return a
147- ListenableFuture<ResultSet> (JAVA-836)
148-- [improvement] Disable frozen checks in mapper (JAVA-843)
149-- [improvement] Allow user to register custom type codecs (JAVA-721)
150-- [improvement] Support custom type codecs in mapper (JAVA-722)
140+- [improvement] JAVA-810: Rename DateWithoutTime to LocalDate.
141+- [bug] JAVA-816: DateCodec does not format values correctly.
142+- [bug] JAVA-817: TimeCodec does not format values correctly.
143+- [bug] JAVA-818: TypeCodec.getDataTypeFor() does not handle LocalDate instances.
144+- [improvement] JAVA-836: Make ResultSet#fetchMoreResult return a
145+ ListenableFuture<ResultSet>.
146+- [improvement] JAVA-843: Disable frozen checks in mapper.
147+- [improvement] JAVA-721: Allow user to register custom type codecs.
148+- [improvement] JAVA-722: Support custom type codecs in mapper.
151149
152150 Merged from 2.1 branch:
153151
154-- [bug] Special case check for 'null' string in index_options column (JAVA-834)
155-- [improvement] Allow accessor methods with less parameters in case
156- named bind markers are repeated (JAVA-835)
157-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
158-- [improvement] Make NativeColumnType a top-level class (JAVA-715)
159-- [improvement] Expose ProtocolVersion#toInt (JAVA-700)
160-- [bug] Handle void return types in accessors (JAVA-542)
161-- [improvement] Create values() function for Insert builder using List (JAVA-225)
162-- [improvement] HashMap throws an OOM Exception when logging level is set to TRACE (JAVA-713)
163-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
164-- [improvement] Expose KEYS and FULL indexing options in IndexMetadata (JAVA-732)
165-- [improvement] Allow @Enumerated in Accessor method parameters (JAVA-589)
166-- [improvement] Allow access to table metadata from Mapper (JAVA-554)
167-- [improvement] Provide a way to map computed fields (JAVA-661)
168-- [improvement] Ignore missing columns in mapper (JAVA-824)
169-- [bug] Preserve default timestamp for retries and speculative executions (JAVA-724)
170-- [improvement] Use same pool implementation for protocol v2 and v3
171- (JAVA-738).
172-- [improvement] Support CONTAINS / CONTAINS KEY in QueryBuilder (JAVA-677)
173-- [improvement] Add USING options in mapper for delete and save
174- operations (JAVA-477/JAVA-540)
175-- [improvement] Add mapper option to configure whether to save null fields (JAVA-473)
152+- [bug] JAVA-834: Special case check for 'null' string in index_options column.
153+- [improvement] JAVA-835: Allow accessor methods with less parameters in case
154+ named bind markers are repeated.
155+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
156+- [improvement] JAVA-715: Make NativeColumnType a top-level class.
157+- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
158+- [bug] JAVA-542: Handle void return types in accessors.
159+- [improvement] JAVA-225: Create values() function for Insert builder using List.
160+- [improvement] JAVA-713: HashMap throws an OOM Exception when logging level is set to TRACE.
161+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
162+- [improvement] JAVA-732: Expose KEYS and FULL indexing options in IndexMetadata.
163+- [improvement] JAVA-589: Allow @Enumerated in Accessor method parameters.
164+- [improvement] JAVA-554: Allow access to table metadata from Mapper.
165+- [improvement] JAVA-661: Provide a way to map computed fields.
166+- [improvement] JAVA-824: Ignore missing columns in mapper.
167+- [bug] JAVA-724: Preserve default timestamp for retries and speculative executions.
168+- [improvement] JAVA-738: Use same pool implementation for protocol v2 and v3.
169+- [improvement] JAVA-677: Support CONTAINS / CONTAINS KEY in QueryBuilder.
170+- [improvement] JAVA-477/JAVA-540: Add USING options in mapper for delete and save
171+ operations.
172+- [improvement] JAVA-473: Add mapper option to configure whether to save null fields.
176173
177174 Merged from 2.0 branch:
178175
179-- [bug] DowngradingConsistencyRetryPolicy ignores write timeouts (JAVA-737)
180-- [bug] Forbid bind marker in QueryBuilder add/append/prepend (JAVA-736)
181-- [bug] Prevent QueryBuilder.quote() from applying duplicate double quotes (JAVA-712)
182-- [bug] Prevent QueryBuilder from trying to serialize raw string (JAVA-688)
183-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
184-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
185-- [improvement] Create values() function for Insert builder using List (JAVA-225)
186-- [improvement] Warn when ReplicationStrategy encounters invalid
187- replication factors (JAVA-702)
188-- [improvement] Add PoolingOptions method to set both core and max
189- connections (JAVA-662).
190-- [improvement] Do not include epoll JAR in binary distribution (JAVA-766)
191-- [improvement] Optimize internal copies of Request objects (JAVA-726)
192-- [bug] Preserve tracing across retries (JAVA-815)
193-- [improvement] New RetryDecision.tryNextHost() (JAVA-709)
194-- [bug] Handle function calls and raw strings as non-idempotent in QueryBuilder (JAVA-733)
176+- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
177+- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
178+- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
179+- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
180+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
181+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
182+- [improvement] JAVA-225: Create values() function for Insert builder using List.
183+- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
184+ replication factors.
185+- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
186+ connections.
187+- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
188+- [improvement] JAVA-726: Optimize internal copies of Request objects.
189+- [bug] JAVA-815: Preserve tracing across retries.
190+- [improvement] JAVA-709: New RetryDecision.tryNextHost().
191+- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
195192
196193
197194 ### 2.2.0-rc1
198195
199-- [new feature] Protocol V4 enum support (JAVA-783)
200-- [new feature] Use PK columns in protocol v4 PREPARED response (JAVA-776)
201-- [new feature] Distinguish NULL and UNSET values (JAVA-777)
202-- [new feature] Add k/v payload for 3rd party usage (JAVA-779)
203-- [new feature] Expose server-side warnings on ExecutionInfo (JAVA-780)
204-- [new feature] Expose new read/write failure exceptions (JAVA-749)
205-- [new feature] Expose function and aggregate metadata (JAVA-747)
206-- [new feature] Add new client exception for CQL function failure (JAVA-778)
207-- [improvement] Expose ProtocolVersion#toInt (JAVA-700)
208-- [new feature] Support new C* 2.2 CQL date and time types (JAVA-404)
196+- [new feature] JAVA-783: Protocol V4 enum support.
197+- [new feature] JAVA-776: Use PK columns in protocol v4 PREPARED response.
198+- [new feature] JAVA-777: Distinguish NULL and UNSET values.
199+- [new feature] JAVA-779: Add k/v payload for 3rd party usage.
200+- [new feature] JAVA-780: Expose server-side warnings on ExecutionInfo.
201+- [new feature] JAVA-749: Expose new read/write failure exceptions.
202+- [new feature] JAVA-747: Expose function and aggregate metadata.
203+- [new feature] JAVA-778: Add new client exception for CQL function failure.
204+- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
205+- [new feature] JAVA-404: Support new C* 2.2 CQL date and time types.
209206
210207 Merged from 2.1 branch:
211208
212-- [improvement] Unify "Target" enum for schema elements (JAVA-782)
209+- [improvement] JAVA-782: Unify "Target" enum for schema elements.
213210
214211
215212 ### 2.1.9
216213
217-- [bug] Fix implementation of UserType.hashCode() (JAVA-942)
214+- [bug] JAVA-942: Fix implementation of UserType.hashCode().
218215 - [bug] JAVA-854: avoid early return in Cluster.init when a node doesn't support the protocol version.
219216 - [bug] JAVA-978: Fix quoting issue that caused Mapper.getTableMetadata() to return null.
220217
@@ -238,297 +235,281 @@
238235
239236 Merged from 2.0 branch:
240237
241-- [improvement] Log streamid at the trace level on sending request and receiving response (JAVA-718)
242-
243-- [bug] Fix SpeculativeExecutionPolicy.init() and close() are never called (JAVA-796)
244-- [improvement] Suppress unnecessary warning at shutdown (JAVA-710)
245-- [improvement] Allow DNS name with multiple A-records as contact point (#340)
246-- [bug] Allow tracing across multiple result pages (JAVA-794)
247-- [bug] DowngradingConsistencyRetryPolicy ignores write timeouts (JAVA-737)
248-- [bug] Forbid bind marker in QueryBuilder add/append/prepend (JAVA-736)
249-- [bug] Prevent QueryBuilder.quote() from applying duplicate double quotes (JAVA-712)
250-- [bug] Prevent QueryBuilder from trying to serialize raw string (JAVA-688)
251-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
252-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
253-- [improvement] Create values() function for Insert builder using List (JAVA-225)
254-- [improvement] Warn when ReplicationStrategy encounters invalid
255- replication factors (JAVA-702)
256-- [improvement] Add PoolingOptions method to set both core and max
257- connections (JAVA-662).
258-- [improvement] Do not include epoll JAR in binary distribution (JAVA-766)
259-- [improvement] Optimize internal copies of Request objects (JAVA-726)
260-- [bug] Preserve tracing across retries (JAVA-815)
261-- [improvement] New RetryDecision.tryNextHost() (JAVA-709)
262-- [bug] Handle function calls and raw strings as non-idempotent in QueryBuilder (JAVA-733)
263-- [improvement] Provide API to retrieve values of a Parameterized SimpleStatement (JAVA-765)
264-- [improvement] implement UPDATE ... IF EXISTS in QueryBuilder (JAVA-827)
265-- [improvement] Randomize contact points list to prevent hotspots (JAVA-618)
266-- [improvement] Surface the coordinator used on query failure (JAVA-720)
267-- [bug] Handle contact points removed during init (JAVA-792)
268-- [improvement] Allow PlainTextAuthProvider to change its credentials at runtime (JAVA-719)
269-- [new feature] Make it possible to register for SchemaChange Events (JAVA-151)
270-- [improvement] Downgrade "Asked to rebuild table" log from ERROR to INFO level (JAVA-861)
271-- [improvement] Provide an option to prepare statements only on one node (JAVA-797)
272-- [improvement] Provide an option to not re-prepare all statements in onUp (JAVA-658)
273-- [improvement] Customizable creation of netty timer (JAVA-853)
274-- [bug] Avoid quadratic ring processing with invalid replication factors (JAVA-859)
275-- [improvement] Debounce control connection queries (JAVA-657)
276-- [bug] LoadBalancingPolicy.distance() called before init() (JAVA-784)
277-- [new feature] Make driver-side metadata optional (JAVA-828)
278-- [improvement] Allow hosts to remain partially up (JAVA-544)
279-- [improvement] Remove internal blocking calls and expose async session
280- creation (JAVA-821, JAVA-822)
281-- [improvement] Use parallel calls when re-preparing statement on other
282- hosts (JAVA-725)
283-- [bug] Don't use connection timeout for unrelated internal queries (JAVA-629)
284-- [bug] Fix NPE in speculative executions when metrics disabled
285- (JAVA-892)
238+- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
239+
240+- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
241+- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
242+- [improvement] #340: Allow DNS name with multiple A-records as contact point.
243+- [bug] JAVA-794: Allow tracing across multiple result pages.
244+- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
245+- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
246+- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
247+- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
248+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
249+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
250+- [improvement] JAVA-225: Create values() function for Insert builder using List.
251+- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
252+ replication factors.
253+- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
254+ connections.
255+- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
256+- [improvement] JAVA-726: Optimize internal copies of Request objects.
257+- [bug] JAVA-815: Preserve tracing across retries.
258+- [improvement] JAVA-709: New RetryDecision.tryNextHost().
259+- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
260+- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
261+- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
262+- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
263+- [improvement] JAVA-720: Surface the coordinator used on query failure.
264+- [bug] JAVA-792: Handle contact points removed during init.
265+- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
266+- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
267+- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
268+- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
269+- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
270+- [improvement] JAVA-853: Customizable creation of netty timer.
271+- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
272+- [improvement] JAVA-657: Debounce control connection queries.
273+- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
274+- [new feature] JAVA-828: Make driver-side metadata optional.
275+- [improvement] JAVA-544: Allow hosts to remain partially up.
276+- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
277+ creation.
278+- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
279+ hosts.
280+- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
281+- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
286282
287283
288284 ### 2.1.7.1
289285
290-- [bug] Special case check for 'null' string in index_options column (JAVA-834)
291-- [improvement] Allow accessor methods with less parameters in case
292- named bind markers are repeated (JAVA-835)
286+- [bug] JAVA-834: Special case check for 'null' string in index_options column.
287+- [improvement] JAVA-835: Allow accessor methods with less parameters in case
288+ named bind markers are repeated.
293289
294290
295291 ### 2.1.7
296292
297-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
298-- [improvement] Make NativeColumnType a top-level class (JAVA-715)
299-- [improvement] Unify "Target" enum for schema elements (JAVA-782)
300-- [improvement] Expose ProtocolVersion#toInt (JAVA-700)
301-- [bug] Handle void return types in accessors (JAVA-542)
302-- [improvement] Create values() function for Insert builder using List (JAVA-225)
303-- [improvement] HashMap throws an OOM Exception when logging level is set to TRACE (JAVA-713)
304-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
305-- [improvement] Expose KEYS and FULL indexing options in IndexMetadata (JAVA-732)
306-- [improvement] Allow @Enumerated in Accessor method parameters (JAVA-589)
307-- [improvement] Allow access to table metadata from Mapper (JAVA-554)
308-- [improvement] Provide a way to map computed fields (JAVA-661)
309-- [improvement] Ignore missing columns in mapper (JAVA-824)
310-- [bug] Preserve default timestamp for retries and speculative executions (JAVA-724)
311-- [improvement] Use same pool implementation for protocol v2 and v3
312- (JAVA-738).
313-- [improvement] Support CONTAINS / CONTAINS KEY in QueryBuilder (JAVA-677)
314-- [improvement] Add USING options in mapper for delete and save
315- operations (JAVA-477/JAVA-540)
316-- [improvement] Add mapper option to configure whether to save null fields (JAVA-473)
293+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
294+- [improvement] JAVA-715: Make NativeColumnType a top-level class.
295+- [improvement] JAVA-782: Unify "Target" enum for schema elements.
296+- [improvement] JAVA-700: Expose ProtocolVersion#toInt.
297+- [bug] JAVA-542: Handle void return types in accessors.
298+- [improvement] JAVA-225: Create values() function for Insert builder using List.
299+- [improvement] JAVA-713: HashMap throws an OOM Exception when logging level is set to TRACE.
300+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
301+- [improvement] JAVA-732: Expose KEYS and FULL indexing options in IndexMetadata.
302+- [improvement] JAVA-589: Allow @Enumerated in Accessor method parameters.
303+- [improvement] JAVA-554: Allow access to table metadata from Mapper.
304+- [improvement] JAVA-661: Provide a way to map computed fields.
305+- [improvement] JAVA-824: Ignore missing columns in mapper.
306+- [bug] JAVA-724: Preserve default timestamp for retries and speculative executions.
307+- [improvement] JAVA-738: Use same pool implementation for protocol v2 and v3.
308+- [improvement] JAVA-677: Support CONTAINS / CONTAINS KEY in QueryBuilder.
309+- [improvement] JAVA-477/JAVA-540: Add USING options in mapper for delete and save
310+ operations.
311+- [improvement] JAVA-473: Add mapper option to configure whether to save null fields.
317312
318313 Merged from 2.0 branch:
319314
320-- [bug] DowngradingConsistencyRetryPolicy ignores write timeouts (JAVA-737)
321-- [bug] Forbid bind marker in QueryBuilder add/append/prepend (JAVA-736)
322-- [bug] Prevent QueryBuilder.quote() from applying duplicate double quotes (JAVA-712)
323-- [bug] Prevent QueryBuilder from trying to serialize raw string (JAVA-688)
324-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
325-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
326-- [improvement] Create values() function for Insert builder using List (JAVA-225)
327-- [improvement] Warn when ReplicationStrategy encounters invalid
328- replication factors (JAVA-702)
329-- [improvement] Add PoolingOptions method to set both core and max
330- connections (JAVA-662).
331-- [improvement] Do not include epoll JAR in binary distribution (JAVA-766)
332-- [improvement] Optimize internal copies of Request objects (JAVA-726)
333-- [bug] Preserve tracing across retries (JAVA-815)
334-- [improvement] New RetryDecision.tryNextHost() (JAVA-709)
335-- [bug] Handle function calls and raw strings as non-idempotent in QueryBuilder (JAVA-733)
315+- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
316+- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
317+- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
318+- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
319+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
320+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
321+- [improvement] JAVA-225: Create values() function for Insert builder using List.
322+- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
323+ replication factors.
324+- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
325+ connections.
326+- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
327+- [improvement] JAVA-726: Optimize internal copies of Request objects.
328+- [bug] JAVA-815: Preserve tracing across retries.
329+- [improvement] JAVA-709: New RetryDecision.tryNextHost().
330+- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
336331
337332
338333 ### 2.1.6
339334
340335 Merged from 2.0 branch:
341336
342-- [new feature] Add getObject to BoundStatement and Row (JAVA-584)
343-- [improvement] Improve connection pool resizing algorithm (JAVA-419)
344-- [bug] Fix race condition between pool expansion and shutdown (JAVA-599)
345-- [improvement] Upgrade Netty to 4.0.27 (JAVA-622)
346-- [improvement] Coalesce frames before flushing them to the connection
347- (JAVA-562)
348-- [improvement] Rename threads to indicate that they are for the driver
349- (JAVA-583)
350-- [new feature] Expose paging state (JAVA-550)
351-- [new feature] Slow Query Logger (JAVA-646)
352-- [improvement] Exclude some errors from measurements in LatencyAwarePolicy
353- (JAVA-698)
354-- [bug] Fix issue when executing a PreparedStatement from another cluster
355- (JAVA-641)
356-- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534)
357-- [improvement] Allow Cluster subclasses to delegate to another instance
358- (JAVA-619)
359-- [new feature] Expose an API to check for schema agreement after a
360- schema-altering statement (JAVA-669)
361-- [improvement] Make connection and pool creation fully async (JAVA-692)
362-- [improvement] Optimize connection use after reconnection (JAVA-505)
363-- [improvement] Remove "suspected" mechanism (JAVA-617)
364-- [improvement] Don't mark connection defunct on client timeout (reverts
365- JAVA-425)
366-- [new feature] Speculative query executions (JAVA-561)
367-- [bug] Release connection before completing the ResultSetFuture (JAVA-666)
368-- [new feature BETA] Percentile-based variant of query logger and speculative
369- executions (JAVA-723)
370-- [bug] Fix buffer leaks when compression is enabled (JAVA-734).
371-- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
372-- [improvement] Expose "unsafe" paging state API (JAVA-759)
373-- [bug] Prevent race during pool initialization (JAVA-768)
337+- [new feature] JAVA-584: Add getObject to BoundStatement and Row.
338+- [improvement] JAVA-419: Improve connection pool resizing algorithm.
339+- [bug] JAVA-599: Fix race condition between pool expansion and shutdown.
340+- [improvement] JAVA-622: Upgrade Netty to 4.0.27.
341+- [improvement] JAVA-562: Coalesce frames before flushing them to the connection.
342+- [improvement] JAVA-583: Rename threads to indicate that they are for the driver.
343+- [new feature] JAVA-550: Expose paging state.
344+- [new feature] JAVA-646: Slow Query Logger.
345+- [improvement] JAVA-698: Exclude some errors from measurements in LatencyAwarePolicy.
346+- [bug] JAVA-641: Fix issue when executing a PreparedStatement from another cluster.
347+- [improvement] JAVA-534: Log keyspace xxx does not exist at WARN level.
348+- [improvement] JAVA-619: Allow Cluster subclasses to delegate to another instance.
349+- [new feature] JAVA-669: Expose an API to check for schema agreement after a
350+ schema-altering statement.
351+- [improvement] JAVA-692: Make connection and pool creation fully async.
352+- [improvement] JAVA-505: Optimize connection use after reconnection.
353+- [improvement] JAVA-617: Remove "suspected" mechanism.
354+- [improvement] reverts JAVA-425: Don't mark connection defunct on client timeout.
355+- [new feature] JAVA-561: Speculative query executions.
356+- [bug] JAVA-666: Release connection before completing the ResultSetFuture.
357+- [new feature BETA] JAVA-723: Percentile-based variant of query logger and speculative
358+ executions.
359+- [bug] JAVA-734: Fix buffer leaks when compression is enabled.
360+- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
361+- [improvement] JAVA-759: Expose "unsafe" paging state API.
362+- [bug] JAVA-768: Prevent race during pool initialization.
374363
375364
376365 ### 2.1.5
377366
378-- [bug] Authorize Null parameter in Accessor method (JAVA-575)
379-- [improvement] Support C* 2.1.3's nested collections (JAVA-570)
380-- [bug] Fix checks on mapped collection types (JAVA-612)
381-- [bug] Fix QueryBuilder.putAll() when the collection contains UDTs (JAVA-672)
367+- [bug] JAVA-575: Authorize Null parameter in Accessor method.
368+- [improvement] JAVA-570: Support C* 2.1.3's nested collections.
369+- [bug] JAVA-612: Fix checks on mapped collection types.
370+- [bug] JAVA-672: Fix QueryBuilder.putAll() when the collection contains UDTs.
382371
383372 Merged from 2.0 branch:
384373
385-- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518)
386-- [improvement] Add connection heartbeat (JAVA-533)
387-- [improvement] Reduce level of logs on missing rpc_address (JAVA-568)
388-- [improvement] Expose node token and range information (JAVA-312, JAVA-681)
389-- [bug] Fix cluster name mismatch check at startup (JAVA-595)
390-- [bug] Fix guava dependency when using OSGI (JAVA-620)
391-- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678)
392-- [improvement] Use List<?> instead of List<Object> in QueryBuilder API
393- (JAVA-631)
394-- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654)
395-- [bug] Quote single quotes contained in table comments in asCQLQuery method
396- (JAVA-655)
397-- [bug] Empty TokenRange returned in a one token cluster (JAVA-684)
398-- [improvement] Expose TokenRange#contains (JAVA-687)
399-- [bug] Prevent race between cancellation and query completion (JAVA-614)
400-- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
401- streamId was already released and reused (JAVA-632).
402-- [bug] Fix issue when newly opened pool fails before we could mark the node UP
403- (JAVA-642)
404-- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
405-- [bug] Fix edge cases where a connection was released twice (JAVA-651).
406-- [bug] Fix edge cases in query cancellation (JAVA-653).
374+- [new feature] JAVA-518: Add AddressTranslater for EC2 multi-region deployment.
375+- [improvement] JAVA-533: Add connection heartbeat.
376+- [improvement] JAVA-568: Reduce level of logs on missing rpc_address.
377+- [improvement] JAVA-312, JAVA-681: Expose node token and range information.
378+- [bug] JAVA-595: Fix cluster name mismatch check at startup.
379+- [bug] JAVA-620: Fix guava dependency when using OSGI.
380+- [bug] JAVA-678: Fix handling of DROP events when ks name is case-sensitive.
381+- [improvement] JAVA-631: Use List<?> instead of List<Object> in QueryBuilder API.
382+- [improvement] JAVA-654: Exclude Netty POM from META-INF in shaded JAR.
383+- [bug] JAVA-655: Quote single quotes contained in table comments in asCQLQuery method.
384+- [bug] JAVA-684: Empty TokenRange returned in a one token cluster.
385+- [improvement] JAVA-687: Expose TokenRange#contains.
386+- [bug] JAVA-614: Prevent race between cancellation and query completion.
387+- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
388+ streamId was already released and reused.
389+- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
390+- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
391+- [bug] JAVA-651: Fix edge cases where a connection was released twice.
392+- [bug] JAVA-653: Fix edge cases in query cancellation.
407393
408394
409395 ### 2.1.4
410396
411397 Merged from 2.0 branch:
412398
413-- [improvement] Shade Netty dependency (JAVA-538)
414-- [improvement] Target schema refreshes more precisely (JAVA-543)
415-- [bug] Don't check rpc_address for control host (JAVA-546)
416-- [improvement] Improve message of NoHostAvailableException (JAVA-409)
417-- [bug] Rework connection reaper to avoid deadlock (JAVA-556)
418-- [bug] Avoid deadlock when multiple connections to the same host get write
419- errors (JAVA-557)
420-- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504)
421-- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled
422- connections fails while bringing the node back up (JAVA-577)
423-- [bug] Prevent faulty control connection from ignoring reconnecting hosts
424- (JAVA-587)
425-- temporarily revert "Add idle timeout to the connection pool" (JAVA-419)
426-- [bug] Ensure updateCreatedPools does not add pools for suspected hosts
427- (JAVA-593)
428-- [bug] Ensure state change notifications for a given host are handled serially
429- (JAVA-594)
430-- [bug] Ensure control connection reconnects when control host is removed
431- (JAVA-597)
399+- [improvement] JAVA-538: Shade Netty dependency.
400+- [improvement] JAVA-543: Target schema refreshes more precisely.
401+- [bug] JAVA-546: Don't check rpc_address for control host.
402+- [improvement] JAVA-409: Improve message of NoHostAvailableException.
403+- [bug] JAVA-556: Rework connection reaper to avoid deadlock.
404+- [bug] JAVA-557: Avoid deadlock when multiple connections to the same host get write
405+ errors.
406+- [improvement] JAVA-504: Make shuffle=true the default for TokenAwarePolicy.
407+- [bug] JAVA-577: Fix bug when SUSPECT reconnection succeeds, but one of the pooled
408+ connections fails while bringing the node back up.
409+- [bug] JAVA-419: JAVA-587: Prevent faulty control connection from ignoring reconnecting hosts.
410+- temporarily revert "Add idle timeout to the connection pool".
411+- [bug] JAVA-593: Ensure updateCreatedPools does not add pools for suspected hosts.
412+- [bug] JAVA-594: Ensure state change notifications for a given host are handled serially.
413+- [bug] JAVA-597: Ensure control connection reconnects when control host is removed.
432414
433415
434416 ### 2.1.3
435417
436-- [bug] Ignore static fields in mapper (JAVA-510)
437-- [bug] Fix UDT parsing at init when using the default protocol version (JAVA-509)
438-- [bug] Fix toString, equals and hashCode on accessor proxies (JAVA-495)
439-- [bug] Allow empty name on Column and Field annotations (JAVA-528)
418+- [bug] JAVA-510: Ignore static fields in mapper.
419+- [bug] JAVA-509: Fix UDT parsing at init when using the default protocol version.
420+- [bug] JAVA-495: Fix toString, equals and hashCode on accessor proxies.
421+- [bug] JAVA-528: Allow empty name on Column and Field annotations.
440422
441423 Merged from 2.0 branch:
442424
443-- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497)
444-- [improvement] Keep trying to reconnect on authentication errors (JAVA-472)
445-- [improvement] Expose close method on load balancing policy (JAVA-463)
446-- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459)
447-- [bug] Expose an API to cancel reconnection attempts (JAVA-493)
448-- [bug] Fix NPE when a connection fails during pool construction (JAVA-503)
449-- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided
450- (JAVA-423)
451-- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504)
452-- [improvement] Make schema agreement wait tuneable (JAVA-507)
453-- [improvement] Document how to inject the driver metrics into another registry (JAVA-494)
454-- [improvement] Add idle timeout to the connection pool (JAVA-419)
455-- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516)
456-- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
457- an explicit but null or empty local datacenter (JAVA-451).
458-- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511)
459-- [improvement] Make timeout on saturated pool customizable (JAVA-457)
460-- [improvement] Downgrade Guava to 14.0.1 (JAVA-521)
461-- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526)
462-- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515)
463-- [improvement] Expose the driver version through the API (JAVA-532)
464-- [improvement] Optimize session initialization when some hosts are not
465- responsive (JAVA-522)
425+- [bug] JAVA-497: Ensure control connection does not trigger concurrent reconnects.
426+- [improvement] JAVA-472: Keep trying to reconnect on authentication errors.
427+- [improvement] JAVA-463: Expose close method on load balancing policy.
428+- [improvement] JAVA-459: Allow load balancing policy to trigger refresh for a single host.
429+- [bug] JAVA-493: Expose an API to cancel reconnection attempts.
430+- [bug] JAVA-503: Fix NPE when a connection fails during pool construction.
431+- [improvement] JAVA-423: Log datacenter name in DCAware policy's init when it is explicitly provided.
432+- [improvement] JAVA-504: Shuffle the replicas in TokenAwarePolicy.newQueryPlan.
433+- [improvement] JAVA-507: Make schema agreement wait tuneable.
434+- [improvement] JAVA-494: Document how to inject the driver metrics into another registry.
435+- [improvement] JAVA-419: Add idle timeout to the connection pool.
436+- [bug] JAVA-516: LatencyAwarePolicy does not shutdown executor on invocation of close.
437+- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
438+ an explicit but null or empty local datacenter.
439+- [bug] JAVA-511: Fix check for local contact points in DCAware policy's init.
440+- [improvement] JAVA-457: Make timeout on saturated pool customizable.
441+- [improvement] JAVA-521: Downgrade Guava to 14.0.1.
442+- [bug] JAVA-526: Fix token awareness for case-sensitive keyspaces and tables.
443+- [bug] JAVA-515: Check maximum number of values passed to SimpleStatement.
444+- [improvement] JAVA-532: Expose the driver version through the API.
445+- [improvement] JAVA-522: Optimize session initialization when some hosts are not
446+ responsive.
466447
467448
468449 ### 2.1.2
469450
470-- [improvement] Support for native protocol v3 (JAVA-361, JAVA-364, JAVA-467)
471-- [bug] Fix UDT fields of type inet in QueryBuilder (JAVA-454)
472-- [bug] Exclude transient fields from Frozen checks (JAVA-455)
473-- [bug] Fix handling of null collections in mapper (JAVA-453)
474-- [improvement] Make implicit column names case-insensitive in mapper (JAVA-452)
475-- [bug] Fix named bind markers in QueryBuilder (JAVA-433)
476-- [bug] Fix handling of BigInteger in object mapper (JAVA-458)
477-- [bug] Ignore synthetic fields in mapper (JAVA-465)
478-- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
479- an explicit but null or empty local datacenter (JAVA-451)
480-- [improvement] Add backwards-compatible DataType.serialize methods (JAVA-469)
481-- [bug] Handle null enum fields in object mapper (JAVA-487)
482-- [bug] Handle null UDT fields in object mapper (JAVA-499)
451+- [improvement] JAVA-361, JAVA-364, JAVA-467: Support for native protocol v3.
452+- [bug] JAVA-454: Fix UDT fields of type inet in QueryBuilder.
453+- [bug] JAVA-455: Exclude transient fields from Frozen checks.
454+- [bug] JAVA-453: Fix handling of null collections in mapper.
455+- [improvement] JAVA-452: Make implicit column names case-insensitive in mapper.
456+- [bug] JAVA-433: Fix named bind markers in QueryBuilder.
457+- [bug] JAVA-458: Fix handling of BigInteger in object mapper.
458+- [bug] JAVA-465: Ignore synthetic fields in mapper.
459+- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
460+ an explicit but null or empty local datacenter.
461+- [improvement] JAVA-469: Add backwards-compatible DataType.serialize methods.
462+- [bug] JAVA-487: Handle null enum fields in object mapper.
463+- [bug] JAVA-499: Handle null UDT fields in object mapper.
483464
484465 Merged from 2.0 branch:
485466
486-- [bug] Handle null pool in PooledConnection.release (JAVA-449)
487-- [improvement] Defunct connection on request timeout (JAVA-425)
488-- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426)
489-- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471)
490-- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496)
467+- [bug] JAVA-449: Handle null pool in PooledConnection.release.
468+- [improvement] JAVA-425: Defunct connection on request timeout.
469+- [improvement] JAVA-426: Try next host when we get a SERVER_ERROR.
470+- [bug] JAVA-449, JAVA-460, JAVA-471: Handle race between query timeout and completion.
471+- [bug] JAVA-496: Fix DCAwareRoundRobinPolicy datacenter auto-discovery.
491472
492473
493474 ### 2.1.1
494475
495-- [new] Support for new "frozen" keyword (JAVA-441)
476+- [new] JAVA-441: Support for new "frozen" keyword.
496477
497478 Merged from 2.0 branch:
498479
499-- [bug] Check cluster name when connecting to a new node (JAVA-397)
500-- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
501-- [bug] Add collection and data length checks during serialization (JAVA-363)
502-- [improvement] Surface number of retries in metrics (JAVA-329)
503-- [bug] Do not use a host when no rpc_address found for it (JAVA-428)
504-- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358)
505-- [bug] Fix negative HostConnectionPool open count (JAVA-349)
506-- [improvement] Log more connection details at trace and debug levels (JAVA-436)
507-- [bug] Fix cluster shutdown (JAVA-445)
480+- [bug] JAVA-397: Check cluster name when connecting to a new node.
481+- [bug] JAVA-326: Add missing CAS delete support in QueryBuilder.
482+- [bug] JAVA-363: Add collection and data length checks during serialization.
483+- [improvement] JAVA-329: Surface number of retries in metrics.
484+- [bug] JAVA-428: Do not use a host when no rpc_address found for it.
485+- [improvement] JAVA-358: Add ResultSet.wasApplied() for conditional queries.
486+- [bug] JAVA-349: Fix negative HostConnectionPool open count.
487+- [improvement] JAVA-436: Log more connection details at trace and debug levels.
488+- [bug] JAVA-445: Fix cluster shutdown.
508489
509490
510491 ### 2.1.0
511492
512-- [bug] ClusteringColumn annotation not working with specified ordering (JAVA-408)
513-- [improvement] Fail BoundStatement if null values are not set explicitly (JAVA-410)
514-- [bug] Handle UDT and tuples in BuiltStatement.toString (JAVA-416)
493+- [bug] JAVA-408: ClusteringColumn annotation not working with specified ordering.
494+- [improvement] JAVA-410: Fail BoundStatement if null values are not set explicitly.
495+- [bug] JAVA-416: Handle UDT and tuples in BuiltStatement.toString.
515496
516497 Merged from 2.0 branch:
517498
518-- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
519-- [bug] Fix handling of SimpleStatement with values in query builder
520- batches (JAVA-393)
521-- [bug] Ensure pool is properly closed in onDown (JAVA-417)
522-- [bug] Fix tokenMap initialization at startup (JAVA-415)
523-- [bug] Avoid deadlock on close (JAVA-418)
499+- [bug] JAVA-407: Release connections on ResultSetFuture#cancel.
500+- [bug] JAVA-393: Fix handling of SimpleStatement with values in query builder
501+ batches.
502+- [bug] JAVA-417: Ensure pool is properly closed in onDown.
503+- [bug] JAVA-415: Fix tokenMap initialization at startup.
504+- [bug] JAVA-418: Avoid deadlock on close.
524505
525506
526507 ### 2.1.0-rc1
527508
528509 Merged from 2.0 branch:
529510
530-- [bug] Ensure defunct connections are completely closed (JAVA-394)
531-- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
511+- [bug] JAVA-394: Ensure defunct connections are completely closed.
512+- [bug] JAVA-342, JAVA-390: Fix memory and resource leak on closed Sessions.
532513
533514
534515 ### 2.1.0-beta1
@@ -538,13 +519,13 @@
538519
539520 Merged from 2.0 branch: everything up to 2.0.3 (included), and the following.
540521
541-- [improvement] Better handling of dead connections (JAVA-204)
542-- [bug] Fix potential NPE in ControlConnection (JAVA-373)
543-- [bug] Throws NPE when passed null for a contact point (JAVA-291)
544-- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
545-- [bug] Avoid classloader leak in Tomcat (JAVA-343)
546-- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
547-- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
522+- [improvement] JAVA-204: Better handling of dead connections.
523+- [bug] JAVA-373: Fix potential NPE in ControlConnection.
524+- [bug] JAVA-291: Throws NPE when passed null for a contact point.
525+- [bug] JAVA-315: Avoid LoadBalancingPolicy onDown+onUp at startup.
526+- [bug] JAVA-343: Avoid classloader leak in Tomcat.
527+- [bug] JAVA-387: Avoid deadlock in onAdd/onUp.
528+- [bug] JAVA-377, JAVA-391: Make metadata parsing more lenient.
548529
549530
550531 ### 2.0.12
@@ -565,258 +546,239 @@
565546
566547 ### 2.0.11
567548
568-- [improvement] Log streamid at the trace level on sending request and receiving response (JAVA-718)
569-- [bug] Fix SpeculativeExecutionPolicy.init() and close() are never called (JAVA-796)
570-- [improvement] Suppress unnecessary warning at shutdown (JAVA-710)
571-- [improvement] Allow DNS name with multiple A-records as contact point (#340)
572-- [bug] Allow tracing across multiple result pages (JAVA-794)
573-- [bug] DowngradingConsistencyRetryPolicy ignores write timeouts (JAVA-737)
574-- [bug] Forbid bind marker in QueryBuilder add/append/prepend (JAVA-736)
575-- [bug] Prevent QueryBuilder.quote() from applying duplicate double quotes (JAVA-712)
576-- [bug] Prevent QueryBuilder from trying to serialize raw string (JAVA-688)
577-- [bug] Support bind marker in QueryBuilder DELETE's list index (JAVA-679)
578-- [improvement] Improve QueryBuilder API for SELECT DISTINCT (JAVA-475)
579-- [improvement] Create values() function for Insert builder using List (JAVA-225)
580-- [improvement] Warn when ReplicationStrategy encounters invalid
581- replication factors (JAVA-702)
582-- [improvement] Add PoolingOptions method to set both core and max
583- connections (JAVA-662).
584-- [improvement] Do not include epoll JAR in binary distribution (JAVA-766)
585-- [improvement] Optimize internal copies of Request objects (JAVA-726)
586-- [bug] Preserve tracing across retries (JAVA-815)
587-- [improvement] New RetryDecision.tryNextHost() (JAVA-709)
588-- [bug] Handle function calls and raw strings as non-idempotent in QueryBuilder (JAVA-733)
589-- [improvement] Provide API to retrieve values of a Parameterized SimpleStatement (JAVA-765)
590-- [improvement] implement UPDATE ... IF EXISTS in QueryBuilder (JAVA-827)
591-- [improvement] Randomize contact points list to prevent hotspots (JAVA-618)
592-- [improvement] Surface the coordinator used on query failure (JAVA-720)
593-- [bug] Handle contact points removed during init (JAVA-792)
594-- [improvement] Allow PlainTextAuthProvider to change its credentials at runtime (JAVA-719)
595-- [new feature] Make it possible to register for SchemaChange Events (JAVA-151)
596-- [improvement] Downgrade "Asked to rebuild table" log from ERROR to INFO level (JAVA-861)
597-- [improvement] Provide an option to prepare statements only on one node (JAVA-797)
598-- [improvement] Provide an option to not re-prepare all statements in onUp (JAVA-658)
599-- [improvement] Customizable creation of netty timer (JAVA-853)
600-- [bug] Avoid quadratic ring processing with invalid replication factors (JAVA-859)
601-- [improvement] Debounce control connection queries (JAVA-657)
602-- [bug] LoadBalancingPolicy.distance() called before init() (JAVA-784)
603-- [new feature] Make driver-side metadata optional (JAVA-828)
604-- [improvement] Allow hosts to remain partially up (JAVA-544)
605-- [improvement] Remove internal blocking calls and expose async session
606- creation (JAVA-821, JAVA-822)
607-- [improvement] Use parallel calls when re-preparing statement on other
608- hosts (JAVA-725)
609-- [bug] Don't use connection timeout for unrelated internal queries (JAVA-629)
610-- [bug] Fix NPE in speculative executions when metrics disabled
611- (JAVA-892)
549+- [improvement] JAVA-718: Log streamid at the trace level on sending request and receiving response.
550+- [bug] JAVA-796: Fix SpeculativeExecutionPolicy.init() and close() are never called.
551+- [improvement] JAVA-710: Suppress unnecessary warning at shutdown.
552+- [improvement] #340: Allow DNS name with multiple A-records as contact point.
553+- [bug] JAVA-794: Allow tracing across multiple result pages.
554+- [bug] JAVA-737: DowngradingConsistencyRetryPolicy ignores write timeouts.
555+- [bug] JAVA-736: Forbid bind marker in QueryBuilder add/append/prepend.
556+- [bug] JAVA-712: Prevent QueryBuilder.quote() from applying duplicate double quotes.
557+- [bug] JAVA-688: Prevent QueryBuilder from trying to serialize raw string.
558+- [bug] JAVA-679: Support bind marker in QueryBuilder DELETE's list index.
559+- [improvement] JAVA-475: Improve QueryBuilder API for SELECT DISTINCT.
560+- [improvement] JAVA-225: Create values() function for Insert builder using List.
561+- [improvement] JAVA-702: Warn when ReplicationStrategy encounters invalid
562+ replication factors.
563+- [improvement] JAVA-662: Add PoolingOptions method to set both core and max
564+ connections.
565+- [improvement] JAVA-766: Do not include epoll JAR in binary distribution.
566+- [improvement] JAVA-726: Optimize internal copies of Request objects.
567+- [bug] JAVA-815: Preserve tracing across retries.
568+- [improvement] JAVA-709: New RetryDecision.tryNextHost().
569+- [bug] JAVA-733: Handle function calls and raw strings as non-idempotent in QueryBuilder.
570+- [improvement] JAVA-765: Provide API to retrieve values of a Parameterized SimpleStatement.
571+- [improvement] JAVA-827: implement UPDATE .. IF EXISTS in QueryBuilder.
572+- [improvement] JAVA-618: Randomize contact points list to prevent hotspots.
573+- [improvement] JAVA-720: Surface the coordinator used on query failure.
574+- [bug] JAVA-792: Handle contact points removed during init.
575+- [improvement] JAVA-719: Allow PlainTextAuthProvider to change its credentials at runtime.
576+- [new feature] JAVA-151: Make it possible to register for SchemaChange Events.
577+- [improvement] JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
578+- [improvement] JAVA-797: Provide an option to prepare statements only on one node.
579+- [improvement] JAVA-658: Provide an option to not re-prepare all statements in onUp.
580+- [improvement] JAVA-853: Customizable creation of netty timer.
581+- [bug] JAVA-859: Avoid quadratic ring processing with invalid replication factors.
582+- [improvement] JAVA-657: Debounce control connection queries.
583+- [bug] JAVA-784: LoadBalancingPolicy.distance() called before init().
584+- [new feature] JAVA-828: Make driver-side metadata optional.
585+- [improvement] JAVA-544: Allow hosts to remain partially up.
586+- [improvement] JAVA-821, JAVA-822: Remove internal blocking calls and expose async session
587+ creation.
588+- [improvement] JAVA-725: Use parallel calls when re-preparing statement on other
589+ hosts.
590+- [bug] JAVA-629: Don't use connection timeout for unrelated internal queries.
591+- [bug] JAVA-892: Fix NPE in speculative executions when metrics disabled.
612592
613593 Merged from 2.0.10_fixes branch:
614594
615-- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
616-- [improvement] Expose "unsafe" paging state API (JAVA-759)
617-- [bug] Fix getObject by name (JAVA-767)
618-- [bug] Prevent race during pool initialization (JAVA-768)
595+- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
596+- [improvement] JAVA-759: Expose "unsafe" paging state API.
597+- [bug] JAVA-767: Fix getObject by name.
598+- [bug] JAVA-768: Prevent race during pool initialization.
619599
620600
621601 ### 2.0.10.1
622602
623-- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
624-- [improvement] Expose "unsafe" paging state API (JAVA-759)
625-- [bug] Fix getObject by name (JAVA-767)
626-- [bug] Prevent race during pool initialization (JAVA-768)
603+- [improvement] JAVA-756: Use Netty's pooled ByteBufAllocator by default.
604+- [improvement] JAVA-759: Expose "unsafe" paging state API.
605+- [bug] JAVA-767: Fix getObject by name.
606+- [bug] JAVA-768: Prevent race during pool initialization.
627607
628608
629609 ### 2.0.10
630610
631-- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518)
632-- [improvement] Add connection heartbeat (JAVA-533)
633-- [improvement] Reduce level of logs on missing rpc_address (JAVA-568)
634-- [improvement] Expose node token and range information (JAVA-312, JAVA-681)
635-- [bug] Fix cluster name mismatch check at startup (JAVA-595)
636-- [bug] Fix guava dependency when using OSGI (JAVA-620)
637-- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678)
638-- [improvement] Use List<?> instead of List<Object> in QueryBuilder API
639- (JAVA-631)
640-- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654)
641-- [bug] Quote single quotes contained in table comments in asCQLQuery method
642- (JAVA-655)
643-- [bug] Empty TokenRange returned in a one token cluster (JAVA-684)
644-- [improvement] Expose TokenRange#contains (JAVA-687)
645-- [new feature] Expose values of BoundStatement (JAVA-547)
646-- [new feature] Add getObject to BoundStatement and Row (JAVA-584)
647-- [improvement] Improve connection pool resizing algorithm (JAVA-419)
648-- [bug] Fix race condition between pool expansion and shutdown (JAVA-599)
649-- [improvement] Upgrade Netty to 4.0.27 (JAVA-622)
650-- [improvement] Coalesce frames before flushing them to the connection
651- (JAVA-562)
652-- [improvement] Rename threads to indicate that they are for the driver
653- (JAVA-583)
654-- [new feature] Expose paging state (JAVA-550)
655-- [new feature] Slow Query Logger (JAVA-646)
656-- [improvement] Exclude some errors from measurements in LatencyAwarePolicy
657- (JAVA-698)
658-- [bug] Fix issue when executing a PreparedStatement from another cluster
659- (JAVA-641)
660-- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534)
661-- [improvement] Allow Cluster subclasses to delegate to another instance
662- (JAVA-619)
663-- [new feature] Expose an API to check for schema agreement after a
664- schema-altering statement (JAVA-669)
665-- [improvement] Make connection and pool creation fully async (JAVA-692)
666-- [improvement] Optimize connection use after reconnection (JAVA-505)
667-- [improvement] Remove "suspected" mechanism (JAVA-617)
668-- [improvement] Don't mark connection defunct on client timeout (reverts
669- JAVA-425)
670-- [new feature] Speculative query executions (JAVA-561)
671-- [bug] Release connection before completing the ResultSetFuture (JAVA-666)
672-- [new feature BETA] Percentile-based variant of query logger and speculative
673- executions (JAVA-723)
674-- [bug] Fix buffer leaks when compression is enabled (JAVA-734).
611+- [new feature] JAVA-518: Add AddressTranslater for EC2 multi-region deployment.
612+- [improvement] JAVA-533: Add connection heartbeat.
613+- [improvement] JAVA-568: Reduce level of logs on missing rpc_address.
614+- [improvement] JAVA-312, JAVA-681: Expose node token and range information.
615+- [bug] JAVA-595: Fix cluster name mismatch check at startup.
616+- [bug] JAVA-620: Fix guava dependency when using OSGI.
617+- [bug] JAVA-678: Fix handling of DROP events when ks name is case-sensitive.
618+- [improvement] JAVA-631: Use List<?> instead of List<Object> in QueryBuilder API.
619+- [improvement] JAVA-654: Exclude Netty POM from META-INF in shaded JAR.
620+- [bug] JAVA-655: Quote single quotes contained in table comments in asCQLQuery method.
621+- [bug] JAVA-684: Empty TokenRange returned in a one token cluster.
622+- [improvement] JAVA-687: Expose TokenRange#contains.
623+- [new feature] JAVA-547: Expose values of BoundStatement.
624+- [new feature] JAVA-584: Add getObject to BoundStatement and Row.
625+- [improvement] JAVA-419: Improve connection pool resizing algorithm.
626+- [bug] JAVA-599: Fix race condition between pool expansion and shutdown.
627+- [improvement] JAVA-622: Upgrade Netty to 4.0.27.
628+- [improvement] JAVA-562: Coalesce frames before flushing them to the connection.
629+- [improvement] JAVA-583: Rename threads to indicate that they are for the driver.
630+- [new feature] JAVA-550: Expose paging state.
631+- [new feature] JAVA-646: Slow Query Logger.
632+- [improvement] JAVA-698: Exclude some errors from measurements in LatencyAwarePolicy.
633+- [bug] JAVA-641: Fix issue when executing a PreparedStatement from another cluster.
634+- [improvement] JAVA-534: Log keyspace xxx does not exist at WARN level.
635+- [improvement] JAVA-619: Allow Cluster subclasses to delegate to another instance.
636+- [new feature] JAVA-669: Expose an API to check for schema agreement after a
637+ schema-altering statement.
638+- [improvement] JAVA-692: Make connection and pool creation fully async.
639+- [improvement] JAVA-505: Optimize connection use after reconnection.
640+- [improvement] JAVA-617: Remove "suspected" mechanism.
641+- [improvement] reverts JAVA-425: Don't mark connection defunct on client timeout.
642+- [new feature] JAVA-561: Speculative query executions.
643+- [bug] JAVA-666: Release connection before completing the ResultSetFuture.
644+- [new feature BETA] JAVA-723: Percentile-based variant of query logger and speculative
645+ executions.
646+- [bug] JAVA-734: Fix buffer leaks when compression is enabled.
675647
676648 Merged from 2.0.9_fixes branch:
677649
678-- [bug] Prevent race between cancellation and query completion (JAVA-614)
679-- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
680- streamId was already released and reused (JAVA-632).
681-- [bug] Fix issue when newly opened pool fails before we could mark the node UP
682- (JAVA-642)
683-- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
684-- [bug] Fix edge cases where a connection was released twice (JAVA-651).
685-- [bug] Fix edge cases in query cancellation (JAVA-653).
650+- [bug] JAVA-614: Prevent race between cancellation and query completion.
651+- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
652+ streamId was already released and reused.
653+- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
654+- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
655+- [bug] JAVA-651: Fix edge cases where a connection was released twice.
656+- [bug] JAVA-653: Fix edge cases in query cancellation.
686657
687658
688659 ### 2.0.9.2
689660
690-- [bug] Fix edge cases where a connection was released twice (JAVA-651).
691-- [bug] Fix edge cases in query cancellation (JAVA-653).
661+- [bug] JAVA-651: Fix edge cases where a connection was released twice.
662+- [bug] JAVA-653: Fix edge cases in query cancellation.
692663
693664
694665 ### 2.0.9.1
695666
696-- [bug] Prevent race between cancellation and query completion (JAVA-614)
697-- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if
698- streamId was already released and reused (JAVA-632).
699-- [bug] Fix issue when newly opened pool fails before we could mark the node UP
700- (JAVA-642)
701-- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613)
667+- [bug] JAVA-614: Prevent race between cancellation and query completion.
668+- [bug] JAVA-632: Prevent cancel and timeout from cancelling unrelated ResponseHandler if
669+ streamId was already released and reused.
670+- [bug] JAVA-642: Fix issue when newly opened pool fails before we could mark the node UP.
671+- [bug] JAVA-613: Fix unwanted LBP notifications when a contact host is down.
702672
703673
704674 ### 2.0.9
705675
706-- [improvement] Shade Netty dependency (JAVA-538)
707-- [improvement] Target schema refreshes more precisely (JAVA-543)
708-- [bug] Don't check rpc_address for control host (JAVA-546)
709-- [improvement] Improve message of NoHostAvailableException (JAVA-409)
710-- [bug] Rework connection reaper to avoid deadlock (JAVA-556)
711-- [bug] Avoid deadlock when multiple connections to the same host get write
712- errors (JAVA-557)
713-- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504)
714-- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled
715- connections fails while bringing the node back up (JAVA-577)
716-- [bug] Prevent faulty control connection from ignoring reconnecting hosts
717- (JAVA-587)
718-- temporarily revert "Add idle timeout to the connection pool" (JAVA-419)
719-- [bug] Ensure updateCreatedPools does not add pools for suspected hosts
720- (JAVA-593)
721-- [bug] Ensure state change notifications for a given host are handled serially
722- (JAVA-594)
723-- [bug] Ensure control connection reconnects when control host is removed
724- (JAVA-597)
676+- [improvement] JAVA-538: Shade Netty dependency.
677+- [improvement] JAVA-543: Target schema refreshes more precisely.
678+- [bug] JAVA-546: Don't check rpc_address for control host.
679+- [improvement] JAVA-409: Improve message of NoHostAvailableException.
680+- [bug] JAVA-556: Rework connection reaper to avoid deadlock.
681+- [bug] JAVA-557: Avoid deadlock when multiple connections to the same host get write
682+ errors.
683+- [improvement] JAVA-504: Make shuffle=true the default for TokenAwarePolicy.
684+- [bug] JAVA-577: Fix bug when SUSPECT reconnection succeeds, but one of the pooled
685+ connections fails while bringing the node back up.
686+- [bug] JAVA-419: JAVA-587: Prevent faulty control connection from ignoring reconnecting hosts.
687+- temporarily revert "Add idle timeout to the connection pool".
688+- [bug] JAVA-593: Ensure updateCreatedPools does not add pools for suspected hosts.
689+- [bug] JAVA-594: Ensure state change notifications for a given host are handled serially.
690+- [bug] JAVA-597: Ensure control connection reconnects when control host is removed.
725691
726692
727693 ### 2.0.8
728694
729-- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526)
730-- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515)
731-- [improvement] Expose the driver version through the API (JAVA-532)
732-- [improvement] Optimize session initialization when some hosts are not
733- responsive (JAVA-522)
695+- [bug] JAVA-526: Fix token awareness for case-sensitive keyspaces and tables.
696+- [bug] JAVA-515: Check maximum number of values passed to SimpleStatement.
697+- [improvement] JAVA-532: Expose the driver version through the API.
698+- [improvement] JAVA-522: Optimize session initialization when some hosts are not
699+ responsive.
734700
735701
736702 ### 2.0.7
737703
738-- [bug] Handle null pool in PooledConnection.release (JAVA-449)
739-- [improvement] Defunct connection on request timeout (JAVA-425)
740-- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426)
741-- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471)
742-- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496)
743-- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497)
744-- [improvement] Keep trying to reconnect on authentication errors (JAVA-472)
745-- [improvement] Expose close method on load balancing policy (JAVA-463)
746-- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459)
747-- [bug] Expose an API to cancel reconnection attempts (JAVA-493)
748-- [bug] Fix NPE when a connection fails during pool construction (JAVA-503)
749-- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided
750- (JAVA-423)
751-- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504)
752-- [improvement] Make schema agreement wait tuneable (JAVA-507)
753-- [improvement] Document how to inject the driver metrics into another registry (JAVA-494)
754-- [improvement] Add idle timeout to the connection pool (JAVA-419)
755-- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516)
756-- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with
757- an explicit but null or empty local datacenter (JAVA-451).
758-- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511)
759-- [improvement] Make timeout on saturated pool customizable (JAVA-457)
760-- [improvement] Downgrade Guava to 14.0.1 (JAVA-521)
704+- [bug] JAVA-449: Handle null pool in PooledConnection.release.
705+- [improvement] JAVA-425: Defunct connection on request timeout.
706+- [improvement] JAVA-426: Try next host when we get a SERVER_ERROR.
707+- [bug] JAVA-449, JAVA-460, JAVA-471: Handle race between query timeout and completion.
708+- [bug] JAVA-496: Fix DCAwareRoundRobinPolicy datacenter auto-discovery.
709+- [bug] JAVA-497: Ensure control connection does not trigger concurrent reconnects.
710+- [improvement] JAVA-472: Keep trying to reconnect on authentication errors.
711+- [improvement] JAVA-463: Expose close method on load balancing policy.
712+- [improvement] JAVA-459: Allow load balancing policy to trigger refresh for a single host.
713+- [bug] JAVA-493: Expose an API to cancel reconnection attempts.
714+- [bug] JAVA-503: Fix NPE when a connection fails during pool construction.
715+- [improvement] JAVA-423: Log datacenter name in DCAware policy's init when it is explicitly provided.
716+- [improvement] JAVA-504: Shuffle the replicas in TokenAwarePolicy.newQueryPlan.
717+- [improvement] JAVA-507: Make schema agreement wait tuneable.
718+- [improvement] JAVA-494: Document how to inject the driver metrics into another registry.
719+- [improvement] JAVA-419: Add idle timeout to the connection pool.
720+- [bug] JAVA-516: LatencyAwarePolicy does not shutdown executor on invocation of close.
721+- [improvement] JAVA-451: Throw an exception when DCAwareRoundRobinPolicy is built with
722+ an explicit but null or empty local datacenter.
723+- [bug] JAVA-511: Fix check for local contact points in DCAware policy's init.
724+- [improvement] JAVA-457: Make timeout on saturated pool customizable.
725+- [improvement] JAVA-521: Downgrade Guava to 14.0.1.
761726
762727
763728 ### 2.0.6
764729
765-- [bug] Check cluster name when connecting to a new node (JAVA-397)
766-- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326)
767-- [bug] Add collection and data length checks during serialization (JAVA-363)
768-- [improvement] Surface number of retries in metrics (JAVA-329)
769-- [bug] Do not use a host when no rpc_address found for it (JAVA-428)
770-- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358)
771-- [bug] Fix negative HostConnectionPool open count (JAVA-349)
772-- [improvement] Log more connection details at trace and debug levels (JAVA-436)
773-- [bug] Fix cluster shutdown (JAVA-445)
774-- [improvement] Expose child policy in chainable load balancing policies (JAVA-439)
730+- [bug] JAVA-397: Check cluster name when connecting to a new node.
731+- [bug] JAVA-326: Add missing CAS delete support in QueryBuilder.
732+- [bug] JAVA-363: Add collection and data length checks during serialization.
733+- [improvement] JAVA-329: Surface number of retries in metrics.
734+- [bug] JAVA-428: Do not use a host when no rpc_address found for it.
735+- [improvement] JAVA-358: Add ResultSet.wasApplied() for conditional queries.
736+- [bug] JAVA-349: Fix negative HostConnectionPool open count.
737+- [improvement] JAVA-436: Log more connection details at trace and debug levels.
738+- [bug] JAVA-445: Fix cluster shutdown.
739+- [improvement] JAVA-439: Expose child policy in chainable load balancing policies.
775740
776741
777742 ### 2.0.5
778743
779-- [bug] Release connections on ResultSetFuture#cancel (JAVA-407)
780-- [bug] Fix handling of SimpleStatement with values in query builder
781- batches (JAVA-393)
782-- [bug] Ensure pool is properly closed in onDown (JAVA-417)
783-- [bug] Fix tokenMap initialization at startup (JAVA-415)
784-- [bug] Avoid deadlock on close (JAVA-418)
744+- [bug] JAVA-407: Release connections on ResultSetFuture#cancel.
745+- [bug] JAVA-393: Fix handling of SimpleStatement with values in query builder
746+ batches.
747+- [bug] JAVA-417: Ensure pool is properly closed in onDown.
748+- [bug] JAVA-415: Fix tokenMap initialization at startup.
749+- [bug] JAVA-418: Avoid deadlock on close.
785750
786751
787752 ### 2.0.4
788753
789-- [improvement] Better handling of dead connections (JAVA-204)
790-- [bug] Fix potential NPE in ControlConnection (JAVA-373)
791-- [bug] Throws NPE when passed null for a contact point (JAVA-291)
792-- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315)
793-- [bug] Avoid classloader leak in Tomcat (JAVA-343)
794-- [bug] Avoid deadlock in onAdd/onUp (JAVA-387)
795-- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391)
796-- [bug] Ensure defunct connections are completely closed (JAVA-394)
797-- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390)
754+- [improvement] JAVA-204: Better handling of dead connections.
755+- [bug] JAVA-373: Fix potential NPE in ControlConnection.
756+- [bug] JAVA-291: Throws NPE when passed null for a contact point.
757+- [bug] JAVA-315: Avoid LoadBalancingPolicy onDown+onUp at startup.
758+- [bug] JAVA-343: Avoid classloader leak in Tomcat.
759+- [bug] JAVA-387: Avoid deadlock in onAdd/onUp.
760+- [bug] JAVA-377, JAVA-391: Make metadata parsing more lenient.
761+- [bug] JAVA-394: Ensure defunct connections are completely closed.
762+- [bug] JAVA-342, JAVA-390: Fix memory and resource leak on closed Sessions.
798763
799764
800765 ### 2.0.3
801766
802767 - [new] The new AbsractSession makes mocking of Session easier.
803-- [new] Allow to trigger a refresh of connected hosts (JAVA-309)
804-- [new] New Session#getState method allows to grab information on
805- which nodes a session is connected to (JAVA-265)
806-- [new] Add QueryBuilder syntax for tuples in where clauses (syntax
807- introduced in Cassandra 2.0.6) (JAVA-327)
808-- [improvement] Properly validate arguments of PoolingOptions methods
809- (JAVA-359)
810-- [bug] Fix bogus rejection of BigInteger in 'execute with values'
811- (JAVA-368)
812-- [bug] Signal connection failure sooner to avoid missing them
813- (JAVA-367)
814-- [bug] Throw UnsupportedOperationException for protocol batch
815- setSerialCL (JAVA-337)
768+- [new] JAVA-309: Allow to trigger a refresh of connected hosts.
769+- [new] JAVA-265: New Session#getState method allows to grab information on
770+ which nodes a session is connected to.
771+- [new] JAVA-327: Add QueryBuilder syntax for tuples in where clauses (syntax
772+ introduced in Cassandra 2.0.6).
773+- [improvement] JAVA-359: Properly validate arguments of PoolingOptions methods.
774+- [bug] JAVA-368: Fix bogus rejection of BigInteger in 'execute with values'.
775+- [bug] JAVA-367: Signal connection failure sooner to avoid missing them.
776+- [bug] JAVA-337: Throw UnsupportedOperationException for protocol batch
777+ setSerialCL.
816778
817779 Merged from 1.0 branch:
818780
819-- [bug] Fix periodic reconnection to down hosts (JAVA-325)
781+- [bug] JAVA-325: Fix periodic reconnection to down hosts.
820782
821783
822784 ### 2.0.2
@@ -824,101 +786,101 @@
824786 - [api] The type of the map key returned by NoHostAvailable#getErrors has changed from
825787 InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and
826788 for AuthProvider#newAuthenticator.
827-- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
789+- [api] JAVA-296: The default load balacing policy is now DCAwareRoundRobinPolicy, and the local
828790 datacenter is automatically picked based on the first connected node. Furthermore,
829- the TokenAwarePolicy is also used by default (JAVA-296)
830-- [new] New optional AddressTranslater (JAVA-145)
831-- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321)
832-- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320)
833-- [bug] Fix thread-safety of page fetching (JAVA-319)
834-- [bug] Fix potential NPE using fetchMoreResults (JAVA-318)
791+ the TokenAwarePolicy is also used by default.
792+- [new] JAVA-145: New optional AddressTranslater.
793+- [bug] JAVA-321: Don't remove quotes on keyspace in the query builder.
794+- [bug] JAVA-320: Fix potential NPE while cluster undergo schema changes.
795+- [bug] JAVA-319: Fix thread-safety of page fetching.
796+- [bug] JAVA-318: Fix potential NPE using fetchMoreResults.
835797
836798 Merged from 1.0 branch:
837799
838-- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179)
839-- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list
840-- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289)
841-- [bug] Revert back to longs for dates in the query builder (JAVA-313)
842-- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314)
800+- [new] JAVA-179: Expose the name of the partitioner in use in the cluster metadata.
801+- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list.
802+- [improvement] JAVA-289: Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy.
803+- [bug] JAVA-313: Revert back to longs for dates in the query builder.
804+- [bug] JAVA-314: Don't reconnect to nodes ignored by the load balancing policy.
843805
844806
845807 ### 2.0.1
846808
847-- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278)
848-- [improvement] Add Cluster#newSession method to create Session without connecting
849- right away (JAVA-208)
850-- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279)
851-- [bug] Properly parse BytesType as the blob type
852-- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280)
809+- [improvement] JAVA-278: Handle the static columns introduced in Cassandra 2.0.6.
810+- [improvement] JAVA-208: Add Cluster#newSession method to create Session without connecting
811+ right away.
812+- [bug] JAVA-279: Add missing iso8601 patterns for parsing dates.
813+- [bug] Properly parse BytesType as the blob type.
814+- [bug] JAVA-280: Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes.
853815
854816 Merged from 1.0 branch:
855817
856-- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275)
857-- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114)
818+- [bug] JAVA-275: LatencyAwarePolicy.Builder#withScale doesn't set the scale.
819+- [new] JAVA-114: Add methods to check if a Cluster/Session instance has been closed already.
858820
859821
860822 ### 2.0.0
861823
862-- [api] Case sensitive identifier by default in Metadata (JAVA-269)
863-- [bug] Fix potential NPE in Cluster#connect (JAVA-274)
824+- [api] JAVA-269: Case sensitive identifier by default in Metadata.
825+- [bug] JAVA-274: Fix potential NPE in Cluster#connect.
864826
865827 Merged from 1.0 branch:
866828
867-- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263)
868-- [bug] Fix race when multiple connect are done in parallel (JAVA-261)
869-- [bug] Don't connect at all to nodes that are ignored by the load balancing
870- policy (JAVA-270)
829+- [bug] JAVA-263: Always return the PreparedStatement object that is cache internally.
830+- [bug] JAVA-261: Fix race when multiple connect are done in parallel.
831+- [bug] JAVA-270: Don't connect at all to nodes that are ignored by the load balancing
832+ policy.
871833
872834
873835 ### 2.0.0-rc3
874836
875837 - [improvement] The protocol version 1 is now supported (features only supported by the
876838 version 2 of the protocol throw UnsupportedFeatureException).
877-- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195)
839+- [improvement] JAVA-195: Make most main objects interface to facilitate testing/mocking.
878840 - [improvement] Adds new getStatements and clear methods to BatchStatement.
879-- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
880- and Session also now implement Closeable (JAVA-247).
881-- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232)
882-- [bug] Fix potential NPE in HostConnectionPool (JAVA-231)
883-- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244)
884-- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258)
841+- [api] JAVA-247: Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering
842+ and Session also now implement Closeable.
843+- [bug] JAVA-232: Fix potential thread leaks when shutting down Metrics.
844+- [bug] JAVA-231: Fix potential NPE in HostConnectionPool.
845+- [bug] JAVA-244: Avoid NPE when node is in an unconfigured DC.
846+- [bug] JAVA-258: Don't block for scheduled reconnections on Cluster#close.
885847
886848 Merged from 1.0 branch:
887849
888-- [new] Added Session#prepareAsync calls (JAVA-224)
889-- [new] Added Cluster#getLoggedKeyspace (JAVA-249)
890-- [improvement] Avoid preparing a statement multiple time per host with multiple sessions
891-- [bug] Make sure connections are returned to the right pools (JAVA-255)
892-- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264)
850+- [new] JAVA-224: Added Session#prepareAsync calls.
851+- [new] JAVA-249: Added Cluster#getLoggedKeyspace.
852+- [improvement] Avoid preparing a statement multiple time per host with multiple sessions.
853+- [bug] JAVA-255: Make sure connections are returned to the right pools.
854+- [bug] JAVA-264: Use date string in query build to work-around CASSANDRA-6718.
893855
894856
895857 ### 2.0.0-rc2
896858
897-- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207)
898-- [bug] Fix parsing of counter types (JAVA-219)
899-- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218)
900-- [bug] Fix replicas computation for token aware balancing (JAVA-221)
859+- [new] JAVA-207: Add LOCAL_ONE consistency level support (requires using C* 2.0.2+).
860+- [bug] JAVA-219: Fix parsing of counter types.
861+- [bug] JAVA-218: Fix missing whitespace for IN clause in the query builder.
862+- [bug] JAVA-221: Fix replicas computation for token aware balancing.
901863
902864 Merged from 1.0 branch:
903865
904-- [bug] Fix regression from JAVA-201 (JAVA-213)
866+- [bug] JAVA-213: Fix regression from JAVA-201.
905867 - [improvement] New getter to obtain a snapshot of the scores maintained by
906868 LatencyAwarePolicy.
907869
908870
909871 ### 2.0.0-rc1
910872
911-- [new] Mark compression dependencies optional in maven (JAVA-199).
873+- [new] JAVA-199: Mark compression dependencies optional in maven.
912874 - [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns.
913875
914876 Merged from 1.0 branch:
915877
916-- [new] OSGi bundle (JAVA-142)
917-- [improvement] Make collections returned by Row immutable (JAVA-205)
918-- [improvement] Limit internal thread pool size (JAVA-203)
919-- [bug] Don't retain unused PreparedStatement in memory (JAVA-201)
878+- [new] JAVA-142: OSGi bundle.
879+- [improvement] JAVA-205: Make collections returned by Row immutable.
880+- [improvement] JAVA-203: Limit internal thread pool size.
881+- [bug] JAVA-201: Don't retain unused PreparedStatement in memory.
920882 - [bug] Add missing clustering order info in TableMetadata
921-- [bug] Allow bind markers for collections in the query builder (JAVA-196)
883+- [bug] JAVA-196: Allow bind markers for collections in the query builder.
922884
923885
924886 ### 2.0.0-beta2
@@ -929,11 +891,10 @@
929891 allows to handle the potential last token sent by the server.
930892 - [new] The query builder don't serialize large values to strings anymore by
931893 default by making use the new ability to send values alongside the query string.
932-- [new] The query builder has been updated for new CQL features (JAVA-140).
894+- [new] JAVA-140: The query builder has been updated for new CQL features.
933895 - [bug] Fix exception when a conditional write timeout C* side.
934-- [bug] Ensure connection is created when Cluster metadata are asked for
935- (JAVA-182).
936-- [bug] Fix potential NPE during authentication (JAVA-187)
896+- [bug] JAVA-182: Ensure connection is created when Cluster metadata are asked for.
897+- [bug] JAVA-187: Fix potential NPE during authentication.
937898
938899
939900 ### 2.0.0-beta1
@@ -943,7 +904,7 @@
943904 and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe
944905 those changes in details.
945906 - [new] LZ4 compression is supported for the protocol.
946-- [new] The driver does not depend on cassandra-all anymore (JAVA-39)
907+- [new] JAVA-39: The driver does not depend on cassandra-all anymore.
947908 - [new] New BatchStatement class allows to execute batch other statements.
948909 - [new] Large ResultSet are now paged (incrementally fetched) by default.
949910 - [new] SimpleStatement support values for bind-variables, to allow
@@ -952,44 +913,42 @@
952913 configured globally.
953914 - [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are
954915 supported.
955-- [new] Cluster#shutdown now waits for ongoing queries to complete by default
956- (JAVA-116).
916+- [new] JAVA-116: Cluster#shutdown now waits for ongoing queries to complete by default.
957917 - [new] Generic authentication through SASL is now exposed.
958-- [bug] TokenAwarePolicy now takes all replica into account, instead of only the
959- first one (JAVA-88).
918+- [bug] JAVA-88: TokenAwarePolicy now takes all replica into account, instead of only the
919+ first one.
960920
961921
962922 ### 1.0.5
963923
964-- [new] OSGi bundle (JAVA-142)
965-- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this
966- require Cassandra 1.2.12+ (JAVA-207)
967-- [improvement] Make collections returned by Row immutable (JAVA-205)
968-- [improvement] Limit internal thread pool size (JAVA-203)
924+- [new] JAVA-142: OSGi bundle.
925+- [new] JAVA-207: Add support for ConsistencyLevel.LOCAL_ONE; note that this
926+ require Cassandra 1.2.12+.
927+- [improvement] JAVA-205: Make collections returned by Row immutable.
928+- [improvement] JAVA-203: Limit internal thread pool size.
969929 - [improvement] New getter to obtain a snapshot of the scores maintained by
970930 LatencyAwarePolicy.
971-- [improvement] Avoid synchronization when getting codec for collection
972- types (JAVA-222)
973-- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213)
931+- [improvement] JAVA-222: Avoid synchronization when getting codec for collection
932+ types.
933+- [bug] JAVA-201, JAVA-213: Don't retain unused PreparedStatement in memory.
974934 - [bug] Add missing clustering order info in TableMetadata
975-- [bug] Allow bind markers for collections in the query builder (JAVA-196)
935+- [bug] JAVA-196: Allow bind markers for collections in the query builder.
976936
977937
978938 ### 1.0.4
979939
980-- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
940+- [api] JAVA-163: The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
981941 are now deprecated. They are replaced by the new withPoolingOptions and
982- withSocketOptions methods (JAVA-163).
983-- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to
984- add latency awareness to a wrapped load balancing policy (JAVA-129).
985-- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization)
986- (JAVA-161)
987-- [new] Add truncate statement in query builder (JAVA-117).
988-- [new] Support empty IN in the query builder (JAVA-106).
989-- [bug] Fix spurious "No current pool set; this should not happen" error
990- message (JAVA-166)
991-- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if
992- a balancing policy throws (JAVA-184)
942+ withSocketOptions methods.
943+- [new] JAVA-129: A new LatencyAwarePolicy wrapping policy has been added, allowing to
944+ add latency awareness to a wrapped load balancing policy.
945+- [new] JAVA-161: Cluster.Builder#deferInitialization: Allow defering cluster initialization.
946+- [new] JAVA-117: Add truncate statement in query builder.
947+- [new] JAVA-106: Support empty IN in the query builder.
948+- [bug] JAVA-166: Fix spurious "No current pool set; this should not happen" error
949+ message.
950+- [bug] JAVA-184: Fix potential overflow in RoundRobinPolicy and correctly errors if
951+ a balancing policy throws.
993952 - [bug] Don't release Stream ID for timeouted queries (unless we do get back
994953 the response)
995954 - [bug] Correctly escape identifiers and use fully qualified table names when
@@ -1003,8 +962,8 @@
1003962 - [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
1004963 wait for the answer of one node. See the javadoc for more details.
1005964 - [new] New Session#prepare method that takes a Statement.
1006-- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder
1007- statements (JAVA-143).
965+- [bug] JAVA-143: Always take per-query CL, tracing, etc. into account for QueryBuilder
966+ statements.
1008967 - [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
1009968
1010969
@@ -1015,29 +974,27 @@
1015974 in the monitor and you should now register Host.StateListener against
1016975 the Cluster object directly (registering against a host HealthMonitor
1017976 was much more limited anyway).
1018-- [new] New serialize/deserialize methods in DataType to serialize/deserialize
1019- values to/from bytes (JAVA-92).
1020-- [new] New getIndexOf() method in ColumnDefinitions to find the index of
1021- a given column name (JAVA-128).
1022-- [bug] Fix a bug when thread could get blocked while setting the current
1023- keyspace (JAVA-131).
1024-- [bug] Quote inet addresses in the query builder since CQL3 requires it
1025- (JAVA-136)
977+- [new] JAVA-92: New serialize/deserialize methods in DataType to serialize/deserialize
978+ values to/from bytes.
979+- [new] JAVA-128: New getIndexOf() method in ColumnDefinitions to find the index of
980+ a given column name.
981+- [bug] JAVA-131: Fix a bug when thread could get blocked while setting the current
982+ keyspace.
983+- [bug] JAVA-136: Quote inet addresses in the query builder since CQL3 requires it.
1026984
1027985
1028986 ### 1.0.1
1029987
1030-- [api] Function call handling in the query builder has been modified in a
988+- [api] JAVA-100: Function call handling in the query builder has been modified in a
1031989 backward incompatible way. Function calls are not parsed from string values
1032- anymore as this wasn't safe. Instead the new 'fcall' method should be used
1033- (JAVA-100).
990+ anymore as this wasn't safe. Instead the new 'fcall' method should be used.
1034991 - [api] Some typos in method names in PoolingOptions have been fixed in a
1035992 backward incompatible way before the API get widespread.
1036-- [bug] Don't destroy composite partition key with BoundStatement and
1037- TokenAwarePolicy (JAVA-123).
993+- [bug] JAVA-123: Don't destroy composite partition key with BoundStatement and
994+ TokenAwarePolicy.
1038995 - [new] null values support in the query builder.
1039-- [new] SSL support (requires C* >= 1.2.1) (JAVA-5).
1040-- [new] Allow generating unlogged batch in the query builder (JAVA-113).
996+- [new] JAVA-5: SSL support (requires C* >= 1.2.1).
997+- [new] JAVA-113: Allow generating unlogged batch in the query builder.
1041998 - [improvement] Better error message when no host are available.
1042999 - [improvement] Improves performance of the stress example application been.
10431000
@@ -1052,39 +1009,38 @@
10521009 - [api] The isMetricsEnabled() method in Configuration has been replaced by
10531010 getMetricsOptions(). An option to disabled JMX reporting (on by default)
10541011 has been added.
1055-- [bug] Don't make default load balancing policy a static singleton since it
1056- is stateful (JAVA-91).
1012+- [bug] JAVA-91: Don't make default load balancing policy a static singleton since it
1013+ is stateful.
10571014
10581015
10591016 ### 1.0.0-RC1
10601017
1061-- [new] Null values are now supported in BoundStatement (but you will need at
1018+- [new] JAVA-79: Null values are now supported in BoundStatement (but you will need at
10621019 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
10631020 slightly changed so that not binding a variable is not an error anymore,
10641021 the variable is simply considered null by default. The isReady() method has
1065- been removed (JAVA-79).
1066-- [improvement] The Cluster/Session shutdown methods now properly block until
1067- the shutdown is complete. A version with at timeout has been added (JAVA-75).
1068-- [bug] Fix use of CQL3 functions in the query builder (JAVA-44).
1069-- [bug] Fix case where multiple schema changes too quickly wouldn't work
1070- (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra
1071- nodes) (JAVA-77).
1072-- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O
1073- thread (JAVA-72).
1074-- [bug] Correctly reports errors during authentication phase (JAVA-82).
1022+ been removed.
1023+- [improvement] JAVA-75: The Cluster/Session shutdown methods now properly block until
1024+ the shutdown is complete. A version with at timeout has been added.
1025+- [bug] JAVA-44: Fix use of CQL3 functions in the query builder.
1026+- [bug] JAVA-77: Fix case where multiple schema changes too quickly wouldn't work
1027+ (only triggered when 0.0.0.0 was used for the rpc_address on the Cassandra
1028+ nodes).
1029+- [bug] JAVA-72: Fix IllegalStateException thrown due to a reconnection made on an I/O
1030+ thread.
1031+- [bug] JAVA-82: Correctly reports errors during authentication phase.
10751032
10761033
10771034 ### 1.0.0-beta2
10781035
1079-- [new] Support blob constants, BigInteger, BigDecimal and counter batches in
1080- the query builder (JAVA-51, JAVA-60, JAVA-58)
1081-- [new] Basic support for custom CQL3 types (JAVA-61)
1082-- [new] Add "execution infos" for a result set (this also move the query
1036+- [new] JAVA-51, JAVA-60, JAVA-58: Support blob constants, BigInteger, BigDecimal and counter batches in
1037+ the query builder.
1038+- [new] JAVA-61: Basic support for custom CQL3 types.
1039+- [new] JAVA-65: Add "execution infos" for a result set (this also move the query
10831040 trace in the new ExecutionInfos object, so users of beta1 will have to
1084- update) (JAVA-65)
1085-- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62)
1086-- [bug] Fix use of bind markers for routing keys in the query builder
1087- (JAVA-66)
1041+ update).
1042+- [bug] JAVA-62: Fix failover bug in DCAwareRoundRobinPolicy.
1043+- [bug] JAVA-66: Fix use of bind markers for routing keys in the query builder.
10881044
10891045
10901046 ### 1.0.0-beta1