kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 4815760f4ac602167a0c83a53e35fa25c186358cd3d8384cd6a98578bbdb4451 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-05-28 08:48 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-05-28 10:27 +02:00 |
| Parents | f2f4eb8f8405 |
4 files changed
modified README.md +0 −1
| @@ -59,7 +59,6 @@ | ||
| 59 | 59 | - TWITTER: Follow the latest news about DataStax Drivers - [@olim7t](http://twitter.com/olim7t), [@mfiguiere](http://twitter.com/mfiguiere) |
| 60 | 60 | - DOCS: http://docs.datastax.com/en/developer/java-driver/2.0/java-driver/whatsNew2.html |
| 61 | 61 | - API: http://docs.datastax.com/en/drivers/java/2.0 |
| 62 | -- CHANGELOG: https://github.com/datastax/java-driver/blob/2.0/driver-core/CHANGELOG.rst | |
| 63 | 62 | |
| 64 | 63 | |
| 65 | 64 | ## Maven |
added changelog/README.md +484 −0
| @@ -0,0 +1,484 @@ | ||
| 1 | +## Changelog | |
| 2 | + | |
| 3 | +### 2.0.11 | |
| 4 | + | |
| 5 | +Merged from 2.0.10_fixes branch: | |
| 6 | + | |
| 7 | +- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756) | |
| 8 | +- [improvement] Expose "unsafe" paging state API (JAVA-759) | |
| 9 | +- [bug] Fix getObject by name (JAVA-767) | |
| 10 | +- [bug] Prevent race during pool initialization (JAVA-768) | |
| 11 | + | |
| 12 | + | |
| 13 | +### 2.0.10.1 | |
| 14 | + | |
| 15 | +- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756) | |
| 16 | +- [improvement] Expose "unsafe" paging state API (JAVA-759) | |
| 17 | +- [bug] Fix getObject by name (JAVA-767) | |
| 18 | +- [bug] Prevent race during pool initialization (JAVA-768) | |
| 19 | + | |
| 20 | + | |
| 21 | +### 2.0.10 | |
| 22 | + | |
| 23 | +- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518) | |
| 24 | +- [improvement] Add connection heartbeat (JAVA-533) | |
| 25 | +- [improvement] Reduce level of logs on missing rpc_address (JAVA-568) | |
| 26 | +- [improvement] Expose node token and range information (JAVA-312, JAVA-681) | |
| 27 | +- [bug] Fix cluster name mismatch check at startup (JAVA-595) | |
| 28 | +- [bug] Fix guava dependency when using OSGI (JAVA-620) | |
| 29 | +- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678) | |
| 30 | +- [improvement] Use List<?> instead of List<Object> in QueryBuilder API | |
| 31 | + (JAVA-631) | |
| 32 | +- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654) | |
| 33 | +- [bug] Quote single quotes contained in table comments in asCQLQuery method | |
| 34 | + (JAVA-655) | |
| 35 | +- [bug] Empty TokenRange returned in a one token cluster (JAVA-684) | |
| 36 | +- [improvement] Expose TokenRange#contains (JAVA-687) | |
| 37 | +- [new feature] Expose values of BoundStatement (JAVA-547) | |
| 38 | +- [new feature] Add getObject to BoundStatement and Row (JAVA-584) | |
| 39 | +- [improvement] Improve connection pool resizing algorithm (JAVA-419) | |
| 40 | +- [bug] Fix race condition between pool expansion and shutdown (JAVA-599) | |
| 41 | +- [improvement] Upgrade Netty to 4.0.27 (JAVA-622) | |
| 42 | +- [improvement] Coalesce frames before flushing them to the connection | |
| 43 | + (JAVA-562) | |
| 44 | +- [improvement] Rename threads to indicate that they are for the driver | |
| 45 | + (JAVA-583) | |
| 46 | +- [new feature] Expose paging state (JAVA-550) | |
| 47 | +- [new feature] Slow Query Logger (JAVA-646) | |
| 48 | +- [improvement] Exclude some errors from measurements in LatencyAwarePolicy | |
| 49 | + (JAVA-698) | |
| 50 | +- [bug] Fix issue when executing a PreparedStatement from another cluster | |
| 51 | + (JAVA-641) | |
| 52 | +- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534) | |
| 53 | +- [improvement] Allow Cluster subclasses to delegate to another instance | |
| 54 | + (JAVA-619) | |
| 55 | +- [new feature] Expose an API to check for schema agreement after a | |
| 56 | + schema-altering statement (JAVA-669) | |
| 57 | +- [improvement] Make connection and pool creation fully async (JAVA-692) | |
| 58 | +- [improvement] Optimize connection use after reconnection (JAVA-505) | |
| 59 | +- [improvement] Remove "suspected" mechanism (JAVA-617) | |
| 60 | +- [improvement] Don't mark connection defunct on client timeout (reverts | |
| 61 | + JAVA-425) | |
| 62 | +- [new feature] Speculative query executions (JAVA-561) | |
| 63 | +- [bug] Release connection before completing the ResultSetFuture (JAVA-666) | |
| 64 | +- [new feature BETA] Percentile-based variant of query logger and speculative | |
| 65 | + executions (JAVA-723) | |
| 66 | +- [bug] Fix buffer leaks when compression is enabled (JAVA-734). | |
| 67 | + | |
| 68 | +Merged from 2.0.9_fixes branch: | |
| 69 | + | |
| 70 | +- [bug] Prevent race between cancellation and query completion (JAVA-614) | |
| 71 | +- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if | |
| 72 | + streamId was already released and reused (JAVA-632). | |
| 73 | +- [bug] Fix issue when newly opened pool fails before we could mark the node UP | |
| 74 | + (JAVA-642) | |
| 75 | +- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613) | |
| 76 | +- [bug] Fix edge cases where a connection was released twice (JAVA-651). | |
| 77 | +- [bug] Fix edge cases in query cancellation (JAVA-653). | |
| 78 | + | |
| 79 | + | |
| 80 | +### 2.0.9.2 | |
| 81 | + | |
| 82 | +- [bug] Fix edge cases where a connection was released twice (JAVA-651). | |
| 83 | +- [bug] Fix edge cases in query cancellation (JAVA-653). | |
| 84 | + | |
| 85 | + | |
| 86 | +### 2.0.9.1 | |
| 87 | + | |
| 88 | +- [bug] Prevent race between cancellation and query completion (JAVA-614) | |
| 89 | +- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if | |
| 90 | + streamId was already released and reused (JAVA-632). | |
| 91 | +- [bug] Fix issue when newly opened pool fails before we could mark the node UP | |
| 92 | + (JAVA-642) | |
| 93 | +- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613) | |
| 94 | + | |
| 95 | + | |
| 96 | +### 2.0.9 | |
| 97 | + | |
| 98 | +- [improvement] Shade Netty dependency (JAVA-538) | |
| 99 | +- [improvement] Target schema refreshes more precisely (JAVA-543) | |
| 100 | +- [bug] Don't check rpc_address for control host (JAVA-546) | |
| 101 | +- [improvement] Improve message of NoHostAvailableException (JAVA-409) | |
| 102 | +- [bug] Rework connection reaper to avoid deadlock (JAVA-556) | |
| 103 | +- [bug] Avoid deadlock when multiple connections to the same host get write | |
| 104 | + errors (JAVA-557) | |
| 105 | +- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504) | |
| 106 | +- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled | |
| 107 | + connections fails while bringing the node back up (JAVA-577) | |
| 108 | +- [bug] Prevent faulty control connection from ignoring reconnecting hosts | |
| 109 | + (JAVA-587) | |
| 110 | +- temporarily revert "Add idle timeout to the connection pool" (JAVA-419) | |
| 111 | +- [bug] Ensure updateCreatedPools does not add pools for suspected hosts | |
| 112 | + (JAVA-593) | |
| 113 | +- [bug] Ensure state change notifications for a given host are handled serially | |
| 114 | + (JAVA-594) | |
| 115 | +- [bug] Ensure control connection reconnects when control host is removed | |
| 116 | + (JAVA-597) | |
| 117 | + | |
| 118 | + | |
| 119 | +### 2.0.8 | |
| 120 | + | |
| 121 | +- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526) | |
| 122 | +- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515) | |
| 123 | +- [improvement] Expose the driver version through the API (JAVA-532) | |
| 124 | +- [improvement] Optimize session initialization when some hosts are not | |
| 125 | + responsive (JAVA-522) | |
| 126 | + | |
| 127 | + | |
| 128 | +### 2.0.7 | |
| 129 | + | |
| 130 | +- [bug] Handle null pool in PooledConnection.release (JAVA-449) | |
| 131 | +- [improvement] Defunct connection on request timeout (JAVA-425) | |
| 132 | +- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426) | |
| 133 | +- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471) | |
| 134 | +- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496) | |
| 135 | +- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497) | |
| 136 | +- [improvement] Keep trying to reconnect on authentication errors (JAVA-472) | |
| 137 | +- [improvement] Expose close method on load balancing policy (JAVA-463) | |
| 138 | +- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459) | |
| 139 | +- [bug] Expose an API to cancel reconnection attempts (JAVA-493) | |
| 140 | +- [bug] Fix NPE when a connection fails during pool construction (JAVA-503) | |
| 141 | +- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided | |
| 142 | + (JAVA-423) | |
| 143 | +- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504) | |
| 144 | +- [improvement] Make schema agreement wait tuneable (JAVA-507) | |
| 145 | +- [improvement] Document how to inject the driver metrics into another registry (JAVA-494) | |
| 146 | +- [improvement] Add idle timeout to the connection pool (JAVA-419) | |
| 147 | +- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516) | |
| 148 | +- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with | |
| 149 | + an explicit but null or empty local datacenter (JAVA-451). | |
| 150 | +- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511) | |
| 151 | +- [improvement] Make timeout on saturated pool customizable (JAVA-457) | |
| 152 | +- [improvement] Downgrade Guava to 14.0.1 (JAVA-521) | |
| 153 | + | |
| 154 | + | |
| 155 | +### 2.0.6 | |
| 156 | + | |
| 157 | +- [bug] Check cluster name when connecting to a new node (JAVA-397) | |
| 158 | +- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326) | |
| 159 | +- [bug] Add collection and data length checks during serialization (JAVA-363) | |
| 160 | +- [improvement] Surface number of retries in metrics (JAVA-329) | |
| 161 | +- [bug] Do not use a host when no rpc_address found for it (JAVA-428) | |
| 162 | +- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358) | |
| 163 | +- [bug] Fix negative HostConnectionPool open count (JAVA-349) | |
| 164 | +- [improvement] Log more connection details at trace and debug levels (JAVA-436) | |
| 165 | +- [bug] Fix cluster shutdown (JAVA-445) | |
| 166 | +- [improvement] Expose child policy in chainable load balancing policies (JAVA-439) | |
| 167 | + | |
| 168 | + | |
| 169 | +### 2.0.5 | |
| 170 | + | |
| 171 | +- [bug] Release connections on ResultSetFuture#cancel (JAVA-407) | |
| 172 | +- [bug] Fix handling of SimpleStatement with values in query builder | |
| 173 | + batches (JAVA-393) | |
| 174 | +- [bug] Ensure pool is properly closed in onDown (JAVA-417) | |
| 175 | +- [bug] Fix tokenMap initialization at startup (JAVA-415) | |
| 176 | +- [bug] Avoid deadlock on close (JAVA-418) | |
| 177 | + | |
| 178 | + | |
| 179 | +### 2.0.4 | |
| 180 | + | |
| 181 | +- [improvement] Better handling of dead connections (JAVA-204) | |
| 182 | +- [bug] Fix potential NPE in ControlConnection (JAVA-373) | |
| 183 | +- [bug] Throws NPE when passed null for a contact point (JAVA-291) | |
| 184 | +- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315) | |
| 185 | +- [bug] Avoid classloader leak in Tomcat (JAVA-343) | |
| 186 | +- [bug] Avoid deadlock in onAdd/onUp (JAVA-387) | |
| 187 | +- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391) | |
| 188 | +- [bug] Ensure defunct connections are completely closed (JAVA-394) | |
| 189 | +- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390) | |
| 190 | + | |
| 191 | + | |
| 192 | +### 2.0.3 | |
| 193 | + | |
| 194 | +- [new] The new AbsractSession makes mocking of Session easier. | |
| 195 | +- [new] Allow to trigger a refresh of connected hosts (JAVA-309) | |
| 196 | +- [new] New Session#getState method allows to grab information on | |
| 197 | + which nodes a session is connected to (JAVA-265) | |
| 198 | +- [new] Add QueryBuilder syntax for tuples in where clauses (syntax | |
| 199 | + introduced in Cassandra 2.0.6) (JAVA-327) | |
| 200 | +- [improvement] Properly validate arguments of PoolingOptions methods | |
| 201 | + (JAVA-359) | |
| 202 | +- [bug] Fix bogus rejection of BigInteger in 'execute with values' | |
| 203 | + (JAVA-368) | |
| 204 | +- [bug] Signal connection failure sooner to avoid missing them | |
| 205 | + (JAVA-367) | |
| 206 | +- [bug] Throw UnsupportedOperationException for protocol batch | |
| 207 | + setSerialCL (JAVA-337) | |
| 208 | + | |
| 209 | +Merged from 1.0 branch: | |
| 210 | + | |
| 211 | +- [bug] Fix periodic reconnection to down hosts (JAVA-325) | |
| 212 | + | |
| 213 | + | |
| 214 | +### 2.0.2 | |
| 215 | + | |
| 216 | +- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from | |
| 217 | + InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and | |
| 218 | + for AuthProvider#newAuthenticator. | |
| 219 | +- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local | |
| 220 | + datacenter is automatically picked based on the first connected node. Furthermore, | |
| 221 | + the TokenAwarePolicy is also used by default (JAVA-296) | |
| 222 | +- [new] New optional AddressTranslater (JAVA-145) | |
| 223 | +- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321) | |
| 224 | +- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320) | |
| 225 | +- [bug] Fix thread-safety of page fetching (JAVA-319) | |
| 226 | +- [bug] Fix potential NPE using fetchMoreResults (JAVA-318) | |
| 227 | + | |
| 228 | +Merged from 1.0 branch: | |
| 229 | + | |
| 230 | +- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179) | |
| 231 | +- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list | |
| 232 | +- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289) | |
| 233 | +- [bug] Revert back to longs for dates in the query builder (JAVA-313) | |
| 234 | +- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314) | |
| 235 | + | |
| 236 | + | |
| 237 | +### 2.0.1 | |
| 238 | + | |
| 239 | +- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278) | |
| 240 | +- [improvement] Add Cluster#newSession method to create Session without connecting | |
| 241 | + right away (JAVA-208) | |
| 242 | +- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279) | |
| 243 | +- [bug] Properly parse BytesType as the blob type | |
| 244 | +- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280) | |
| 245 | + | |
| 246 | +Merged from 1.0 branch: | |
| 247 | + | |
| 248 | +- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275) | |
| 249 | +- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114) | |
| 250 | + | |
| 251 | + | |
| 252 | +### 2.0.0 | |
| 253 | + | |
| 254 | +- [api] Case sensitive identifier by default in Metadata (JAVA-269) | |
| 255 | +- [bug] Fix potential NPE in Cluster#connect (JAVA-274) | |
| 256 | + | |
| 257 | +Merged from 1.0 branch: | |
| 258 | + | |
| 259 | +- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263) | |
| 260 | +- [bug] Fix race when multiple connect are done in parallel (JAVA-261) | |
| 261 | +- [bug] Don't connect at all to nodes that are ignored by the load balancing | |
| 262 | + policy (JAVA-270) | |
| 263 | + | |
| 264 | + | |
| 265 | +### 2.0.0-rc3 | |
| 266 | + | |
| 267 | +- [improvement] The protocol version 1 is now supported (features only supported by the | |
| 268 | + version 2 of the protocol throw UnsupportedFeatureException). | |
| 269 | +- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195) | |
| 270 | +- [improvement] Adds new getStatements and clear methods to BatchStatement. | |
| 271 | +- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering | |
| 272 | + and Session also now implement Closeable (JAVA-247). | |
| 273 | +- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232) | |
| 274 | +- [bug] Fix potential NPE in HostConnectionPool (JAVA-231) | |
| 275 | +- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244) | |
| 276 | +- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258) | |
| 277 | + | |
| 278 | +Merged from 1.0 branch: | |
| 279 | + | |
| 280 | +- [new] Added Session#prepareAsync calls (JAVA-224) | |
| 281 | +- [new] Added Cluster#getLoggedKeyspace (JAVA-249) | |
| 282 | +- [improvement] Avoid preparing a statement multiple time per host with multiple sessions | |
| 283 | +- [bug] Make sure connections are returned to the right pools (JAVA-255) | |
| 284 | +- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264) | |
| 285 | + | |
| 286 | + | |
| 287 | +### 2.0.0-rc2 | |
| 288 | + | |
| 289 | +- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207) | |
| 290 | +- [bug] Fix parsing of counter types (JAVA-219) | |
| 291 | +- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218) | |
| 292 | +- [bug] Fix replicas computation for token aware balancing (JAVA-221) | |
| 293 | + | |
| 294 | +Merged from 1.0 branch: | |
| 295 | + | |
| 296 | +- [bug] Fix regression from JAVA-201 (JAVA-213) | |
| 297 | +- [improvement] New getter to obtain a snapshot of the scores maintained by | |
| 298 | + LatencyAwarePolicy. | |
| 299 | + | |
| 300 | + | |
| 301 | +### 2.0.0-rc1 | |
| 302 | + | |
| 303 | +- [new] Mark compression dependencies optional in maven (JAVA-199). | |
| 304 | +- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns. | |
| 305 | + | |
| 306 | +Merged from 1.0 branch: | |
| 307 | + | |
| 308 | +- [new] OSGi bundle (JAVA-142) | |
| 309 | +- [improvement] Make collections returned by Row immutable (JAVA-205) | |
| 310 | +- [improvement] Limit internal thread pool size (JAVA-203) | |
| 311 | +- [bug] Don't retain unused PreparedStatement in memory (JAVA-201) | |
| 312 | +- [bug] Add missing clustering order info in TableMetadata | |
| 313 | +- [bug] Allow bind markers for collections in the query builder (JAVA-196) | |
| 314 | + | |
| 315 | + | |
| 316 | +### 2.0.0-beta2 | |
| 317 | + | |
| 318 | +- [api] BoundStatement#setX(String, X) methods now set all values (if there is | |
| 319 | + more than one) having the provided name, not just the first occurence. | |
| 320 | +- [api] The Authenticator interface now has a onAuthenticationSuccess method that | |
| 321 | + allows to handle the potential last token sent by the server. | |
| 322 | +- [new] The query builder don't serialize large values to strings anymore by | |
| 323 | + default by making use the new ability to send values alongside the query string. | |
| 324 | +- [new] The query builder has been updated for new CQL features (JAVA-140). | |
| 325 | +- [bug] Fix exception when a conditional write timeout C* side. | |
| 326 | +- [bug] Ensure connection is created when Cluster metadata are asked for | |
| 327 | + (JAVA-182). | |
| 328 | +- [bug] Fix potential NPE during authentication (JAVA-187) | |
| 329 | + | |
| 330 | + | |
| 331 | +### 2.0.0-beta1 | |
| 332 | + | |
| 333 | +- [api] The 2.0 version is an API-breaking upgrade of the driver. While most | |
| 334 | + of the breaking changes are minor, there are too numerous to be listed here | |
| 335 | + and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe | |
| 336 | + those changes in details. | |
| 337 | +- [new] LZ4 compression is supported for the protocol. | |
| 338 | +- [new] The driver does not depend on cassandra-all anymore (JAVA-39) | |
| 339 | +- [new] New BatchStatement class allows to execute batch other statements. | |
| 340 | +- [new] Large ResultSet are now paged (incrementally fetched) by default. | |
| 341 | +- [new] SimpleStatement support values for bind-variables, to allow | |
| 342 | + prepare+execute behavior with one roundtrip. | |
| 343 | +- [new] Query parameters defaults (Consistency level, page size, ...) can be | |
| 344 | + configured globally. | |
| 345 | +- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are | |
| 346 | + supported. | |
| 347 | +- [new] Cluster#shutdown now waits for ongoing queries to complete by default | |
| 348 | + (JAVA-116). | |
| 349 | +- [new] Generic authentication through SASL is now exposed. | |
| 350 | +- [bug] TokenAwarePolicy now takes all replica into account, instead of only the | |
| 351 | + first one (JAVA-88). | |
| 352 | + | |
| 353 | + | |
| 354 | +### 1.0.5 | |
| 355 | + | |
| 356 | +- [new] OSGi bundle (JAVA-142) | |
| 357 | +- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this | |
| 358 | + require Cassandra 1.2.12+ (JAVA-207) | |
| 359 | +- [improvement] Make collections returned by Row immutable (JAVA-205) | |
| 360 | +- [improvement] Limit internal thread pool size (JAVA-203) | |
| 361 | +- [improvement] New getter to obtain a snapshot of the scores maintained by | |
| 362 | + LatencyAwarePolicy. | |
| 363 | +- [improvement] Avoid synchronization when getting codec for collection | |
| 364 | + types (JAVA-222) | |
| 365 | +- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213) | |
| 366 | +- [bug] Add missing clustering order info in TableMetadata | |
| 367 | +- [bug] Allow bind markers for collections in the query builder (JAVA-196) | |
| 368 | + | |
| 369 | + | |
| 370 | +### 1.0.4 | |
| 371 | + | |
| 372 | +- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions | |
| 373 | + are now deprecated. They are replaced by the new withPoolingOptions and | |
| 374 | + withSocketOptions methods (JAVA-163). | |
| 375 | +- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to | |
| 376 | + add latency awareness to a wrapped load balancing policy (JAVA-129). | |
| 377 | +- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization) | |
| 378 | + (JAVA-161) | |
| 379 | +- [new] Add truncate statement in query builder (JAVA-117). | |
| 380 | +- [new] Support empty IN in the query builder (JAVA-106). | |
| 381 | +- [bug] Fix spurious "No current pool set; this should not happen" error | |
| 382 | + message (JAVA-166) | |
| 383 | +- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if | |
| 384 | + a balancing policy throws (JAVA-184) | |
| 385 | +- [bug] Don't release Stream ID for timeouted queries (unless we do get back | |
| 386 | + the response) | |
| 387 | +- [bug] Correctly escape identifiers and use fully qualified table names when | |
| 388 | + exporting schema as string. | |
| 389 | + | |
| 390 | + | |
| 391 | +### 1.0.3 | |
| 392 | + | |
| 393 | +- [api] The query builder now correctly throw an exception when given a value | |
| 394 | + of a type it doesn't know about. | |
| 395 | +- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we | |
| 396 | + wait for the answer of one node. See the javadoc for more details. | |
| 397 | +- [new] New Session#prepare method that takes a Statement. | |
| 398 | +- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder | |
| 399 | + statements (JAVA-143). | |
| 400 | +- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes. | |
| 401 | + | |
| 402 | + | |
| 403 | +### 1.0.2 | |
| 404 | + | |
| 405 | +- [api] Host#getMonitor and all Host.HealthMonitor methods have been | |
| 406 | + deprecated. The new Host#isUp method is now prefered to the method | |
| 407 | + in the monitor and you should now register Host.StateListener against | |
| 408 | + the Cluster object directly (registering against a host HealthMonitor | |
| 409 | + was much more limited anyway). | |
| 410 | +- [new] New serialize/deserialize methods in DataType to serialize/deserialize | |
| 411 | + values to/from bytes (JAVA-92). | |
| 412 | +- [new] New getIndexOf() method in ColumnDefinitions to find the index of | |
| 413 | + a given column name (JAVA-128). | |
| 414 | +- [bug] Fix a bug when thread could get blocked while setting the current | |
| 415 | + keyspace (JAVA-131). | |
| 416 | +- [bug] Quote inet addresses in the query builder since CQL3 requires it | |
| 417 | + (JAVA-136) | |
| 418 | + | |
| 419 | + | |
| 420 | +### 1.0.1 | |
| 421 | + | |
| 422 | +- [api] Function call handling in the query builder has been modified in a | |
| 423 | + backward incompatible way. Function calls are not parsed from string values | |
| 424 | + anymore as this wasn't safe. Instead the new 'fcall' method should be used | |
| 425 | + (JAVA-100). | |
| 426 | +- [api] Some typos in method names in PoolingOptions have been fixed in a | |
| 427 | + backward incompatible way before the API get widespread. | |
| 428 | +- [bug] Don't destroy composite partition key with BoundStatement and | |
| 429 | + TokenAwarePolicy (JAVA-123). | |
| 430 | +- [new] null values support in the query builder. | |
| 431 | +- [new] SSL support (requires C* >= 1.2.1) (JAVA-5). | |
| 432 | +- [new] Allow generating unlogged batch in the query builder (JAVA-113). | |
| 433 | +- [improvement] Better error message when no host are available. | |
| 434 | +- [improvement] Improves performance of the stress example application been. | |
| 435 | + | |
| 436 | + | |
| 437 | +### 1.0.0 | |
| 438 | + | |
| 439 | +- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the | |
| 440 | + Cluster builder has a new withCredentials() method to provide a username | |
| 441 | + and password for use with Cassandra's PasswordAuthenticator. Custom | |
| 442 | + authenticator will be re-introduced in a future version but are not | |
| 443 | + supported at the moment. | |
| 444 | +- [api] The isMetricsEnabled() method in Configuration has been replaced by | |
| 445 | + getMetricsOptions(). An option to disabled JMX reporting (on by default) | |
| 446 | + has been added. | |
| 447 | +- [bug] Don't make default load balancing policy a static singleton since it | |
| 448 | + is stateful (JAVA-91). | |
| 449 | + | |
| 450 | + | |
| 451 | +### 1.0.0-RC1 | |
| 452 | + | |
| 453 | +- [new] Null values are now supported in BoundStatement (but you will need at | |
| 454 | + least Cassandra 1.2.3 for it to work). The API of BoundStatement has been | |
| 455 | + slightly changed so that not binding a variable is not an error anymore, | |
| 456 | + the variable is simply considered null by default. The isReady() method has | |
| 457 | + been removed (JAVA-79). | |
| 458 | +- [improvement] The Cluster/Session shutdown methods now properly block until | |
| 459 | + the shutdown is complete. A version with at timeout has been added (JAVA-75). | |
| 460 | +- [bug] Fix use of CQL3 functions in the query builder (JAVA-44). | |
| 461 | +- [bug] Fix case where multiple schema changes too quickly wouldn't work | |
| 462 | + (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra | |
| 463 | + nodes) (JAVA-77). | |
| 464 | +- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O | |
| 465 | + thread (JAVA-72). | |
| 466 | +- [bug] Correctly reports errors during authentication phase (JAVA-82). | |
| 467 | + | |
| 468 | + | |
| 469 | +### 1.0.0-beta2 | |
| 470 | + | |
| 471 | +- [new] Support blob constants, BigInteger, BigDecimal and counter batches in | |
| 472 | + the query builder (JAVA-51, JAVA-60, JAVA-58) | |
| 473 | +- [new] Basic support for custom CQL3 types (JAVA-61) | |
| 474 | +- [new] Add "execution infos" for a result set (this also move the query | |
| 475 | + trace in the new ExecutionInfos object, so users of beta1 will have to | |
| 476 | + update) (JAVA-65) | |
| 477 | +- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62) | |
| 478 | +- [bug] Fix use of bind markers for routing keys in the query builder | |
| 479 | + (JAVA-66) | |
| 480 | + | |
| 481 | + | |
| 482 | +### 1.0.0-beta1 | |
| 483 | + | |
| 484 | +- initial release |
modified docs.yaml +5 −0
| @@ -9,6 +9,11 @@ | ||
| 9 | 9 | sources: |
| 10 | 10 | - type: markdown |
| 11 | 11 | files: 'features/**/*.md' |
| 12 | + - title: Changelog | |
| 13 | + prefix: /changelog | |
| 14 | + sources: | |
| 15 | + - type: markdown | |
| 16 | + files: 'changelog/**/*.md' | |
| 12 | 17 | links: |
| 13 | 18 | - title: Code |
| 14 | 19 | href: https://github.com/datastax/java-driver/ |
deleted driver-core/CHANGELOG.rst +0 −514
| @@ -1,514 +0,0 @@ | ||
| 1 | -CHANGELOG | |
| 2 | -========= | |
| 3 | - | |
| 4 | -2.0.11: | |
| 5 | -------- | |
| 6 | - | |
| 7 | -Merged from 2.0.10_fixes branch: | |
| 8 | - | |
| 9 | -- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756) | |
| 10 | -- [improvement] Expose "unsafe" paging state API (JAVA-759) | |
| 11 | -- [bug] Fix getObject by name (JAVA-767) | |
| 12 | -- [bug] Prevent race during pool initialization (JAVA-768) | |
| 13 | - | |
| 14 | - | |
| 15 | -2.0.10.1: | |
| 16 | ---------- | |
| 17 | - | |
| 18 | -- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756) | |
| 19 | -- [improvement] Expose "unsafe" paging state API (JAVA-759) | |
| 20 | -- [bug] Fix getObject by name (JAVA-767) | |
| 21 | -- [bug] Prevent race during pool initialization (JAVA-768) | |
| 22 | - | |
| 23 | - | |
| 24 | -2.0.10: | |
| 25 | -------- | |
| 26 | - | |
| 27 | -- [new feature] Add AddressTranslater for EC2 multi-region deployment (JAVA-518) | |
| 28 | -- [improvement] Add connection heartbeat (JAVA-533) | |
| 29 | -- [improvement] Reduce level of logs on missing rpc_address (JAVA-568) | |
| 30 | -- [improvement] Expose node token and range information (JAVA-312, JAVA-681) | |
| 31 | -- [bug] Fix cluster name mismatch check at startup (JAVA-595) | |
| 32 | -- [bug] Fix guava dependency when using OSGI (JAVA-620) | |
| 33 | -- [bug] Fix handling of DROP events when ks name is case-sensitive (JAVA-678) | |
| 34 | -- [improvement] Use List<?> instead of List<Object> in QueryBuilder API | |
| 35 | - (JAVA-631) | |
| 36 | -- [improvement] Exclude Netty POM from META-INF in shaded JAR (JAVA-654) | |
| 37 | -- [bug] Quote single quotes contained in table comments in asCQLQuery method | |
| 38 | - (JAVA-655) | |
| 39 | -- [bug] Empty TokenRange returned in a one token cluster (JAVA-684) | |
| 40 | -- [improvement] Expose TokenRange#contains (JAVA-687) | |
| 41 | -- [new feature] Expose values of BoundStatement (JAVA-547) | |
| 42 | -- [new feature] Add getObject to BoundStatement and Row (JAVA-584) | |
| 43 | -- [improvement] Improve connection pool resizing algorithm (JAVA-419) | |
| 44 | -- [bug] Fix race condition between pool expansion and shutdown (JAVA-599) | |
| 45 | -- [improvement] Upgrade Netty to 4.0.27 (JAVA-622) | |
| 46 | -- [improvement] Coalesce frames before flushing them to the connection | |
| 47 | - (JAVA-562) | |
| 48 | -- [improvement] Rename threads to indicate that they are for the driver | |
| 49 | - (JAVA-583) | |
| 50 | -- [new feature] Expose paging state (JAVA-550) | |
| 51 | -- [new feature] Slow Query Logger (JAVA-646) | |
| 52 | -- [improvement] Exclude some errors from measurements in LatencyAwarePolicy | |
| 53 | - (JAVA-698) | |
| 54 | -- [bug] Fix issue when executing a PreparedStatement from another cluster | |
| 55 | - (JAVA-641) | |
| 56 | -- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534) | |
| 57 | -- [improvement] Allow Cluster subclasses to delegate to another instance | |
| 58 | - (JAVA-619) | |
| 59 | -- [new feature] Expose an API to check for schema agreement after a | |
| 60 | - schema-altering statement (JAVA-669) | |
| 61 | -- [improvement] Make connection and pool creation fully async (JAVA-692) | |
| 62 | -- [improvement] Optimize connection use after reconnection (JAVA-505) | |
| 63 | -- [improvement] Remove "suspected" mechanism (JAVA-617) | |
| 64 | -- [improvement] Don't mark connection defunct on client timeout (reverts | |
| 65 | - JAVA-425) | |
| 66 | -- [new feature] Speculative query executions (JAVA-561) | |
| 67 | -- [bug] Release connection before completing the ResultSetFuture (JAVA-666) | |
| 68 | -- [new feature BETA] Percentile-based variant of query logger and speculative | |
| 69 | - executions (JAVA-723) | |
| 70 | -- [bug] Fix buffer leaks when compression is enabled (JAVA-734). | |
| 71 | - | |
| 72 | -Merged from 2.0.9_fixes branch: | |
| 73 | - | |
| 74 | -- [bug] Prevent race between cancellation and query completion (JAVA-614) | |
| 75 | -- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if | |
| 76 | - streamId was already released and reused (JAVA-632). | |
| 77 | -- [bug] Fix issue when newly opened pool fails before we could mark the node UP | |
| 78 | - (JAVA-642) | |
| 79 | -- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613) | |
| 80 | -- [bug] Fix edge cases where a connection was released twice (JAVA-651). | |
| 81 | -- [bug] Fix edge cases in query cancellation (JAVA-653). | |
| 82 | - | |
| 83 | - | |
| 84 | -2.0.9.2: | |
| 85 | --------- | |
| 86 | - | |
| 87 | -- [bug] Fix edge cases where a connection was released twice (JAVA-651). | |
| 88 | -- [bug] Fix edge cases in query cancellation (JAVA-653). | |
| 89 | - | |
| 90 | - | |
| 91 | -2.0.9.1: | |
| 92 | --------- | |
| 93 | - | |
| 94 | -- [bug] Prevent race between cancellation and query completion (JAVA-614) | |
| 95 | -- [bug] Prevent cancel and timeout from cancelling unrelated ResponseHandler if | |
| 96 | - streamId was already released and reused (JAVA-632). | |
| 97 | -- [bug] Fix issue when newly opened pool fails before we could mark the node UP | |
| 98 | - (JAVA-642) | |
| 99 | -- [bug] Fix unwanted LBP notifications when a contact host is down (JAVA-613) | |
| 100 | - | |
| 101 | - | |
| 102 | -2.0.9: | |
| 103 | ------- | |
| 104 | - | |
| 105 | -- [improvement] Shade Netty dependency (JAVA-538) | |
| 106 | -- [improvement] Target schema refreshes more precisely (JAVA-543) | |
| 107 | -- [bug] Don't check rpc_address for control host (JAVA-546) | |
| 108 | -- [improvement] Improve message of NoHostAvailableException (JAVA-409) | |
| 109 | -- [bug] Rework connection reaper to avoid deadlock (JAVA-556) | |
| 110 | -- [bug] Avoid deadlock when multiple connections to the same host get write | |
| 111 | - errors (JAVA-557) | |
| 112 | -- [improvement] Make shuffle=true the default for TokenAwarePolicy (JAVA-504) | |
| 113 | -- [bug] Fix bug when SUSPECT reconnection succeeds, but one of the pooled | |
| 114 | - connections fails while bringing the node back up (JAVA-577) | |
| 115 | -- [bug] Prevent faulty control connection from ignoring reconnecting hosts | |
| 116 | - (JAVA-587) | |
| 117 | -- temporarily revert "Add idle timeout to the connection pool" (JAVA-419) | |
| 118 | -- [bug] Ensure updateCreatedPools does not add pools for suspected hosts | |
| 119 | - (JAVA-593) | |
| 120 | -- [bug] Ensure state change notifications for a given host are handled serially | |
| 121 | - (JAVA-594) | |
| 122 | -- [bug] Ensure control connection reconnects when control host is removed | |
| 123 | - (JAVA-597) | |
| 124 | - | |
| 125 | - | |
| 126 | -2.0.8: | |
| 127 | ------- | |
| 128 | - | |
| 129 | -- [bug] Fix token awareness for case-sensitive keyspaces and tables (JAVA-526) | |
| 130 | -- [bug] Check maximum number of values passed to SimpleStatement (JAVA-515) | |
| 131 | -- [improvement] Expose the driver version through the API (JAVA-532) | |
| 132 | -- [improvement] Optimize session initialization when some hosts are not | |
| 133 | - responsive (JAVA-522) | |
| 134 | - | |
| 135 | - | |
| 136 | -2.0.7: | |
| 137 | ------- | |
| 138 | - | |
| 139 | -- [bug] Handle null pool in PooledConnection.release (JAVA-449) | |
| 140 | -- [improvement] Defunct connection on request timeout (JAVA-425) | |
| 141 | -- [improvement] Try next host when we get a SERVER_ERROR (JAVA-426) | |
| 142 | -- [bug] Handle race between query timeout and completion (JAVA-449, JAVA-460, JAVA-471) | |
| 143 | -- [bug] Fix DCAwareRoundRobinPolicy datacenter auto-discovery (JAVA-496) | |
| 144 | -- [bug] Ensure control connection does not trigger concurrent reconnects (JAVA-497) | |
| 145 | -- [improvement] Keep trying to reconnect on authentication errors (JAVA-472) | |
| 146 | -- [improvement] Expose close method on load balancing policy (JAVA-463) | |
| 147 | -- [improvement] Allow load balancing policy to trigger refresh for a single host (JAVA-459) | |
| 148 | -- [bug] Expose an API to cancel reconnection attempts (JAVA-493) | |
| 149 | -- [bug] Fix NPE when a connection fails during pool construction (JAVA-503) | |
| 150 | -- [improvement] Log datacenter name in DCAware policy's init when it is explicitly provided | |
| 151 | - (JAVA-423) | |
| 152 | -- [improvement] Shuffle the replicas in TokenAwarePolicy.newQueryPlan (JAVA-504) | |
| 153 | -- [improvement] Make schema agreement wait tuneable (JAVA-507) | |
| 154 | -- [improvement] Document how to inject the driver metrics into another registry (JAVA-494) | |
| 155 | -- [improvement] Add idle timeout to the connection pool (JAVA-419) | |
| 156 | -- [bug] LatencyAwarePolicy does not shutdown executor on invocation of close (JAVA-516) | |
| 157 | -- [improvement] Throw an exception when DCAwareRoundRobinPolicy is built with | |
| 158 | - an explicit but null or empty local datacenter (JAVA-451). | |
| 159 | -- [bug] Fix check for local contact points in DCAware policy's init (JAVA-511) | |
| 160 | -- [improvement] Make timeout on saturated pool customizable (JAVA-457) | |
| 161 | -- [improvement] Downgrade Guava to 14.0.1 (JAVA-521) | |
| 162 | - | |
| 163 | - | |
| 164 | -2.0.6: | |
| 165 | ------- | |
| 166 | - | |
| 167 | -- [bug] Check cluster name when connecting to a new node (JAVA-397) | |
| 168 | -- [bug] Add missing CAS delete support in QueryBuilder (JAVA-326) | |
| 169 | -- [bug] Add collection and data length checks during serialization (JAVA-363) | |
| 170 | -- [improvement] Surface number of retries in metrics (JAVA-329) | |
| 171 | -- [bug] Do not use a host when no rpc_address found for it (JAVA-428) | |
| 172 | -- [improvement] Add ResultSet.wasApplied() for conditional queries (JAVA-358) | |
| 173 | -- [bug] Fix negative HostConnectionPool open count (JAVA-349) | |
| 174 | -- [improvement] Log more connection details at trace and debug levels (JAVA-436) | |
| 175 | -- [bug] Fix cluster shutdown (JAVA-445) | |
| 176 | -- [improvement] Expose child policy in chainable load balancing policies (JAVA-439) | |
| 177 | - | |
| 178 | - | |
| 179 | -2.0.5: | |
| 180 | ------- | |
| 181 | - | |
| 182 | -- [bug] Release connections on ResultSetFuture#cancel (JAVA-407) | |
| 183 | -- [bug] Fix handling of SimpleStatement with values in query builder | |
| 184 | - batches (JAVA-393) | |
| 185 | -- [bug] Ensure pool is properly closed in onDown (JAVA-417) | |
| 186 | -- [bug] Fix tokenMap initialization at startup (JAVA-415) | |
| 187 | -- [bug] Avoid deadlock on close (JAVA-418) | |
| 188 | - | |
| 189 | - | |
| 190 | -2.0.4: | |
| 191 | ------- | |
| 192 | - | |
| 193 | -- [improvement] Better handling of dead connections (JAVA-204) | |
| 194 | -- [bug] Fix potential NPE in ControlConnection (JAVA-373) | |
| 195 | -- [bug] Throws NPE when passed null for a contact point (JAVA-291) | |
| 196 | -- [bug] Avoid LoadBalancingPolicy onDown+onUp at startup (JAVA-315) | |
| 197 | -- [bug] Avoid classloader leak in Tomcat (JAVA-343) | |
| 198 | -- [bug] Avoid deadlock in onAdd/onUp (JAVA-387) | |
| 199 | -- [bug] Make metadata parsing more lenient (JAVA-377, JAVA-391) | |
| 200 | -- [bug] Ensure defunct connections are completely closed (JAVA-394) | |
| 201 | -- [bug] Fix memory and resource leak on closed Sessions (JAVA-342, JAVA-390) | |
| 202 | - | |
| 203 | - | |
| 204 | -2.0.3: | |
| 205 | ------- | |
| 206 | - | |
| 207 | -- [new] The new AbsractSession makes mocking of Session easier. | |
| 208 | -- [new] Allow to trigger a refresh of connected hosts (JAVA-309) | |
| 209 | -- [new] New Session#getState method allows to grab information on | |
| 210 | - which nodes a session is connected to (JAVA-265) | |
| 211 | -- [new] Add QueryBuilder syntax for tuples in where clauses (syntax | |
| 212 | - introduced in Cassandra 2.0.6) (JAVA-327) | |
| 213 | -- [improvement] Properly validate arguments of PoolingOptions methods | |
| 214 | - (JAVA-359) | |
| 215 | -- [bug] Fix bogus rejection of BigInteger in 'execute with values' | |
| 216 | - (JAVA-368) | |
| 217 | -- [bug] Signal connection failure sooner to avoid missing them | |
| 218 | - (JAVA-367) | |
| 219 | -- [bug] Throw UnsupportedOperationException for protocol batch | |
| 220 | - setSerialCL (JAVA-337) | |
| 221 | - | |
| 222 | -Merged from 1.0 branch: | |
| 223 | - | |
| 224 | -- [bug] Fix periodic reconnection to down hosts (JAVA-325) | |
| 225 | - | |
| 226 | - | |
| 227 | -2.0.2: | |
| 228 | ------- | |
| 229 | - | |
| 230 | -- [api] The type of the map key returned by NoHostAvailable#getErrors has changed from | |
| 231 | - InetAddress to InetSocketAddress. Same for Initializer#getContactPoints return and | |
| 232 | - for AuthProvider#newAuthenticator. | |
| 233 | -- [api] The default load balacing policy is now DCAwareRoundRobinPolicy, and the local | |
| 234 | - datacenter is automatically picked based on the first connected node. Furthermore, | |
| 235 | - the TokenAwarePolicy is also used by default (JAVA-296) | |
| 236 | -- [new] New optional AddressTranslater (JAVA-145) | |
| 237 | -- [bug] Don't remove quotes on keyspace in the query builder (JAVA-321) | |
| 238 | -- [bug] Fix potential NPE while cluster undergo schema changes (JAVA-320) | |
| 239 | -- [bug] Fix thread-safety of page fetching (JAVA-319) | |
| 240 | -- [bug] Fix potential NPE using fetchMoreResults (JAVA-318) | |
| 241 | - | |
| 242 | -Merged from 1.0 branch: | |
| 243 | - | |
| 244 | -- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179) | |
| 245 | -- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list | |
| 246 | -- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289) | |
| 247 | -- [bug] Revert back to longs for dates in the query builder (JAVA-313) | |
| 248 | -- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314) | |
| 249 | - | |
| 250 | - | |
| 251 | -2.0.1: | |
| 252 | ------- | |
| 253 | - | |
| 254 | -- [improvement] Handle the static columns introduced in Cassandra 2.0.6 (JAVA-278) | |
| 255 | -- [improvement] Add Cluster#newSession method to create Session without connecting | |
| 256 | - right away (JAVA-208) | |
| 257 | -- [bug] Add missing iso8601 patterns for parsing dates (JAVA-279) | |
| 258 | -- [bug] Properly parse BytesType as the blob type | |
| 259 | -- [bug] Potential NPE when parsing schema of pre-CQL tables of C* 1.2 nodes (JAVA-280) | |
| 260 | - | |
| 261 | -Merged from 1.0 branch: | |
| 262 | - | |
| 263 | -- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275) | |
| 264 | -- [new] Add methods to check if a Cluster/Session instance has been closed already (JAVA-114) | |
| 265 | - | |
| 266 | - | |
| 267 | -2.0.0: | |
| 268 | ------- | |
| 269 | - | |
| 270 | -- [api] Case sensitive identifier by default in Metadata (JAVA-269) | |
| 271 | -- [bug] Fix potential NPE in Cluster#connect (JAVA-274) | |
| 272 | - | |
| 273 | -Merged from 1.0 branch: | |
| 274 | - | |
| 275 | -- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263) | |
| 276 | -- [bug] Fix race when multiple connect are done in parallel (JAVA-261) | |
| 277 | -- [bug] Don't connect at all to nodes that are ignored by the load balancing | |
| 278 | - policy (JAVA-270) | |
| 279 | - | |
| 280 | - | |
| 281 | -2.0.0-rc3: | |
| 282 | ----------- | |
| 283 | - | |
| 284 | -- [improvement] The protocol version 1 is now supported (features only supported by the | |
| 285 | - version 2 of the protocol throw UnsupportedFeatureException). | |
| 286 | -- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195) | |
| 287 | -- [improvement] Adds new getStatements and clear methods to BatchStatement. | |
| 288 | -- [api] Renamed shutdown to closeAsync and ShutdownFuture to CloseFuture. Clustering | |
| 289 | - and Session also now implement Closeable (JAVA-247). | |
| 290 | -- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232) | |
| 291 | -- [bug] Fix potential NPE in HostConnectionPool (JAVA-231) | |
| 292 | -- [bug] Avoid NPE when node is in an unconfigured DC (JAVA-244) | |
| 293 | -- [bug] Don't block for scheduled reconnections on Cluster#close (JAVA-258) | |
| 294 | - | |
| 295 | -Merged from 1.0 branch: | |
| 296 | - | |
| 297 | -- [new] Added Session#prepareAsync calls (JAVA-224) | |
| 298 | -- [new] Added Cluster#getLoggedKeyspace (JAVA-249) | |
| 299 | -- [improvement] Avoid preparing a statement multiple time per host with multiple sessions | |
| 300 | -- [bug] Make sure connections are returned to the right pools (JAVA-255) | |
| 301 | -- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264) | |
| 302 | - | |
| 303 | - | |
| 304 | -2.0.0-rc2: | |
| 305 | ----------- | |
| 306 | - | |
| 307 | -- [new] Add LOCAL_ONE consistency level support (requires using C* 2.0.2+) (JAVA-207) | |
| 308 | -- [bug] Fix parsing of counter types (JAVA-219) | |
| 309 | -- [bug] Fix missing whitespace for IN clause in the query builder (JAVA-218) | |
| 310 | -- [bug] Fix replicas computation for token aware balancing (JAVA-221) | |
| 311 | - | |
| 312 | -Merged from 1.0 branch: | |
| 313 | - | |
| 314 | -- [bug] Fix regression from JAVA-201 (JAVA-213) | |
| 315 | -- [improvement] New getter to obtain a snapshot of the scores maintained by | |
| 316 | - LatencyAwarePolicy. | |
| 317 | - | |
| 318 | - | |
| 319 | -2.0.0-rc1: | |
| 320 | ----------- | |
| 321 | - | |
| 322 | -- [new] Mark compression dependencies optional in maven (JAVA-199). | |
| 323 | -- [api] Renamed TableMetadata#getClusteringKey to TableMetadata#getClusteringColumns. | |
| 324 | - | |
| 325 | -Merged from 1.0 branch: | |
| 326 | - | |
| 327 | -- [new] OSGi bundle (JAVA-142) | |
| 328 | -- [improvement] Make collections returned by Row immutable (JAVA-205) | |
| 329 | -- [improvement] Limit internal thread pool size (JAVA-203) | |
| 330 | -- [bug] Don't retain unused PreparedStatement in memory (JAVA-201) | |
| 331 | -- [bug] Add missing clustering order info in TableMetadata | |
| 332 | -- [bug] Allow bind markers for collections in the query builder (JAVA-196) | |
| 333 | - | |
| 334 | - | |
| 335 | -2.0.0-beta2: | |
| 336 | ------------- | |
| 337 | - | |
| 338 | -- [api] BoundStatement#setX(String, X) methods now set all values (if there is | |
| 339 | - more than one) having the provided name, not just the first occurence. | |
| 340 | -- [api] The Authenticator interface now has a onAuthenticationSuccess method that | |
| 341 | - allows to handle the potential last token sent by the server. | |
| 342 | -- [new] The query builder don't serialize large values to strings anymore by | |
| 343 | - default by making use the new ability to send values alongside the query string. | |
| 344 | -- [new] The query builder has been updated for new CQL features (JAVA-140). | |
| 345 | -- [bug] Fix exception when a conditional write timeout C* side. | |
| 346 | -- [bug] Ensure connection is created when Cluster metadata are asked for | |
| 347 | - (JAVA-182). | |
| 348 | -- [bug] Fix potential NPE during authentication (JAVA-187) | |
| 349 | - | |
| 350 | - | |
| 351 | -2.0.0-beta1: | |
| 352 | ------------ | |
| 353 | - | |
| 354 | -- [api] The 2.0 version is an API-breaking upgrade of the driver. While most | |
| 355 | - of the breaking changes are minor, there are too numerous to be listed here | |
| 356 | - and you are encouraged to look at the Upgrade_guide_to_2.0 file that describe | |
| 357 | - those changes in details. | |
| 358 | -- [new] LZ4 compression is supported for the protocol. | |
| 359 | -- [new] The driver does not depend on cassandra-all anymore (JAVA-39) | |
| 360 | -- [new] New BatchStatement class allows to execute batch other statements. | |
| 361 | -- [new] Large ResultSet are now paged (incrementally fetched) by default. | |
| 362 | -- [new] SimpleStatement support values for bind-variables, to allow | |
| 363 | - prepare+execute behavior with one roundtrip. | |
| 364 | -- [new] Query parameters defaults (Consistency level, page size, ...) can be | |
| 365 | - configured globally. | |
| 366 | -- [new] New Cassandra 2.0 SERIAL and LOCAL_SERIAL consistency levels are | |
| 367 | - supported. | |
| 368 | -- [new] Cluster#shutdown now waits for ongoing queries to complete by default | |
| 369 | - (JAVA-116). | |
| 370 | -- [new] Generic authentication through SASL is now exposed. | |
| 371 | -- [bug] TokenAwarePolicy now takes all replica into account, instead of only the | |
| 372 | - first one (JAVA-88). | |
| 373 | - | |
| 374 | - | |
| 375 | -1.0.5: | |
| 376 | ------- | |
| 377 | - | |
| 378 | -- [new] OSGi bundle (JAVA-142) | |
| 379 | -- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this | |
| 380 | - require Cassandra 1.2.12+ (JAVA-207) | |
| 381 | -- [improvement] Make collections returned by Row immutable (JAVA-205) | |
| 382 | -- [improvement] Limit internal thread pool size (JAVA-203) | |
| 383 | -- [improvement] New getter to obtain a snapshot of the scores maintained by | |
| 384 | - LatencyAwarePolicy. | |
| 385 | -- [improvement] Avoid synchronization when getting codec for collection | |
| 386 | - types (JAVA-222) | |
| 387 | -- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213) | |
| 388 | -- [bug] Add missing clustering order info in TableMetadata | |
| 389 | -- [bug] Allow bind markers for collections in the query builder (JAVA-196) | |
| 390 | - | |
| 391 | - | |
| 392 | -1.0.4: | |
| 393 | ------- | |
| 394 | - | |
| 395 | -- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions | |
| 396 | - are now deprecated. They are replaced by the new withPoolingOptions and | |
| 397 | - withSocketOptions methods (JAVA-163). | |
| 398 | -- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to | |
| 399 | - add latency awareness to a wrapped load balancing policy (JAVA-129). | |
| 400 | -- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization) | |
| 401 | - (JAVA-161) | |
| 402 | -- [new] Add truncate statement in query builder (JAVA-117). | |
| 403 | -- [new] Support empty IN in the query builder (JAVA-106). | |
| 404 | -- [bug] Fix spurious "No current pool set; this should not happen" error | |
| 405 | - message (JAVA-166) | |
| 406 | -- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if | |
| 407 | - a balancing policy throws (JAVA-184) | |
| 408 | -- [bug] Don't release Stream ID for timeouted queries (unless we do get back | |
| 409 | - the response) | |
| 410 | -- [bug] Correctly escape identifiers and use fully qualified table names when | |
| 411 | - exporting schema as string. | |
| 412 | - | |
| 413 | - | |
| 414 | -1.0.3: | |
| 415 | ------- | |
| 416 | - | |
| 417 | -- [api] The query builder now correctly throw an exception when given a value | |
| 418 | - of a type it doesn't know about. | |
| 419 | -- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we | |
| 420 | - wait for the answer of one node. See the javadoc for more details. | |
| 421 | -- [new] New Session#prepare method that takes a Statement. | |
| 422 | -- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder | |
| 423 | - statements (JAVA-143). | |
| 424 | -- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes. | |
| 425 | - | |
| 426 | - | |
| 427 | -1.0.2: | |
| 428 | ------- | |
| 429 | - | |
| 430 | -- [api] Host#getMonitor and all Host.HealthMonitor methods have been | |
| 431 | - deprecated. The new Host#isUp method is now prefered to the method | |
| 432 | - in the monitor and you should now register Host.StateListener against | |
| 433 | - the Cluster object directly (registering against a host HealthMonitor | |
| 434 | - was much more limited anyway). | |
| 435 | -- [new] New serialize/deserialize methods in DataType to serialize/deserialize | |
| 436 | - values to/from bytes (JAVA-92). | |
| 437 | -- [new] New getIndexOf() method in ColumnDefinitions to find the index of | |
| 438 | - a given column name (JAVA-128). | |
| 439 | -- [bug] Fix a bug when thread could get blocked while setting the current | |
| 440 | - keyspace (JAVA-131). | |
| 441 | -- [bug] Quote inet addresses in the query builder since CQL3 requires it | |
| 442 | - (JAVA-136) | |
| 443 | - | |
| 444 | - | |
| 445 | -1.0.1: | |
| 446 | ------- | |
| 447 | - | |
| 448 | -- [api] Function call handling in the query builder has been modified in a | |
| 449 | - backward incompatible way. Function calls are not parsed from string values | |
| 450 | - anymore as this wasn't safe. Instead the new 'fcall' method should be used | |
| 451 | - (JAVA-100). | |
| 452 | -- [api] Some typos in method names in PoolingOptions have been fixed in a | |
| 453 | - backward incompatible way before the API get widespread. | |
| 454 | -- [bug] Don't destroy composite partition key with BoundStatement and | |
| 455 | - TokenAwarePolicy (JAVA-123). | |
| 456 | -- [new] null values support in the query builder. | |
| 457 | -- [new] SSL support (requires C* >= 1.2.1) (JAVA-5). | |
| 458 | -- [new] Allow generating unlogged batch in the query builder (JAVA-113). | |
| 459 | -- [improvement] Better error message when no host are available. | |
| 460 | -- [improvement] Improves performance of the stress example application been. | |
| 461 | - | |
| 462 | - | |
| 463 | -1.0.0: | |
| 464 | ------- | |
| 465 | - | |
| 466 | -- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the | |
| 467 | - Cluster builder has a new withCredentials() method to provide a username | |
| 468 | - and password for use with Cassandra's PasswordAuthenticator. Custom | |
| 469 | - authenticator will be re-introduced in a future version but are not | |
| 470 | - supported at the moment. | |
| 471 | -- [api] The isMetricsEnabled() method in Configuration has been replaced by | |
| 472 | - getMetricsOptions(). An option to disabled JMX reporting (on by default) | |
| 473 | - has been added. | |
| 474 | -- [bug] Don't make default load balancing policy a static singleton since it | |
| 475 | - is stateful (JAVA-91). | |
| 476 | - | |
| 477 | - | |
| 478 | -1.0.0-RC1: | |
| 479 | ----------- | |
| 480 | - | |
| 481 | -- [new] Null values are now supported in BoundStatement (but you will need at | |
| 482 | - least Cassandra 1.2.3 for it to work). The API of BoundStatement has been | |
| 483 | - slightly changed so that not binding a variable is not an error anymore, | |
| 484 | - the variable is simply considered null by default. The isReady() method has | |
| 485 | - been removed (JAVA-79). | |
| 486 | -- [improvement] The Cluster/Session shutdown methods now properly block until | |
| 487 | - the shutdown is complete. A version with at timeout has been added (JAVA-75). | |
| 488 | -- [bug] Fix use of CQL3 functions in the query builder (JAVA-44). | |
| 489 | -- [bug] Fix case where multiple schema changes too quickly wouldn't work | |
| 490 | - (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra | |
| 491 | - nodes) (JAVA-77). | |
| 492 | -- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O | |
| 493 | - thread (JAVA-72). | |
| 494 | -- [bug] Correctly reports errors during authentication phase (JAVA-82). | |
| 495 | - | |
| 496 | - | |
| 497 | -1.0.0-beta2: | |
| 498 | ------------- | |
| 499 | - | |
| 500 | -- [new] Support blob constants, BigInteger, BigDecimal and counter batches in | |
| 501 | - the query builder (JAVA-51, JAVA-60, JAVA-58) | |
| 502 | -- [new] Basic support for custom CQL3 types (JAVA-61) | |
| 503 | -- [new] Add "execution infos" for a result set (this also move the query | |
| 504 | - trace in the new ExecutionInfos object, so users of beta1 will have to | |
| 505 | - update) (JAVA-65) | |
| 506 | -- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62) | |
| 507 | -- [bug] Fix use of bind markers for routing keys in the query builder | |
| 508 | - (JAVA-66) | |
| 509 | - | |
| 510 | - | |
| 511 | -1.0.0-beta1: | |
| 512 | ------------- | |
| 513 | - | |
| 514 | -- initial release |