Elffuss BraidHub

kikocis/java-driver public

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