Releases: aerospike/aerospike-client-python
Releases · aerospike/aerospike-client-python
15.1.0
Breaking changes
- [CLIENT-2736] Remove macOS 11 support
- [CLIENT-1938] Remove
aerospike.__version__
to single source the client's version - See Incompatible API Changes for details.
Documentation
- [CLIENT-2851] Doc: Add note about bug with passing only read operations in client.batch_operate()
- [CLIENT-2855] Docs: move deprecation warnings for API methods to the top of each method
- [CLIENT-2853] Docs: Clarify batch API behavior
- [CLIENT-2854] Docs: add missing error codes and descriptions, remove tree diagram for errors
- [CLIENT-2858] Docs: Clarify that deleting all keys in a map does not delete the map itself
- [CLIENT-2856] Docs: Clarify how map policy works for all map operations that use it
- [CLIENT-2856] Docs: Clarify how list order works and add link to explain negative indices
New features
- [CLIENT-2904] Add support for macOS 13
- [CLIENT-2673] Add macOS 14 support
- [CLIENT-3057] Add missing aerospike_helpers.expressions.resources.ResultType constant NIL
- [CLIENT-3099] Add support for error code 32 (XDR key busy)
Bug Fixes
- [CLIENT-2842] Fix client config batch_write, batch_remove, and batch_apply policies not being applied to Write, Remove, and Apply BatchRecords respectively
- [CLIENT-2701] Fix memory leak that occurs when creating an aerospike_helpers class instance with a parameter
- [CLIENT-2887] Fix aerospike.Client() segfaulting when it fails to connect
- [CLIENT-3000] Fix scans not working for a mixed cluster of 5.7 and 6.4 nodes
- [CLIENT-2897] Show class name when printing a aerospike_helpers.HyperLogLog class instance
- [CLIENT-2544] query.apply(): remove policy parameter
- [CLIENT-3106] Refactor aerospike.exception initialization code and check if error indicator is set after calling a C-API method
- [CLIENT-3117] Replace an existing node in the cluster when a new peer has the same node name, but a different IP address
15.0.0
Breaking Changes
See Incompatible API Changes for details.
New Features
- [CLIENT-2701] Add support for metrics.
- [CLIENT-2828] Add "read_touch_ttl_percent" option in read, operate, batch, and batch read policies.
- [CLIENT-2821] Add "expected_duration" option and deprecate "short_query" option in query policy.
- [CLIENT-2769] Add support for persistent list indexes.
Improvements
- [CLIENT-2077] Add support for reading key ordered maps.
- [CLIENT-1824] Add HyperLogLog class to represent HLL values.
Bug Fixes
- [CLIENT-2779] Do not use batch repeat flag on batch writes when aerospike.POLICY_KEY_SEND is used.
Documentation
- [CLIENT-2444] Docs: Add note about using POLICY_KEY_SEND and list possible map key types for server >= 7.1.
- [DOCS-2259] Fix broken links and typos.
- [CLIENT-2812] Docs: fix incorrect order of parameters for operations.
14.2.0
Improvements
- [CLIENT-2322] - Add support for Windows 64-bit (x86).
14.1.0
Improvements
- [CLIENT-2551] Add support for Python 3.12. (#547)
14.0.0
Breaking Changes
See Incompatible API Changes for details.
New Features
- [CLIENT-2645] Add ttl option for default write policies in client config (#536)
- [CLIENT-2586] Add support for secondary indexes on blob bins (#527)
- [CLIENT-2604] Add option to persist map indexes using map policy (#534)
- [CLIENT-2570] Add RecordSize() expression (#519)
- [CLIENT-2487] List and map expressions: Add inverted flag for "get by" and "remove by" multiple-item expressions (#502)
- [CLIENT-2196] Add missing batch policies to client config (#495)
Improvements
- [CLIENT-2537] Add module constants' integer values in the type stubs (#503)
- [CLIENT-2654] Remove Debian 10 support (#535)
- [CLIENT-2405] Remove Python 3.7 support (#510)
- [CLIENT-1337] Unmask C client errors (#470)
- [CLIENT-2536] Docs: add missing policies and remove non-existent apply "gen" policy (#501)
- [CLIENT-1977] Docs: Remove nonexistent "ops" field for BatchRemove and BatchApply records (#498)
- [CLIENT-2460] Docs: Add missing constant aerospike.LIST_RETURN_EXISTS (#499)
- [CLIENT-2198] Docs: add missing exceptions (#497)
Bug Fixes
- [CLIENT-2344] Prevent a seg fault when client.info_all() is called after a node is destroyed (#479)
Development
- [CLIENT-2556] Skip tests that use "bin" info command when running against server version 7.0+ (#529)
- [CLIENT-2190] CI/CD: Log into Docker Hub to download server RC images (#528)
- [CLIENT-2239] CI/CD: Run memory profiler test (#513)
- [CLIENT-2510] CI/CD: Add option to test manylinux wheels on any server version (#507)
- [CLIENT-2547] CI/CD: Make bumping version and uploading to JFrog in build wheels workflow optional (#506)
- [CLIENT-2527] CI/CD: compile Python client with -Werror (#496)
- [CLIENT-2512] Add option to build client with sanitizer (#494)
13.0.0
Breaking Changes
- Remove auto-serialization and auto-deserialization. See Incompatible API Changes for details.
Improvements:
- [CLIENT-2258] Remove auto-serialization and auto-deserialization.
Bug Fixes
- [CLIENT-2459] client.touch(): Fix bug where not setting "val" causes a segmentation fault.
- [CLIENT-1616] Docs: Clarify client.operate_ordered() behavior for write and failed read operations.
- [CLIENT-2258] client.put(): Fix bug where Python bytes bin values cannot be used if serializer parameter is set to SERIALIZER_NONE.
7.2.0
Breaking Changes
- Remove auto-serialization and auto-deserialization. See Incompatible API Changes for details.
Improvements
- [CLIENT-2258] Change send_bool_as default value to AS_BOOL.
Bug Fixes
- [CLIENT-2258] client.put(): Fix bug where Python bytes bin values cannot be used if serializer parameter is set to SERIALIZER_NONE.
6.2.0
Breaking Changes
- Remove auto-serialization and auto-deserialization. See Incompatible API Changes for details.
Improvements
- [CLIENT-2258] Change send_bool_as default value to AS_BOOL.
- [CLIENT-2258] Use OpenSSL 1.1.1v August 2023 and modify C client 5.2.6 dependency to use this OpenSSL version.
Bug Fixes
- [CLIENT-2258] client.put(): Fix bug where Python bytes bin values cannot be used if serializer parameter is set to SERIALIZER_NONE.
11.2.0
Breaking Changes
- Remove auto-serialization and auto-deserialization. See Incompatible API Changes for details.
Improvements
- [CLIENT-2258] Remove auto-serialization and auto-deserialization.
Bug Fixes
- [CLIENT-1849] Fix bitwise add and subtract operations failing on Mac M1.
- [CLIENT-2258] client.put(): Fix bug where Python bytes bin values cannot be used if serializer parameter is set to SERIALIZER_NONE.
12.0.0
Breaking Changes
See Incompatible API Changes for details.
New Features
- [CLIENT-2300] Add admin policy to client config.
- [CLIENT-1594] aerospike.client(): add rack_ids option in client config.
- [CLIENT-2326] aerospike: add missing constant LIST_WRITE_DEFAULT.
- [CLIENT-2228] Add support for expression values.
- [CLIENT-2084] Add support for rack aware queries.
- [CLIENT-2221] Add MemorySize() expression.
- [CLIENT-1978] Add client.batch_read().
Improvements
- [CLIENT-1881] Remove macOS 10.15 support.
- [CLIENT-1726] Add Ubuntu 22.04 support.
- [CLIENT-1848] Remove Debian 9 support.
- [CLIENT-1623] Add Debian 11 support.
- [CLIENT-2392] Add Debian 12 support.
- [CLIENT-1565] Replace CentOS 8 with RHEL 8 support.
- [CLIENT-2303] Add Amazon Linux 2023 support.
- [CLIENT-2204] Remove Ubuntu 18.04 support.
- [CLIENT-2363] Document client.admin_query_user[s]_info() and deprecate client.admin_query_user[s].
- [CLIENT-2409] Deprecate client.batch_get_ops().
- [CLIENT-2462] Docs: aerospike.Client: add reference to client constructor in aerospike module.
- [CLIENT-2219] Remove deprecated features.
- [CLIENT-2292] Fix documentation errors.
Bug Fixes
- [CLIENT-1304] Correct AEROSPIKE_ERR_BIN_NAME error message's character limit.
- [CLIENT-2119] Fix type hints not being included in manylinux wheel distributions.
- [CLIENT-1849] Fix bitwise add and subtract operations failing on Mac M1.
- [CLIENT-2300] admin_set_quotas(): fix incorrect quota types not throwing an error.
Development
- [CLIENT-1874] Remove Releases.md.
- [CLIENT-1875] Remove api-changes.md.
- [CLIENT-1838] CI/CD: Upload wheels to JFrog Artifactory and build Mac M1 wheels.
- [CLIENT-1839] Add ability to build release wheels.
- [CLIENT-1292] Update test to change a record's ttl value with a background query.
- [CLIENT-2191] Remove old Python 2.7 code.
- [CLIENT-2375] Update failing tests where server 6.4 release candidate raises IncompatibleBinType instead of InvalidRequest for operations accessing an invalid nested type.
- [CLIENT-2218] Remove unused async code.