Elffuss BraidHub

kikocis/java-driver public

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