Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Version information #583

Merged
merged 10 commits into from
Sep 28, 2023
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

The Aerospike Node.js client is a Node.js add-on module, written using V8.

The client is compatible with Node.js 20 (LTS), 19, 18 (LTS), 16 (LTS).
The client is compatible with Node.js 20 (Upcoming LTS) and 18 (LTS).
It supports the following operating systems:
- RHEL 8/9
- Debian 10 (x86_64 architecture only)
Expand Down Expand Up @@ -301,7 +301,7 @@ const Aerospike = require('aerospike')
Access the client API documentation at:
[https://docs.aerospike.com/apidocs/nodejs](https://docs.aerospike.com/apidocs/nodejs).
This documentation is built from the client's source using [JSDocs
v3](http://usejsdoc.org/index.html) for every release.
v4](https://www.npmjs.com/package/jsdoc) for every release.

The API docs also contain a few basic tutorials:

Expand Down
5 changes: 5 additions & 0 deletions incompatible.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Backward Incompatible API Changes

All notable changes to this project will be documented in this file.
## [5.8.0]

### Client no longer supports Node.js version 19
### Client no longer supports Node.js version 16

## [5.5.0]

### Client no longer supports Node.js version 14
Expand Down
9 changes: 5 additions & 4 deletions lib/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
const status = require('./status')

/**
* Error raised by the client when execution of a database command fails. This
* may be either due to an error status code returned by the server, or caused
* by an error condition that occured on the client side.
*
*
* @extends Error
* @class AerospikeError
* @classdesc Error raised by the client when execution of a database command fails. This
* may be either due to an error status code returned by the server, or caused
* by an error condition that occured on the client side.
*
* @example <caption>Expected output: "Error: 127.0.0.1:3000 Record does not exist in database. May be returned by read, or write with policy Aerospike.policy.exists.UPDATE [2]"</caption>
*
Expand All @@ -49,7 +51,6 @@ const status = require('./status')
* })
*/
class AerospikeError extends Error {
/** @private */
constructor (message, command) {
super(message)
this.name = this.constructor.name
Expand Down
Loading