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