Releases: aerospike/aerospike-client-java
Releases · aerospike/aerospike-client-java
4.5.0
Release Date: August 07, 2023
Bug Fixes
- Disable java runtime serialization/deserialization. Deserialization of java runtime serialized objects has been identified as a security risk (CVE-2023-36480) by CodeQL team members @atorralba (Tony Torralba) and @joefarebrother (Joseph Farebrother). See Incompatible API change. [CLIENT-2252]
Full Changelog: 4.4.20...4.5.0
7.0.0
Release Date: August 02, 2023
New Features
- Support extended client metrics. The current implementation periodically writes all metrics snaphots to a file. [CLIENT-2352]
- Proxy client initial release. This client can be used with the database-as-a-service (dbaas) server.
Bug Fixes
- Remove all code that used java runtime serialization/deserialization. Deserialization of java runtime serialized objects has been identified as a security risk (CVE-2023-36480) by CodeQL team members @atorralba (Tony Torralba) and @joefarebrother (Joseph Farebrother). See Incompatible API change. [CLIENT-2252]
- Default Value.UseBoolBin to true. If true, the boolean (instead of integer) data type will be used on writes of boolean bins. See Incompatible API change [CLIENT-2455]
- Remove all references to single-bin mode. Server version 6.4 will remove single-bin functionality. [CLIENT-2323]
- Remove Replica doc sentence that said "Scan and query are not affected by replica algorithm." as that is no longer true.
Full Changelog: 6.3.0...7.0.0
6.1.11
Release Date: June 21, 2023
Bug Fixes
- Catch Throwable whenever code depends on handling all possible exceptions. [CLIENT-2349]
- Upgrade core netty version to 4.1.94.Final and netty-incubator-transport-native-io_uring to 0.0.21.Final.
- Remove check for "single-bin" server configuration in tests since future Aerospike server versions will not support it.
Full Changelog: 6.1.10...6.1.11
6.1.10
Release Date: May 18, 2023
New Features
- Support read replica policy in scan/query. This includes PREFER_RACK which allows scan/query to be directed at local rack nodes when possible. [CLIENT-2073]
- Add Exp.inf() and Exp.wildcard(). [CLIENT-2304]
- Support packing of Short, Byte, Character, Enum and UUID entries in list/map. Enum and UUID are packed as strings. [CLIENT-2324]
Bug Fixes
- Add socket connect time to totalTimeout deadline when connectTimeout is defined for sync commands. Async commands already behave this way. [CLIENT-2314]
- Fix ByteValue’s integer conversions by applying bitmask “(val & 0xff)” to the byte value. [CLIENT-2324]
- Handle case when scan/query maxRecords is defined and less than the number of assigned nodes. In this scenario, the scan/query previously could consistently return 0 records even when some records are still available in nodes that were not included in the maxRecords distribution. [CLIENT-2329]
- Only run ttl tests when the server configuration supports ttl. [CLIENT-2299]
- Update doc to emphasize that Statement.setOperations() only works for background queries.
- Update Exp.val(Map map) doc to explain which map classes to use for ordered and unordered maps.
Full Changelog: 6.1.9...6.1.10
6.1.9
Release Date: April 12, 2023
Bug Fixes
- Set correct return types in list/map read expressions. [CLIENT-2280]
- Set bool return type for list read expressions with ListReturnType.EXISTS. [CLIENT-2280]
- Set bool return type for map read expressions with MapReturnType.EXISTS. [CLIENT-2280]
- Set map return type for map read expressions with MapReturnType.UNORDERED_MAP or MapReturnType.ORDERED_MAP. [CLIENT-2280]
- Add minor clarifications to javadoc. [CLIENT-2264]
Full Changelog: 6.1.8...6.1.9
6.1.8
Release Date: March 31, 2023
New Features
- Add infoTimeout to QueryPolicy. This timeout is used when running the "cluster-stable" info command during a query when failOnClusterChange is enabled and the server version is less than 6.0. [CLIENT-2216]
- Add SortedMap Bin constructor. [CLIENT-2244]
- Deprecate Map Bin constructor with extra MapOrder argument. [CLIENT-2244]
- Add TestMapExp sortedMapEquality() test. [CLIENT-2181]
Bug Fixes
- Upgrade netty version to 4.1.89.Final.
- Update listener docs. Remove mention of batch termination on exception in batch listener onRecord() docs because parallel batch node commands will still run to completion. Distinguish between batch behavior and scan/query behavior on onRecord() exception in RecordSequenceListener.
- Document potential issue when using paginated queries and not iterating through all records in the RecordSet. Emphasize that PartitionFilter.after() does not work for a secondary index query.
Full Changelog: 6.1.7...6.1.8
6.1.7
Release Date: February 15, 2023
New Features
- Support ORDERED_MAP and UNORDERED_MAP return types in map operations. This feature requires server version 6.3+. [CLIENT-2142]
Bug Fixes
- Throw last exception received when scan/query maxRetries is exceeded. [CLIENT-2143]
- Use DefaultParser instead of now deprecated PosixParser in benchmarks, examples and test command line applications.
- Upgrade netty library version to 4.1.77.
- Upgrade luaj-jse library version to 3.0.1.
- Add example code in docs to demonstrate how to combine bit flags.
- Document version specific behavior for Statement setIndexName().
- Update HLLOperation params doc.
Full Changelog: 6.1.6...6.1.7
6.1.6
Release Date: January 04, 2023
Bug Fixes
- Document that the bin name limit is 15 characters. [CLIENT-2036]
- Only allow the cluster instance to be closed once. Future close calls are ignored after the first close call. [CLIENT-2060]
- Reset the foreground query “done” indicator before checking for errors in PartitionTracker.isComplete(). This resolves a potential hang when running queries that fail after multiple retryable errors. [CLIENT-2112]
- Change TestIndex.createDrop() to ensure all nodes have dropped the index using direct info commands.
- Change QueryPolicy.shortQuery doc to say "less than 100 records per node".
Full Changelog: 6.1.5...6.1.6
6.1.5
Release Date: December 06, 2022
New Features
- Support ClientPolicy closeTimeout which specifies how long to wait for pending async commands to complete before the cluster is closed. [CLIENT-2009]
Bug Fixes
- Consider all replicas when retrying a foreground scan/query after a partition unavailable error. [CLIENT-1951]
- Return Long instance when parsing an integer particle type even if integer byte length is not equal to 8. Currently, the server always returns length 8 for integer particle types. [CLIENT-1996]
- Check for error in info command response string when parsing racks and partitions. [CLIENT-2002]
- Handle "java.lang.Short" as a numeric Value. Also, add "Bin(String name, short value)" constructor and "Value.get(short)". [CLIENT-2003]
- Prevent batch operation with an invalid namespace from causing the entire batch to fail. [CLIENT-2022]
- Mention that ClientPolicy clusterName must match the server config "cluster-name" in the service section.
Full Changelog: 6.1.4...6.1.5
6.1.4
Release Date: October 25, 2022
Bug Fixes
- Retry a foreground scan/query partition to a different replica when a partition unavailable error occurs. [CLIENT-1932]
- Allow parent BatchPolicy sendKey to be applied to all batch keys in batch write commands. [CLIENT-1945]
Full Changelog: 6.1.3...6.1.4