Aerospike

Latest version: v15.0.0

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

Scan your dependencies

Page 2 of 16

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)

10.0.1

Bug Fixes
* [CLIENT-2157] - udf_put(): Stop hanging behavior when copying lua file to user path.

10.0.0

Important Note
- **A bug affecting this version of the Python client has been identified. On ARM chipsets only, disk space may increase until out of space, we strongly recommend that you upgrade to Python client 10.0.1 at the earliest opportunity.**

Breaking Changes
- get_cdtctx_base64(): take in context directly instead of a dictionary. See [Incompatible API Changes](https://developer.aerospike.com/client/python/incompatible#version-1000) for details.

Improvements
- [CLIENT-1612] - Support Python 3.10.
- [CLIENT-2090] - Support Python 3.11.
- [CLIENT-2114] - Add support for Alpine linux.
- [CLIENT-2047] - Add info policy to client config.
- [CLIENT-1989] - get_cdtctx_base64(): take in context directly instead of a dictionary.

Bug Fixes
- [CLIENT-2121] - query.apply(): make argument parameter optional.

Page 2 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.