Aerospike

Latest version: v15.0.0

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

Scan your dependencies

Page 3 of 16

9.0.0

Breaking Changes
- Change default send_bool_as constant to AS_BOOL. See [Incompatible API Changes](https://developer.aerospike.com/client/python/incompatible#version-900) for details.
- batch_get_ops(): Remove meta field.
- scan_apply(): Report correct error value and message if scan wait fails.

Improvements
* [CLIENT-2074] - Change default send_bool_as constant to AS_BOOL.
* [CLIENT-2004] - Add missing bin type for server booleans.
* [CLIENT-2012] - scan_apply(): Report correct error value and message if scan wait fails.

Bug Fixes
* [CLIENT-2005] - Docs: add missing batch policy "respond_all_keys".
* [CLIENT-2075] - Docs: add missing batch policy "allow_inline_ssd".
* [CLIENT-2008] - batch_get_ops(): Remove meta field.

8.0.0

python
config = {
'hosts': hosts,
'policies': {'auth_mode': aerospike.AUTH_INTERNAL},
'user': user,
'password': password
}
client = aerospike.client(config)
following is no-op
client.connect(user, password)

Having the client connect to the server when the constructor is called makes the Python client's behavior more
consistent with our other clients, and it also removes the possibility of an application trying to perform server
operations with the client without a connection.

If you are using a `try/except` block and have the constructor call outside of the `try` block, move
the constructor call into the `try` block. If an exception happens, it would be coming from the
constructor and not the connect() method.

This line of code:
python
client = aerospike.client(config).connect()

should not have an issue.

But code such as this:
python
client = aerospike.client(config)
try:
client.connect()
except Exception:
eat exception and do something

Should be changed to this instead:
python
try:
client = aerospike.client(config)
except Exception:
eat exception and do something


[CLIENT-1863] Build using pyproject.toml (298)
The commands to build and install the client for developers has changed from:
sh
python3 setup.py build --force
python3 setup.py install --force

to:
sh
pip install build
python3 -m build
pip install .

7.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] 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.

7.1.1

<h1>Python Client 7.1.1</h1>
date: 10/03/2022

<h2>Bug Fixes:</h2>

- [CLIENT-1784] - Potential Memory leak with Python client.

<h2>Improvements:</h2>

- [CLIENT-1830] - Add CDT CTX base64 method for using sindex-create info command.
- [CLIENT-1825] - Expose ttl as part query object attributes.

7.1.0

<h1>Python Client 7.1.0</h1>
date: 09/09/2022

<h2>Bug Fixes:</h2>

- [CLIENT-1810] - Read policy POLICY_KEY_SEND is not respected when set at the client level.

<h2>New Features:</h2>

- [CLIENT-1799] - Support batch read operations.

<h2>Improvements:</h2>

- [CLIENT-1749] - Add 'EXISTS' return type for CDT read operations.
- [CLIENT-1801] - Support creating an secondary index on elements within a CDT using context.
- [CLIENT-1795] - Make c-client "fail_if_not_connected" option configurable.
- [CLIENT-1791] - Review and clean up Sphinx documentation.
- [CLIENT-1792] - Update build instructions.

7.0.2

<h1>Python Client 7.0.2</h1>
date: 05/31/2022

<h2>Bug Fixes:</h2>

- [CLIENT-1742] - Fix reference count leaks in client 7.x Batch APIs.
- [CLIENT-1753] - Fix reference count leak in cdt_ctx map_key_create and list_index_create cases.
- [CLIENT-1710] - Change BatchRecords default argument from an empty list to None.

Page 3 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.