Skip to content

Releases: aerospike/aerospike-client-go

Minor Bugfix release

06 Jun 10:20
Compare
Choose a tag to compare

Minor bugfix release.

  • Fixes
    • Fixes an issue where complex maps and lists weren't unmarshalled correctly in GetObject method.

Major Feature and Improvements

02 Jun 11:42
Compare
Choose a tag to compare

NOTICE: Due to the relatively extensive code overhaul, upgrade with caution.

  • New Features
    • Added CDT Ordered Map API. (Requires server version to be released in the near future)
  • Improvements
    • Removed mutexes from Cluster and Node code.
    • Improved code quality using various linters.

Minor Fixes and Improvements

02 Jun 11:41
Compare
Choose a tag to compare
  • Fixes
    • Fixed an issue where unmarshalling embedded structs and pointers didn't work properly if they were tagged.

Minor fixes and improvements release.

16 May 16:40
Compare
Choose a tag to compare
  • Fixes
    • Fixed an issue in which go-routines were leaked in Results() method of Recordset on cancellation. Based on PR #128, thanks to Noel Cower
    • Fixed issues regarding leaked goroutines in Cluster.WaitTillStablized(), Cluster.MigrationInProgress(), and Cluster.WaitUntillMigrationIsFinished() methods. PR #126, thanks to Anton
  • Improvements
    • Improved cluster tend() logic.
    • Added Recordset.Read() method.
    • Minor fixes in docs and code formatting. Thanks to Andrew Murray and Erik Dubbelboer

Minor Features and Improvements

01 Apr 15:39
Compare
Choose a tag to compare
  • New Features
    • Added NewGeoWithinRegionForCollectionFilter, NewGeoRegionsContainingPointForCollectionFilter, NewGeoWithinRadiusForCollectionFilter for queries on collection bins.
  • Fixes
    • Fixed an issue in which bounded byte arrays were silently being dropped as map keys.
  • Improvements
    • Removed and fixed unused assignments and variables.
    • Fixed typos in the comments.
    • Minor changes and formatting. PR #124, thanks to Harmen

Minor Features and Improvements

08 Mar 16:27
Compare
Choose a tag to compare

Minor features and improvements release.

  • New Features

    • Support Metadata in struct tags to fetch TTL and Generation via GetObject.
      Notice: Metadata attributes in an struct are considered transient, and won't be persisted.

    Example:

    type SomeStruct struct {
      TTL  uint32         `asm:"ttl"` // record time-to-live in seconds
      Gen  uint32         `asm:"gen"` // record generation
      A    int
      Self *SomeStruct
    }
    
    key, _ := as.NewKey("ns", "set", value)
    err := client.PutObject(nil, key, obj)
    // handle error here
    
    rObj := &OtherStruct{}
    err = client.GetObject(nil, key, rObj)
    • GeoJSON support in Lists and Maps
  • Improvements

    • Use ClientPolicy.timeout for connection timeout when refreshing nodes
    • Added new server error codes
    • Protect RNG pool against low-precision clocks during init
    • Better error message distingushing between timeout because of reaching deadline and exceeding maximum retries
  • Fixes

    • Fixed object mapping cache for anonymous structs. PR #115, thanks to Moshe Revah
    • Fixed an issue where Execute() method wasn't observing the SendKey flag in Policy.

Minor Feature and Improvements

09 Feb 14:13
Compare
Choose a tag to compare

Minor features and improvements release.

  • New Features
    • Can now use services-alternate for cluster tend.
    • New CDT List API: ListGetRangeFromOp, ListRemoveRangeFromOp, ListPopRangeFromOp
  • Improvements
    • Improves marshalling of data types into and out of the Lua library and avoids marshalling values before they are needed.
    • Returns error for having more than one Filter on client-side to avoid confusion.
    • Increases default ClientPolicy.Timeout and return a meaningful error message when the client is not fully connected to the cluster after waitTillStabilized call

Major release. Adds Aggregation.

13 Jan 17:49
Compare
Choose a tag to compare

Major release. Adds Aggregation.

  • New Features
    • Added client.QueryAggregate method.
    • Improvements
      • Improve Query/Scan performance by reading from the socket in bigger chunks

Major Release

14 Dec 16:35
Compare
Choose a tag to compare
  • New Features
    • Added CDT List operations.
    • Added NewGeoWithinRadiusFilter filter for queries.
  • Changes
    • Renamed NewGeoPointsWithinRegionFilter to NewGeoWithinRegionFilter

Major Release

01 Dec 21:27
Compare
Choose a tag to compare

December 1 2015 : v1.8

Major release. Adds new features and fixes important bugs.

  • New Features
    • Added ScanAllObjects, ScanNodeObjects, QueryObjects and QueryNodeObjects to the client, to facilitate automatic unmarshalling of data similar to GetObject.
      • NOTICE: This feature and its API are experimental, and may change in the future. Please test your code throughly, and provide feedback via Github.
    • Added ScanPolicy.IncludeLDT option (Usable with yet to be released server v 3.7.0)
    • Added LargeList.Exist method.
  • Improvements
    • Makes Generation and Expiration values consistent for WritePolicy and Record.
      • NOTICE! BREAKING CHANGE: Types of Record.Generation and Record.Expiration, and also WritePolicy.Generation and WritePolicy.Expiration have changed, and may require casting in older code.
    • Refactor tools/asinfo to be more idiomatic Go. PR #86, thanks to Tyler Gibbons
    • Many documentation fixes thanks to Charl Matthee and Tyler Gibbons
  • Fixes
    • Changed the KeepConnection logic from black-list to white-list, to drop all
    • Fix RemoveNodesCopy logic error.
    • Add missing send on recordset Error channel. PR #99, thanks to Geert-Johan Riemer
    • Fix skipping of errors/records in (*recordset).Results() select after cancellation. PR #99, thanks to Geert-Johan Riemer