Aerospike Python client version 6.0.0 was released on May 10, 2021.
This major release adds breaking changes, new features, improvements, bug fixes and updates. The OpenSSL software library and the Aerospike C Client have been updated.
-
- A bug affecting this version of the Python client has been identified. If your application uses scans, we strongly recommend that you upgrade to Python client 6.1.0 at the earliest opportunity.
Breaking Changes
- Python 3.5 support has been removed - see Incompatible API Changes for details.
- Drop support for CentOS 6.
- Drop support for Ubuntu 16.04.
- Scan option, percent, has been removed.
- Scan/Query policy, fail_on_cluster_change, has been removed.
- Scan option, priority, has been removed.
- info_node() will no longer work when security is enabled because of client authentication changes, use info_single_node() instead.
New Features
- [CLIENT-1437] - Add support for Python 3.9.
- [CLIENT-1520] - Add the send_bool_as client config, configures how the client writes booleans.
- [CLIENT-1236] - Add the max_records scan policy.
- [CLIENT-1507] - Add info_single_node().
- [CLIENT-1510] - Add info_random_node().
- [CLIENT-1403] - Add aerospike.KeyOrderedDict.
- [CLIENT-1517] - Add get_node_names().
- [CLIENT-1462] - Support expressions added in server 5.6. Includes arithmetic, bitwise, control flow, and other expressions. Requires server >= 5.6.
- [CLIENT-1497] - Support new read and write quotas including the admin_set_quotas() method. Requires server >= 5.6.
- [CLIENT-1302] - Support IP whitelists including the admin_set_whitelist() method.
Improvements
- [CLIENT-1516] - Drop support for CentOS 6.
- [CLIENT-1536] - Drop support for Ubuntu 16.04.
- [CLIENT-1514] - Deprecate percent scan option.
- [CLIENT-1515] - Deprecate fail_on_cluster_change scan/query policy.
- [CLIENT-1508] - Deprecate info_node().
- [CLIENT-1436] - Drop support for Python 3.5.
Bug Fixes
- [CLIENT-1518] - Fix bug in set_xdr_filter that could truncate node names, sending commands to bad addresses.
- [CLIENT-1535] - Fix memory allocation for more than 2 Python literals in expressions with variable argument length.
- [CLIENT-1282] - Fix OSX installation openssl issues by statically linking openssl1.1 with OSX builds. See here for more info.