Skip to content

Commit

Permalink
Merge pull request #583 from aerospike/Nodejs-Release-5.8.0
Browse files Browse the repository at this point in the history
Updated Version information
  • Loading branch information
mcoberly2 authored Sep 28, 2023
2 parents f7178b2 + c595140 commit 2c5f49e
Show file tree
Hide file tree
Showing 7 changed files with 619 additions and 341 deletions.
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

0 comments on commit 2c5f49e

Please sign in to comment.