Aerospike

Latest version: v15.1.0

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

Scan your dependencies

Page 15 of 16

1.0.44

Features
- Upgraded to C client [3.1.16](http://www.aerospike.com/download/client/c/notes.html#3.1.16).
- Added an [exception hierarchy](https://pythonhosted.org/aerospike/exception.html#exception-hierarchy) of `AerospikeError` subclasses in the [`aerospike.exception`](https://pythonhosted.org/aerospike/exception.html) submodule. _AER-3502_
- Implemented the latest [security](https://www.aerospike.com/docs/guide/security.html) API. **Note: backward incompatible as the optional policy argument has been moved to the end**. See: [`aerospike.Client.admin_create_role()`](https://pythonhosted.org/aerospike/client.html?highlight=admin#aerospike.Client.admin_create_role). _AER-3474_
- Added [`aerospike.Client.is_connected()`](https://pythonhosted.org/aerospike/client.html#aerospike.Client.is_connected)
- Fedora 21 support (thanks pauloborges).
- [Documentation](https://pythonhosted.org/aerospike/index.html) fixes.

Fixes
- Changed to cast [bytearray](https://docs.python.org/2/library/functions.html?highlight=bytearray#bytearray) values to and from Aerospike [bytes](https://www.aerospike.com/docs/guide/data-types.html#bytes), as raised in https://discuss.aerospike.com/t/lua-aggregation-with-bytearray/1229 .
- Fixed the examples in line with release 1.0.44. _AER-3419_
- Added a latency option to the benchmarking tool. _AER-3417_

1.0.43

Features
- Allow for a `None` set value for index creation methods. Support scans and queries against a namespace (with the set given as `None`). (AER-3462)
- Consistent [Unicode Handling](https://pythonhosted.org/aerospike/client.html#unicode-handling). Both str and unicode values are converted by the client into UTF-8 encoded strings for storage on the aerospike server. Read methods such as get(), query(), scan() and operate() will return that data as UTF-8 encoded str values. To get a unicode you will need to manually decode. **Note: this is a change in how string values are returned.**
- Fixed errors in the example scripts.

Fixes
- Fixed Issue 49 (AER-3537)
- Fixed a segfault which happened while scanning a namespace with `None` given for the set. (AER-3464)
- Fixed Issue 50 - test harness skips running security methods against community edition.

1.0.42

Features
- Upgraded to C client [3.1.11](http://www.aerospike.com/download/client/c/notes.html#3.1.11).
- Added support for [indexing complex types](https://pythonhosted.org/aerospike/client.html?#aerospike.Client.index_list_create) (lists, map) and for [querying](https://pythonhosted.org/aerospike/predicates.html?highlight=predicates.contains#aerospike.predicates.contains) against those secondary indexes. Those will become fully available with a near-future release of Aerospike server.

Fixes
- Raise a clear exception when bins are created with a name longer than 14 characters.
- Allow [Scan](https://pythonhosted.org/aerospike/scan.html) and [Query](https://pythonhosted.org/aerospike/query.html) objects to be reused.
- Raise an exception when trying to perform operations on an unconnected client (rather than segfaulting :grimacing: ).

1.0.41

- Implemented support for global policies through the client config.
- An AS_BYTES_BLOB will be set to a bytesarray if no deserializer is set.
- **Note:** the signatures for the following methods have been modified to make them more consistent: get_nodes(), info(), info_node(). See: [aerospike.Client](https://pythonhosted.org/aerospike/client.html?highlight=info#aerospike.Client.info)

1.0.40

1.0.39

Page 15 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.