Skip to content

Releases: aerospike/aerospike-client-python

2.0.10

23 Mar 00:06
Compare
Choose a tag to compare

Fixes

  • Update to c-client version 4.1.4.
  • Test logic not reliable. CLIENT-218
  • Segfault on client#info with incorrect arguments. CLIENT-837
  • Python Client can trigger memory violations when calling map_* methods with incorrect arguments. CLIENT-838
  • geo_contains_point queries fail when trying to use List or map indexes. CLIENT-844
  • Memory leak in select() method with tuple of unicode strings. CLIENT-846
  • Python client.list_* methods leak memory with string keys. CLIENT-847
  • Geospatial predicate constructors leak memory. CLIENT-849

2.0.9

07 Mar 22:12
Compare
Choose a tag to compare

Fixes

  • Fix memory allocation of search string when there is a user and multiple hosts. CLIENT-840

2.0.8

10 Feb 18:12
Compare
Choose a tag to compare

Fixes

  • Update to c-client version 4.1.3.
  • Fix memory leak with geojson objects. CLIENT-819
  • Don't ignore errors in the get_many() call. CLIENT-798
  • Better reporting of errors from the InfoNode_Invoke() call. CLIENT-818
  • Fix memory leak in bin_strict_type_checking

2.0.7

03 Feb 19:56
Compare
Choose a tag to compare

Features

  • Add aerospike.POLICY_REPLICA_SEQUENCE to the replica policies.
  • Add retry_on_timeout(boolean) to the apply/read/remove/write/operate/batch policies.

Fixes

  • Correct the documentation for scan.results().
  • Use Py_BuildValue to build geo lists to avoid segfault due to refcounting issues.
  • Check for Unicode string returned from AerospikeGeospatial_DoDumps and handle correctly.
  • Fix the memory leak in map operate.

2.0.6

17 Nov 19:00
Compare
Choose a tag to compare

Features

  • Support cluster name. CLIENT-775
  • Add TTL constants (aerospike.TTL_NAMESPACE_DEFAULT, aerospike.TTL_NEVER_EXPIRE, aerospike.TTL_DONT_UPDATE) which can be used for the ttl value in the meta dict.

Fixes

  • Fix segfault when calling connect() after closing client.
  • Fix memory leak in operate/operateOrdered methods.

2.0.5

07 Sep 21:30
Compare
Choose a tag to compare

Features

  • Durable delete support (requires future version of server) CLIENT-765

Fixes

  • Resolve C client directory when building wheel
  • Use correct C client bits for different versions of Ubuntu CLIENT-737
  • Fix scan tests when LDT is not enabled on test namespace CLIENT-751

2.0.4

27 Jul 22:42
Compare
Choose a tag to compare

Features

  • Sorted map operations
  • Add tend_interval to configuration properties
  • Add max_conns_per_node to configuration parameters
  • Scan_apply now accepts None for arguments
  • Update to C client vs. 4.0.6
  • Allow installation on Ubuntu 16.04 (Thanks Maxence!)

Fixes

  • Fix leak in serialization code
  • Allow integer keys with value -1 CLIENT-717
  • Info() command can cause segfault CLIENT-732
  • Touch operator does not update ttl properly CLIENT-743

2.0.3

14 Apr 17:57
Compare
Choose a tag to compare

Features

  • Geo predicates (geo_within_geojson_region, geo_within_radius, geo_contains_geojson_point, geo_contains_point) now allow an optional index_type parameter to allow querying lists/maps of geo objects.
  • Add new aerospike.INDEX_GEO2DSPHERE index type to allow creation of secondary indexes on GeoJSON data.

Fixes

  • Calling connect() twice on client causes seg fault. CLIENT-691
  • client.exists() gives an exception when record doesn't exist CLIENT-697
  • Documentation: Example for predicate has a typo. CLIENT-709
  • Documentation: Add the fail_on_cluster_change to the Scan Policies
  • Documentation: Add the percent option to the Scan Options

2.0.2

11 Mar 19:52
Compare
Choose a tag to compare

Features

  • client.operate_ordered(ns, set, key) function which performs multiple bin operations on a record with a given key,
    with the results being returned as a list of (bin-name, result) tuples. CLIENT-651

Fixes

  • Wrong error message for empty Lua file registration. Now returns AEROSPIKE_ERR_LUA_FILE_NOT_FOUND with a message stating the file is empty. CLIENT-664
  • Allow integer values for aerocircle queries CLIENT-688
  • Fix memory leak in operate method when using Unicode Strings. CLIENT-690
  • Incorporate PR for typo fix in README.rst from @raftelti
  • Incorporate PR for scan apply fix from @hawka to allow empty py_args to client.can_apply()
  • Incorporate PR to terminate a scan if callback raises an exception from @RonRothman

2.0.1

24 Feb 18:41
Compare
Choose a tag to compare

Features

  • aerospike.calc_digest(ns, set, key) function added to get the digest for a key without requiring a client connection.

Fixes

  • get_many() with list of 25000 keys or more would seg fault. Switch to heap allocation for requests > 20000 keys.
  • aerospike.null was implemented as a type incorrectly. This caused pympler to crash after loading aerospike module.
    • Note: Since it is now a type and not an object, to get an instance you need use aerospike.null().
  • Change maximum number of objects that can be serialized from 1024 to 4096 and raise an exception if this limit is bypassed.
  • Use C client version 4.0.2 which includes a memory leak fix for as_operations_new()