Skip to content

Commit

Permalink
Prepare release 4.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNaso committed Jun 15, 2021
1 parent 028107f commit ad76ad0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# node-addon-api Changelog

## 2021-06-15 Version 4.0.0, @NickNaso

### Notable changes:

#### API

- Fixed a crashing issue in `Napi::Error::ThrowAsJavaScriptException`
introducing the preprocessor directive `NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS`.
- Fixed compilation problem for GCC 11 and C++20.

#### TEST

- Added test for function reference call and contructor.

### Documentation

- Updated the oldest Node.js version supported from `10.x` to `12.x`.

### Commits

* [[`028107f686`](https://github.com/nodejs/node-addon-api/commit/028107f686)] - **src**: fix Error::ThrowAsJavaScriptException crash (rudolftam) [#975](https://github.com/nodejs/node-addon-api/pull/975)
* [[`fed13534c5`](https://github.com/nodejs/node-addon-api/commit/fed13534c5)] - **src**: fix gcc-11 c++20 compilation (Kevin Eady) [#1009](https://github.com/nodejs/node-addon-api/pull/1009)
* [[`b75afc4d29`](https://github.com/nodejs/node-addon-api/commit/b75afc4d29)] - **test**: function reference call & construct (legendecas) [#1005](https://github.com/nodejs/node-addon-api/pull/1005)

## 2021-05-28 Version 3.2.1, @NickNaso

### Notable changes:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ and node-addon-api.
- **[Contributors](#contributors)**
- **[License](#license)**

## **Current version: 3.2.1**
## **Current version: 4.0.0**

(See [CHANGELOG.md](CHANGELOG.md) for complete Changelog)

Expand All @@ -83,7 +83,7 @@ This allows addons built with it to run with Node.js versions which support the
**However** the node-addon-api support model is to support only the active LTS Node.js versions. This means that
every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.

The oldest Node.js version supported by the current version of node-addon-api is Node.js 10.x.
The oldest Node.js version supported by the current version of node-addon-api is Node.js 12.x.

## Setup
- [Installation and usage](doc/setup.md)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,6 @@
"lint:fix": "node tools/clang-format --fix"
},
"pre-commit": "lint",
"version": "3.2.1",
"version": "4.0.0",
"support": true
}

0 comments on commit ad76ad0

Please sign in to comment.