Releases: aerospike/aerospike-client-rust
v2.0.0-alpha.10
-
New Features
- Support recovering connections in batch command errors.
- Added
bool_bin()function returningExpType::BOOLexpression. (#179).
-
Improvements
- [CLIENT-4200] Performance fix (#185). Replaces
RwLockwithArcLock.
- [CLIENT-4200] Performance fix (#185). Replaces
-
Bug Fixes
- [CLIENT-4177] Query during migration hangs for full
socket_timeoutafter scale-down cluster. - Allow truncating the whole namespace.
- Fix an issue where
max_retrieswere not respected in Scan/Queries.
- [CLIENT-4177] Query during migration hangs for full
Full Changelog: v2.0.0-alpha.9...v2.0.0-alpha.10
v2.0.0-alpha.9
-
Bug Fixes
- [CLIENT-4140] SIGSEGV/Panic with parallel batch operations and short timeouts.
- [CLIENT-4131] Dix an issue where
Client.create_pki_userhashes the predefined password twice.
-
Breaking Change
- [CLIENT-4148] Convert
BasePolicy.sleep_between_retriesandClientPolicy.tend_intervalto u32. Also sync default policy values with other clients.
- [CLIENT-4148] Convert
-
Improvements
- Turn some panics into errors.
Full Changelog: v2.0.0-alpha.8...v2.0.0-alpha.9
v2.0.0-alpha.8
-
New Features
- [CLIENT-4050] Support Privilege / Permission Code Expansion Due to DataMasking Feature.
-
Bug Fixes
- [CLIENT-4099] Enforce
policy.total_timeouton all commands. - Remove
PrivilegeCoderelated panics from the codebase. - Fix an issue where batch commands were not retried.
- Handle the UDF error cases in batch commands.
- [CLIENT-4099] Enforce
Full Changelog: v2.0.0-alpha.7...v2.0.0-alpha.8
v2.0.0-alpha.7
-
New Features
- [CLIENT-2088][CLIENT-2089][CLIENT-2175][CLIENT-2390] Support Ordered maps.
- [CLIENT-3963] Support
ClientPolicy.timeout_delayto allow recovering timed out connections. - [CLIENT-3948] Support
ClientPolicy.min_conns_per_node. - [CLIENT-3946] Add support for user agent-id. Supported by server
v8.1+. - [CLIENT-3945] Add
UdfRemoveandDropIndextasks to the relevant API. - [CLIENT-3130] Support new server 7.1 info command error response strings. Server 7.1 now returns error strings with "ERROR" instead of "FAIL".
- [CLIENT-2151] Support
set_xdr_filter. - [CLIENT-3597] Support
socket_timeouton all policies. - [CLIENT-3580] Support creating a PKI user without a password.
- [CLIENT-3593] Support secondary index on an expression.
- [CLIENT-3781][CLIENT-3851] Add full TLS support + property testing.
- [CLIENT-3832] Add support for Async Streams.
- Add
MapLiketrait to support passing bothHashMapandBTreeMapto some functions. - Adds new privileges from server
v8.1.1.
-
Improvements
- [CLIENT-3627] Deprecation warning changes.
- [CLIENT-3849] Improve connection churn issue.
- Make all
PartitionStatusandPartitionFilterfields public. - Fix logging in tests.
- Fixed and updated documentation.
- Support peers protocol and fix minor bug in TLS.
- Remove
Iteratorandnext_recordfor Recordset in the async build. - Brings v2 branch up to rustc v1.90.x language expectations.
- Close the connection in Multi-part commands (batch, scan, query) on error.
- Added "examples".
-
Bug Fixes
- [CLIENT-4015] Allow empty set names in Scan/Queries.
- [CLIENT-4007] Fix create_role field calc & correct privilege serializations.
- [CLIENT-3892] Geo queries with filters are broken.
- [CLIENT-3795] Dropping tokio tasks returns stale data from other commands.
- Fix map operations due to MultiResult changes.
- Fix an issue where only the last operation results were returned in multi operation commands.
- Fix reading the AEROSPIKE_USE_SERVICES_ALTERNATE in tests.
- Fix feature selection issue.
- Fix an issue with Query encoding.
- Fix Batch encoding issue.
- Log nodes after tend, change info command results at trace level to prevent noise in debug level.
- Fixes an issue with clustering and a faulty test case.
- Fix
NOSUBRegexFlagenum value.
-
Breaking Change
- [CLIENT-4068] Remove the Scan API due to deprecation.
- Remove
Value::Uintdue to lack of native support on the server. - Move hashed password out of the client policy.
- Fix an issue where signed integers were unpacked as unsigned.
- Rename
FilterExpressiontoExpression.
Full Changelog: v2.0.0-alpha.6...v2.0.0-alpha.7
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