aerospike-client-go v4.2.0 Release Notes

Release Date: 2021-02-12 // almost 2 years ago
  • Major feature and improvements release.

    • New Features:

      • [CLIENT-1192] Adds Support for partition scans. Queries which lack a Statement.Filter will be automatically converted to partition scans. If the cluster supports partition scans, all Scans and Queries will use the new protocol to allow retrying in case of some errors.
      • [CLIENT-1237] Adds Support for MultiPolicy.MaxRecords in scans and queries without Statement.Filter.
      • Adds NewHosts convenience function. (Github #320) thanks to Yegor Myskin
    • Improvements

      • Adds a few missing error checks.
      • Moves examples files to dedicated folders to avoid multiple main function errors for new users.
      • Some documentation clean up. (Github #314) thanks to Shin Uozumi
      • Fix typo in example NewKey(). (Github #331) thanks to Patrick Kuca
      • Adds an example to list operations (using operate and list policy).
      • Runs the XDR tests only when XDR is configured on the server.
      • Add TLS config to test params.
      • Mark NewPredExpXXX return value as the PredExp interface instead of concrete type. It will now group them under the PredExp interface in the docs.
    • Changes

      • Only use Policy.Priority and MultiPolicy.FailOnClusterChange on server versions < 4.9. Priority is now deprecated and replaced with MultiPolicy.RecordPerSecond.
      • Statement.TaskID is deprecated and will be removed in the next major version.
      • ScanPolicy.ConcurrentNodes is deprecated and will be removed in the next major version.

    … versions < 4.9