# Aerospike Java Client Release 5.0.3 (January 22, 2021)

**URL:** <https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-3-january-22-2021/8178>\
**Category:** Releases (Server, Client & Tools)\
**Created:** [January 22, 2021, 8:35pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-3-january-22-2021/8178 "2021-01-22T20:35:36Z")\
**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:** [January 22, 2021, 8:35pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-3-january-22-2021/8178/1 "2021-01-22T20:35:36Z")

</div>

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

This minor release adds new features and bug fixes.

- 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, but does not use `Policy.priority` , `ScanPolicy.scanPercent` or `ScanPolicy.failOnClusterChange` , you can safely upgrade to Java client 5.1.11. We strongly recommend that you do so at the earliest opportunity.

#### Features

- CLIENT-1407 Support optional connectTimeout policy. If connectTimeout greater than zero, it will be applied to creating a connection plus optional user authentication.
- CLIENT-1430 Allow async command argument eventLoop to be null. If null, round-robin event loop distribution (eventLoops.next()) is used to set eventLoop.
- Start HashWheeledTimer as soon as async event loop starts running.

#### Fixes

- CLIENT-1391 Reset peers, partition and rebalance generations on node tend errors. This forces a client node refresh when a node is quickly restarted with the same generation, but with different peers, partition maps or rack nodes.
- Check for null value in Record.getGeoJSONString().
- Deprecate Record.getGeoJSON(). Use Record.getGeoJSONString() instead.
- Use non-atomic increment in async examples/tests when counter is only modified by a single event loop thread.
