Elffuss BraidHub

kikocis/java-driver public

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