Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
Native Floating Point, Geo Spatial, List/Map Query Support
October 16 2015 : v1.7.0
Major release. Adds new features and fixes important bugs.
- New Features
- Added support for Geo spatial queries.
- Added support for creating indexes on List and Map bins, and querying them.
- Added support for native floating point values.
- Added
ClientPolicy.IpMap
to use IP translation for alias recognition. PR #81, Thanks to Christopher Guiney
- Improvements
- Cosmetic change to improve code consistency for
PackLong
inpacker.go
. PR #78, Thanks to Erik Dubbelboer
- Cosmetic change to improve code consistency for
- Fixes
- Fixes an issue when the info->services string was malformed and caused the client to panic.
- Fixes an issue with marshaling maps of type
map[ANY]struct{}
into embedded structs. - Fixes issue with marshaling maps of type
map[ANY]struct{}
into embedded structs. - Fixes an issue with bound checking. PR #85, Thanks to Tait Clarridge
- Fixes aa few typos in the docs. PR #76, Thanks to Charl Matthee
Minor Maintenance Release.
- Improvements
- Export
MaxBufferSize
to allow tweaking of maximum buffer size allowed to read a record. If a record is bigger than this size (e.g: A lot of LDT elements in scan), this setting wil allow to tweak the buffer size.
- Export
Hot Fix Release
* Fix panic when a scan/query fails and the connection is not dropped.
Maintenance Release
Minor fix release.
- Improvements
- Improved documentation. PR #64 and #68. Thanks to Geert-Johan Riemer
- Fixes
- Fix a bunch of golint notices. PR #69, Thanks to Geert-Johan Riemer
- Connection.Read() total bytes count on error. PR #71, Thanks to Geert-Johan Riemer
- Fixed a race condition on objectMappings map. PR #72, Thanks to Geert-Johan Riemer
- Fixed a few uint -> int convertions.
Minor fix release.
- Improvements
- Improved documentation. Replaced all old API references regarding Recordset/Query/Scan to newer, more elegant API.
- Fixes
- Fixed an issue where erroring out on Scan would result a panic.
- Fixed an issue where
Statement.TaskId
would be negative. convertedStatement.TaskId
touint64
Minor fix release.
- Fixes
- Fixed an issue where marshaller wouldn't marshal some embedded structs.
- Fixed an issue where querying/scanning empty sets wouldn't drain the socket before return.
New LLIST API, Bug Fixes, Performance Improvements
There's an important performance regression bug fix in this release. We recommend everyone to upgrade.
- New Features
-
Added New LargeList API.
NOTICE! BREAKING CHANGE: New LargeList API on the Go Client uses the New API defined on newer server versions. As Such, it has changed some signatures in LargeList.
-
- Fixes
- Fixed an issue where connections where not put back to the pool on some non-critical errors.
- Fixed an issue where Object Unmarshaller wouldn't extend a slice.
- Decode
RegisterUDF()
error message from base64 - Fixed invalid connection handling on node connections (thanks to @rndive)
Hotfix
Major maintenance release.
NOTICE: All LDTs on server other than LLIST have been deprecated, and will be removed in the future. As Such, all API regarding those features are considered deprecated and will be removed in tandem.
- Improvements
- Fixes
- Fixed a few race conditions.
- Fixed #58 regarding race condition accessing
Cluster.password
. - Fixed minor bugs regarding handling of nulls in structs for
GetObj()
andPutObj()
. - Fixed a bug regarding setting TaskIds on the client.
- Other Changes
- Removed deprecated
ReplaceRoles()
method. - Removed deprecated
SetCapacity()
andGetCapacity()
methods for LDTs.
- Removed deprecated
Maintenance Release
This release includes potential BREAKING CHANGES.
- New Features
- Introduces
ClientPolicy.LimitConnectionsToQueueSize
. If set to true, the client won't attemp to create new connections to the node if the total number of pooled connections to the node is equal or more than the pool size. The client will retry to poll a connection from the queue until a timeout occures. If no timeout is set, it will only retry for ten times.
- Introduces
- Improvements
- BREAKING CHANGE: |
Uses type aliases instead of structs in several XXXValue methods. This removes a memory allocation perValue
usage.
Since everyPut
operation uses at list one value object, this has the potential to improve application performance.
Since the signature of severalNewXXXValue
methods have changed, this might break some existing code if you have used the value objects directly. - Improved
Logger
so that it will accept a generalizedLogger
interface. Any Logger with aPrintf(format string, values ...interface{})
method can be used. Examples include Logrus. - Improved
Client.BatchGet()
performance.
- BREAKING CHANGE: |
- Fixes
- Bin names were ignored in BatchCommands.
BatchCommandGet.parseRecord()
returned wrong values whenBinNames
was empty but not nil.