Skip to content

Releases: aerospike/aerospike-client-python

15.1.0

20 Sep 20:46
Compare
Choose a tag to compare

Breaking changes

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

Full Changelog: 15.0.0...15.1.0

15.0.0

09 Apr 22:35
Compare
Choose a tag to compare

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

14 Feb 00:50
Compare
Choose a tag to compare

Improvements

  • [CLIENT-2322] - Add support for Windows 64-bit (x86).

14.1.0

09 Jan 00:59
Compare
Choose a tag to compare

Improvements

14.0.0

14 Nov 19:18
ed45d73
Compare
Choose a tag to compare

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

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

21 Aug 19:23
03853b6
Compare
Choose a tag to compare

Breaking Changes

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

21 Aug 19:26
5610071
Compare
Choose a tag to compare

Breaking Changes

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

21 Aug 19:27
c41a23c
Compare
Choose a tag to compare

Breaking Changes

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

21 Aug 19:25
1a12877
Compare
Choose a tag to compare

Breaking Changes

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

28 Jul 19:40
0432d59
Compare
Choose a tag to compare

Breaking Changes

See Incompatible API Changes for details.

New Features

Improvements

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.