We've just released a patch version for both drivers.
It addresses the Unicode issue we
described yesterday. In addition, it fixes an issue with the driver's programmatic coordinates in the shaded JAR (which didn't impact public releases -- only some of our internal builds).
Here's the changelog for 4.2.2:
- [bug] JAVA-2475: Fix message size when query string contains Unicode surrogates
- [bug] JAVA-2470: Fix Session.OSS_DRIVER_COORDINATES for shaded JAR
DSE 2.2.2 has no specific changes, it just bumps its open-source driver dependency to 4.2.2 to get the two fixes above.
As usual, the driver is available from Maven central:
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
<version>4.2.2</version>
</dependency>
<dependency>
<groupId>com.datastax.dse</groupId>
<artifactId>dse-java-driver-core</artifactId>
<version>2.2.2</version>
</dependency>