Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
Minor feature and fix release
-
New Features
- [CLIENT-2820] Actively refresh pool connections that will be idle before the next tend.
-
Fixes
- [CLIENT-3218] Fix
FilterExpression
encoding in Batch commands.
- [CLIENT-3218] Fix
Minor fix release
Major Breaking Release
Major breaking release. This release supports Multi-Record Transactions. Please note that this is a beta release and will be subject to breaking changes. MRT support required Aerospike Server Enterprise v8.0.0+.
-
Breaking Changes
- This release removes the proxy client and associated mock interfaces from the codebase. Maintaining those interfaces was very hard due to multiple build flags which had their own set of of supported API. Since interfaces are implicit, doing that by the user is as easy, or potentially easier outside of the library.
- Operation used to return the result of multiple ops on a single bin wrapped in
[]any
. That would be confusing, since it was not clear if the result was the contents of the bin, or the results of multiple commands. In version 8, the client will wrap those results inside aas.OpResults
instead of a[]any
, removing the confusion. - The client would automatically populate the
stackFrame
field for theas.AerospikeError
. Since that was an expensive operation, the client now will consult the value ofStackTracesEnabled
variable before doing so. The default is set tofalse
of course. - The client now requires Go v1.23+. Needed to implement iterators later.
-
New Features
- [CLIENT-3159] Support writing raw payload to the server.
- [CLIENT-3183] [CLIENT-3203] [CLIENT-3193] [CLIENT-3190] Support Multi-Record Transactions.
-
Fixes
- [CLIENT-3214] Remove Proxy code.
- [CLIENT-3217] Do not send
nil
orNullValue
as key to the server.
-
Improvements
- [CLIENT-3214] Support
-use-services-alternate
in test arguments. - Renamed all
interface{}
toany
.
- [CLIENT-3214] Support
Minor fix release
- Fixes
- [CLIENT-3196] Parse
nil
keys properly in scan/query operations.
- [CLIENT-3196] Parse
Minor fix release
- Fixes
- [CLIENT-3156] Fix an issue where rack policy always returns the master node. Resolves #455
Major Hotfix Release
Warning
Hot Fix release. This version fixes a major bug introduced in v7.7.0. You should use this release instead.
- Fixes
- [CLIENT-3122] Fix
nil
dereference in the tend logic.
- [CLIENT-3122] Fix
Minor improvement release
Warning
This version introduced a major bug in tend logic. You should use v7.7.1 or later instead.
-
Improvements
- [CLIENT-3112] Correctly handle new error messages/error codes returned by AS 7.2.
- [CLIENT-3102] Add "XDR key busy" error code 32.
- [CLIENT-3119] Use generics for a general code clean up.
Uses several new generic containers to simplify concurrent access in the client.
Uses a Guard as a monitor for the tend connection. This encapsulates synchronized tend connection management using said Guard. - Add documentation about
client.WarmUp
to the client initialization API.
-
Fixes
- [CLIENT-3082]
BatchGet
with empty keys raises gRPCEOF
error.
- [CLIENT-3082]
Minor improvement release
- Improvements
- [CLIENT-3071] Increase info command max response buffer size to 64 MiB.
Minor improvement and fix release
-
Improvements
- [CLIENT-3045] Move proxy client build behind a build flag.
This removes the GRPC compilation and potential namespace conflict from the default build and moves it behind the compiler build flag "as_proxy". - [CLIENT-3049] Use a specialized pool for grpc conns to prevent premature reaping.
- [CLIENT-3045] Move proxy client build behind a build flag.
-
Fixes
- [CLIENT-3022]
Close()
throws anil
pointer error onProxyClient
without Authentication. - [CLIENT-3044] Circular reference in between
Client
<->Cluster
causes memory leak when the client is not closed manually. - [CLIENT-3046] Wrong return type in Single Key Batch Operations with Multiple Ops per Bin.
- [CLIENT-3047] Fix pointer value assignment in baseMultiCommand.parseKey (#443).
- [CLIENT-3048] Use precomputed ops variable in
batchIndexCommandGet.executeSingle
(#442).
- [CLIENT-3022]
Minor feature and fix release
-
New Features
- [CLIENT-2968] Support new v7.1 proxy features:
- Info command.
QueryPolicy.QueryDuration
- [CLIENT-3012] Support new server 7.1 info command error response strings.
- [CLIENT-2968] Support new v7.1 proxy features:
-
Improvements
- [CLIENT-2997] Scans should work in a mixed cluster of v5.7 and v6.4 server nodes.
- [CLIENT-3012] Support new server 7.1 info command error response strings.
- [CLIENT-3020] Change
ReadModeSC
doc from server to client perspective.
-
Fixes
- [CLIENT-3019] Prevent Goroutine leak in
AuthInterceptor
for the Proxy Client.
- [CLIENT-3019] Prevent Goroutine leak in