Skip to content

Commit 4a3de56

Browse files
committed
Prepare release 4.1.0.
1 parent 3615041 commit 4a3de56

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

CHANGELOG.md

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

3+
## 2021-08-25 Version 4.1.0, @NickNaso
4+
5+
### Notable changes:
6+
7+
#### API
8+
9+
- `Napi::Reference` updated the default value to reflect the most possible
10+
values when there are any errors occurred on `napi_reference_unref`.
11+
- Added the check for nullpointer on `Napi::String` initialization.
12+
- Added the wraps for `napi_add_env_cleanup_hook` and
13+
`napi_remove_env_cleanup_hook`.
14+
- Added `Napi::Maybe<T>` class to handle pending exception when cpp exception
15+
disabled.
16+
17+
#### TEST
18+
19+
- Added first set of tests for `Napi::Symbol`.
20+
- Updated test suite to avoid parallel running.
21+
22+
### Documentation
23+
24+
- Updated example for context sensitivity.
25+
26+
### Commits
27+
28+
* [[`3615041423`](https://github.com/nodejs/node-addon-api/commit/3615041423)] - **src**: return Maybe on pending exception when cpp exception disabled (legendecas) [#927](https://github.com/nodejs/node-addon-api/pull/927)
29+
* [[`10564a43c6`](https://github.com/nodejs/node-addon-api/commit/10564a43c6)] - **src**: add AddCleanupHook (Kevin Eady) [#1014](https://github.com/nodejs/node-addon-api/pull/1014)
30+
* [[`a459f5cc8f`](https://github.com/nodejs/node-addon-api/commit/a459f5cc8f)] - **doc**: update tests to avoid running in parallel (Michael Dawson) [#1024](https://github.com/nodejs/node-addon-api/pull/1024)
31+
* [[`6697c51d1d`](https://github.com/nodejs/node-addon-api/commit/6697c51d1d)] - **src,test**: fix up null char \* exception thrown (Gabriel Schulhof) [#1019](https://github.com/nodejs/node-addon-api/pull/1019)
32+
* [[`e02e8a4ce3`](https://github.com/nodejs/node-addon-api/commit/e02e8a4ce3)] - **test**: add first set of symbol tests (JckXia) [#972](https://github.com/nodejs/node-addon-api/pull/972)
33+
* [[`da50b51398`](https://github.com/nodejs/node-addon-api/commit/da50b51398)] - **test**: dd check for nullptr inside String init (JckXia) [#1015](https://github.com/nodejs/node-addon-api/pull/1015)
34+
* [[`627dbf3c37`](https://github.com/nodejs/node-addon-api/commit/627dbf3c37)] - **doc**: update examples for context sensitivity (Kevin Eady) [#1013](https://github.com/nodejs/node-addon-api/pull/1013)
35+
* [[`37a9b8e753`](https://github.com/nodejs/node-addon-api/commit/37a9b8e753)] - **src**: set default return value of Reference Ref/Unref to 0 (legendecas) [#1004](https://github.com/nodejs/node-addon-api/pull/1004)
36+
337
## 2021-06-15 Version 4.0.0, @NickNaso
438

539
### Notable changes:

README.md

Lines changed: 1 addition & 1 deletion
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: 4.0.0**
73+
## **Current version: 4.1.0**
7474

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

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": "4.0.0",
366+
"version": "4.1.0",
367367
"support": true
368368
}

0 commit comments

Comments
 (0)