Skip to content

Releases: aerospike/aerospike-client-nodejs

[6.0.2]

25 Jan 03:43
97eef76
Compare
Choose a tag to compare

New Features

  • [CLIENT-3243] - Added TXN_ALREADY_COMMITTED and TXN_ALREADY_ABORTED error codes.
  • [CLIENT-3267] - Added MRT_ALREADY_LOCKED and MRT_MONITOR_EXISTS error codes.

Bug Fixes

  • [CLIENT-3306] - Added the following missing error codes:
    • ERR_MAX_RETRIES_EXCEEDED
    • MRT_TOO_MANY_WRITES
    • NOT_WHITELISTED
    • QUOTA_EXCEEDED

Improvements

  • [CLIENT-3244] - Removed commitStatus.ALREADY_ABORTED and abortStatus.ALREADY_COMMITTED.
  • [CLIENT-3277] - Exception is now thrown when aborting a committed transaction.
  • [CLIENT-3277] - Exception is now thrown when committing an aborted transaction.
  • [CLIENT-3291] - Default client MRT timeout to zero.

[6.0.1]

30 Dec 20:26
1886a11
Compare
Choose a tag to compare

Bug Fixes

  • [CLIENT-3235] - Fixed version mismatch with the windows C++ add-on which caused the client to fail on windows.

[6.0.0]

24 Dec 00:30
022dbc2
Compare
Choose a tag to compare
  • The new features in this release require server version 8.0.0 or above.

Features

  • [CLIENT-3181] - Added support for multi-record transactions (MRTs). Requires server version 8.0.0 or above.

[5.13.2]

01 Nov 20:38
5d43d80
Compare
Choose a tag to compare

Bug Fixes

  • [CLIENT-3107] - Fixed typescript compilation by removing the protected modifier from the ExpOperation class.

[5.13.1]

23 Oct 20:21
a504408
Compare
Choose a tag to compare

New Features

  • [CLIENT-3127] - Added client.ExistsWithMetadata.
  • [CLIENT-3153] - Added support for Node.js 23.

Improvements

  • [CLIENT-3061] - Revamped typescript support by improving description file with tighter definitions and documentation.
    • [CLIENT-3149] - Fixed import conflicts with third party packages in typescript description file.
    • [CLIENT-3149] - Improved typescript description file compilation.
  • [CLIENT-3151] - Converted API documentation to TypeDoc documentation.

Bug Fixes

  • [CLIENT-3107] - Map read and List read operations no longer throw a type error when using EXISTS, ORDERED_MAP, or UNORDERED_MAP return types.
  • [CLIENT-3145] - Fixed issue with BatchResult not returning inDoubt status to the user.

[5.12.1]

05 Jun 17:26
ba5060a
Compare
Choose a tag to compare

Breaking Changes

  • [CLIENT-2984] - Dropped support for Node.js 21.

New Features

  • [CLIENT-2976] - Added support for Ubuntu 24.04.
  • [CLIENT-2977] - Added support for Node.js 22.

Bug Fixes

  • [CLIENT-2975] - Fixed issue with TLS pending buffer calculation in as_uv_tls_try_send_pending().

[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.