Elffuss BraidHub

kikocis/java-driver public

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