Skip to content

Releases: aerospike/aerospike-client-rust

v2.0.0-alpha.10

16 Feb 17:14

Choose a tag to compare

v2.0.0-alpha.10 Pre-release
Pre-release
  • New Features

    • Support recovering connections in batch command errors.
    • Added bool_bin() function returning ExpType::BOOL expression. (#179).
  • Improvements

    • [CLIENT-4200] Performance fix (#185). Replaces RwLock with ArcLock.
  • Bug Fixes

    • [CLIENT-4177] Query during migration hangs for full socket_timeout after scale-down cluster.
    • Allow truncating the whole namespace.
    • Fix an issue where max_retries were not respected in Scan/Queries.

Full Changelog: v2.0.0-alpha.9...v2.0.0-alpha.10

v2.0.0-alpha.9

03 Feb 16:55

Choose a tag to compare

v2.0.0-alpha.9 Pre-release
Pre-release
  • Bug Fixes

    • [CLIENT-4140] SIGSEGV/Panic with parallel batch operations and short timeouts.
    • [CLIENT-4131] Dix an issue where Client.create_pki_user hashes the predefined password twice.
  • Breaking Change

    • [CLIENT-4148] Convert BasePolicy.sleep_between_retries and ClientPolicy.tend_interval to u32. Also sync default policy values with other clients.
  • Improvements

    • Turn some panics into errors.

Full Changelog: v2.0.0-alpha.8...v2.0.0-alpha.9

v2.0.0-alpha.8

28 Jan 14:07

Choose a tag to compare

v2.0.0-alpha.8 Pre-release
Pre-release
  • New Features

    • [CLIENT-4050] Support Privilege / Permission Code Expansion Due to DataMasking Feature.
  • Bug Fixes

    • [CLIENT-4099] Enforce policy.total_timeout on all commands.
    • Remove PrivilegeCode related panics from the codebase.
    • Fix an issue where batch commands were not retried.
    • Handle the UDF error cases in batch commands.

Full Changelog: v2.0.0-alpha.7...v2.0.0-alpha.8

v2.0.0-alpha.7

20 Jan 13:47

Choose a tag to compare

v2.0.0-alpha.7 Pre-release
Pre-release
  • New Features

    • [CLIENT-2088][CLIENT-2089][CLIENT-2175][CLIENT-2390] Support Ordered maps.
    • [CLIENT-3963] Support ClientPolicy.timeout_delay to 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 UdfRemove and DropIndex tasks 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_timeout on 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 MapLike trait to support passing both HashMap and BTreeMap to some functions.
    • Adds new privileges from server v8.1.1.
  • Improvements

    • [CLIENT-3627] Deprecation warning changes.
    • [CLIENT-3849] Improve connection churn issue.
    • Make all PartitionStatus and PartitionFilter fields public.
    • Fix logging in tests.
    • Fixed and updated documentation.
    • Support peers protocol and fix minor bug in TLS.
    • Remove Iterator and next_record for 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 NOSUB RegexFlag enum value.
  • Breaking Change

    • [CLIENT-4068] Remove the Scan API due to deprecation.
    • Remove Value::Uint due 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 FilterExpression to Expression.

Full Changelog: v2.0.0-alpha.6...v2.0.0-alpha.7

v2.0.0-alpha.6

06 Oct 15:27

Choose a tag to compare

v2.0.0-alpha.6 Pre-release
Pre-release
  • 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_SIZE to 120MiB.

Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.6

v2.0.0-alpha.4

18 Aug 15:14

Choose a tag to compare

v2.0.0-alpha.4 Pre-release
Pre-release
  • 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_records in queries. [CLIENT-2407]
    • Support partition scans. [CLIENT-2401]
    • Support ScanPolicy.max_records in 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_percent and ScanPolicy.fail_on_cluster_change. [CLIENT-2101]
    • Enhance List and Map expression 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

11 Jun 18:57

Choose a tag to compare

2.0.0-alpha.3 Pre-release
Pre-release

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, and sindex-admin privileges. [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

02 Jun 13:40

Choose a tag to compare

2.0.0-alpha.2 Pre-release
Pre-release

Release Date: June 02, 2025

  • Minor feature release

New Features

  • Add Exists, OrderedMap and UnorderedMap return types for CDT read operations. [CLIENT-2046]
  • Add support for Infinity and Wildcard values. [CLIENT-2385]
  • Add support for expressions::infinity() and expressions::wildcard(). [CLIENT-2309]
  • Support expressions::record_size() and expressions::memory_size(). [CLIENT-2576]
  • Add allow_inline_ssd, respond_all_keys to BatchPolicy. [CLIENT-3491]
  • Add read_touch_ttl to policies. [CLIENT-2832]
  • Support QueryDuration enum in QueryPolicy. [CLIENT-2825]
  • Support records_per_second for Scan/Query. [CLIENT-3488]

Bug Fixes

Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2

2.0.0-alpha.1

19 May 18:58

Choose a tag to compare

2.0.0-alpha.1 Pre-release
Pre-release

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 Github or with Aerospike support.

New Features

  • Support async rust. You can use both tokio and async-std as features to enable the respective runtimes. tokio is the default.
  • Support sync through blocking in the sync sub-crate.
  • Support new batch protocol, allowing read, write, delete and udf operations. Use BatchOperation constructors. [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 boolean particle type. [CLIENT-2099]
  • Support New Scan/Query wire protocol.
  • Replace error-chain with a custom implementation. We still use thiserror's macros internally (To be removed in the future.)
  • Support for Replica policies, including PreferRack policy.
  • Removes lifetimes that were due to &str, replacing most of them with String.

Bug Fixes

  • Fixed various bugs in messagepack encoding.
  • Fixed large integers packing when encoding to messagepack.
  • Fixed Float serialization.

Full Changelog: v1.3.0...v2.0.0-alpha.1

1.3.0

01 May 12:35

Choose a tag to compare

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_HOSTS environment variable set. Now they use localhost by 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