# Aerospike Java Client Release 5.1.6 (August 2, 2021)

**URL:** <https://discuss.aerospike.com/t/aerospike-java-client-release-5-1-6-august-2-2021/8690>\
**Category:** Releases (Server, Client & Tools)\
**Created:** [August 2, 2021, 11:28pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-1-6-august-2-2021/8690 "2021-08-02T23:28:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcoberly](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/mcoberly/32/637_2.png) [@mcoberly](https://discuss.aerospike.com/u/mcoberly)\
**Post date:** [August 2, 2021, 11:28pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-1-6-august-2-2021/8690/1 "2021-08-02T23:28:42Z")

</div>

[Aerospike Java client version 5.1.6](http://www.aerospike.com/download/client/java/notes.html#5.1.6)was released on August 2, 2021.

- A bug affecting this version of the Java client [has been identified](https://discuss.aerospike.com/t/scan-bug-identified-client-1637/9095). If your application uses scans, we strongly recommend that you upgrade to Java client 5.1.11 at the earliest opportunity.

#### Features

- CLIENT-1556 If the Bin constructor’s map argument is an instance of TreeMap, set sorted attribute when sending bin to the server. Also, add a new map Bin constructor that accepts MapOrder as an argument.
- CLIENT-1557 Support a list of preferred racks rather than a single rack when replica is PREFER\_RACK.
- CLIENT-1569 Support PKI authentication where the TLS certificate’s common name (CN) specifies the Aerospike user name.
- CLIENT-1571 Support batch read operations.
- CLIENT-1572 Support scan-show and query-show info commands.
- Add a byte array constructor for Expression.
- Use github actions to run unit tests on push and pull requests. Remove travis.

#### Fixes

- CLIENT-1567 Add seed and peer nodes at the same time on startup. Refresh peers of new nodes in same cluster tend iteration.
- Remove supported feature checks in examples because each feature is supported on minimum server version (4.9).
- Deprecate old Value.getFromRecordObject().
- Override hashCode and equals for KeyRecord.
- Check for null value in get methods.
