You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*\[[`01c61690c6`](https://github.com/nodejs/node-addon-api/commit/01c61690c6)] - **src**: napi-inl: Fix a memory leak bug in `AsyncProgressWorkerBase` (Ammar Faizi) [#1264](https://github.com/nodejs/node-addon-api/pull/1264)
42
+
*\[[`55bd08ee26`](https://github.com/nodejs/node-addon-api/commit/55bd08ee26)] - **src**: api to get callback\_info from CallBackInfo (JckXia) [#1253](https://github.com/nodejs/node-addon-api/pull/1253)
43
+
*\[[`ad76256714`](https://github.com/nodejs/node-addon-api/commit/ad76256714)] - **test**: add tests related to env (JckXia) [#1254](https://github.com/nodejs/node-addon-api/pull/1254)
44
+
*\[[`5c3937365d`](https://github.com/nodejs/node-addon-api/commit/5c3937365d)] - **chore**: add Windows with VS 2022 and Node.JS 19.x to the CI matrix (#1252) (Vladimir Morozov)
45
+
*\[[`97736c93f4`](https://github.com/nodejs/node-addon-api/commit/97736c93f4)] - **src**: fix errors and warnings in VS 2017 (Vladimir Morozov) [#1245](https://github.com/nodejs/node-addon-api/pull/1245)
*\[[`39267baf1b`](https://github.com/nodejs/node-addon-api/commit/39267baf1b)] - **src**: make CleanupHook public (Julian Mesa) [#1240](https://github.com/nodejs/node-addon-api/pull/1240)
48
+
*\[[`edf630cc79`](https://github.com/nodejs/node-addon-api/commit/edf630cc79)] - **src**: fix implementation of Signal (Kevin Eady) [#1216](https://github.com/nodejs/node-addon-api/pull/1216)
49
+
*\[[`de5a502f3c`](https://github.com/nodejs/node-addon-api/commit/de5a502f3c)] - **doc**: Napi::Error is caught (Nicola Del Gobbo) [#1241](https://github.com/nodejs/node-addon-api/pull/1241)
50
+
*\[[`10ad762807`](https://github.com/nodejs/node-addon-api/commit/10ad762807)] - **test**: removed the usage of default\_configuration. (Nicola Del Gobbo) [#1226](https://github.com/nodejs/node-addon-api/pull/1226)
51
+
*\[[`e9db2adef2`](https://github.com/nodejs/node-addon-api/commit/e9db2adef2)] - **test**: Add test coverage to TSFN::New() overloads (#1201) (Jack)
52
+
*\[[`c849ad3f6a`](https://github.com/nodejs/node-addon-api/commit/c849ad3f6a)] - **chore**: fix stale workflow (#1228) (Richard Lau)
53
+
*\[[`e408804ad8`](https://github.com/nodejs/node-addon-api/commit/e408804ad8)] - **test**: adding ref for threadsafefunctions (JckXia) [#1222](https://github.com/nodejs/node-addon-api/pull/1222)
*\[[`257a52f823`](https://github.com/nodejs/node-addon-api/commit/257a52f823)] - **test**: Add test cased for failed task cancellations (#1214) (Jack)
56
+
*\[[`793268c59f`](https://github.com/nodejs/node-addon-api/commit/793268c59f)] - **test**: Add test case for canceling async worker tasks (#1202) (Jack)
57
+
*\[[`1331856ef1`](https://github.com/nodejs/node-addon-api/commit/1331856ef1)] - **doc**: add HandleScope example (#1210) (Kevin Eady)
58
+
*\[[`d5fc875e5d`](https://github.com/nodejs/node-addon-api/commit/d5fc875e5d)] - **test**: remove update to process.config (#1208) (Michael Dawson)
59
+
*\[[`30cd4a37f0`](https://github.com/nodejs/node-addon-api/commit/30cd4a37f0)] - **test**: add tests for .Data method (JckXia) [#1203](https://github.com/nodejs/node-addon-api/pull/1203)
60
+
*\[[`225ca35963`](https://github.com/nodejs/node-addon-api/commit/225ca35963)] - **test**: Add test coverage for "TSFN::Ref()" (#1196) (Jack)
61
+
*\[[`5a5a213985`](https://github.com/nodejs/node-addon-api/commit/5a5a213985)] - Update CI component versions (#1200) (Vladimir Morozov)
*\[[`e9def3ed72`](https://github.com/nodejs/node-addon-api/commit/e9def3ed72)] - **doc**: Update Readme for filter conditions in unit tests (Deepak Rajamohan) [#1199](https://github.com/nodejs/node-addon-api/pull/1199)
*\[[`576128fd19`](https://github.com/nodejs/node-addon-api/commit/576128fd19)] - **doc**: fix typo in async\_operations.md (#1189) (Tobias Nießen)
68
+
*\[[`63d3c30ec1`](https://github.com/nodejs/node-addon-api/commit/63d3c30ec1)] - **test**: add tests for TypedArray (Dante Calderon) [#1179](https://github.com/nodejs/node-addon-api/pull/1179)
69
+
*\[[`358ac2f080`](https://github.com/nodejs/node-addon-api/commit/358ac2f080)] - Fix link to CMake.js documentation (#1180) (Kyle Kovacs)
70
+
*\[[`dc4f2bbe4a`](https://github.com/nodejs/node-addon-api/commit/dc4f2bbe4a)] - **test**: Add promise unit test (#1173) (Jenny)
71
+
*\[[`f3124ae0ed`](https://github.com/nodejs/node-addon-api/commit/f3124ae0ed)] - **doc**: fix broken `Napi::ThreadSafeFunction` link (#1172) (Feng Yu)
72
+
*\[[`10b440fe27`](https://github.com/nodejs/node-addon-api/commit/10b440fe27)] - **src**: reformat all code (Kevin Eady) [#1160](https://github.com/nodejs/node-addon-api/pull/1160)
73
+
*\[[`33e402971e`](https://github.com/nodejs/node-addon-api/commit/33e402971e)] - **test**: Add condition for window to find eslint (#1176) (Jack)
74
+
*\[[`d53843b83b`](https://github.com/nodejs/node-addon-api/commit/d53843b83b)] - **test**: add missing value tests (JckXia) [#1170](https://github.com/nodejs/node-addon-api/pull/1170)
75
+
3
76
## 2022-05-02 Version 5.0.0, @NickNaso
4
77
5
78
### Notable changes:
@@ -16,7 +89,7 @@ of `Napi::Value`'s.
16
89
- Improved the test framework. Added the possibility to run subsets of tests
17
90
more easily.
18
91
- Added test for `Napi::AsyncContext` class.
19
-
- Fixed ramdom failure on test for `Napi::ThreadSafeFunction` e
92
+
- Fixed ramdom failure on test for `Napi::ThreadSafeFunction` e
20
93
`Napi::TypedThreadSafeFunction` class.
21
94
- Fixed compilation problem on debian 8 system.
22
95
- Added test for `Napi::Object::Set()` method.
@@ -142,10 +215,10 @@ more easily.
142
215
143
216
#### API
144
217
145
-
-`Napi::Reference` updated the default value to reflect the most possible
218
+
-`Napi::Reference` updated the default value to reflect the most possible
146
219
values when there are any errors occurred on `napi_reference_unref`.
147
220
- Added the check for nullpointer on `Napi::String` initialization.
148
-
- Added the wraps for `napi_add_env_cleanup_hook` and
221
+
- Added the wraps for `napi_add_env_cleanup_hook` and
149
222
`napi_remove_env_cleanup_hook`.
150
223
- Added `Napi::Maybe<T>` class to handle pending exception when cpp exception
151
224
disabled.
@@ -176,9 +249,9 @@ disabled.
176
249
177
250
#### API
178
251
179
-
- Fixed a crashing issue in `Napi::Error::ThrowAsJavaScriptException`
252
+
- Fixed a crashing issue in `Napi::Error::ThrowAsJavaScriptException`
180
253
introducing the preprocessor directive `NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS`.
181
-
- Fixed compilation problem for GCC 11 and C++20.
254
+
- Fixed compilation problem for GCC 11 and C++20.
182
255
183
256
#### TEST
184
257
@@ -297,12 +370,12 @@ introducing the preprocessor directive `NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS`
297
370
#### API
298
371
299
372
- Added `Napi::TypedThreadSafeFunction` class that is a new implementation for
300
-
thread-safe functions.
373
+
thread-safe functions.
301
374
- Fixed leak on `Napi::AsyncProgressWorkerBase`.
302
-
- Fixed empty data on `Napi::AsyncProgressWorker::OnProgress` caused by race
375
+
- Fixed empty data on `Napi::AsyncProgressWorker::OnProgress` caused by race
303
376
conditions of `Napi::AsyncProgressWorker`.
304
377
- Added `Napi::ArrayBuffer::Detach()` and `Napi::ArrayBuffer::IsDetached()`.
305
-
- Fixed problem on `Napi::FinalizeCallback` it needs to create a
378
+
- Fixed problem on `Napi::FinalizeCallback` it needs to create a
306
379
`Napi::HandleScope` when it calls `Napi::ObjectWrap::~ObjectWrap()`.
307
380
308
381
#### Documentation
@@ -373,7 +446,7 @@ conditions of `Napi::AsyncProgressWorker`.
373
446
#### API
374
447
375
448
- Introduced `include_dir` for use with **gyp** in a scalar context.
376
-
- Added `Napi::Addon` to help handle the loading of a native add-on into
449
+
- Added `Napi::Addon` to help handle the loading of a native add-on into
377
450
multiple threads and or multiple times in the same thread.
0 commit comments