# Aerospike Java Client Release 5.0.4 (February 5, 2021)

**URL:** <https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-4-february-5-2021/8212>\
**Category:** Releases (Server, Client & Tools)\
**Created:** [February 5, 2021, 11:42pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-4-february-5-2021/8212 "2021-02-05T23:42:03Z")\
**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:** [February 5, 2021, 11:42pm UTC](https://discuss.aerospike.com/t/aerospike-java-client-release-5-0-4-february-5-2021/8212/1 "2021-02-05T23:42:03Z")

</div>

[Aerospike Java client version 5.0.4](http://www.aerospike.com/download/client/java/notes.html#5.0.4)was released on February 5, 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

- Add support for MacOS/BSD Kqueue native netty transport.
- In setXDRFilter(), remove XDR filter if filter expression is null.

#### Fixes

- CLIENT-1438 Replace MapWriteMode with MapWriteFlags where possible.
- Remove redundant node assignment in AerospikeException.Timeout.
- Make IAerospikeClient comments/declarations consistent with AerospikeClient.
- Avoid deprecation warnings when using netty and junit.
