Skip to content

Commit ad76ad0

Browse files
committed
Prepare release 4.0.0.
1 parent 028107f commit ad76ad0

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# node-addon-api Changelog
22

3+
## 2021-06-15 Version 4.0.0, @NickNaso
4+
5+
### Notable changes:
6+
7+
#### API
8+
9+
- Fixed a crashing issue in `Napi::Error::ThrowAsJavaScriptException`
10+
introducing the preprocessor directive `NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS`.
11+
- Fixed compilation problem for GCC 11 and C++20.
12+
13+
#### TEST
14+
15+
- Added test for function reference call and contructor.
16+
17+
### Documentation
18+
19+
- Updated the oldest Node.js version supported from `10.x` to `12.x`.
20+
21+
### Commits
22+
23+
* [[`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)
24+
* [[`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)
25+
* [[`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)
26+
327
## 2021-05-28 Version 3.2.1, @NickNaso
428

529
### Notable changes:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ and node-addon-api.
7070
- **[Contributors](#contributors)**
7171
- **[License](#license)**
7272

73-
## **Current version: 3.2.1**
73+
## **Current version: 4.0.0**
7474

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

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

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

8888
## Setup
8989
- [Installation and usage](doc/setup.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,6 @@
363363
"lint:fix": "node tools/clang-format --fix"
364364
},
365365
"pre-commit": "lint",
366-
"version": "3.2.1",
366+
"version": "4.0.0",
367367
"support": true
368368
}

0 commit comments

Comments
 (0)