Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
v1.4.2
Release Date: March 31, 2015
- Maintenance release.
Improvements
- Replace channel-based queue system with a lock-based algorithm.
- Marshaller now supports arrays of arbitrary types.
Client.GetObject()
now returns an error when the object is not found.- Partition calculation uses a trick that is twice as fast.
- Unpacking BLOBs resulted in returning references to pooled buffers. Now copies are returned.
Full Changelog: 1.4.1...v1.4.2
v1.4.0
Release Date: February 17, 2015
New Features
- Added Marshalling Support for Put and Get operations.
- Added
Recordset.Results()
. Consumers of a recordset do not have to implement a select anymore. Use of the old pattern is discouraged and deprecated, and direct access to recordset.Records and recordset.Errors will be removed in a future release.
recordset, err := client.ScanAll(...)
for res := range recordset.Results() {
if res.Err != nil {
// handle error here
} else {
// process record here
fmt.Println(res.Record.Bins)
}
}
- Use of the old pattern is discouraged and deprecated, and direct access to
recordset.Records
andrecordset.Errors
will be removed in a future release. - Custom Types are now allowed as bin values.
Full Changelog: v1.3.1...v1.4.0
v1.3.1
Release Date: January 26, 2015
New Features
- Removed dependency on
unsafe
package.
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Release Date: January 20, 2015
New Features
- Removed
Record.Duplicates
andGenerationPolicy/DUPLICATE
due to deprication on server. - Added Security Features: Please consult Security Docs on Aerospike website.
ClientPolicy.User
ClientPolicy.Password
Client.CreateUser()
Client.DropUser()
Client.ChangePassword()
Client.GrantRoles()
Client.RevokeRoles()
Client.ReplaceRoles()
Client.QueryUser()
Client.QueryUsers()
- Added
Client.QueryNode()
. - Added
ClientPolicy.TendInterval
.
Improvements
- Cleaned up Scan/Query/Recordset concurrent code
Bug Fixes
- Fixed a bug in
tools/cli/cli.go
. - Fixed a bug when
GetHeaderOp()
would always translate intoGetOp()
.
Full Changelog: v1.2.0...v1.3.0
v1.2.0
Release Date: December 29, 2014
- Adds
BasePolicy.ConsistencyLevel
andWritePolicy.CommitLevel
policies.
New Features
- Added
NewKeyWithDigest()
method. You can now create keys with custom digests, or only using digests without knowing the original value. (Useful when you are getting back results with Query and Scan) - Added
ConsistencyLevel
toBasePolicy
. - Added
CommitLevel
toWritePolicy
. - Added
LargeList.Range
andLargeList.RangeThenFilter
methods. - Added
LargeMap.Exists
method. - We use a pooled XORShift RNG to produce random numbers in the client. It is FAST.
Full Changelog: v1.1.2...v1.2.0
v1.1.2
Release Date: December 19, 2014
- TTL fix for Scan, Query, and BatchGet
- This is a minor maintenance release. Please consult CHANGELOG.md to see the changes.
New Features
Record.Expiration
was not converted to TTL values onClient.BatchGet
,Client.Scan
andClient.Query
.
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Release Date: December 10, 2014
- Minor bug fix release.
New Features
- Fixed issue when the size of key field would not be estimated correctly when
WritePolicy.SendKey
was set.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Release Date: November 28, 2014
New Features
- Major performance improvements
Full Changelog: v1.0.3...v1.1.0
v1.0.3
Release Date: November 28, 2014
- Fix release.
Bug Fixes
- Fixes major issue with Unpacking strings of specific size (Packing was unaffected).
- Fixes minor issue with cluster node refresh.
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Release Date: November 3, 2014
- Cluster Management Fix
New Features
- Please note that the data type for
WritePolicy.Generation
,WritePolicy.Expiration
andStatement.TaskId
have changed in this released. Please refer toCHANGELOG.md
for details.
Full Changelog: v1.0.1...v1.0.2