Elffuss BraidHub

kikocis/java-driver public

1210f1743d7c · 7.1 KiBRawPermalink
1CHANGELOG
2=========
3
41.0.7:
5------
6
7- [new] Add method to check if a Cluster/Session instance has been closed already (JAVA-114)
8- [new] Expose the name of the partitioner in use in the cluster metadata (JAVA-179)
9- [new] Add new WhiteListPolicy to limit the nodes connected to a particular list
10- [improvement] Do not hop DC for LOCAL_* CL in DCAwareRoundRobinPolicy (JAVA-289)
11- [bug] Revert back to longs for dates in the query builder (JAVA-313)
12- [bug] Don't reconnect to nodes ignored by the load balancing policy (JAVA-314)
13
14
151.0.6:
16------
17
18- [new] Added Session#prepareAsync calls (JAVA-224)
19- [new] Added Cluster#getLoggedKeyspace (JAVA-249)
20- [improvement] Make most main objects interface to facilitate testing/mocking (JAVA-195)
21- [improvement] Avoid preparing a statement multiple time per host with multiple sessions
22- [bug] Fix potential thread leaks when shutting down Metrics (JAVA-232)
23- [bug] Fix potential NPE in HostConnectionPool (JAVA-231)
24- [bug] Make sure connections are returned to the right pools (JAVA-255)
25- [bug] Use date string in query build to work-around CASSANDRA-6718 (JAVA-264)
26- [bug] Always return the PreparedStatement object that is cache internally (JAVA-263)
27- [bug] Fix race when multiple connect are done in parallel (JAVA-261)
28- [bug] Don't connect at all to nodes that are ignored by the load balancing
29 policy (JAVA-270)
30- [bug] LatencyAwarePolicy.Builder#withScale doesn't set the scale (JAVA-275)
31
32
331.0.5:
34------
35
36- [new] OSGi bundle (JAVA-142)
37- [new] Add support for ConsistencyLevel.LOCAL_ONE; note that this
38 require Cassandra 1.2.12+ (JAVA-207)
39- [improvement] Make collections returned by Row immutable (JAVA-205)
40- [improvement] Limit internal thread pool size (JAVA-203)
41- [improvement] New getter to obtain a snapshot of the scores maintained by
42 LatencyAwarePolicy.
43- [improvement] Avoid synchronization when getting codec for collection
44 types (JAVA-222)
45- [bug] Don't retain unused PreparedStatement in memory (JAVA-201, JAVA-213)
46- [bug] Add missing clustering order info in TableMetadata
47- [bug] Allow bind markers for collections in the query builder (JAVA-196)
48
49
501.0.4:
51------
52
53- [api] The Cluster.Builder#poolingOptions and Cluster.Builder#socketOptions
54 are now deprecated. They are replaced by the new withPoolingOptions and
55 withSocketOptions methods (JAVA-163).
56- [new] A new LatencyAwarePolicy wrapping policy has been added, allowing to
57 add latency awareness to a wrapped load balancing policy (JAVA-129).
58- [new] Allow defering cluster initialization (Cluster.Builder#deferInitialization)
59 (JAVA-161)
60- [new] Add truncate statement in query builder (JAVA-117).
61- [new] Support empty IN in the query builder (JAVA-106).
62- [bug] Fix spurious "No current pool set; this should not happen" error
63 message (JAVA-166)
64- [bug] Fix potential overflow in RoundRobinPolicy and correctly errors if
65 a balancing policy throws (JAVA-184)
66- [bug] Don't release Stream ID for timeouted queries (unless we do get back
67 the response)
68- [bug] Correctly escape identifiers and use fully qualified table names when
69 exporting schema as string.
70
71
721.0.3:
73------
74
75- [api] The query builder now correctly throw an exception when given a value
76 of a type it doesn't know about.
77- [new] SocketOptions#setReadTimeout allows to set a timeout on how long we
78 wait for the answer of one node. See the javadoc for more details.
79- [new] New Session#prepare method that takes a Statement.
80- [bug] Always take per-query CL, tracing, etc. into account for QueryBuilder
81 statements (JAVA-143).
82- [bug] Temporary fixup for TimestampType when talking to C* 2.0 nodes.
83
84
851.0.2:
86------
87
88- [api] Host#getMonitor and all Host.HealthMonitor methods have been
89 deprecated. The new Host#isUp method is now prefered to the method
90 in the monitor and you should now register Host.StateListener against
91 the Cluster object directly (registering against a host HealthMonitor
92 was much more limited anyway).
93- [new] New serialize/deserialize methods in DataType to serialize/deserialize
94 values to/from bytes (JAVA-92).
95- [new] New getIndexOf() method in ColumnDefinitions to find the index of
96 a given column name (JAVA-128).
97- [bug] Fix a bug when thread could get blocked while setting the current
98 keyspace (JAVA-131).
99- [bug] Quote inet addresses in the query builder since CQL3 requires it
100 (JAVA-136)
101
102
1031.0.1:
104------
105
106- [api] Function call handling in the query builder has been modified in a
107 backward incompatible way. Function calls are not parsed from string values
108 anymore as this wasn't safe. Instead the new 'fcall' method should be used
109 (JAVA-100).
110- [api] Some typos in method names in PoolingOptions have been fixed in a
111 backward incompatible way before the API get widespread.
112- [bug] Don't destroy composite partition key with BoundStatement and
113 TokenAwarePolicy (JAVA-123).
114- [new] null values support in the query builder.
115- [new] SSL support (requires C* >= 1.2.1) (JAVA-5).
116- [new] Allow generating unlogged batch in the query builder (JAVA-113).
117- [improvement] Better error message when no host are available.
118- [improvement] Improves performance of the stress example application been.
119
120
1211.0.0:
122------
123
124- [api] The AuthInfoProvider has be (temporarily) removed. Instead, the
125 Cluster builder has a new withCredentials() method to provide a username
126 and password for use with Cassandra's PasswordAuthenticator. Custom
127 authenticator will be re-introduced in a future version but are not
128 supported at the moment.
129- [api] The isMetricsEnabled() method in Configuration has been replaced by
130 getMetricsOptions(). An option to disabled JMX reporting (on by default)
131 has been added.
132- [bug] Don't make default load balancing policy a static singleton since it
133 is stateful (JAVA-91).
134
135
1361.0.0-RC1:
137----------
138
139- [new] Null values are now supported in BoundStatement (but you will need at
140 least Cassandra 1.2.3 for it to work). The API of BoundStatement has been
141 slightly changed so that not binding a variable is not an error anymore,
142 the variable is simply considered null by default. The isReady() method has
143 been removed (JAVA-79).
144- [improvement] The Cluster/Session shutdown methods now properly block until
145 the shutdown is complete. A version with at timeout has been added (JAVA-75).
146- [bug] Fix use of CQL3 functions in the query builder (JAVA-44).
147- [bug] Fix case where multiple schema changes too quickly wouldn't work
148 (only triggered when 0.0.0.0 was use for the rpc_address on the Cassandra
149 nodes) (JAVA-77).
150- [bug] Fix IllegalStateException thrown due to a reconnection made on an I/O
151 thread (JAVA-72).
152- [bug] Correctly reports errors during authentication phase (JAVA-82).
153
154
1551.0.0-beta2:
156------------
157
158- [new] Support blob constants, BigInteger, BigDecimal and counter batches in
159 the query builder (JAVA-51, JAVA-60, JAVA-58)
160- [new] Basic support for custom CQL3 types (JAVA-61)
161- [new] Add "execution infos" for a result set (this also move the query
162 trace in the new ExecutionInfos object, so users of beta1 will have to
163 update) (JAVA-65)
164- [bug] Fix failover bug in DCAwareRoundRobinPolicy (JAVA-62)
165- [bug] Fix use of bind markers for routing keys in the query builder
166 (JAVA-66)
167
168
1691.0.0-beta1:
170------------
171
172- initial release