aerospike 2.23.0 → 2.24.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -2,524 +2,561 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.24.0] 2022-11-15
6
+
7
+ - **New Features**
8
+ - [CLIENT-1730] Support partition queries.
9
+ - [CLIENT-1469] Support query pagination through client#query_partitions with PartitionFilter
10
+ - [CLIENT-1975] Add support for #max_records and #short_query to QueryPolicy
11
+ - [CLIENT-1976] Add support for #concurrent_nodes to QueryPolicy
12
+
5
13
  ## [2.23.0] 2022-10-25
6
14
 
7
- * **New Features**
8
- * [CLIENT-1752] Add 'EXISTS' return type for CDT read operations.
9
- * [CLIENT-1195] Support partition scans.
10
- * [CLIENT-1238] Support max_records on partition scans.
11
- * [CLIENT-1940] Lint and Clean up using Rubocop.
15
+ - **New Features**
16
+ - [CLIENT-1752] Add 'EXISTS' return type for CDT read operations.
17
+ - [CLIENT-1195] Support partition scans.
18
+ - [CLIENT-1238] Support max_records on partition scans.
19
+ - [CLIENT-1940] Lint and Clean up using Rubocop.
12
20
 
13
21
  ## [2.22.0] 2022-07-14
14
22
 
15
- * **Fixes**
16
- * [CLIENT-1785] Fix Client#read_users to avoid error. PR #112 Thanks to [Dotan Mor](https://github.com/dotan-mor)
17
- * [CLIENT-1787] Support multiple DNS IPs during connection.
18
- * [CLIENT-1789] Authentication Retry fails in certain conditions.
23
+ - **Fixes**
24
+ - [CLIENT-1785] Fix Client#read_users to avoid error. PR #112 Thanks to [Dotan Mor](https://github.com/dotan-mor)
25
+ - [CLIENT-1787] Support multiple DNS IPs during connection.
26
+ - [CLIENT-1789] Authentication Retry fails in certain conditions.
19
27
 
20
28
  ## [2.21.1] - 2022-06-21
21
29
 
22
30
  This s hotfix release. It is recommended to upgrade your client if you use authentication.
23
31
 
24
- * **Bug Fixes**
25
- * Fix called function name in Authenticate.
32
+ - **Bug Fixes**
33
+ - Fix called function name in Authenticate.
26
34
 
27
35
  ## [2.21.0] - 2022-06-07
28
36
 
29
- * **New Features**
30
- * Add support for new user management features. Adds `Client#query_role`, `Client#query_roles`, `Client#create_role`, `Client#drop_role`, `Client#grant_privileges`, `Client#revoke_privileges`. Adds the 'Role' class. Adds `UserRoles#read_info`, `UserRoles#write_info`, `UserRoles#conns_in_use` to the `UserRoles` class.
37
+ - **New Features**
38
+
39
+ - Add support for new user management features. Adds `Client#query_role`, `Client#query_roles`, `Client#create_role`, `Client#drop_role`, `Client#grant_privileges`, `Client#revoke_privileges`. Adds the 'Role' class. Adds `UserRoles#read_info`, `UserRoles#write_info`, `UserRoles#conns_in_use` to the `UserRoles` class.
31
40
 
32
- * **Improvements**
33
- * Do not run PredExp tests for server v6+.
41
+ - **Improvements**
42
+ - Do not run PredExp tests for server v6+.
34
43
 
35
44
  ## [2.20.1] - 2022-05-11
36
45
 
37
- * **Improvements**
38
- * Add basic support for the new authentication protocol.
46
+ - **Improvements**
47
+ - Add basic support for the new authentication protocol.
39
48
 
40
49
  ## [2.20.0] - 2021-11-08
41
50
 
42
51
  Notice: This version of the client only supports Aerospike Server v4.9 and later. Some features will work for the older server versions, but they are not tested, nor officially supported.
43
52
 
44
- * **New Features**
45
- * [CLIENT-1467] Support native Boolean type for server v5.6+.
53
+ - **New Features**
46
54
 
47
- * **Improvements**
48
- * Add basic support for server v4.9+ scan/queries.
49
- * Don't check for key equality in Batch command results.
55
+ - [CLIENT-1467] Support native Boolean type for server v5.6+.
56
+
57
+ - **Improvements**
58
+ - Add basic support for server v4.9+ scan/queries.
59
+ - Don't check for key equality in Batch command results.
50
60
 
51
61
  ## [2.19.0] - 2020-02-09
52
62
 
53
- * **Improvements**
54
- * Remove Timeout in `wait_till_stabilized` in favor of `thread.join(timeout)` . Thanks to [Marcelo](https://github.com/MarcPer) [[#104](https://github.com/aerospike/aerospike-client-ruby/pull/104)]
55
- * Adds `ResultCode::LOST_CONFLICT`
63
+ - **Improvements**
64
+ - Remove Timeout in `wait_till_stabilized` in favor of `thread.join(timeout)` . Thanks to [Marcelo](https://github.com/MarcPer) [[#104](https://github.com/aerospike/aerospike-client-ruby/pull/104)]
65
+ - Adds `ResultCode::LOST_CONFLICT`
56
66
 
57
67
  ## [2.18.0] - 2020-12-01
58
68
 
59
- * **Bug Fixes**
60
- * Avoid panic if `Command#get_node` fails in `Command#execute`. Resolves issue #101.
61
- * Fix wrong method invocation inside `Client#truncate` method. Thanks to [Alexander](https://github.com/selivandex)
69
+ - **Bug Fixes**
70
+
71
+ - Avoid panic if `Command#get_node` fails in `Command#execute`. Resolves issue #101.
72
+ - Fix wrong method invocation inside `Client#truncate` method. Thanks to [Alexander](https://github.com/selivandex)
62
73
 
63
- * **Improvements**
64
- * Added missing server error codes.
74
+ - **Improvements**
75
+ - Added missing server error codes.
65
76
 
66
77
  ## [2.17.0] - 2020-10-15
67
78
 
68
- * **New Features**
69
- * [CLIENT-1246] Adds missing API for Context#list_index_create and Context#map_key_create
79
+ - **New Features**
70
80
 
71
- * **Bug Fixes**
72
- * Fixed an issue were MsgPack extensions were not recursively cleared from the CDTs during unpacking.
81
+ - [CLIENT-1246] Adds missing API for Context#list_index_create and Context#map_key_create
82
+
83
+ - **Bug Fixes**
84
+ - Fixed an issue were MsgPack extensions were not recursively cleared from the CDTs during unpacking.
73
85
 
74
86
  ## [2.16.0] - 2020-10-12
75
87
 
76
- * **New Features**
77
- * [CLIENT-1173], [CLIENT-1246] Support Nested CDT operations with Context.
78
- * [CLIENT-1179], Support Bitwise operations.
88
+ - **New Features**
89
+
90
+ - [CLIENT-1173], [CLIENT-1246] Support Nested CDT operations with Context.
91
+ - [CLIENT-1179], Support Bitwise operations.
79
92
 
80
- * **Changes**
81
- * `ListSortFlags` now has an `ASCENDING` option, with `DEFAULT` mapping to it.
93
+ - **Changes**
94
+ - `ListSortFlags` now has an `ASCENDING` option, with `DEFAULT` mapping to it.
82
95
 
83
96
  ## [2.15.0] - 2020-10-05
84
97
 
85
- * **New Features**
86
- * [CLIENT-1254] Adds support for HyperLogLog.
98
+ - **New Features**
87
99
 
88
- * **Changes**
89
- * `Client#operate` now uses `OperatePolicy` by default.
100
+ - [CLIENT-1254] Adds support for HyperLogLog.
101
+
102
+ - **Changes**
103
+ - `Client#operate` now uses `OperatePolicy` by default.
90
104
 
91
105
  ## [2.14.0] - 2020-08-06
92
106
 
93
- * **New Features**
94
- * Adds support for rack-aware reads.
95
- * Adds support for client-server compression.
107
+ - **New Features**
108
+
109
+ - Adds support for rack-aware reads.
110
+ - Adds support for client-server compression.
96
111
 
97
- * **Improvements**
98
- * Adds support for `truncate-namespace` command.
112
+ - **Improvements**
113
+ - Adds support for `truncate-namespace` command.
99
114
 
100
115
  ## [2.13.0] - 2020-07-17
101
116
 
102
- * **New Features**
103
- * Adds support for replica policies.
117
+ - **New Features**
104
118
 
105
- * **Improvements**
106
- * Remove support for "old" partition tokenizer.
107
- * Refactor how partition parser is initialized and called.
108
- * Adds support for 'replicas' and remove the old partition table queries from the server.
119
+ - Adds support for replica policies.
120
+
121
+ - **Improvements**
122
+ - Remove support for "old" partition tokenizer.
123
+ - Refactor how partition parser is initialized and called.
124
+ - Adds support for 'replicas' and remove the old partition table queries from the server.
109
125
 
110
126
  ## [2.12.0] - 2019-04-21
111
127
 
112
- * **New Features**
113
- * Support for predicate expressions in all transaction.
114
- * Support for `operation.delete` in `client#operate`.
128
+ - **New Features**
129
+
130
+ - Support for predicate expressions in all transaction.
131
+ - Support for `operation.delete` in `client#operate`.
115
132
 
116
- * **Improvements**
117
- * Optimize serialization for nested structures. Thanks to [@Kacper Madej](https://github.com/madejejej)! [[#94](https://github.com/aerospike/aerospike-client-ruby/pull/94)]
118
- * Remove `Thread#abort_on_exception` from `batch_index_command`. Thanks to [@Kacper Madej](https://github.com/madejejej)! [[#92](https://github.com/aerospike/aerospike-client-ruby/pull/92)]
119
- * Does not allow values other than Integer, Float, String, Symbol and nil to be used as keys in Maps.
133
+ - **Improvements**
120
134
 
121
- * **Bug Fixes**
122
- * Fixes tests that weren't using ENV variables for connections. This will allow the tests to be run on any server.
135
+ - Optimize serialization for nested structures. Thanks to [@Kacper Madej](https://github.com/madejejej)! [[#94](https://github.com/aerospike/aerospike-client-ruby/pull/94)]
136
+ - Remove `Thread#abort_on_exception` from `batch_index_command`. Thanks to [@Kacper Madej](https://github.com/madejejej)! [[#92](https://github.com/aerospike/aerospike-client-ruby/pull/92)]
137
+ - Does not allow values other than Integer, Float, String, Symbol and nil to be used as keys in Maps.
123
138
 
139
+ - **Bug Fixes**
140
+ - Fixes tests that weren't using ENV variables for connections. This will allow the tests to be run on any server.
124
141
 
125
142
  ## [2.11.0] - 2019-05-17
126
143
 
127
- * **New Features**
128
- * Support for predicate expressions in queries. Thanks to [@Minus10Degrees](https://github.com/Minus10Degrees)! [[#78](https://github.com/aerospike/aerospike-client-ruby/issues/78)]
144
+ - **New Features**
129
145
 
130
- * **Bug Fixes**
131
- * Client#execute\_udf\_on\_query should not modify the statement argument. [[#79](https://github.com/aerospike/aerospike-client-ruby/issues/79)]
132
- * Encoding::UndefinedConversionError when reading blob data from CDT list/map bin. [[#84](https://github.com/aerospike/aerospike-client-ruby/issues/84)]
146
+ - Support for predicate expressions in queries. Thanks to [@Minus10Degrees](https://github.com/Minus10Degrees)! [[#78](https://github.com/aerospike/aerospike-client-ruby/issues/78)]
147
+
148
+ - **Bug Fixes**
149
+ - Client#execute_udf_on_query should not modify the statement argument. [[#79](https://github.com/aerospike/aerospike-client-ruby/issues/79)]
150
+ - Encoding::UndefinedConversionError when reading blob data from CDT list/map bin. [[#84](https://github.com/aerospike/aerospike-client-ruby/issues/84)]
133
151
 
134
152
  ## [2.10.0] - 2019-05-10
135
153
 
136
- * **New Features**
137
- * Add support for LB discovery / seeding. Thanks to [@filiptepper](https://github.com/filiptepper)! [[#80](https://github.com/aerospike/aerospike-client-ruby/issues/80)]
154
+ - **New Features**
155
+ - Add support for LB discovery / seeding. Thanks to [@filiptepper](https://github.com/filiptepper)! [[#80](https://github.com/aerospike/aerospike-client-ruby/issues/80)]
138
156
 
139
157
  ## [2.9.1] - 2019-04-03
140
158
 
141
- * **Bug Fixes**
142
- * Query fails if one or more cluster nodes do not have records in the set [[#77](https://github.com/aerospike/aerospike-client-ruby/issues/77)]
159
+ - **Bug Fixes**
160
+
161
+ - Query fails if one or more cluster nodes do not have records in the set [[#77](https://github.com/aerospike/aerospike-client-ruby/issues/77)]
143
162
 
144
- * **Updates**
145
- * Change admin message version to 2 (from 0)
146
- * Remove unused BIN_EXISTS_ERROR (6) and BIN_NOT_FOUND (17) error codes
147
- * Tests: Support setting user/password when running specs
163
+ - **Updates**
164
+ - Change admin message version to 2 (from 0)
165
+ - Remove unused BIN_EXISTS_ERROR (6) and BIN_NOT_FOUND (17) error codes
166
+ - Tests: Support setting user/password when running specs
148
167
 
149
168
  ## [2.9.0] - 2018-11-09
150
169
 
151
- * **New Features**
152
- * Add INFINITY and WILDCARD values for use in CDT map/list comparators. [AER-5945]
170
+ - **New Features**
153
171
 
154
- * **Bug Fixes**
155
- * Default policies set on Client instance do not get applied [[#74](https://github.com/aerospike/aerospike-client-ruby/issues/74)]
172
+ - Add INFINITY and WILDCARD values for use in CDT map/list comparators. [AER-5945]
156
173
 
157
- * **Updates**
158
- * *BREAKING CHANGE*: Change default for send_key write policy to false [[#73](https://github.com/aerospike/aerospike-client-ruby/issues/73)]
159
- * Support truncate info command argument "lut=now" for servers that require it. [AER-5955]
174
+ - **Bug Fixes**
175
+
176
+ - Default policies set on Client instance do not get applied [[#74](https://github.com/aerospike/aerospike-client-ruby/issues/74)]
177
+
178
+ - **Updates**
179
+ - _BREAKING CHANGE_: Change default for send_key write policy to false [[#73](https://github.com/aerospike/aerospike-client-ruby/issues/73)]
180
+ - Support truncate info command argument "lut=now" for servers that require it. [AER-5955]
160
181
 
161
182
  ## [2.8.0] - 2018-08-06
162
183
 
163
- * **New Features**
164
- * Support latest CDT List/Map server-side operations: [[#69](https://github.com/aerospike/aerospike-client-ruby/pull/69)]
165
- * Operations on Ordered Lists & Bounded Lists via new List Policy. (Requires server version v3.16.0 or later.)
166
- * Option to invert selection criteria for certain List/Map get/remove operations. (Requires server version v3.16.0 or later.)
167
- * List/Map index/rank relative get/remove operations. (Requires server version v4.3.0 or later.)
168
- * Partial list/map updates using PARTIAL / NO_FAIL write flags. (Requires server version v4.3.0 or later.)
169
- * Benchmarks: Output total TPS metrics at end of run [[#71](https://github.com/aerospike/aerospike-client-ruby/pull/71)]
184
+ - **New Features**
185
+
186
+ - Support latest CDT List/Map server-side operations: [[#69](https://github.com/aerospike/aerospike-client-ruby/pull/69)]
187
+ - Operations on Ordered Lists & Bounded Lists via new List Policy. (Requires server version v3.16.0 or later.)
188
+ - Option to invert selection criteria for certain List/Map get/remove operations. (Requires server version v3.16.0 or later.)
189
+ - List/Map index/rank relative get/remove operations. (Requires server version v4.3.0 or later.)
190
+ - Partial list/map updates using PARTIAL / NO_FAIL write flags. (Requires server version v4.3.0 or later.)
191
+ - Benchmarks: Output total TPS metrics at end of run [[#71](https://github.com/aerospike/aerospike-client-ruby/pull/71)]
192
+
193
+ - **Bug Fixes**
170
194
 
171
- * **Bug Fixes**
172
- * Check connection status of sockets retrieved from connection pool [[#72](https://github.com/aerospike/aerospike-client-ruby/pull/72)]
195
+ - Check connection status of sockets retrieved from connection pool [[#72](https://github.com/aerospike/aerospike-client-ruby/pull/72)]
173
196
 
174
- * **Updates**
175
- * Add JRuby back to CI test matrix [[#70](https://github.com/aerospike/aerospike-client-ruby/pull/70)]
197
+ - **Updates**
198
+ - Add JRuby back to CI test matrix [[#70](https://github.com/aerospike/aerospike-client-ruby/pull/70)]
176
199
 
177
200
  ## [2.7.0] - 2018-04-12
178
201
 
179
- * **New Features**
180
- * Batch Index protocol support. Thanks to [@deenbandhu-agarwal](https://github.com/deenbandhu-agarwal)! [[#61](https://github.com/aerospike/aerospike-client-ruby/pull/61)]
181
- * Memory optimization: Avoid easy allocations. Thanks to [@wallin](https://github.com/wallin)! [[#62](https://github.com/aerospike/aerospike-client-ruby/pull/62)]
182
- * New node removal strategy. Thanks to [@wallin](https://github.com/wallin)! [[#63](https://github.com/aerospike/aerospike-client-ruby/pull/63)]
183
- * Support for IPv6. Requires Aerospike Enterprise Edition v3.10 or later. Thanks to [@wallin](https://github.com/wallin)! [[#65](https://github.com/aerospike/aerospike-client-ruby/pull/65)]
202
+ - **New Features**
203
+ - Batch Index protocol support. Thanks to [@deenbandhu-agarwal](https://github.com/deenbandhu-agarwal)! [[#61](https://github.com/aerospike/aerospike-client-ruby/pull/61)]
204
+ - Memory optimization: Avoid easy allocations. Thanks to [@wallin](https://github.com/wallin)! [[#62](https://github.com/aerospike/aerospike-client-ruby/pull/62)]
205
+ - New node removal strategy. Thanks to [@wallin](https://github.com/wallin)! [[#63](https://github.com/aerospike/aerospike-client-ruby/pull/63)]
206
+ - Support for IPv6. Requires Aerospike Enterprise Edition v3.10 or later. Thanks to [@wallin](https://github.com/wallin)! [[#65](https://github.com/aerospike/aerospike-client-ruby/pull/65)]
184
207
 
185
208
  ## [2.6.0] - 2018-03-27
186
209
 
187
- * **New Features**
188
- * Support for peers protocol for cluster discovery. Requires Aerospike server version 3.10 or later. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#59](https://github.com/aerospike/aerospike-client-ruby/pull/59)]
189
- * TLS encryption support for client <-> server connections. Requires Aerospike Enterprise Edition version 3.11 or later. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#59](https://github.com/aerospike/aerospike-client-ruby/pull/59)]
210
+ - **New Features**
190
211
 
191
- * **Bug Fixes**
192
- * Fix min./max. boundary check for Integer bin values and improve performance. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#60](https://github.com/aerospike/aerospike-client-ruby/pull/60)]
212
+ - Support for peers protocol for cluster discovery. Requires Aerospike server version 3.10 or later. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#59](https://github.com/aerospike/aerospike-client-ruby/pull/59)]
213
+ - TLS encryption support for client <-> server connections. Requires Aerospike Enterprise Edition version 3.11 or later. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#59](https://github.com/aerospike/aerospike-client-ruby/pull/59)]
193
214
 
194
- * **Updates**
195
- * Update minimum required Ruby version to v2.3.
215
+ - **Bug Fixes**
216
+
217
+ - Fix min./max. boundary check for Integer bin values and improve performance. Thanks to [@wallin](https://github.com/wallin) of [castle.io](https://castle.io/)! [[#60](https://github.com/aerospike/aerospike-client-ruby/pull/60)]
218
+
219
+ - **Updates**
220
+ - Update minimum required Ruby version to v2.3.
196
221
 
197
222
  ## [2.5.1] - 2018-01-25
198
223
 
199
- * **Bug Fixes**
200
- * Some secondary index queries fail with parameter error on Aerospike Server v3.15.1.x [#57](https://github.com/aerospike/aerospike-client-ruby/issues/57)
224
+ - **Bug Fixes**
201
225
 
202
- * **Updates**
203
- * Added Ruby 2.5 to test matrix
204
- * Updated documentation for Client#truncate command [CLIENT-985]
226
+ - Some secondary index queries fail with parameter error on Aerospike Server v3.15.1.x [#57](https://github.com/aerospike/aerospike-client-ruby/issues/57)
227
+
228
+ - **Updates**
229
+ - Added Ruby 2.5 to test matrix
230
+ - Updated documentation for Client#truncate command [CLIENT-985]
205
231
 
206
232
  ## [2.5.0] - 2017-10-10
207
233
 
208
- * **New Features**
209
- * Support nobins flag on query operations
210
- * Support CDT List Increment operation. Requires Aerospike server version 3.15 or later.
234
+ - **New Features**
235
+
236
+ - Support nobins flag on query operations
237
+ - Support CDT List Increment operation. Requires Aerospike server version 3.15 or later.
211
238
 
212
- * **Updates**
213
- * The deprecated Large Data Types(LDT) feature has been removed.
214
- * Ruby 2.1 has been removed from the client's test matrix as [official support for Ruby 2.1 has ended in Apr 2017](https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/). Nothing has changed in the client that would break compatibility with Ruby 2.1 yet. But compatibility is not guaranteed for future client releases.
239
+ - **Updates**
240
+ - The deprecated Large Data Types(LDT) feature has been removed.
241
+ - Ruby 2.1 has been removed from the client's test matrix as [official support for Ruby 2.1 has ended in Apr 2017](https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/). Nothing has changed in the client that would break compatibility with Ruby 2.1 yet. But compatibility is not guaranteed for future client releases.
215
242
 
216
243
  ## [2.4.0] - 2017-04-06
217
244
 
218
- * **New Features**
219
- * Support ns/set truncate command [#47](https://github.com/aerospike/aerospike-client-ruby/issues/47)
220
- * Support configurable scan socket write timeout [#46](https://github.com/aerospike/aerospike-client-ruby/issues/46)
245
+ - **New Features**
221
246
 
222
- * **Bug Fixes**
223
- * Fix "Digest::Base cannot be directly inherited in Ruby" [#45](https://github.com/aerospike/aerospike-client-ruby/issues/45)
247
+ - Support ns/set truncate command [#47](https://github.com/aerospike/aerospike-client-ruby/issues/47)
248
+ - Support configurable scan socket write timeout [#46](https://github.com/aerospike/aerospike-client-ruby/issues/46)
224
249
 
225
- * **Updates**
226
- * Ruby 2.0 has been removed from the client's test matrix as [official support for Ruby 2.0 has ended in Feb 2016](https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/). 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](https://github.com/aerospike/aerospike-client-ruby/pull/52)
250
+ - **Bug Fixes**
251
+
252
+ - Fix "Digest::Base cannot be directly inherited in Ruby" [#45](https://github.com/aerospike/aerospike-client-ruby/issues/45)
253
+
254
+ - **Updates**
255
+ - Ruby 2.0 has been removed from the client's test matrix as [official support for Ruby 2.0 has ended in Feb 2016](https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/). 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](https://github.com/aerospike/aerospike-client-ruby/pull/52)
227
256
 
228
257
  ## [2.3.0] - 2017-01-04
229
258
 
230
- * **Bug Fixes**
231
- * Fix BytesValue used as record key. [#42](https://github.com/aerospike/aerospike-client-ruby/issues/42)
259
+ - **Bug Fixes**
232
260
 
233
- * **Changes**
234
- * Deprecate unsupport key types - only integer, string and byte keys are supported. [#43](https://github.com/aerospike/aerospike-client-ruby/issues/43)
261
+ - Fix BytesValue used as record key. [#42](https://github.com/aerospike/aerospike-client-ruby/issues/42)
262
+
263
+ - **Changes**
264
+ - Deprecate unsupport key types - only integer, string and byte keys are supported. [#43](https://github.com/aerospike/aerospike-client-ruby/issues/43)
235
265
 
236
266
  ## [2.2.1] - 2016-11-14
237
267
 
238
- * **New Features**
239
- * Added constants `Aerospike::TTL::*` for "special" TTL values, incl. Aerospike::TTL::DONT_UPDATE (requires Aerospike Server v3.10.1 or later)
268
+ - **New Features**
269
+
270
+ - Added constants `Aerospike::TTL::*` for "special" TTL values, incl. Aerospike::TTL::DONT_UPDATE (requires Aerospike Server v3.10.1 or later)
240
271
 
241
- * **Bug Fixes**
242
- * Fix "Add node failed: wrong number of arguments". [#41](https://github.com/aerospike/aerospike-client-ruby/issues/41)
272
+ - **Bug Fixes**
273
+ - Fix "Add node failed: wrong number of arguments". [#41](https://github.com/aerospike/aerospike-client-ruby/issues/41)
243
274
 
244
275
  ## [2.2.0] - 2016-09-20
245
276
 
246
- * **New Features**
247
- * Support for durable delete write policy [CLIENT-768]; requires Aerospike
277
+ - **New Features**
278
+
279
+ - Support for durable delete write policy [CLIENT-768]; requires Aerospike
248
280
  Server Enterprise Edition v3.10 or later.
249
- * Support Cluster Name verification [CLIENT-776]; requires Aerospike Server v3.10 or later.
281
+ - Support Cluster Name verification [CLIENT-776]; requires Aerospike Server v3.10 or later.
282
+
283
+ - **Bug Fixes**
250
284
 
251
- * **Bug Fixes**
252
- * Fix error handling in node refresh during cluster tend.
285
+ - Fix error handling in node refresh during cluster tend.
253
286
 
254
- * **Improvements**
255
- * Optionally return multiple results from read operations on same record bin.
287
+ - **Improvements**
288
+
289
+ - Optionally return multiple results from read operations on same record bin.
256
290
  [#39](https://github.com/aerospike/aerospike-client-ruby/issues/39) Thanks
257
291
  to [@zingoba](https://github.com/zingoba).
258
292
 
259
- * **Documentation**
260
- * Added note about potential issues with usage in Ruby on Rails with Phusion Passenger.
261
- * Amend/clean up documentation of client policies.
293
+ - **Documentation**
294
+ - Added note about potential issues with usage in Ruby on Rails with Phusion Passenger.
295
+ - Amend/clean up documentation of client policies.
262
296
 
263
297
  ## [2.1.1] - 2016-08-16
264
298
 
265
- * **Bug Fixes**
266
- * Fix incorrect expiration times on records fetched via batch_get or query operations. [#38](https://github.com/aerospike/aerospike-client-ruby/issues/38)
299
+ - **Bug Fixes**
300
+
301
+ - Fix incorrect expiration times on records fetched via batch_get or query operations. [#38](https://github.com/aerospike/aerospike-client-ruby/issues/38)
267
302
 
268
- * **Improvements**
269
- * Add support for two new server error codes (23 & 24) introduced in Aerospike Server v3.9.1.
270
- * Records returned by batch_get operation should include the full key incl. the user key part.
303
+ - **Improvements**
304
+ - Add support for two new server error codes (23 & 24) introduced in Aerospike Server v3.9.1.
305
+ - Records returned by batch_get operation should include the full key incl. the user key part.
271
306
 
272
307
  ## [2.1.0] - 2016-07-19
273
308
 
274
- * **Fixes**
275
- * Fix a typo in the `max_retries` policy parameter name. [PR #37](https://github.com/aerospike/aerospike-client-ruby/pull/37) Thanks to [@murphyslaw](https://github.com/murphyslaw)!
276
- * Fix license identifier in gemspec.
309
+ - **Fixes**
277
310
 
278
- * **Improvements**
279
- * Support for queries on Lists and Maps (keys & values)
280
- * Support for creating indexes on Lists and Maps [CLIENT-685]
281
- * Support GeoJSON values in Lists and Maps
311
+ - Fix a typo in the `max_retries` policy parameter name. [PR #37](https://github.com/aerospike/aerospike-client-ruby/pull/37) Thanks to [@murphyslaw](https://github.com/murphyslaw)!
312
+ - Fix license identifier in gemspec.
313
+
314
+ - **Improvements**
315
+ - Support for queries on Lists and Maps (keys & values)
316
+ - Support for creating indexes on Lists and Maps [CLIENT-685]
317
+ - Support GeoJSON values in Lists and Maps
282
318
 
283
319
  ## [2.0.0] - 2016-05-27
284
320
 
285
- * **Breaking Changes** - Please refer to detailed list of [API changes](https://www.aerospike.com/docs/client/ruby/usage/incompatible.html#version-2-0-0) for further details.
286
- * 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.
287
- * Backward incompatible changes to the `Aerospike::Client.new` initializer.
288
- * The `Aerospike::Client.new_many` initializer has been removed; use `Aerospike::Client.new` instead.
289
- * Drop support for Ruby 1.9.3; requires Ruby 2.0 or later.
321
+ - **Breaking Changes** - Please refer to detailed list of [API changes](https://www.aerospike.com/docs/client/ruby/usage/incompatible.html#version-2-0-0) for further details.
322
+
323
+ - 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.
324
+ - Backward incompatible changes to the `Aerospike::Client.new` initializer.
325
+ - The `Aerospike::Client.new_many` initializer has been removed; use `Aerospike::Client.new` instead.
326
+ - Drop support for Ruby 1.9.3; requires Ruby 2.0 or later.
290
327
 
291
- * **Improvements**
292
- * Add support for List and Map operations on List/Map Complex Data Types (CDT); requires Aerospike Server version 3.9 or later. [CLIENT-559]
293
- * Read Aerospike server address from AEROSPIKE_HOSTS env variable if not specified explicity in client constructor.
294
- * Add 2.3.1 to supported Ruby versions on Travis-CI.
328
+ - **Improvements**
295
329
 
296
- * **Fixes**
297
- * Fix digest creation for integer keys. [PR #34](https://github.com/aerospike/aerospike-client-ruby/pull/34). Thanks to [@murphyslaw](https://github.com/murphyslaw)!
298
- * Prevent "value must be enumerable" error when client cannot connect to cluster. [#35](https://github.com/aerospike/aerospike-client-ruby/issues/35). Thanks to [@rohanthewiz](https://github.com/rohanthewiz)!
330
+ - Add support for List and Map operations on List/Map Complex Data Types (CDT); requires Aerospike Server version 3.9 or later. [CLIENT-559]
331
+ - Read Aerospike server address from AEROSPIKE_HOSTS env variable if not specified explicity in client constructor.
332
+ - Add 2.3.1 to supported Ruby versions on Travis-CI.
333
+
334
+ - **Fixes**
335
+ - Fix digest creation for integer keys. [PR #34](https://github.com/aerospike/aerospike-client-ruby/pull/34). Thanks to [@murphyslaw](https://github.com/murphyslaw)!
336
+ - Prevent "value must be enumerable" error when client cannot connect to cluster. [#35](https://github.com/aerospike/aerospike-client-ruby/issues/35). Thanks to [@rohanthewiz](https://github.com/rohanthewiz)!
299
337
 
300
338
  ## [1.0.12] - 2016-02-11
301
339
 
302
- * **Fixes**:
340
+ - **Fixes**:
303
341
 
304
- * Fixed syntax error in Client when raising exception for invalid bin key;
342
+ - Fixed syntax error in Client when raising exception for invalid bin key;
305
343
  thanks to [Ole Riesenberg](https://github.com/oleriesenberg) for the fix.
306
344
  [aerospike/aerospike-client-ruby#31]
307
- * Use UTF-8 as default encoding when writing/reading Strings from record
345
+ - Use UTF-8 as default encoding when writing/reading Strings from record
308
346
  bins; thanks to [fs-wu](https://github.com/fs-wu) for finding the issue and
309
347
  reporting it. [aerospike/aerospike-client-ruby#33]
310
348
 
311
349
  ## [1.0.11] - 2015-12-04
312
350
 
313
- Major feature and bug fix release.
351
+ Major feature and bug fix release.
314
352
 
315
- * **Fixes**:
353
+ - **Fixes**:
316
354
 
317
- * Fix `ClientPolicy` to actually accept `fail_if_not_connected` parameter from constructor opts. PR #29, thanks to [Nick Recobra](https://github.com/oruen)
355
+ - Fix `ClientPolicy` to actually accept `fail_if_not_connected` parameter from constructor opts. PR #29, thanks to [Nick Recobra](https://github.com/oruen)
318
356
 
319
- * Fix record initialization issue. PR #28, thanks to [jzhua](https://github.com/jzhua)
357
+ - Fix record initialization issue. PR #28, thanks to [jzhua](https://github.com/jzhua)
320
358
 
321
- * Consume the rest of the stream when scan/query is finished.
359
+ - Consume the rest of the stream when scan/query is finished.
322
360
 
323
- * **Improvements**:
361
+ - **Improvements**:
324
362
 
325
- * Support for double precision floating point data type in record bins.
326
- Requires server version 3.6.0 or later. [CLIENT-599]
363
+ - Support for double precision floating point data type in record bins.
364
+ Requires server version 3.6.0 or later. [CLIENT-599]
327
365
 
328
- * Support for geospatial data in record bins using GeoJSON format; support
329
- for querying geospatial indexes using points-within-region and
330
- region-contains-point filters. Requires server version 3.7.0 or later.
331
- [CLIENT-594]
366
+ - Support for geospatial data in record bins using GeoJSON format; support
367
+ for querying geospatial indexes using points-within-region and
368
+ region-contains-point filters. Requires server version 3.7.0 or later.
369
+ [CLIENT-594]
332
370
 
333
- * Tend interval is now configurable via the client policy. Default is 1
334
- second as before.
371
+ - Tend interval is now configurable via the client policy. Default is 1
372
+ second as before.
335
373
 
336
- * Only logs tend messages when the number of cluster nodes have changed.
374
+ - Only logs tend messages when the number of cluster nodes have changed.
337
375
 
338
- * Scan and Query termination has been fixed.
376
+ - Scan and Query termination has been fixed.
339
377
 
340
378
  ## [1.0.10] - 2015-09-22
341
379
 
342
- Major fix release.
380
+ Major fix release.
343
381
 
344
- * **Fixes**:
382
+ - **Fixes**:
345
383
 
346
- * Fixes `find_node_in_partition_map` logic.
384
+ - Fixes `find_node_in_partition_map` logic.
347
385
 
348
- * Fixes `Node.Refresh` logic.
386
+ - Fixes `Node.Refresh` logic.
349
387
 
350
- * Fixes an issue with dead connections that would cause an infinite loop.
388
+ - Fixes an issue with dead connections that would cause an infinite loop.
351
389
 
352
390
  ## [1.0.9] - 2015-08-11
353
391
 
354
- Minor fix release.
392
+ Minor fix release.
355
393
 
356
- * **Fixes**:
394
+ - **Fixes**:
357
395
 
358
- * Sends the original key value to the server for all relevant commands, including `operate` and `execute_udf`
396
+ - Sends the original key value to the server for all relevant commands, including `operate` and `execute_udf`
359
397
 
360
398
  ## [1.0.8] - 2015-07-23
361
399
 
362
- Minor fix release.
400
+ Minor fix release.
363
401
 
364
- * **Improvements**:
402
+ - **Improvements**:
365
403
 
366
- * Adds 'Filter.to_s'. Thanks to [Ángel M](https://github.com/Angelmmiguel)
404
+ - Adds 'Filter.to_s'. Thanks to [Ángel M](https://github.com/Angelmmiguel)
367
405
 
368
- * **Fixes**:
406
+ - **Fixes**:
369
407
 
370
- * Fixes an issue in write policy that would use an undefined variable if `:send_key` isn't `nil`.
408
+ - Fixes an issue in write policy that would use an undefined variable if `:send_key` isn't `nil`.
371
409
 
372
- * Fixes an issue in cluster.closed logic.
410
+ - Fixes an issue in cluster.closed logic.
373
411
 
374
- * Fixes an issue with including the `statement.rb` in the manifest. Thanks to [Ángel M](https://github.com/Angelmmiguel)
412
+ - Fixes an issue with including the `statement.rb` in the manifest. Thanks to [Ángel M](https://github.com/Angelmmiguel)
375
413
 
376
414
  ## [1.0.7] - 2015-05-15
377
415
 
378
- Minor fixes.
416
+ Minor fixes.
379
417
 
380
- 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.
418
+ 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.
381
419
 
382
- * **Improvements**:
420
+ - **Improvements**:
383
421
 
384
- * Removed workaround in `BatchGet`. Bins are filtered on server now.
422
+ - Removed workaround in `BatchGet`. Bins are filtered on server now.
385
423
 
386
- * Added New Error Codes. Fixes Issues #17 and #18
424
+ - Added New Error Codes. Fixes Issues #17 and #18
387
425
 
388
- * Node validator won't lookup hostsif an IP is passed as a seed to it.
426
+ - Node validator won't lookup hostsif an IP is passed as a seed to it.
389
427
 
390
- * ** Other Changes **
428
+ - ** Other Changes **
391
429
 
392
- * Removed deprecated `ReplaceRoles()` method.
430
+ - Removed deprecated `ReplaceRoles()` method.
393
431
 
394
- * Removed deprecated `SetCapacity()` and `GetCapacity()` methods for LDTs.
432
+ - Removed deprecated `SetCapacity()` and `GetCapacity()` methods for LDTs.
395
433
 
396
434
  ## [1.0.6] - 2015-04-02
397
435
 
398
- Minor fixes.
436
+ Minor fixes.
399
437
 
400
- * **New Features**:
438
+ - **New Features**:
401
439
 
402
- * Fixed running a stream query without parameters to the function.
440
+ - Fixed running a stream query without parameters to the function.
403
441
 
404
442
  ## [1.0.5] - 2015-03-25
405
443
 
406
- Minor improvements.
444
+ Minor improvements.
407
445
 
408
- * **New Features**:
446
+ - **New Features**:
409
447
 
410
- * Added `:execute_udf_on_query` method to `Aerospike::Client`
448
+ - Added `:execute_udf_on_query` method to `Aerospike::Client`
411
449
 
412
450
  ## [1.0.4] - 2015-03-24
413
451
 
414
- Hot fix.
452
+ Hot fix.
415
453
 
416
- * **Fixes**:
454
+ - **Fixes**:
417
455
 
418
- * Close a socket if connection raises an exception to avoid leaking the file descriptor.
456
+ - Close a socket if connection raises an exception to avoid leaking the file descriptor.
419
457
 
420
458
  ## [1.0.3] - 2015-03-24
421
459
 
422
- Minor fixes and improvements.
423
-
424
- * **New Features**:
460
+ Minor fixes and improvements.
425
461
 
426
- * Symbols are now accepted as key values. Keep in mind that symbols are converted to string automatically, and type information is lost.
462
+ - **New Features**:
427
463
 
428
- * **Fixes**:
464
+ - Symbols are now accepted as key values. Keep in mind that symbols are converted to string automatically, and type information is lost.
429
465
 
430
- * Wait for a good connection on `socket.connect_nonblock` to prevent infinite loops on read/write operations.
466
+ - **Fixes**:
431
467
 
468
+ - Wait for a good connection on `socket.connect_nonblock` to prevent infinite loops on read/write operations.
432
469
 
433
470
  ## [1.0.2] - 2015-03-14
434
471
 
435
- Minor improvements.
472
+ Minor improvements.
436
473
 
437
- * **New Features**:
474
+ - **New Features**:
438
475
 
439
- * Added `:new_many` method to `Aerospike::Client`
476
+ - Added `:new_many` method to `Aerospike::Client`
440
477
 
441
478
  ## [1.0.1] - 2015-01-28
442
479
 
443
- Hot fix.
480
+ Hot fix.
444
481
 
445
- * **Fixes**:
482
+ - **Fixes**:
446
483
 
447
- * Added `bcrypt` to the gem dependencies.
484
+ - Added `bcrypt` to the gem dependencies.
448
485
 
449
486
  ## [1.0.0] - 2015-01-26
450
487
 
451
- Major release. With this release, Ruby client graduates to version 1.
488
+ Major release. With this release, Ruby client graduates to version 1.
452
489
 
453
- * **Breaking Changes**:
490
+ - **Breaking Changes**:
454
491
 
455
- * 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.
456
- * Removed `Record.dups` and `GenerationPolicy::DUPLICATE`
492
+ - 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.
493
+ - Removed `Record.dups` and `GenerationPolicy::DUPLICATE`
457
494
 
458
- * **New Features**:
495
+ - **New Features**:
459
496
 
460
- * Added Security Features: Please consult [Security Docs](https://www.aerospike.com/docs/guide/security.html) on Aerospike website.
497
+ - Added Security Features: Please consult [Security Docs](https://www.aerospike.com/docs/guide/security.html) on Aerospike website.
461
498
 
462
- * `ClientPolicy.User`, `ClientPolicy.Password`
463
- * `Client.CreateUser()`, `Client.DropUser()`, `Client.ChangePassword()`
464
- * `Client.GrantRoles()`, `Client.RevokeRoles()`, `Client.ReplaceRoles()`
465
- * `Client.QueryUser()`, `Client.QueryUsers`
499
+ - `ClientPolicy.User`, `ClientPolicy.Password`
500
+ - `Client.CreateUser()`, `Client.DropUser()`, `Client.ChangePassword()`
501
+ - `Client.GrantRoles()`, `Client.RevokeRoles()`, `Client.ReplaceRoles()`
502
+ - `Client.QueryUser()`, `Client.QueryUsers`
466
503
 
467
- * **Fixes**:
504
+ - **Fixes**:
468
505
 
469
- * fixed size returned from `BytesValue.write`
506
+ - fixed size returned from `BytesValue.write`
470
507
 
471
508
  ## [0.1.6] - 2014-12-28
472
509
 
473
- Minor features added, minor fixes and improvements.
510
+ Minor features added, minor fixes and improvements.
474
511
 
475
- * **New Features**:
512
+ - **New Features**:
476
513
 
477
- * Added `Policy.consistency_level`
478
- * Added `WritePolicy.commit_level`
514
+ - Added `Policy.consistency_level`
515
+ - Added `WritePolicy.commit_level`
479
516
 
480
- * **Fixes**
517
+ - **Fixes**
481
518
 
482
- * Fixed setting timeout on connection
483
- * Fixed exception handling typo for Connection#write
519
+ - Fixed setting timeout on connection
520
+ - Fixed exception handling typo for Connection#write
484
521
 
485
522
  ## [0.1.5] - 2014-12-08
486
523
 
487
- Major features added, minor fixes and improvements.
524
+ Major features added, minor fixes and improvements.
488
525
 
489
- * **New Features**:
526
+ - **New Features**:
490
527
 
491
- * Added `Client.scan_node`, `Client.scan_all`
492
- * Added `Client.query`
528
+ - Added `Client.scan_node`, `Client.scan_all`
529
+ - Added `Client.query`
493
530
 
494
- * **Fixes**
531
+ - **Fixes**
495
532
 
496
- * Fixed getting back results only for specified bin names.
533
+ - Fixed getting back results only for specified bin names.
497
534
 
498
535
  ## [0.1.3] - 2014-10-27
499
536
 
500
- Minor fix.
537
+ Minor fix.
501
538
 
502
- * **Changes**:
539
+ - **Changes**:
503
540
 
504
- * Fixed LDT bin and module name packing.
541
+ - Fixed LDT bin and module name packing.
505
542
 
506
543
  ## [0.1.2] - 2014-10-25
507
544
 
508
- Minor fix.
545
+ Minor fix.
509
546
 
510
- * **Changes**:
547
+ - **Changes**:
511
548
 
512
- * Fixed String unpacking for single byte strings.
549
+ - Fixed String unpacking for single byte strings.
513
550
 
514
551
  ## [0.1.1] - 2014-10-25
515
552
 
516
- Minor fixes.
553
+ Minor fixes.
517
554
 
518
- * **Changes**:
555
+ - **Changes**:
519
556
 
520
- * Fixed String packing header in Hash and Array.
521
- * #find on LDTs returns `nil` instad of raising an exception if the item is not found.
557
+ - Fixed String packing header in Hash and Array.
558
+ - #find on LDTs returns `nil` instad of raising an exception if the item is not found.
522
559
 
523
560
  ## [0.1.0] - 2014-10-14
524
561
 
525
- * Initial Release.
562
+ - Initial Release.