Releases: aerospike/aerospike-client-python
Releases · aerospike/aerospike-client-python
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.
Updates:
Update C client to 4.6.83.8.0
Python Client 3.8.0
date: 8/28/2019Features:
Support manylinux2010 wheel distribution install. See README updates for details.3.7.3
Python Client 3.7.3
date: 05/16/2019Features:
Support WRITE privilege.Fixes:
Handle op not applicable error.Updates:
Update C client version to v4.6.53.7.2
3.7.1
3.7.1
# Features
- Update to C Client 4.6.3
Fixes
- Correct default SHM key value.
3.7.0
Python Client 3.7.0
features:
- Support new relaxed read modes for SC namespaces. (via C client v4.6.1)
- Use stack based connection pools for more aggressive trimming of idle connections. (via C client v4.6.1)
fixes:
- Improve documentation of Exceptions.
- Improve safety in situations where the Interpreter runs out of memory.
- Improve safety in case of malformed response.
- Fixed detection of RHEL. Thanks to @mebelousov on GitHub for the contribution.
updates:
- BREAKING: Read consistency level changes - see Incompatible API Changes for details.
3.6.0
Python Client 3.6.0
Breaking Changes
- Shared memory layout changed. As a result the default SHM key has changed from
0xA7000000
to0xA8000000
. If your application was specifying its own SHM key it is critical that this be changed to prevent new clients from sharing memory with older versions. - Remove
BinExistsError
BinNotFound
exceptions.
Features
- Increase C client version to 4.4.0
- Add rack aware configuration
Fixes
- Fix out of date documentation
3.5.0
Python Client 3.5.0
Features
- Increase C client version to 4.3.20
- Add Query#execute_background to allow application of record UDFs in the background.
- Allow passing map policy to map operation helpers.
- Add CDTWildcard() and CDTInfinite(). These require Aerospike Server 4.3.1.3 or higher
- Add map_write_flag constants. These are used in conjuction with the
map_write_flags
entry
of map policies and require Aerospike Server version >= 4.3.0
Changes
- Remove
use_batch_direct
policy option forget_many
,select_many
,exists_many
. Code using these options will continue to work, but the option will be ignored.
Fixes
- Fix memory leak when a query or scan fails due to server error
- Fix reference leak when destroying queries or scans
- Fix system error when predicate creators are called with invalid arguments
- Fix memory corruption caused by deserialization failure
- Fix incorrect documentation about use of
aerospike.MAP_WRITE_PARTIAL
andaerospike.MAP_WRITE_NO_FAIL