Elffuss BraidHub

kikocis/java-driver public

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