Skip to content

Releases: aerospike/aerospike-client-go

v1.4.2

31 Mar 08:37
Compare
Choose a tag to compare

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

18 Feb 10:10
Compare
Choose a tag to compare

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 and recordset.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

26 Jan 10:29
Compare
Choose a tag to compare

Release Date: January 26, 2015

New Features

  • Removed dependency on unsafe package.

Full Changelog: v1.3.0...v1.3.1

v1.3.0

20 Jan 11:15
Compare
Choose a tag to compare

Release Date: January 20, 2015

New Features

  • Removed Record.Duplicates and GenerationPolicy/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 into GetOp().

Full Changelog: v1.2.0...v1.3.0

v1.2.0

06 Jan 17:09
Compare
Choose a tag to compare

Release Date: December 29, 2014

  • Adds BasePolicy.ConsistencyLevel and WritePolicy.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 to BasePolicy.
  • Added CommitLevel to WritePolicy.
  • Added LargeList.Range and LargeList.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

19 Dec 13:02
Compare
Choose a tag to compare

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 on Client.BatchGet, Client.Scan and Client.Query.

Full Changelog: v1.1.1...v1.1.2

v1.1.1

10 Dec 16:56
Compare
Choose a tag to compare

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

28 Nov 18:52
Compare
Choose a tag to compare

Release Date: November 28, 2014

New Features

  • Major performance improvements

Full Changelog: v1.0.3...v1.1.0

v1.0.3

28 Nov 18:05
Compare
Choose a tag to compare

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

03 Nov 19:40
Compare
Choose a tag to compare

Release Date: November 3, 2014

  • Cluster Management Fix

New Features

  • Please note that the data type for WritePolicy.Generation, WritePolicy.Expiration and Statement.TaskId have changed in this released. Please refer to CHANGELOG.md for details.

Full Changelog: v1.0.1...v1.0.2