[RELEASE] OSS driver 4.1.0 and DSE driver 2.1.0

41 views
Skip to first unread message

Olivier Michallat

unread,
Jun 25, 2019, 6:04:13 PM6/25/19
to java-dri...@lists.datastax.com
We've just released the latest version of our drivers.

The main feature is the new object mapper (JAVA-2078). Like in previous versions, it relies on annotations to configure mapped entities and queries. However, there are a few notable differences:
  • it uses compile-time annotation processing instead of runtime reflection;
  • the "mapper" and "accessor" concepts have been unified into a single "DAO" component, that handles both pre-defined CRUD patterns, and user-provided queries.
For a complete tour, refer to the driver manual:

Full changelog for OSS 4.1.0:

- [documentation] JAVA-2294: Fix wrong examples in manual page on batch statements
- [bug] JAVA-2304: Avoid direct calls to ByteBuffer.array()
- [new feature] JAVA-2078: Add object mapper
- [improvement] JAVA-2297: Add a NettyOptions method to set socket options
- [bug] JAVA-2280: Ignore peer rows with missing host id or RPC address
- [bug] JAVA-2264: Adjust HashedWheelTimer tick duration from 1 to 100 ms
- [bug] JAVA-2260: Handle empty collections in PreparedStatement.bind(...)
- [improvement] JAVA-2278: Pass the request's log prefix to RequestTracker
- [bug] JAVA-2253: Don't strip trailing zeros in ByteOrderedToken
- [improvement] JAVA-2207: Add bulk value assignment to QueryBuilder Insert
- [bug] JAVA-2234: Handle terminated executor when the session is closed twice
- [documentation] JAVA-2220: Emphasize that query builder is now a separate artifact in root README
- [documentation] JAVA-2217: Cover contact points and local datacenter earlier in the manual
- [improvement] JAVA-2242: Allow skipping all integration tests with -DskipITs
- [improvement] JAVA-2241: Make DefaultDriverContext.cycleDetector protected
- [bug] JAVA-2226: Support IPv6 contact points in the configuration

Full changelog for DSE 2.1.0:

- [documentation] JAVA-2213: Add 2.x docs for DSE Driver Authentication
- [new feature]: JAVA-2227: Add DSE object mapper
- [bug] JAVA-2304: Avoid direct calls to ByteBuffer.array()
- [documentation] JAVA-2220: Emphasize that query builder is now a separate artifact in root README


As usual, the driver is available from Maven central:

<dependency>
  <groupId>com.datastax.oss</groupId>
  <artifactId>java-driver-core</artifactId>
  <version>4.1.0</version>
</dependency>

<dependency>
  <groupId>com.datastax.dse</groupId>
  <artifactId>dse-java-driver-core</artifactId>
  <version>2.1.0</version>
</dependency>

And from our download servers.

--

Olivier Michallat

Driver & tools engineer, DataStax

Reply all
Reply to author
Forward
0 new messages