Skip to content

Releases: aerospike/aerospike-client-java

8.0.1

18 Jul 01:56

Choose a tag to compare

Release Date: January 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

  • JDK8 Rename artifactId from aerospike-client to aerospike-client-jdk8. [CLIENT-2754]
  • JDK21 Rename artifactId from aerospike-client to aerospike-client-jdk21. [CLIENT-2754]
  • Release new version to keep in sync with the native java client release. The proxy client requires JDK 8+ and does not have a JDK 21 specific release because the proxy client does not use virtual threads. [CLIENT-2754]
  • JDK21 Restore policy fields that were removed in version 8.0.0. The fields are ignored and deprecated since they are not necessary in the virtual threads implementation. This is done to preserve api compatibility between the new aerospike-client-jdk8 and aerospike-client-jdk21 packages. [CLIENT-2753]

Full Changelog: 8.0.0...8.0.1

8.0.0

18 Jul 01:56

Choose a tag to compare

Release Date: January 05, 2024

  • CLIENT-2741 Require Java JDK 21.

New Features

  • Support virtual threads. This will boost sync command performance while retaining the simplicity of the sync api. Async command performance is unchanged. [CLIENT-2741]
  • Replace thread local variables with heap-allocated variables. [CLIENT-2741]
  • Run sync batch/scan/query node commands on virtual threads. [CLIENT-2741]
  • Support ability for the user to run sync single record commands on virtual threads. [CLIENT-2741]
  • Remove ClientPolicy threadPool and sharedThreadPool variables. See Incompatible API change. [CLIENT-2741]
  • Remove BatchPolicy maxConcurrentThreads. All sync batch node commands are now run in parallel on virtual threads. See Incompatible API change. [CLIENT-2741]

Full Changelog: 7.2.2...8.0.0

7.2.1

18 Jul 01:56

Choose a tag to compare

Release Date: January 04, 2024

New Features

  • Add setters to applicable policies. This is done to facilitate Spring's ConfigurationProperties. [CLIENT-2737]
  • Support transactions only on given partitions in benchmarks.

Bug Fixes

  • In Java proxy client, create/Throw invalid namespace exception at the end of applicable batch reads on invalid namespace errors to be consistent with the java native client. [CLIENT-2667]
  • Replace SimpleDateFormat/Date with DateTimeFormatter/LocalDateTime. [CLIENT-2674]
  • In scan/query with maxRecords set, mark node's partitions for retry on next scan/query page when that node returns records that are discarded due to exceeding maxRecords. [CLIENT-2706]
  • Include all partition unavailable errors in the scan/query sub-exception list. [CLIENT-2720]
  • Fix ACT random command line argument in benchmark code.
  • Use Thread.getName() in ThreadLocalData debug log messages.
  • Upgrade to netty 4.1.103.Final, grpc 1.59.0 and commons-cli 1.6.0.
  • Change ListExp/MapExp doc examples to use EXISTS when searching keys/values in list/map.
  • Clarify the purpose of gCallbackSet in Log.isSet() api doc.

Full Changelog: 7.2.0...7.2.1

7.2.0

18 Jul 01:57

Choose a tag to compare

Release Date: October 25, 2023

New Features

  • Convert a batch node command to a single record command when the batch size for that node is one. This improves performance for small batch sizes. [CLIENT-2293]
  • Support Exp.recordSize(). This feature requires server version 7.0+. [CLIENT-2570]
  • Support secondary index on a blob (byte[]). This feature requires server version 7.0+. [CLIENT-2584]
  • Support Record.getBytes(). [CLIENT-2597]
  • Support persistent map indexes. This feature requires server version 7.0+. [CLIENT-2598]

Bug Fixes

  • Add returnType argument to relevant MapExp.removeBy() and ListExp.removeBy() methods. See Incompatible API change. [CLIENT-2483]
  • Document valid map key types (string, integer, byte[], list). [CLIENT-2439]
  • On scan/query where maxRetries is reached and there are no stored errors, throw exception with ResultCode.PARTITION_UNAVAILABLE because that is the only retryable error that does not result in stored errors. [CLIENT-2528]
  • Use the standard Base64 class instead of the old javax.xml.bind.DatatypeConverter for base64 encoding/decoding. DatatypeConverter was used when bouncycastle crypto was enabled. DatatypeConverter has been removed from newer versions of the java JDK. [CLIENT-2554]
  • Change PartitionParser to not send the trailing newline to the Base64 decoder, because this decoder does not allow the newline. [CLIENT-2554]
  • Add manifest filters to examples/benchmarks “pom.xml” to fix jar-with-dependencies jar signing errors when running with bouncycastle crypto and newer versions of the java JDK. [CLIENT-2554]
  • Fix the set_crypto sed script when running on Linux. [CLIENT-2554]
  • Use base 64 url decoder for decoding the claims token. [CLIENT-2623]
  • Change latencyColumns default to 7 and latencyShift default to 1 in MetricsPolicy. [CLIENT-2600]
  • Fix ClusterStats doc to say invalidNodeCount and retryCount are cumulative since the client was started.
  • Update operate() docs to mention the bin result type will be a list when multiple operations occur on the same bin.
  • Change SERVER_NOT_AVAILABLE doc to say "Connection to server failed".
  • Upgrade netty version to 4.1.99.Final per Snyk.
  • Upgrade netty iouring version to 0.0.23.Final per Snyk.

Full Changelog: 7.1.0...7.2.0

7.1.0

18 Jul 01:57

Choose a tag to compare

Release Date: August 17, 2023

New Features

  • Support rolling log policy (MetricsPolicy.reportSizeLimit) in MetricsWriter. [CLIENT-2469]

Bug Fixes

  • Return java serialized blobs as raw byte[] instead of throwing an exception. See Incompatible API change. [CLIENT-2513]
  • Move LatencyType to from "com.aerospike.client.cluster" to "com.aerospike.client.metrics".
  • Allow info response field "build_ee_sha" to be null in test because it will be null for community builds.

Full Changelog: 7.0.0...7.1.0

6.3.0

18 Jul 01:57

Choose a tag to compare

Release Date: August 17, 2023

Bug Fixes

  • Return java serialized blobs as raw byte[] instead of throwing an exception. See Incompatible API change. [CLIENT-2513]

Full Changelog: 6.2.0...6.3.0

5.3.0

18 Jul 02:00

Choose a tag to compare

Release Date: August 17, 2023

Bug Fixes

  • Return java serialized blobs as raw byte[] instead of throwing an exception. See Incompatible API change. [CLIENT-2513]

Full Changelog: 5.2.0...5.3.0

4.6.0

18 Jul 02:05

Choose a tag to compare

Release Date: August 17, 2023

Bug Fixes

  • Return java serialized blobs as raw byte[] instead of throwing an exception. See Incompatible API change. [CLIENT-2513]

Full Changelog: 4.5.0...4.6.0

6.2.0

18 Jul 01:57

Choose a tag to compare

Release Date: August 07, 2023

Bug Fixes

Full Changelog: 6.1.11...6.2.0

5.2.0

18 Jul 02:01

Choose a tag to compare

Release Date: August 07, 2023

Bug Fixes

Full Changelog: 5.1.11...5.2.0