Aerospike

Latest version: v16.0.0

Safety actively analyzes 689525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 16

13.0.0

Breaking Changes
* Remove auto-serialization and auto-deserialization. See [Incompatible API Changes](https://developer.aerospike.com/client/incompatible?client=python#versions-1300-1120-720-and-620) 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.

12.0.0

Breaking Changes

See [Incompatible API Changes](https://developer.aerospike.com/client/python/incompatible#version-1200) 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.

11.2.0

Breaking Changes
* Remove auto-serialization and auto-deserialization. See [Incompatible API Changes](https://developer.aerospike.com/client/incompatible?client=python#versions-1300-1120-720-and-620) 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.

11.1.0

New Features
* [CLIENT-2223] Add support for rack aware reads in an RF=3 deployment.
* [CLIENT-2288] aerospike.client(): add client config options "max_error_rate" and "error_rate_window".
* [CLIENT-2113] aerospike.client(): add min_conns_per_node support.
* [CLIENT-2119] Show type hints in code editor.

Bug Fixes
* [CLIENT-2159] Fix some memory leaks.
* [CLIENT-2278] batch_operate(): update ttl using batch write policy.
* [CLIENT-2286] aerospike.client(): fix client config batch policy not accepting "replica" value.
* [CLIENT-2229] Docs: aerospike_helpers.expressions.hll.HLLMayContain: fix return value description.
* [CLIENT-2269] Docs: fix some incorrect keyword arguments.
* [CLIENT-2255] Docs: aerospike_helpers.operations: batch operations can also accept operations.
* [CLIENT-1776] Docs: aerospike.client(): update some default client config values.

11.0.1

Breaking Changes

Revert adding base64 methods to aerospike module

These methods have been removed from the aerospike module due to memory errors when they are called:

1. `aerospike.get_expression_base64()`
2. `aerospike.get_cdtctx_base64()`

Course of action

Call these methods from a client instance instead of the `aerospike` module. Assuming `client` is an instance of `aerospike.Client`, the above calls should be replaced by:

1. `client.get_expression_base64()`
2. `client.get_cdtctx_base64()`

Bug Fixes
* [CLIENT-2267] Revert adding base64 methods to aerospike module.

11.0.0

Breaking Changes

Batch methods: stop accepting a tuple of keys and bins

For the following functions:
* `client.get_many()`
* `client.exists_many()`

The `keys` parameter no longer takes in a tuple of keys. It only takes in a list of keys.

In addition, `client.select_many()` no longer takes in a tuple for the `keys` and `bins` parameters. Those parameters only take in a list of keys and bins, respectively.

Course of action:

Change code such as this:
python
keys = (("test", "demo", 1), ("test", "demo", 2))
bins = ("bin1", "bin2")
client.select_many(keys, bins)

...to this instead:
python
keys = [("test", "demo", 1), ("test", "demo", 2)]
bins = ["bin1", "bin2"]
client.select_many(keys, bins)

Expressions: add support for comparing KeyOrderedDicts (new server feature)

Page 2 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.