Releases: aerospike/aerospike-client-java
Releases · aerospike/aerospike-client-java
9.0.2
Release Date: December 06, 2024
- Requires server 8.0.0.0-rc1 or greater for MRT support.
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
Bug Fixes
- Remove the txn instance from the copied write policy when adding MRT monitor keys. This avoids regular write command processing that should not be done when adding MRT monitor keys. [CLIENT-3210]
- Upgrade to netty 4.1.115.Final per snyk.
Full Changelog: 9.0.1...9.0.2
9.0.1
Release Date: December 03, 2024
- Requires server 8.0.0.0-rc1 or greater for MRT support.
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
New Features
- Add sync and async touched() methods. [CLIENT-3174]
Bug Fixes
- Default client MRT timeout to zero. This means use the server configuration mrt-duration as the MRT timeout. The default mrt-duration is 10 seconds. [CLIENT-3173]
- Add ResultCode.MRT_TOO_MANY_WRITES. [CLIENT-3185]
- Change ResultCode values for multi-record transactions. [CLIENT-3197]
- Restore default policy getters to perform a get instead of a copy. [CLIENT-3198]
- Do not close/delete MRT monitor record on abort/commit when a write command in that MRT fails and is inDoubt. [CLIENT-3199]
- Use java standard String constructor to perform UTF8 bytes to String conversion. [CLIENT-3200]
- Skip MRT tests if namespace is not configured as strong consistency. [CLIENT-3201]
Full Changelog: 9.0.0...9.0.1
9.0.0
Release Date: November 19, 2024
- This client version is no longer compatible with the server version 8.0.0.0-rc1 or greater due to error code value changes. Do not use.
New Features
- Support multi-record transactions. This feature requires server version 8.0+. [CLIENT-2848]
Bug Fixes
- Pass compression level argument into Deflater constructor instead of using setter. [CLIENT-3162]
- Remove proxy client source code from java client repository. [CLIENT-3158]
Full Changelog: 8.1.5...9.0.0
8.1.4
Release Date: September 17, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
Bug Fixes
- Replace an existing node in the cluster when a new peer has the same node name, but a different IP address. The existing node must also have recent cluster tend failures and not be a localhost IP address (127.0.0.1) for the node replacement to proceed. [CLIENT-3117]
- Support both old and new (introduced in server 7.2) error response formats in UDF register(). [CLIENT-3115]
- Add XDR_KEY_BUSY result code. [CLIENT-3097]
- Upgrade gRPC version to 1.65.1 for the proxy client. [CLIENT-3081]
- Upgrade to netty 4.1.112.Final and commons-cli 1.9.0 per snyk.
Full Changelog: 8.1.3...8.1.4
8.1.3
Release Date: August 09, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
Bug Fixes
- Read the entire response from the sync command's socket even when the command (write, delete, …) only needs to parse the response header. This fixes client parsing when the server returns an empty bin on a delete when “respond all ops” is enabled on the client and “bin convergence” is enabled on the server. [CLIENT-3069]
- Upgrade jackson-databind library to version 2.17.2 per synk. [CLIENT-3059]
- Upgrade netty library to version 4.1.111.Final per snyk.
Full Changelog: 8.1.2...8.1.3
7.2.2
Release Date: June 28, 2024
Bug Fixes
- Allow scan to work in a mixed cluster of server 5.7 and 6.4 nodes. [CLIENT-2972]
Full Changelog: 7.2.1...7.2.2
8.1.2
Release Date: June 25, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
Bug Fixes
- If binNames array is specified and empty, read all bins. [CLIENT-2933]
- Remove unnecessary imports. [CLIENT-2962]
- Make metrics classes public in javadoc. [CLIENT-2971]
- Allow scan to work in a mixed cluster of server 5.7 and 6.4 nodes. [CLIENT-2972]
- Support new server 7.1 info command error response strings. [CLIENT-2978]
- Change ReadModeSC doc from server to client perspective. [CLIENT-3002]
- Upgrade netty version to 4.1.110.Final per snyk.
- Upgrade commons-cli to 1.8.0 per snyk.
Full Changelog: 8.1.1...8.1.2
8.1.1
Release Date: May 07, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
New Features
- Add methods for copying default policies. [CLIENT-2839]
- Add getKeyRecord() in RecordSet and RecordSequenceRecordSet. [CLIENT-2843]
- Add readTouchTtlPercent command line option to benchmarks. [CLIENT-2868]
Bug Fixes
- Use default batch policy (ClientPolicy batchWritePolicyDefault, batchUDFPolicyDefault or batchDeletePolicyDefault) when the record level batch policy is null. [CLIENT-2842]
- Only validate error code instead of entire error string in createDrop() index test. [CLIENT-2902]
- Propagate the original LuaC compile() exception details in AerospikeExceptions thrown by LuaCache.
- Upgrade netty version to 4.1.108.Final per snyk.
- Upgrade commons-cli to 1.7.0 per snyk.
Full Changelog: 8.1.0...8.1.1
8.1.0
Release Date: March 21, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
New Features
- Add async connection latency to metrics. [CLIENT-2802]
- Include sub-exceptions in the main exception message when a transaction fails after at least one retry. [CLIENT-2810]
- Support QueryDuration enum in QueryPolicy. The QueryDuration LONG_RELAX_AP enum value requires server version 7.1+. [CLIENT-2816]
- Support readTouchTtlPercent in Policy and BatchReadPolicy. This feature requires server version 7.1+. [CLIENT-2817]
Bug Fixes
- Use same message format in timeout exceptions as all other exceptions. [CLIENT-2808]
- Remove GeoJSON map key query example because the server no longer supports GeoJSON map keys. [CLIENT-2813]
- Update map key docs to say that only string, integer and byte[] types are allowed as map keys. [CLIENT-2785]
- Update sendKey policy doc to say what happens when a user key is sent on a read operation. [CLIENT-2785]
- Update PartitionFilter.after() doc to say that records in other partitions than the key's partition are filtered out. Also, mention why after() is not accurate for a secondary index query. Both digest and bval are required to determine a secondary index query cursor and bval is not passed in as an argument.
- Update Exp.cond() doc to say that all action expressions must return the same type, with the exception being Exp.unknown().
- Upgrade netty version to 4.1.107.Final per snyk.
- Upgrade netty io_uring version to 0.0.25.Final per snyk.
Full Changelog: 8.0.2...8.1.0
8.0.2
Release Date: February 05, 2024
- The aerospike-client package has been split into aerospike-client-jdk8 and aerospike-client-jdk21. aerospike-client-jdk8 requires JDK versions 8+. aerospike-client-jdk21 supports virtual threads and requires JDK versions 21+. The dependency artifactId in your pom file must be changed accordingly.
New Features
- Support persistent list indexes. [CLIENT-2764]
Bug Fixes
- Do not use batch repeat flag on batch writes when sendKey policy is true. [CLIENT-2775]
- Return error when command line object spec is invalid in benchmarks. Also, cleanup DBObjectSpec class and fix random generation when run multiple times. [CLIENT-2755]
- Upgrade netty version to 4.1.104.Final and netty io_uring version to 0.0.24.Final per Snyk.
- Update add() docs to mention that the record/bin will be created by default when the record/bin does not already exist.
Full Changelog: 8.0.1...8.0.2