Releases: aerospike/aerospike-client-python
Releases · aerospike/aerospike-client-python
7.0.2
Python Client 7.0.2
date: 05/31/2022Bug Fixes:
- [CLIENT-1742] - Fix reference count leaks in client 7.x Batch APIs.
- [CLIENT-1753] - Fix reference count leak in cdt_ctx map_key_create and list_index_create cases.
- [CLIENT-1710] - Change BatchRecords default argument from an empty list to None.
7.0.1
Python Client 7.0.1
date: 04/18/2022Bug Fixes:
- [CLIENT-1708] Fix 'Unable to load batch_records module' error when batch_operate, batch_apply, or batch_remove are used without importing aerospike_helpers.batch.records.
7.0.0
Python Client 7.0.0
date: 4/06/2022Breaking 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.
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.
Updates:
6.1.2
Version 6.1.2
Fixes
CLIENT-1639 python pip install now fails with 6.1.0
Updates
- Upgraded to Aerospike C Client 5.2.6
6.1.0
Python Client 6.1.0
Breaking Changes
- Drop support for Manylinux2010 wheels.
New Features
- Add support for Manylinux2014 wheels build - Please refer manylinux compatibility chart for more info: https://github.com/pypa/manylinux
- [CLIENT-1193] - Add support partition scans.
- [CLIENT-1570] - Add client support for PKI auth.
- [CLIENT-1584] - Add support for batch read operations.
- [CLIENT-1541] - Add support for paging scans.
- [CLIENT-1558] - Add support for query user(s) info API.
Improvements
- [CLIENT-1555] - Remove dependency on c-client binary from python client source install.
Bug Fixes
- [CLIENT-1566] - Fix intermittent hangs in automation cluster.
Updates
- Upgraded to Aerospike C Client 5.2.6
6.0.0
Python Client 6.0.0
date: 2021-05-11Breaking Changes:
- Breaking Change: Python 3.5 support has been removed - see Incompatible API Changes for details.- Breaking Change: Drop support for CentOS 6.
- Breaking Change: Drop support for Ubuntu 16.04.
- Breaking Change: Scan option, percent, has been removed.
- Breaking Change: Scan/Query policy, fail_on_cluster_change, has been removed.
- Breaking Change: Scan option, priority, has been removed.
- Breaking Change: info_node() will no longer work when security is enabled because of client authentication changes, use info_single_node() instead.
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.
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.
Updates:
- [Aerospike C Client 5.2.0.](/download/client/c/notes.html#5.2.0)- [OpenSSL1.1.1k](https://www.openssl.org/news/openssl-1.1.1-notes.html)
5.0.0
Python Client 5.0.0
date: 2021-02-17Breaking Changes:
- Python 2.7 and 3.4 support have been removed.- Aerospike Python Client 5.x MUST be used with Aerospike server 4.9 or greater. Attempting to connect to a server older than 4.9 will yield error "-10, Failed to connect".
Information
- Python 3.5 support will be removed in an upcoming release.Features:
- [CLIENT-1360] Support Aerospike expression filters.- [CLIENT-1409] Add set_xdr_filter() method.
- [CLIENT-1383] Add cdt context map_create_key() and list_create_index() methods.
- [CLIENT-1427] Add error 28, LOST_CONFLICT.
Improvements:
- [CLIENT-1384] Document the ability to use None to indicate, to end, or, from start, functionality.Fixes:
- [CLIENT-1431] Fix use after free bug when write operations are used with scans or queries.- [CLIENT-1426] Fix bytes usage with the append and prepend operations.
- Fix syntax error in truncate.c. Thanks to @indigo-tribe .
Updates:
- Upgrade C client to version 5.0.3.4.0.0
Python Client 4.0.0
date: 9/24/2020Breaking Changes:
- Upgrade to C client 4.6.18 includes the following incompatible changes.- Scan option, `percent`, no longer accepts 0.
- Scan policy, `fail_on_cluster_change`, has no effect with server >= 4.9.
Information
- Python 2.7 and 3.4 support will be removed in an upcoming release.Features:
- [CLIENT-1164] Support client-server request and response compression.- [CLIENT-1196] Support Python 3.8.
- [CLIENT-1252] Support HyperLogLog operations.
Fixes:
- [CLIENT-1198] Fix map write operations on background scans via C client 4.6.13.- Fix setup.py install on MacOS for Python 3.8. Thanks to @biozz.
- Removed deprecated AS_BYTES_LDT. Thanks to @vpnable.
Updates:
- Upgrade C client to version 4.6.183.10.0
Python Client 3.10.0
date: 1/13/2020Features:
- Predicate expressions for read, write, delete, batch and record UDF operations.- Write operations on background queries and scans.
- Records_per_second policy limit for scans, replaces scan_priority.
- Delete operation, deletes a record.
- Apply method for scans. Allows application of a user defined function to all records scanned.
- Add_ops method for scans. Allows a list of write ops to be applied to all records scanned.
- execute_background method for scans. Allows non-blocking execution of a scan.
- Python 3.7 support.
fixes:
- Fixed a segfault that occurs when a non-list ctx is used in an operation.- Fixed a segfault produced when an error occurs during a call to job_info().
- Documentation for scan_apply() and query_apply() now states that they are blocking.
updates:
- Upgrade C client to version 4.6.103.9.0
Python Client 3.9.0
date: 10/23/2019Features:
Nested CDT support for map and list operations.Support for bitwise operations.
Improvements:
Setup.py build from source will now fail on 4xx response codes, thanks to jensengrey on github.Fixes:
Fix over flow error when checking job status with large job Id.Fix double free crash when passing unsupported data types as arguments to a stream UDF.