Aerospike Python client version 7.0.0 was released on April 7, 2022.
This major release adds new features, improvements, breaking changes and updates the Aerospike C Client.
- Compatibility with Aerospike server 6.0 including partition queries and batch write, remove, apply, and operate.
- Includes breaking changes (see details below).
Breaking Changes
- Old predexp support has been removed. See Incompatible API Changes for details.
- Remove support for deprecated Debian 8.
- IndexNotFound and IndexNotReadable errors can now trigger retries.
- Bytes blobs read from the database will now be read as bytes instead of bytearray. See Incompatible API Changes for details.
- Query policies max_records and records_per_second are now fields of the Query class. See Incompatible API Changes for details.
New Features
- [CLIENT-1651] - Provide an API to extract an expression’s base-64 representation.
- [CLIENT-1655] - Support new 6.0 truncate, udf-admin, and sindex-admin privileges. This feature requires server version 6.0+.
- [CLIENT-1659] - Support batch_write, batch_apply, batch_operate, and batch_remove client methods. This feature requires server version 6.0+.
- [CLIENT-1658] - Support partition queries. This feature requires server version 6.0+.
- [CLIENT-1690] - Support get_partitions_status for Scan objects.
- [CLIENT-1693] - Add short_query query policy. This feature requires server version 6.0+.
Improvements
- [CLIENT-1687] - Deprecate send_set_name batch policy. Batch transactions now always send set name to the server.
- [CLIENT-1681] - Drop predexp support.
- [CLIENT-1683] - Add max retries exceeded exception.
- [CLIENT-1691] - Document partition scan functionality.
- [CLIENT-1692] - Update C client to 6.0.
- [CLIENT-1657] - Move Python client CI tests to github actions.
- [CLIENT-1694] - Make query policies max_records and records_per_second Query fields instead.
- [CLIENT-1675] - Bytes blobs read from the database will now be read as bytes instead of bytearray.
- [CLIENT-1634] - Remove support for deprecated Debian 8.