Releases: aerospike/aerospike-client-rust
v2.0.0-alpha.6
- Bug Fixes
- [CLIENT-3776] Fix an issue where load balancers are not supported.
- Fixes an issue where the client could not connect to single node clusters.
- Increase
MAX_BUFFER_SIZEto 120MiB.
Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.6
v2.0.0-alpha.4
- New Features
- Only string, integer, bytes map-key types. [CLIENT-2446]
- Missing API to initialize Key from namespace, digest, optional set name and optional user key. [CLIENT-3559]
- Support partition queries. [CLIENT-2408]
- Support
QueryPolicy.max_recordsin queries. [CLIENT-2407] - Support partition scans. [CLIENT-2401]
- Support
ScanPolicy.max_recordsin scans. [CLIENT-2399] - Support scan/query pagination with
PartitionFilter. [CLIENT-2105] - Remove legacy client code for old servers. [CLIENT-2396]
- Remove
Policy.priority,ScanPolicy.scan_percentandScanPolicy.fail_on_cluster_change. [CLIENT-2101] - Enhance
ListandMapexpression return type interpretation. Thanks to Yevgeny Rizhkov - Implement max retries policy configuration check in
SingleCommand. Thanks to Yevgeny Rizhkov
Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4
2.0.0-alpha.3
Release Date: June 11, 2025
- Minor feature release
New Features
- Add newer error codes to the client. [CLIENT-3105]
- Support new v6.0
truncate,udf-admin, andsindex-adminprivileges. [CLIENT-2052] - Support user quotas and statistics and newer API. [CLIENT-2100]
Full Changelog: v2.0.0-alpha.2...v2.0.0-alpha.3
2.0.0-alpha.2
Release Date: June 02, 2025
- Minor feature release
New Features
- Add
Exists,OrderedMapandUnorderedMapreturn types for CDT read operations. [CLIENT-2046] - Add support for
InfinityandWildcardvalues. [CLIENT-2385] - Add support for
expressions::infinity()andexpressions::wildcard(). [CLIENT-2309] - Support
expressions::record_size()andexpressions::memory_size(). [CLIENT-2576] - Add
allow_inline_ssd,respond_all_keystoBatchPolicy. [CLIENT-3491] - Add
read_touch_ttlto policies. [CLIENT-2832] - Support
QueryDurationenum inQueryPolicy. [CLIENT-2825] - Support
records_per_secondfor Scan/Query. [CLIENT-3488]
Bug Fixes
- Fix build issue on crates.io.
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2
2.0.0-alpha.1
Release Date: May 19, 2025
-
New Major Release
-
We are pleased to release the first alpha version of the next generation v2 for the Rust client.
-
This version of the client comes with a major feature:
async! This feature was started by Jonas Breuer, in his epic PR and fixed and extended by Aerospike. We would like to thank him for his amazing contribution. We also extend our gratitude to all others who also opened PRs and reported bugs and other issues. -
Please keep in mind that the API is still unstable and we WILL break it to enhance ergonomics, feature-set and the performance of the library. We invite the community to test drive the library and file tickets for bug reports or enhancement either on
Githubor with Aerospike support.
New Features
- Support
asyncrust. You can use bothtokioandasync-stdas features to enable the respective runtimes.tokiois the default. - Support
syncthrough blocking in thesyncsub-crate. - Support new batch protocol, allowing
read,write,deleteandudfoperations. UseBatchOperationconstructors. [CLIENT-2051] - Support queries and scans not sending a fresh message header per partition in server v6+. [CLIENT-2321]
- Implement
std::convert::TryFrom<aerospike::Value>for each variant. [CLIENT-2320] - Support
booleanparticle type. [CLIENT-2099] - Support New Scan/Query wire protocol.
- Replace
error-chainwith a custom implementation. We still usethiserror's macros internally (To be removed in the future.) - Support for
Replicapolicies, includingPreferRackpolicy. - Removes lifetimes that were due to
&str, replacing most of them withString.
Bug Fixes
- Fixed various bugs in
messagepackencoding. - Fixed large integers packing when encoding to
messagepack. - Fixed
Floatserialization.
Full Changelog: v1.3.0...v2.0.0-alpha.1
1.3.0
Release Date: May 01, 2023
- Minor feature release
New Features
- Support boolean particle type. [CLIENT-2099]
- Implement std::convert::TryFromaerospike::Value for each variant. Resolves #124. Refer to the mentioned ticket for the use case. [CLIENT-2320]
- Support queries and scans not sending a fresh message header per partition in server v6+. [CLIENT-2321]
Improvements
- Fix tests failing without the
AEROSPIKE_HOSTSenvironment variable set. Now they uselocalhostby default. - Fix a few compiler warnings and remove a few unused struct fields.
Bug Fixes
- Fixed large integers packing when encoding to messagepack. Thanks to Babur Makhmudov.
- Fixed Float serialization. Thanks to Jonas Breuer.
Full Changelog: v1.2.0...v1.3.0
1.2.0
Release Date: October 22, 2021
- Major Feature Release
New Features
- Support Aerospike server v5.6+ expressions in Operate API. Thanks to Jonas Breuer
Bug Fixes
- Fix for buffer size when using CDT contexts. Thanks to Jonas Breuer
Full Changelog: v1.1.0...v1.2.0
1.1.0
Release Date: October 12, 2021
-
Minor fix release
-
This version of the client drops support for the older server versions without changing the API.
-
ScanPolicy.fail_on_cluster_change,ScanPolicy.scan_percentandBasePolicy.priorityare deprecated for the Scan operations and will not be sent to the server. They remain in the API to avoid breaking the API.
New Features
- Support Aerospike server v5.6+ server authentication.
- Support Aerospike server v5.6+ Scan protocol for simple cases.
Full Changelog: v1.0.0...v1.1.0
1.0.0
Release Date: October 29, 2020
New Features
- BREAKING CHANGE: Replace predicate expressions with new Aerospike Expression filters. Aerospike Expression filters give access to the full data type APIs (List, Map, Bit, HyperLogLog, Geospatial) and expanded metadata based filtering, to increase the power of filters in selecting records. This feature requires server version 5.2.0.4 or later. See API Changes for details. (#80) Thanks to @jonas32!
- Support operations for the HyperLogLog (HLL) data type. (#89) Thanks to @jonas32!
- Serde Serializers for Record and Value objects. (#85) Thanks to @jonas32!
Bug Fixes
- Client.is_connected() returns true even after client.close() is called. (#87)
Full Changelog: v0.6.0...v1.0.0
0.6.0
Release Date: September 11, 2020
New Features
- Big update for operations: (#79) Thanks to @jonas32!
- Added operation contexts for nested operations.
- Added missing list operations, list policies, and ordered lists.
- Added missing map operations.
- Added bitwise operations.
⚠️ Caution
This is a breaking change. The policy and return types for Lists require additional parameters for the CDT op functions.
Bug Fixes
Updates
- Restrict Travis CI tests to stable/beta/nightly. (#84)
Full Changelog: v0.5.0...v0.6.0