Releases: aerospike/aerospike-client-python
Releases · aerospike/aerospike-client-python
2.0.0
Announcing the Python Client Release 2.0.0
This is a big release which adds support for Python 3.
The methods exists
, get
, and select
now raise a RecordNotFound
exception. In the past you always got back a record tuple of (key, meta, bins), then had to check for meta is not None
to identify a non-existent record.
Features
- Python 3 compatible (>= 3.4). CLIENT-603
- Upgraded to C client 4.0.0.
- Raise a
RecordNotFound
exception when a record is not found. CLIENT-533 aerospike.Client.is_connected()
tests the client’s connections to the nodes. CLIENT-625- Added list operators to
aerospike.Client.operate()
. CLIENT-641 - Added the scan option
include_ldt
. CLIENT-609 - Added the
compression_threshold
config param to the client. CLIENT-626 - Removed the deprecated classes
aerospike.Key
,aerospike.LMap
,aerospike.LSet
,aerospike.LStack
. CLIENT-394
Fixes
- Fixed a bug where boolean items in a list got cast to integers by list operations. CLIENT-632
- Fixed issue #92 wrong exception raised by
aerospike.LList.find_first
. CLIENT-607 - Fixed enterprise edition tests. CLIENT-642
1.0.59
This release adds support for the list operations API, a feature requiring Aerospike server >= 3.7.1.
Features
1.0.58
This release adds support for geospatial index and query, a feature requiring Aerospike server >= 3.7.0.
Features
- Enhanced geospatial queries with new predicates
geo_within_geojson_region
,geo_within_radius
,geo_contains_geojson_point
, andgeo_contains_point
. CLIENT-601 - Added support for Amazon environments such as EMR. Thanks @ramrengaswamy and @BeeswaxIO
Fixes
- Fixed case where a wrong exception was thrown for error status 160. CLIENT-600
- Fixed a bug where as_geojson was not casting back to aerospike.GeoJSON. CLIENT-628
1.0.57
Features
- Added
aerospike.null
to be used for removing bins with write operations. Using this value with anaerospike.Client.put
is equivalent to callingaerospike.Client.remove_bin
on that bin. - Added a config param
strict_types
(default:True
) for controlling whether the client does type checking for write operations. CLIENT-582, CLIENT-574 - Updated the documentation for multi-ops and regarding seed nodes.
Fixes
- Fixed issue #91, allowing -1L as a valid bin value. CLIENT-598
- Fixed the client to respect an explicit lua
user_path
in its config. CLIENT-597 - Fixed the touch operation in
aerospike.Client.operate
to not require bin or val. CLIENT-584 - Allow bin names to be null-terminated bytearrays. CLIENT-581
- Fixed false-negative tests. CLIENT-602
1.0.56
Features
- Releasing the GIL around key-value operations. CLIENT-528
- Added the batch_direct config param for manual control over the batch protocol. CLIENT-569
- Added RHEL 7 support. Thanks @bharathbrat
- Added Ubuntu 15 support. Thanks @lwille.
- Updated the manual build document.
Fixes
- Fixed issue #85 - installer error in environments where the user does not have permission to copy system Lua files to the correct directory. Thanks @RonRothman
- Fixed issue #82 - vary the shared-memory cluster tending key by host; added shm_key(). CLIENT-71.
- Fixed a bug occuring in get_nodes when the cluster had one node. CLIENT-566
- Fixed a bug in client config when the host address is a unicode string. CLIENT-556
- Fixed issue #88 - expanded the function signature for loggers.
- Fixed increment() to require an integer value. CLIENT-571
- Fixed a parsing bug in info(). CLIENT-118
- Fixed an incorrect exception raised for callback function errors. CLIENT-555
- Fixed tests containing the deprecated scan_info to use job_info. CLIENT-573
- Fixed an inaccurate geospatial test.
- Fixed typos in the API documentation. Thanks @tigran-a
1.0.55
Features
- Configuration support for connection pool size. CLIENT-277
Fixes
- Fixed the way the installer creates the Lua system path on OS X.
1.0.54
Features
- Added aerospike.geodata, aerospike.geojson factory functions for producing aerospike.GeoJSON classes. CLIENT-529
- Added the aerospike.version string to the module. CLIENT-537
Fixes
- Fixed issue #77, crash when an arg of a UDF is a bytearray. CLIENT-517
- Status code AEROSPIKE_ERR_SERVER raises an aerospike.exception.ServerError. CLIENT-535, CLIENT-552.
- Fixed a bug where the POLICY_KEY_SEND policy was not being followed. CLIENT-518
- Fixed behavior regarding the system lua files in the installer and client. CLIENT-544
1.0.53
Features
- Upgraded to C client 3.1.24.
- Implemented Issue #66, supporting separate serialization for different instances of aerospike.Client CLIENT-234
- Implemented support for geospatial features. Added an aerospike.GeoJSON class to wrap GeoJSON data, enabling its proper serialization. Support for building geo2dsphere indexes on bins with GeoJSON data, and for queries over that data using the geo_within predicate. Requires a near-future version of the server. CLIENT-267
Fixes
- Fixed a bug where bins containing as_double type data were incorrectly freed after a put. CLIENT-496
1.0.52
Fixes
This release collects several bug fixes for the batch read methods. If you make use of them please upgrade your client. See release 1.0.50 for more information about the way the batch read methods have changed.
- Fixed a memory leak in the batch read methods. AER-4367
- Fixed Issue 76 - batch-read methods get_many, exists_many, and select_many to return a 4-tuple key component. AER-4358
- Fixed the batch read methods to accept digest keys in their keys parameter. AER-4038
1.0.50
Features
- Upgraded to C client 3.1.22.
- Support for the batch-index API. AER-3908
- Batch methods are changing in a non-backward compatible way: in order to support batch-reads from multiple namespaces, get_many, exists_many, and select_many now return a list of records, each fitting the (key, metadata, bins) record tuple format.
- Added job_info, a unified method for tracking the status of scan and query jobs. Added corresponding aerospike.JOB_STATUS_* constants.
- Deprecated scan_info.
- Support for secondary index record UDF (query_apply). Requires a future release of the server. AER-3981
- Support for a native double data type. Python float bin values will convert to and from as_double. Requires server version >= 3.6.0. AER-4239
- Added the privilege aerospike.PRIV_READ_WRITE_UDF.
- New examples for query_apply and get_many.
- Ensure that the examples work with Aerospike Enterprise Edition. AER-3707
- Cleaned up and clarified documentation. Thanks @tivvit for your help.
Fixes
- Fixed issue with scan without explicit set - pull request 73. Thanks @tivvit.