Skip to content

Releases: aerospike/aerospike-client-go

Minor

31 Jul 14:13
Compare
Choose a tag to compare
  • New Features

    • Add ClientPolicy.SeedOnlyCluster in ClientPolicy for using only seed nodes for connection. (Github #407) thanks to Sudhanshu Ranjan
    • [CLIENT-2307] Add ExpInfinityValue() and ExpWildCardValue()
  • Improvements

    • [CLIENT-2317] Better handle setting the Error.InDoubt flag in commands
    • [CLIENT-2379] Fix returning overall batch error
    • Move particle type outside of internal and back to types/ dir.
    • Updated dependencies to address security advisories.
    • Improve tests in slow environments.
    • Remove atomic integer operations, move to Mutex.
    • [CLIENT-2315] Use BatchReadPolicy in BatchRead instead of BatchPolicy.
    • [CLIENT-2312] Remove support for old-style queries in very old server versions.
    • [CLIENT-2265] Increase the required Go version to 1.17 to be able to compile a dependency which itself was updated due to security issues.
  • Fixes

    • Removes race condition from the client, resolves #399.
    • [CLIENT-2339] Developer tests detecting race condition after updating query protocol.
    • Assign DefaultInfoPolicy on Client initialization.
    • Fixed panics in Read Command Reflection API. (Github #402) thanks to Yegor Myskin
    • [CLIENT-2283] Set correct return types in list/map read expressions.
    • [CLIENT-2316], [CLIENT-2317] BatchResult Err and ResultCode are not always set on errors, Incorrect in-doubt flag handling during batch operation.

v4.7.1

11 Jul 11:25
Compare
Choose a tag to compare
  • Move the v4 version to its own v4 branch due to go modules enforcement.

Minor maintenance release

10 Jul 14:48
Compare
Choose a tag to compare
  • Improvements

    • Upgraded lua and gomega dependencies to the latest versions.
    • Move particle type back from internal to types.

Hotfix release.

30 Mar 16:15
Compare
Choose a tag to compare

We recommend updating to this version if you are using v4.6.0.

  • Fixes

    • [CLIENT-2268] Fix memory issue with the v4.6.0 release due to a miscaptured pointer in closure.
    • Set BatchPolicy.DirectGetThreshold = 0 by default, disabling the feature unless manually enabled.

Major feature release

24 Mar 19:35
Compare
Choose a tag to compare

NOTICE: This version has a major bug if the BatchPolicy.DirectGetThreshold is set to values larger than 0. Update to v4.6.1 if you are using Batch commands.

We recommend testing your app vigorously before deploying this version if you depend on batch requests.

  • New Features

    • [CLIENT-2238] Convert batch calls with just a few keys per node in sub-batches to sequential Get requests. If the number keys for a sub-batch to a node is equal or less then the value set in BatchPolicy.DirectGetThreshold, the client use direct get instead of batch commands to reduce the load/latency on the server.
    • [CLIENT-2240] Add more client statistics.
      • Adds the following statistics:
        • circuit-breaker-hits: Number of times circuit breaker was hit
        • connections-error-other: Connection errors other than timeouts
        • connections-error-timeout: Connection Timeout errors
        • connections-idle-dropped: The connection was idle and dropped
        • connections-pool-overflow: The command offered the connection to the pool, but the pool was full and the connection was closed
        • exceeded-max-retries: Number of transactions where exceeded maximum number of retries specified in the policy
        • exceeded-total-timeout: Number of transactions that exceeded the specified total timeout
        • total-nodes: Total number of nodes in the cluster

Minor feature and bug fix release.

20 Mar 15:52
Compare
Choose a tag to compare
  • Improvements

    • [CLIENT-2235] Minor documentation cleanup. Formatting, clarification and TODOs for next major version.
    • [CLIENT-2234] Export BatchRead.Policy
    • Update Ginkgo and Gomega to the latest version to avoid security issues.
  • Fixes

    • [CLIENT-2230] The first row of batch records represented a server error instead of the overall error in the call.
    • [CLIENT-2233] Wrong FilterExpression size calculation in BatchOperate commands.

Minor improvements and bug fix release.

09 Mar 16:47
Compare
Choose a tag to compare
  • Improvements

    • [CLIENT-2116] Check for completion/cancellation of the Scan/Query before firing off commands to nodes.
  • Fixes

    • [CLINET-2227] PARAMETER_ERROR using expressions and batch write. Wire protocol was violated when the estimateExpressionSize was called.

Minor feature release.

08 Feb 18:24
Compare
Choose a tag to compare
  • New Features

    • [CLIENT-2170] Export MapReturnTypes, MapOrderTypes and MapWriteModes.
    • [CLIENT-2129], [CLIENT-2035] Adds Expression.Base64() and ExpFromBase64() to allow for serialization of expressions.

Minor feature release.

23 Jan 18:47
Compare
Choose a tag to compare

This is a re-release, and redacts and supersedes the version 6.9.0.

  • New Features
    • [CLIENT-2138] Allow PartitionFilter to persist its cursor and retrieve the encoded cursor back to allow pagination. While the Go client supported pagination, it did not export the necessary data structures to allow that cursor to be persisted by the user. These data structures remain private, but two methods (PartitionFilter.EncodeCursor and PartitionFilter.DecodeCursor) are exported on the PartitionFilter to allow this mechanism to work.

Minor feature and bug fix release.

10 Jan 18:53
Compare
Choose a tag to compare
  • New Features

    • [CLIENT-1988] Added base64 encoding functions CDTContextToBase64 and Base64ToCDTContext for CDTContext.
  • Improvements

    • Added an example for regexp expressions in Queries.
  • Fixes

    • [CLIENT-1204] Retry logic will keep retrying on KEY_NOT_FOUND errors until policy.MaxRetries is hit or record is returned to the client.