Elffuss BraidHub

kikocis/java-driver public

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