Skip to content

Releases: aerospike/aerospike-client-nodejs

[5.12.0]

22 Apr 23:37
53cce86
Compare
Choose a tag to compare

New Features

  • [CLIENT-2822] - Added the queryDuration enumeration to the policy module. The following values are supported:
    • Aerospike.policy.queryDuration.LONG
    • Aerospike.policy.queryDuration.SHORT
    • Aerospike.policy.queryDuration.LONG_RELAX_AP
  • [CLIENT-2822] - Added expectedDuration member to QueryPolicy. Use the queryDuration enumeration when setting expectedDuration.
  • [CLIENT-2829] - Added support for readTouchTtlPercent for the following policies:
    • ReadPolicy
    • OperatePolicy
    • BatchPolicy
    • BatchReadPolicy

[5.11.0]

16 Feb 20:14
c6310d9
Compare
Choose a tag to compare

New Features

  • [CLIENT-2770] - Added support for persistent list indexes.
  • [CLIENT-2774] - Added 'ttl' property to 'batchWrite' policy.
  • [CLIENT-2793] - Added support for the batchParentWrite policy in the client config policy.
  • [CLIENT-2795] - Added the 'create' method for the 'aerospike/list' module.

Bug fixes

  • [CLIENT-2773] - Added missing error codes to status.js.
  • [CLIENT-2794] - Fixed typescript compiler errors.
  • [CLIENT-27811] - Batch repeat flag is no longer set on batch writes when the 'sendKey' policy is true.

[5.10.0]

16 Jan 18:20
da30980
Compare
Choose a tag to compare

New Features

  • [CLIENT-2672] - Added support for MacOS 14.
  • [CLIENT-2751] - Added support for Node.js 21.

Bug fixes

  • [CLIENT-2599] - Added documentation to avoid build issues on Windows with Python 3.12.
  • [CLIENT-2709] - The C Client submodule now marks node’s partitions for retry on the next scan/query page when a node returns records that are discarded due to exceeding maxRecords.
  • [CLIENT-2749] - Added missing BOOL enumeration to Aerospike.exp.type. In scan/query with maxRecords set, mark node's partitions for retry on next scan/query page when that node returns records that are discarded due to exceeding maxRecords.
  • [CLIENT-2750] - Changed npm-run-all from a dev-dependency to a dependency.

[5.9.0]

07 Nov 21:07
c44ebdb
Compare
Choose a tag to compare

Breaking Changes

  • [CLIENT-2659] - Dropped support for Debian 10.
  • [CLIENT-2660] - Dropped support for CentOS 7.
  • [CLIENT-2661] - Dropped support for Red Hat Enterprise Linux 7.
  • [CLIENT-2662] - Dropped support for Oracle Linux 7
  • [CLIENT-2663] - Dropped support for Amazon Linux 2.
  • [CLIENT-2668] - Dropped support for macOS 11.

New Features

  • [CLIENT-2095] - The Aerospike client can now be installed using “npm install aerospike” on windows.
  • [CLIENT-2572] - Added exp.recordSize expression.
  • [CLIENT-2587] - Added Client.createBlobIndex.
  • [CLIENT-2587] - Added indexDatatype.BLOB.
  • [CLIENT-2615] - Added exp.expWriteFlags and exp.expReadFlags.
  • [CLIENT-2617] - Added map.create method with parameter to create a persistent map index.
  • [CLIENT-2669] - Added config.errorRateWindow and config.maxErrorRate.
    • [CLIENT-1421] - maxErrorRate and errorRateWindow can be adjusted to modify the circuit breaker pattern implemented by the C client.

Improvements

  • [CLIENT-2671] - Updated batch examples on the Node.js Client API docs page.

Bug Fixes

  • [CLIENT-2629] - Fixed bug in which some batch methods returned an AEROSPIKE_BATCH_FAILED error rather than records with detailed status codes.
  • [CLIENT-2670] - Fixed bug in which config.tenderInterval was not being applied.

[5.8.0]

28 Sep 22:59
4d2929f
Compare
Choose a tag to compare

Breaking Changes

  • [CLIENT-2517] - Dropped support for Node.js 19.
  • [CLIENT-2581] - Dropped support for Node.js 16.

New Features

  • [CLIENT-1983] - Added support for the javascript “Map” class as a bin value in client.put method and maps.putItems method.
  • [CLIENT-1983] - Added the Bin class for use in the client.put method.
  • [CLIENT-2378] - Added exp.inf and exp.wildcard expressions.
  • [CLIENT-2488] - Added a “returnType” parameter to map expression remove methods. Acceptable “returnType” values are maps.returnType.INVERTED and maps.returnType.NONE.

Improvements

  • [CLIENT-1601] - Switched API docs theme to docdash.
  • [CLIENT-2374] - Restored typescript support.

Bug Fixes

  • [CLIENT-2538] - Fixed bug in which list expression remove methods and map expression remove methods resulted in a segmentation fault.

[5.7.0]

16 Aug 19:50
a969a6b
Compare
Choose a tag to compare

New Features

  • [CLIENT-630] - Added the following role-based access control (RBAC) security features:
    • Modules
      • Aerospike.Client.admin
      • Aerospike.Client.privilegeCode
    • Classes
      • Aerospike.Client.admin.User
      • Aerospike.Client.admin.Role
      • Aerospike.Client.admin.Privilege
      • Aerospike.Client.adminPolicy
    • Methods
      • Aerospike.Client.changePassword
      • Aerospike.Client.createUser
      • Aerospike.Client.createRole
      • Aerospike.Client.dropRole
      • Aerospike.Client.dropUser
      • Aerospike.Client.grantPrivileges
      • Aerospike.Client.grantRoles
      • Aerospike.Client.queryRole
      • Aerospike.Client.queryRoles
      • Aerospike.Client.queryUser
      • Aerospike.Client.queryUsers
      • Aerospike.Client.revokePrivileges
      • Aerospike.Client.revokeRoles
      • Aerospike.Client.setQuotas
      • Aerospike.Client.setWhitelist
  • [CLIENT-1303] - Added the ‘TTL' property to the query and scan classes. Note: records will only have their ‘TTL’ value set if query.operate or scan.operate is called when the ‘TTL’ property is set.
  • [CLIENT-2393] - Added support for Debian 12.

Improvements

  • [CLIENT-2350] - Initialized values depended on by conditional jumps.
  • [CLIENT-2466] - Added additional input validation.

Bug Fixes

  • [CLIENT-2463] - Paginated queries without a filter specified will no longer throw a TypeError for reading an undefined value.

Updates

  • The typescript description file 'index.d.ts' has not been updated. The next release will update 'index.d.ts' and restore typescript support.

[5.6.0]

22 Jun 02:17
fca26d2
Compare
Choose a tag to compare

New Features

  • [CLIENT-1803] - Added support for creation of a secondary index on elements within a Collection Data Type.
  • [CLIENT-1990] - Added support for Collection Data Type (CDT) Context Base64 serialization.
  • [CLIENT-2085] - Added support for rack aware queries and scans.
  • [CLIENT-2347] - Added the 'replica' property to the QueryPolicy and ScanPolicy Classes.
  • [CLIENT-2348] - Added filter support for secondary indices on elements within a Collection Data Type.

Improvements

  • [CLIENT-1823] - Changed the example and parameters in the API Documentation for Client.batchApply.
  • [CLIENT-2345] - Improved Client.indexRemove unit test by verifying deletion with a query.
  • [CLIENT-2373] - Modified Query.where() to replace the current filter rather than add a filter to Query.filters.
  • [CLIENT-2376] - Removed dynamic linking to OpenSSL.

Updates

  • The typescript description file 'index.d.ts' has not been updated. The next release will update 'index.d.ts' and restore typescript support.

[5.5.0]

24 May 20:00
3407e3b
Compare
Choose a tag to compare

Added support for:

  • Node.js 20

Dropped support for:

  • Node.js 14

New Features

  • [CLIENT-2108] - Added pagination support for queries and scans.
  • [CLIENT-2224] - Added support for rack aware reads when the replication factor is three.
  • [CLIENT-2303] - Added support for Amazon Linux 2023.

Improvements

  • [CLIENT-2237] - Fixed expression API documentation to show parameters for functions.

Bug fixes

  • [CLIENT-2338] - Fixed issue which caused the configuration class property "rackId" to be ignored.

[5.4.0]

31 Mar 23:26
69138fd
Compare
Choose a tag to compare
  • The new features require Aerospike Server version 6.3 or newer.

Breaking Changes:

  • Dropped support for:
    • Debian 10 (ARM64 only).
    • Ubuntu 18.04.

New Features:

  • [CLIENT-2178] - Added ORDERED_MAP and UNORDERED_MAP map operation return types.
  • [CLIENT-2187] - Added comparison of map values using expressions.

[5.3.0]

17 Feb 19:08
2c10d8a
Compare
Choose a tag to compare

New features:

  • [CLIENT-1750] - Added 'returnType.EXISTS' for 'aerospike/maps' and 'aerospike/list' module read operations. This feature requires server version 6.1+.
  • [CLIENT-1818] - Added the 'getByKeyList' method 'aerospike/maps' module.
  • [CLIENT-2210] - Added the 'getByValueList' method 'aerospike/maps' module.

Improvements:

  • [CLIENT-1819] - Corrected 'Client.batchApply' to have a keys parameter rather than a records parameter.

Bug fixes:

  • [CLIENT-2231] - Fixed segmentation fault caused by using context with map and list expressions. Added unit tests for map and list expressions using context. Fixed parameter order for map and list expression methods.