All notable changes to this project will be documented in this file.
-
Bug Fixes
- Avoid panic if
Command#get_node
fails inCommand#execute
. Resolves issue #101. - Fix wrong method invocation inside
Client#truncate
method. Thanks to Alexander
- Avoid panic if
-
Improvements
- Added missing server error codes.
-
New Features
- [CLIENT-1246] Adds missing API for Context#list_index_create and Context#map_key_create
-
Bug Fixes
- Fixed an issue were MsgPack extensions were not recursively cleared from the CDTs during unpacking.
-
New Features
- [CLIENT-1173], [CLIENT-1246] Support Nested CDT operations with Context.
- [CLIENT-1179], Support Bitwise operations.
-
Changes
ListSortFlags
now has anASCENDING
option, withDEFAULT
mapping to it.
-
New Features
- [CLIENT-1254] Adds support for HyperLogLog.
-
Changes
Client#operate
now usesOperatePolicy
by default.
-
New Features
- Adds support for rack-aware reads.
- Adds support for client-server compression.
-
Improvements
- Adds support for
truncate-namespace
command.
- Adds support for
-
New Features
- Adds support for replica policies.
-
Improvements
- Remove support for "old" partition tokenizer.
- Refactor how partition parser is initialized and called.
- Adds support for 'replicas' and remove the old partition table queries from the server.
-
New Features
- Support for predicate expressions in all transaction.
- Support for
operation.delete
inclient#operate
.
-
Improvements
- Optimize serialization for nested structures. Thanks to @Kacper Madej! [#94]
- Remove
Thread#abort_on_exception
frombatch_index_command
. Thanks to @Kacper Madej! [#94] - Does not allow values other than Integer, Float, String, Symbol and nil to be used as keys in Maps.
-
Bug Fixes
- Fixes tests that weren't using ENV variables for connections. This will allow the tests to be run on any server.
-
New Features
- Support for predicate expressions in queries. Thanks to @Minus10Degrees! [#78]
-
Bug Fixes
- New Features
- Add support for LB discovery / seeding. Thanks to @filiptepper! [#80]
-
Bug Fixes
- Query fails if one or more cluster nodes do not have records in the set [#77]
-
Updates
- Change admin message version to 2 (from 0)
- Remove unused BIN_EXISTS_ERROR (6) and BIN_NOT_FOUND (17) error codes
- Tests: Support setting user/password when running specs
-
New Features
- Add INFINITY and WILDCARD values for use in CDT map/list comparators. [AER-5945]
-
Bug Fixes
- Default policies set on Client instance do not get applied [#74]
-
Updates
- BREAKING CHANGE: Change default for send_key write policy to false [#73]
- Support truncate info command argument "lut=now" for servers that require it. [AER-5955]
-
New Features
- Support latest CDT List/Map server-side operations: [#69]
- Operations on Ordered Lists & Bounded Lists via new List Policy. (Requires server version v3.16.0 or later.)
- Option to invert selection criteria for certain List/Map get/remove operations. (Requires server version v3.16.0 or later.)
- List/Map index/rank relative get/remove operations. (Requires server version v4.3.0 or later.)
- Partial list/map updates using PARTIAL / NO_FAIL write flags. (Requires server version v4.3.0 or later.)
- Benchmarks: Output total TPS metrics at end of run [#71]
- Support latest CDT List/Map server-side operations: [#69]
-
Bug Fixes
- Check connection status of sockets retrieved from connection pool [#72]
-
Updates
- Add JRuby back to CI test matrix [#70]
- New Features
-
New Features
-
Bug Fixes
-
Updates
- Update minimum required Ruby version to v2.3.
-
Bug Fixes
- Some secondary index queries fail with parameter error on Aerospike Server v3.15.1.x #57
-
Updates
- Added Ruby 2.5 to test matrix
- Updated documentation for Client#truncate command [CLIENT-985]
-
New Features
- Support nobins flag on query operations
- Support CDT List Increment operation. Requires Aerospike server version 3.15 or later.
-
Updates
- The deprecated Large Data Types(LDT) feature has been removed.
- Ruby 2.1 has been removed from the client's test matrix as official support for Ruby 2.1 has ended in Apr 2017. Nothing has changed in the client that would break compatibility with Ruby 2.1 yet. But compatibility is not guaranteed for future client releases.
-
New Features
-
Bug Fixes
- Fix "Digest::Base cannot be directly inherited in Ruby" #45
-
Updates
- Ruby 2.0 has been removed from the client's test matrix as official support for Ruby 2.0 has ended in Feb 2016. Nothing has changed in the client that would break compatibility with Ruby 2.0 yet. But compatibility is not guaranteed for future client releases. #52
-
Bug Fixes
- Fix BytesValue used as record key. #42
-
Changes
- Deprecate unsupport key types - only integer, string and byte keys are supported. #43
-
New Features
- Added constants
Aerospike::TTL::*
for "special" TTL values, incl. Aerospike::TTL::DONT_UPDATE (requires Aerospike Server v3.10.1 or later)
- Added constants
-
Bug Fixes
- Fix "Add node failed: wrong number of arguments". #41
-
New Features
- Support for durable delete write policy [CLIENT-768]; requires Aerospike Server Enterprise Edition v3.10 or later.
- Support Cluster Name verification [CLIENT-776]; requires Aerospike Server v3.10 or later.
-
Bug Fixes
- Fix error handling in node refresh during cluster tend.
-
Improvements
-
Documentation
- Added note about potential issues with usage in Ruby on Rails with Phusion Passenger.
- Amend/clean up documentation of client policies.
-
Bug Fixes
- Fix incorrect expiration times on records fetched via batch_get or query operations. #38
-
Improvements
- Add support for two new server error codes (23 & 24) introduced in Aerospike Server v3.9.1.
- Records returned by batch_get operation should include the full key incl. the user key part.
-
Fixes
- Fix a typo in the
max_retries
policy parameter name. PR #37 Thanks to @murphyslaw! - Fix license identifier in gemspec.
- Fix a typo in the
-
Improvements
- Support for queries on Lists and Maps (keys & values)
- Support for creating indexes on Lists and Maps [CLIENT-685]
- Support GeoJSON values in Lists and Maps
-
Breaking Changes - Please refer to detailed list of API changes for further details.
- Incompatible integer key digests: digests for integer keys computed by v2 and v1 are different; the Aerospike server uses the key digest to retrieve records. This will impact your ability to read records with integer keys that were created by a v1 client version.
- Backward incompatible changes to the
Aerospike::Client.new
initializer. - The
Aerospike::Client.new_many
initializer has been removed; useAerospike::Client.new
instead. - Drop support for Ruby 1.9.3; requires Ruby 2.0 or later.
-
Improvements
- Add support for List and Map operations on List/Map Complex Data Types (CDT); requires Aerospike Server version 3.9 or later. [CLIENT-559]
- Read Aerospike server address from AEROSPIKE_HOSTS env variable if not specified explicity in client constructor.
- Add 2.3.1 to supported Ruby versions on Travis-CI.
-
Fixes
- Fix digest creation for integer keys. PR #34. Thanks to @murphyslaw!
- Prevent "value must be enumerable" error when client cannot connect to cluster. #35. Thanks to @rohanthewiz!
-
Fixes:
- Fixed syntax error in Client when raising exception for invalid bin key; thanks to Ole Riesenberg for the fix. [aerospike#31]
- Use UTF-8 as default encoding when writing/reading Strings from record bins; thanks to fs-wu for finding the issue and reporting it. [aerospike#33]
Major feature and bug fix release.
-
Fixes:
-
Fix
ClientPolicy
to actually acceptfail_if_not_connected
parameter from constructor opts. PR #29, thanks to Nick Recobra -
Fix record initialization issue. PR #28, thanks to jzhua
-
Consume the rest of the stream when scan/query is finished.
-
-
Improvements:
-
Support for double precision floating point data type in record bins. Requires server version 3.6.0 or later. [CLIENT-599]
-
Support for geospatial data in record bins using GeoJSON format; support for querying geospatial indexes using points-within-region and region-contains-point filters. Requires server version 3.7.0 or later. [CLIENT-594]
-
Tend interval is now configurable via the client policy. Default is 1 second as before.
-
Only logs tend messages when the number of cluster nodes have changed.
-
Scan and Query termination has been fixed.
-
Major fix release.
-
Fixes:
-
Fixes
find_node_in_partition_map
logic. -
Fixes
Node.Refresh
logic. -
Fixes an issue with dead connections that would cause an infinite loop.
-
Minor fix release.
-
Fixes:
- Sends the original key value to the server for all relevant commands, including
operate
andexecute_udf
- Sends the original key value to the server for all relevant commands, including
Minor fix release.
-
Improvements:
- Adds 'Filter.to_s'. Thanks to Ángel M
-
Fixes:
-
Fixes an issue in write policy that would use an undefined variable if
:send_key
isn'tnil
. -
Fixes an issue in cluster.closed logic.
-
Fixes an issue with including the
statement.rb
in the manifest. Thanks to Ángel M
-
Minor fixes.
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:
-
Removed workaround in
BatchGet
. Bins are filtered on server now. -
Added New Error Codes. Fixes Issues #17 and #18
-
Node validator won't lookup hostsif an IP is passed as a seed to it.
-
-
** Other Changes **
-
Removed deprecated
ReplaceRoles()
method. -
Removed deprecated
SetCapacity()
andGetCapacity()
methods for LDTs.
-
Minor fixes.
-
New Features:
- Fixed running a stream query without parameters to the function.
Minor improvements.
-
New Features:
- Added
:execute_udf_on_query
method toAerospike::Client
- Added
Hot fix.
-
Fixes:
- Close a socket if connection raises an exception to avoid leaking the file descriptor.
Minor fixes and improvements.
-
New Features:
- Symbols are now accepted as key values. Keep in mind that symbols are converted to string automatically, and type information is lost.
-
Fixes:
- Wait for a good connection on
socket.connect_nonblock
to prevent infinite loops on read/write operations.
- Wait for a good connection on
Minor improvements.
-
New Features:
- Added
:new_many
method toAerospike::Client
- Added
Hot fix.
-
Fixes:
- Added
bcrypt
to the gem dependencies.
- Added
Major release. With this release, Ruby client graduates to version 1.
-
Breaking Changes:
- All
policy
initialize signatures have changed. Using policies was not documented, so it shouldn't affect most code. It will however, break any code initializing policies. - Removed
Record.dups
andGenerationPolicy::DUPLICATE
- All
-
New Features:
-
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
-
-
Fixes:
- fixed size returned from
BytesValue.write
- fixed size returned from
Minor features added, minor fixes and improvements.
-
New Features:
- Added
Policy.consistency_level
- Added
WritePolicy.commit_level
- Added
-
Fixes
- Fixed setting timeout on connection
- Fixed exception handling typo for Connection#write
Major features added, minor fixes and improvements.
-
New Features:
- Added
Client.scan_node
,Client.scan_all
- Added
Client.query
- Added
-
Fixes
- Fixed getting back results only for specified bin names.
Minor fix.
-
Changes:
- Fixed LDT bin and module name packing.
Minor fix.
-
Changes:
- Fixed String unpacking for single byte strings.
Minor fixes.
-
Changes:
- Fixed String packing header in Hash and Array.
- #find on LDTs returns
nil
instad of raising an exception if the item is not found.
- Initial Release.