Hi,
We are pleased to announce two new releases: OSS driver 4.0.0-rc1 and DSE driver 2.0.0-rc1.
With these release candidates, we do not expect any more significant changes to the driver's public API. If you are a third-party framework maintainer, now it's time to start integrating the new drivers. The docs are good starting points:
The most significant change since the last betas is in the DSE driver: when querying with reactive style programming, we now expose query metadata at publisher level thanks to a new interface:
ReactiveResultSet. Note that for performance reasons but also to avoid triggering unwanted requests, all reactive result sets returned by the driver are now limited to one subscriber only.
Here is the full changelog for the OSS driver 4.0.0-rc1:
- [improvement] JAVA-2106: Log server side warnings returned from a query
- [improvement] JAVA-2151: Drop "Dsl" suffix from query builder main classes
- [new feature] JAVA-2144: Expose internal API to hook into the session lifecycle
- [improvement] JAVA-2119: Add PagingIterable abstraction as a supertype of ResultSet
- [bug] JAVA-2063: Normalize authentication logging
- [documentation] JAVA-2034: Add performance recommendations in the manual
- [improvement] JAVA-2077: Allow reconnection policy to detect first connection attempt
- [improvement] JAVA-2067: Publish javadocs JAR for the shaded module
- [improvement] JAVA-2103: Expose partitioner name in TokenMap API
- [documentation] JAVA-2075: Document preference for LZ4 over Snappy
And here is the full changelog for the DSE driver 2.0.0-rc1:
- [improvement] JAVA-2152: Drop "Dsl" suffix from query builder main classes
- [bug] JAVA-2087: Reactive execution of CAS request throws IllegalStateException
- [improvement] JAVA-2133: Revisit function and aggregate statements in SchemaBuilderDsl
- [improvement] JAVA-2130: Create DseQueryBuilderDsl
- [improvement] JAVA-2121: Expose query metadata in reactive result sets
- [improvement] JAVA-2067: Publish javadocs JAR for the shaded module
- [new feature] JAVA-1993: Consider supporting sets in GraphNode
The driver is available from the usual download locations:
And finally, please find below the Maven coordinates for both drivers (note that the OSS groupId is different from OSS driver 3):
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
<version>4.0.0-rc1</version>
</dependency>
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-query-builder</artifactId>
<version>4.0.0-rc1</version>
</dependency>
<dependency>
<groupId>com.datastax.dse</groupId>
<artifactId>dse-java-driver-core</artifactId>
<version>2.0.0-rc1</version>
</dependency>
<dependency>
<groupId>com.datastax.dse</groupId>
<artifactId>dse-java-driver-query-builder</artifactId>
<version>2.0.0-rc1</version>
</dependency>
Thanks,
The Java driver team
--