nodejs/node-addon-api
### [`v6.1.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2023-04-20-Version-610-NickNaso)
[Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v6.0.0...v6.1.0)
##### Notable changes
##### API
- Enforce type checks on `Napi::Value::As()`.
- Added `Napi::TypeTaggable` class.
- Defined `NAPI_HAS_THREADS` to make TSFN available on Emscripten.
- Defined `NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED` and
`Napi::Buffer::NewOrCopy()` to handle the support for external buffers.
##### TEST
- Added tests for `Napi::Reference` class.
- Added tests for copy/move semantics.
- Added tests for `Napi::RangeError` and `Napi::TypeError` class.
- Fixed inconsistent failure executing test suite.
- Added tests for `Napi::ObjectReference` class.
- Added tests for `Napi::ObjectWrap` class.
##### Documentation
- Added documentation for `Napi::TypeTaggable`.
- Some minor fixes all over the documentation.
##### Commits
- \[[`5adb896782`](https://togithub.com/nodejs/node-addon-api/commit/5adb896782)] - **src**: enforce type checks on Napi::Value::As() ([#1281](https://togithub.com/nodejs/node-addon-api/issues/1281)) (Chengzhong Wu)
- \[[`d9faac7ec2`](https://togithub.com/nodejs/node-addon-api/commit/d9faac7ec2)] - Fix exits/exists typo in docs for Env::AddCleanupHook() ([#1306](https://togithub.com/nodejs/node-addon-api/issues/1306)) (Mathias Stearn)
- \[[`164459ca03`](https://togithub.com/nodejs/node-addon-api/commit/164459ca03)] - **doc**: update class hierarchy for TypeTaggable (Gabriel Schulhof) [#1303](https://togithub.com/nodejs/node-addon-api/pull/1303)
- \[[`d01304437c`](https://togithub.com/nodejs/node-addon-api/commit/d01304437c)] - **src**: interject class TypeTaggable (Gabriel Schulhof) [#1298](https://togithub.com/nodejs/node-addon-api/pull/1298)
- \[[`d4942ccd4f`](https://togithub.com/nodejs/node-addon-api/commit/d4942ccd4f)] - **test**: Complete test coverage for Reference\ class ([#1277](https://togithub.com/nodejs/node-addon-api/issues/1277)) (Jack)
- \[[`a8ad7e7a7b`](https://togithub.com/nodejs/node-addon-api/commit/a8ad7e7a7b)] - **test**: Add tests for copy/move semantics (JckXia) [#1295](https://togithub.com/nodejs/node-addon-api/pull/1295)
- \[[`e484327344`](https://togithub.com/nodejs/node-addon-api/commit/e484327344)] - Add test coverage for typed and range err ([#1280](https://togithub.com/nodejs/node-addon-api/issues/1280)) (Jack)
- \[[`ebc7858593`](https://togithub.com/nodejs/node-addon-api/commit/ebc7858593)] - **test**: Update wait with a condition ([#1297](https://togithub.com/nodejs/node-addon-api/issues/1297)) (Jack)
- \[[`0b53d885f5`](https://togithub.com/nodejs/node-addon-api/commit/0b53d885f5)] - **src**: define `NAPI_HAS_THREADS` (toyobayashi) [#1283](https://togithub.com/nodejs/node-addon-api/pull/1283)
- \[[`464610babf`](https://togithub.com/nodejs/node-addon-api/commit/464610babf)] - **test**: complete objectRefs tests (JckXia) [#1274](https://togithub.com/nodejs/node-addon-api/pull/1274)
- \[[`b16c762a19`](https://togithub.com/nodejs/node-addon-api/commit/b16c762a19)] - **src**: handle no support for external buffers (legendecas) [#1273](https://togithub.com/nodejs/node-addon-api/pull/1273)
- \[[`61b8e28720`](https://togithub.com/nodejs/node-addon-api/commit/61b8e28720)] - **test**: Add test covg for obj wrap ([#1269](https://togithub.com/nodejs/node-addon-api/issues/1269)) (Jack)
### [`v6.0.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2023-02-03-Version-600-NickNaso)
[Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v5.1.0...v6.0.0)
##### Notable changes
##### API
- Added `Napi::Object::TypeTag()` and `Napi::Object::CheckTypeTag()` methods.
- Made operator `napi_callback_info` explicit.
##### TEST
- Some minor fixes all over the test suite.
- Added tests related to `Napi::Object::TypeTag()` and `Napi::Object::CheckTypeTag()` methods.
- Added tests related to `Napi::CallbackScope`.
- Added tests related to `Napi::EscapableHandleScope`.
- Added tests related to `Napi::Maybe`.
- Added tests related to `Napi::ThreadSafeFuntion`.
- Changed some tests related to `Napi::AsyncWorker`.
##### Documentation
- Added documentation for `Napi::Object::TypeTag()` and `Napi::Object::CheckTypeTag()` methods.
- Added documentation about how to run a specific unit test.
##### TOOL
- Added `x86` architecture to the CI matrix.
##### Commits
- \[[`e2726193f1`](https://togithub.com/nodejs/node-addon-api/commit/e2726193f1)] - **src**: remove AsyncWorker move and complete tests (JckXia) [#1266](https://togithub.com/nodejs/node-addon-api/pull/1266)
- \[[`ff969485ea`](https://togithub.com/nodejs/node-addon-api/commit/ff969485ea)] - **chore**: build node-addon-api against X86 (JckXia) [#1276](https://togithub.com/nodejs/node-addon-api/pull/1276)
- \[[`a70564cdfd`](https://togithub.com/nodejs/node-addon-api/commit/a70564cdfd)] - **test**: add cov for ThreadSafeFunction new overloads (JckXia) [#1251](https://togithub.com/nodejs/node-addon-api/pull/1251)
- \[[`53f7cf1d48`](https://togithub.com/nodejs/node-addon-api/commit/53f7cf1d48)] - **src**: make operator napi_callback_info explicit (Kevin Eady) [#1275](https://togithub.com/nodejs/node-addon-api/pull/1275)
- \[[`78b5a15533`](https://togithub.com/nodejs/node-addon-api/commit/78b5a15533)] - **test**: Add tests for ThreadSafeFunction's NonBlock function overloads ([#1249](https://togithub.com/nodejs/node-addon-api/issues/1249)) (Jack)
- \[[`fdc6263034`](https://togithub.com/nodejs/node-addon-api/commit/fdc6263034)] - **test**: Add test covg for Maybe\ ([#1270](https://togithub.com/nodejs/node-addon-api/issues/1270)) (Jack)
- \[[`35d9d669b3`](https://togithub.com/nodejs/node-addon-api/commit/35d9d669b3)] - **test**: add test covg for handle and escapehandle scopes (JckXia) [#1263](https://togithub.com/nodejs/node-addon-api/pull/1263)
- \[[`021313409e`](https://togithub.com/nodejs/node-addon-api/commit/021313409e)] - **test**: add unit test covg for callbackscopes (JckXia) [#1262](https://togithub.com/nodejs/node-addon-api/pull/1262)
- \[[`b11e4de2cf`](https://togithub.com/nodejs/node-addon-api/commit/b11e4de2cf)] - **src**: add Object::TypeTag, Object::CheckTypeTag (Kevin Eady) [#1261](https://togithub.com/nodejs/node-addon-api/pull/1261)
### [`v5.1.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2023-01-13-Version-510-NickNaso)
[Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v5.0.0...v5.1.0)
##### Notable changes
##### API
- Fixed memory leak in `Napi::AsyncProgressWorkerBase`.
- Added api to get `callback_info` from `Napi::CallBackInfo`.
- Fixed erros and warning in VS 2017.
- Made `Npi::Env::CleanupHook` public.
- Removed `Napi::TypedArray::unknown_array_type`.
##### TEST
- Some minor fixes all over the test suite.
- Added tests related to `Napi::Env`.
- Added tests related to `Napi::TypedArray`.
- Added tests related to `Napi::AsyncWorker`.
- Added tests related to `Napi::TypedThreadSafeFunction`.
- Added tests related to `Napi::Value`.
- Added test related to `Napi::Promise`.
##### Documentation
- Some minor fixes all over the documentation.
- Added `Napi::HandleScope` example.
- Added documentation about how to run a specific unit test.
##### TOOL
- Added Windows with VS 2022 and Node.JS 19.x to the CI matrix.
- Fixed stale workflow.
- Updated Node.js versions on CI component.
- Added condition for Window to find eslint.
##### Commits
- \[[`79a446fb9c`](https://togithub.com/nodejs/node-addon-api/commit/79a446fb9c)] - Update contributors ([#1265](https://togithub.com/nodejs/node-addon-api/issues/1265)) (Kevin Eady)
- \[[`01c61690c6`](https://togithub.com/nodejs/node-addon-api/commit/01c61690c6)] - **src**: napi-inl: Fix a memory leak bug in `AsyncProgressWorkerBase` (Ammar Faizi) [#1264](https://togithub.com/nodejs/node-addon-api/pull/1264)
- \[[`55bd08ee26`](https://togithub.com/nodejs/node-addon-api/commit/55bd08ee26)] - **src**: api to get callback_info from CallBackInfo (JckXia) [#1253](https://togithub.com/nodejs/node-addon-api/pull/1253)
- \[[`ad76256714`](https://togithub.com/nodejs/node-addon-api/commit/ad76256714)] - **test**: add tests related to env (JckXia) [#1254](https://togithub.com/nodejs/node-addon-api/pull/1254)
- \[[`5c3937365d`](https://togithub.com/nodejs/node-addon-api/commit/5c3937365d)] - **chore**: add Windows with VS 2022 and Node.JS 19.x to the CI matrix ([#1252](https://togithub.com/nodejs/node-addon-api/issues/1252)) (Vladimir Morozov)
- \[[`97736c93f4`](https://togithub.com/nodejs/node-addon-api/commit/97736c93f4)] - **src**: fix errors and warnings in VS 2017 (Vladimir Morozov) [#1245](https://togithub.com/nodejs/node-addon-api/pull/1245)
- \[[`ad7ff92c16`](https://togithub.com/nodejs/node-addon-api/commit/ad7ff92c16)] - **src**: refactor call js wrapper ([#1242](https://togithub.com/nodejs/node-addon-api/issues/1242)) (Jack)
- \[[`39267baf1b`](https://togithub.com/nodejs/node-addon-api/commit/39267baf1b)] - **src**: make CleanupHook public (Julian Mesa) [#1240](https://togithub.com/nodejs/node-addon-api/pull/1240)
- \[[`edf630cc79`](https://togithub.com/nodejs/node-addon-api/commit/edf630cc79)] - **src**: fix implementation of Signal (Kevin Eady) [#1216](https://togithub.com/nodejs/node-addon-api/pull/1216)
- \[[`de5a502f3c`](https://togithub.com/nodejs/node-addon-api/commit/de5a502f3c)] - **doc**: Napi::Error is caught (Nicola Del Gobbo) [#1241](https://togithub.com/nodejs/node-addon-api/pull/1241)
- \[[`10ad762807`](https://togithub.com/nodejs/node-addon-api/commit/10ad762807)] - **test**: removed the usage of default_configuration. (Nicola Del Gobbo) [#1226](https://togithub.com/nodejs/node-addon-api/pull/1226)
- \[[`e9db2adef2`](https://togithub.com/nodejs/node-addon-api/commit/e9db2adef2)] - **test**: Add test coverage to TSFN::New() overloads ([#1201](https://togithub.com/nodejs/node-addon-api/issues/1201)) (Jack)
- \[[`c849ad3f6a`](https://togithub.com/nodejs/node-addon-api/commit/c849ad3f6a)] - **chore**: fix stale workflow ([#1228](https://togithub.com/nodejs/node-addon-api/issues/1228)) (Richard Lau)
- \[[`e408804ad8`](https://togithub.com/nodejs/node-addon-api/commit/e408804ad8)] - **test**: adding ref for threadsafefunctions (JckXia) [#1222](https://togithub.com/nodejs/node-addon-api/pull/1222)
- \[[`a8afb2d73c`](https://togithub.com/nodejs/node-addon-api/commit/a8afb2d73c)] - **src**: remove TypedArray::unknown_array_type (Kevin Eady) [#1209](https://togithub.com/nodejs/node-addon-api/pull/1209)
- \[[`257a52f823`](https://togithub.com/nodejs/node-addon-api/commit/257a52f823)] - **test**: Add test cased for failed task cancellations ([#1214](https://togithub.com/nodejs/node-addon-api/issues/1214)) (Jack)
- \[[`793268c59f`](https://togithub.com/nodejs/node-addon-api/commit/793268c59f)] - **test**: Add test case for canceling async worker tasks ([#1202](https://togithub.com/nodejs/node-addon-api/issues/1202)) (Jack)
- \[[`1331856ef1`](https://togithub.com/nodejs/node-addon-api/commit/1331856ef1)] - **doc**: add HandleScope example ([#1210](https://togithub.com/nodejs/node-addon-api/issues/1210)) (Kevin Eady)
- \[[`d5fc875e5d`](https://togithub.com/nodejs/node-addon-api/commit/d5fc875e5d)] - **test**: remove update to process.config ([#1208](https://togithub.com/nodejs/node-addon-api/issues/1208)) (Michael Dawson)
- \[[`30cd4a37f0`](https://togithub.com/nodejs/node-addon-api/commit/30cd4a37f0)] - **test**: add tests for .Data method (JckXia) [#1203](https://togithub.com/nodejs/node-addon-api/pull/1203)
- \[[`225ca35963`](https://togithub.com/nodejs/node-addon-api/commit/225ca35963)] - **test**: Add test coverage for "TSFN::Ref()" ([#1196](https://togithub.com/nodejs/node-addon-api/issues/1196)) (Jack)
- \[[`5a5a213985`](https://togithub.com/nodejs/node-addon-api/commit/5a5a213985)] - Update CI component versions ([#1200](https://togithub.com/nodejs/node-addon-api/issues/1200)) (Vladimir Morozov)
- \[[`fb27e72b0c`](https://togithub.com/nodejs/node-addon-api/commit/fb27e72b0c)] - **doc**: Update CONTRIBUTING.md (Saint Gabriel) [#1185](https://togithub.com/nodejs/node-addon-api/pull/1185)
- \[[`e9def3ed72`](https://togithub.com/nodejs/node-addon-api/commit/e9def3ed72)] - **doc**: Update Readme for filter conditions in unit tests (Deepak Rajamohan) [#1199](https://togithub.com/nodejs/node-addon-api/pull/1199)
- \[[`efd67876e1`](https://togithub.com/nodejs/node-addon-api/commit/efd67876e1)] - **doc**: updated npm script for focused tests (Peter Šándor)
- \[[`134961d853`](https://togithub.com/nodejs/node-addon-api/commit/134961d853)] - **test**: CallbackInfo NewTarget() basic coverage ([#1048](https://togithub.com/nodejs/node-addon-api/issues/1048)) (Peter Šándor)
- \[[`1dfd03bdd5`](https://togithub.com/nodejs/node-addon-api/commit/1dfd03bdd5)] - Update README.md ([#1187](https://togithub.com/nodejs/node-addon-api/issues/1187)) (Saint Gabriel)
- \[[`576128fd19`](https://togithub.com/nodejs/node-addon-api/commit/576128fd19)] - **doc**: fix typo in async_operations.md ([#1189](https://togithub.com/nodejs/node-addon-api/issues/1189)) (Tobias Nießen)
- \[[`63d3c30ec1`](https://togithub.com/nodejs/node-addon-api/commit/63d3c30ec1)] - **test**: add tests for TypedArray (Dante Calderon) [#1179](https://togithub.com/nodejs/node-addon-api/pull/1179)
- \[[`358ac2f080`](https://togithub.com/nodejs/node-addon-api/commit/358ac2f080)] - Fix link to CMake.js documentation ([#1180](https://togithub.com/nodejs/node-addon-api/issues/1180)) (Kyle Kovacs)
- \[[`dc4f2bbe4a`](https://togithub.com/nodejs/node-addon-api/commit/dc4f2bbe4a)] - **test**: Add promise unit test ([#1173](https://togithub.com/nodejs/node-addon-api/issues/1173)) (Jenny)
- \[[`f3124ae0ed`](https://togithub.com/nodejs/node-addon-api/commit/f3124ae0ed)] - **doc**: fix broken `Napi::ThreadSafeFunction` link ([#1172](https://togithub.com/nodejs/node-addon-api/issues/1172)) (Feng Yu)
- \[[`10b440fe27`](https://togithub.com/nodejs/node-addon-api/commit/10b440fe27)] - **src**: reformat all code (Kevin Eady) [#1160](https://togithub.com/nodejs/node-addon-api/pull/1160)
- \[[`33e402971e`](https://togithub.com/nodejs/node-addon-api/commit/33e402971e)] - **test**: Add condition for window to find eslint ([#1176](https://togithub.com/nodejs/node-addon-api/issues/1176)) (Jack)
- \[[`d53843b83b`](https://togithub.com/nodejs/node-addon-api/commit/d53843b83b)] - **test**: add missing value tests (JckXia) [#1170](https://togithub.com/nodejs/node-addon-api/pull/1170)
### [`v5.0.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2022-05-02-Version-500-NickNaso)
[Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v4.3.0...v5.0.0)
##### Notable changes:
##### API
- Marked methods of wrapper classes `const`.
- Enabled wrapping `Napi` namespace with custom namespace.
- Added an override to `Napi::Function::Call` to call it with a c-style array
of `Napi::Value`'s.
- Some other minor fixes.
##### TEST
- Improved the test framework. Added the possibility to run subsets of tests
more easily.
- Added test for `Napi::AsyncContext` class.
- Fixed ramdom failure on test for `Napi::ThreadSafeFunction` e
`Napi::TypedThreadSafeFunction` class.
- Fixed compilation problem on debian 8 system.
- Added test for `Napi::Object::Set()` method.
##### Documentation
- Added some clarifications for `Napi::ClassPropertyDescriptor`.
- Added clarification about weak reference for `Napi::ObjectWrap`.
- Some minor fixes all over the documentation.
##### TOOL
- Fixed `eslint` configuration.
- Fixed CI configuration for Windows.
- Enabled pre-commit `ClangFormat` on Windows.
##### Commits
- \[[`f32db917f3`](https://togithub.com/nodejs/node-addon-api/commit/f32db917f3)] - Add test coverage for async contexts ([#1164](https://togithub.com/nodejs/node-addon-api/issues/1164)) (Jack)
- \[[`24455f88af`](https://togithub.com/nodejs/node-addon-api/commit/24455f88af)] - **src**: check for tsfn in conditional_variable wait (Kevin Eady) [#1168](https://togithub.com/nodejs/node-addon-api/pull/1168)
- \[[`40ed7ce409`](https://togithub.com/nodejs/node-addon-api/commit/40ed7ce409)] - **src**: fix regression introduced by [#874](https://togithub.com/nodejs/node-addon-api/issues/874) (Michael Dawson)
- \[[`9bea434326`](https://togithub.com/nodejs/node-addon-api/commit/9bea434326)] - **doc**: added some comments to ClassPropertyDescriptor. ([#1149](https://togithub.com/nodejs/node-addon-api/issues/1149)) (Nicola Del Gobbo)
- \[[`57c212e15f`](https://togithub.com/nodejs/node-addon-api/commit/57c212e15f)] - **buld**: Enable running pre-commit ClangFormat on Win (Vladimir Morozov)
- \[[`8c46a9501a`](https://togithub.com/nodejs/node-addon-api/commit/8c46a9501a)] - **doc**: clarify ObjectWrap weak ref behavior ([#1155](https://togithub.com/nodejs/node-addon-api/issues/1155)) (Alba Mendez)
- \[[`01274966d5`](https://togithub.com/nodejs/node-addon-api/commit/01274966d5)] - **build**: run Windows CI only on nondeprecated build configurations ([#1152](https://togithub.com/nodejs/node-addon-api/issues/1152)) (Darshan Sen)
- \[[`b8449e17e0`](https://togithub.com/nodejs/node-addon-api/commit/b8449e17e0)] - **src**: mark methods of wrapper classes const (Nikolai Vavilov) [#874](https://togithub.com/nodejs/node-addon-api/pull/874)
- \[[`5e2c1f24f8`](https://togithub.com/nodejs/node-addon-api/commit/5e2c1f24f8)] - **lint**: set sourceType to 'script' ([#1141](https://togithub.com/nodejs/node-addon-api/issues/1141)) (Anna Henningsen)
- \[[`da8af20152`](https://togithub.com/nodejs/node-addon-api/commit/da8af20152)] - **doc**: mention Napi::Env arg for Finalization callback ([#1139](https://togithub.com/nodejs/node-addon-api/issues/1139)) (extremeheat)
- \[[`5b51864a39`](https://togithub.com/nodejs/node-addon-api/commit/5b51864a39)] - **src**: enable wrapping Napi namespace with custom namespace ([#1135](https://togithub.com/nodejs/node-addon-api/issues/1135)) (Anna Henningsen)
- \[[`c54aeef5fd`](https://togithub.com/nodejs/node-addon-api/commit/c54aeef5fd)] - Add Function::Call Napi::Value override ([#1026](https://togithub.com/nodejs/node-addon-api/issues/1026)) (rgerd)
- \[[`e906b5a7ce`](https://togithub.com/nodejs/node-addon-api/commit/e906b5a7ce)] - **test**: fix compilation problem on debian 8 (NickNaso) [#1138](https://togithub.com/nodejs/node-addon-api/pull/1138)
- \[[`5790c55784`](https://togithub.com/nodejs/node-addon-api/commit/5790c55784)] - **src**: do not use non-static class member for constant value ([#1134](https://togithub.com/nodejs/node-addon-api/issues/1134)) (Anna Henningsen)
- \[[`b7659db945`](https://togithub.com/nodejs/node-addon-api/commit/b7659db945)] - Merge pull request [#1130](https://togithub.com/nodejs/node-addon-api/issues/1130) from meixg/main (Jack)
- \[[`a840d51d21`](https://togithub.com/nodejs/node-addon-api/commit/a840d51d21)] - Add test case for Object Set using uint32 as key (meixg)
- \[[`2c88a7ec4c`](https://togithub.com/nodejs/node-addon-api/commit/2c88a7ec4c)] - Merge pull request [#1132](https://togithub.com/nodejs/node-addon-api/issues/1132) from JckXia/test-wfl-run (Jack)
- \[[`d3a5ed3869`](https://togithub.com/nodejs/node-addon-api/commit/d3a5ed3869)] - ***Revert*** "window CI to running on 2019" (JckXia)
- \[[`cee899ade5`](https://togithub.com/nodejs/node-addon-api/commit/cee899ade5)] - **src**: allow customization of ObjectWrap behavior (Aaron Meriwether) [#1125](https://togithub.com/nodejs/node-addon-api/pull/1125)
- \[[`91879b4082`](https://togithub.com/nodejs/node-addon-api/commit/91879b4082)] - remove window-latest to debug (JckXia)
- \[[`1593ef46ee`](https://togithub.com/nodejs/node-addon-api/commit/1593ef46ee)] - Testing CI run (JckXia)
- \[[`744c8d2410`](https://togithub.com/nodejs/node-addon-api/commit/744c8d2410)] - **test**: enhance the test framework (Deepak Rajamohan)
### [`v4.3.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2022-01-21-Version-430-NickNaso)
[Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v4.2.0...v4.3.0)
##### Notable changes:
##### API
- Added iterator for `Napi::Object`.
- Fixed usage of `napi_extended_error_info` in `Napi::Error::New()`.
- Added unwrapping logic to handle graceful error handling for primitives.
##### TEST
- Removed travis config.
- Updated compiler used for testing.
- Added BigInt value test.
- Minor fixes all overtest suite.
##### Documentation
- Documentation of iterator for `Napi::Object`.
- Minor fixes all over documentation.
##### Commits
- \[[`7046834305`](https://togithub.com/nodejs/node-addon-api/commit/7046834305)] - Update to use recent version of stale action (Michael Dawson)
- \[[`293c7327ad`](https://togithub.com/nodejs/node-addon-api/commit/293c7327ad)] - Merge pull request [#1075](https://togithub.com/nodejs/node-addon-api/issues/1075) from JckXia/handle-error-thrown (Jack)
- \[[`706b19986d`](https://togithub.com/nodejs/node-addon-api/commit/706b19986d)] - **test**: create tools/eslint-format (Doni Rubiagatra) [#1080](https://togithub.com/nodejs/node-addon-api/pull/1080)
- \[[`e0567d098a`](https://togithub.com/nodejs/node-addon-api/commit/e0567d098a)] - Update documents (JckXia)
- \[[`691813842e`](https://togithub.com/nodejs/node-addon-api/commit/691813842e)] - Refactor code. Using hard coded string instead of using symbol (JckXia)
- \[[`7423cc5025`](https://togithub.com/nodejs/node-addon-api/commit/7423cc5025)] - Update object_wrap.md ([#1094](https://togithub.com/nodejs/node-addon-api/issues/1094)) (Alexander Floh)
- \[[`5aab27e6e1`](https://togithub.com/nodejs/node-addon-api/commit/5aab27e6e1)] - **doc**: add blurb about SetInstanceData (Gabriel Schulhof)
- \[[`e439222fe6`](https://togithub.com/nodejs/node-addon-api/commit/e439222fe6)] - **test**: add bigint value test (WenheLI) [#1096](https://togithub.com/nodejs/node-addon-api/pull/1096)
- \[[`0dfa89f4ef`](https://togithub.com/nodejs/node-addon-api/commit/0dfa89f4ef)] - **doc**: document object iterators ([#1090](https://togithub.com/nodejs/node-addon-api/issues/1090)) (Darshan Sen)
- \[[`04b26a9d9b`](https://togithub.com/nodejs/node-addon-api/commit/04b26a9d9b)] - **test**: add first set of func Ref tests (JckXia) [#1035](https://togithub.com/nodejs/node-addon-api/pull/1035)
- \[[`a0b3fe9197`](https://togithub.com/nodejs/node-addon-api/commit/a0b3fe9197)] - Replace magic value with symbol (JckXia)
- \[[`173c5bc9d9`](https://togithub.com/nodejs/node-addon-api/commit/173c5bc9d9)] - Update PR based on review comments (JckXia)
- \[[`02bcfbccfd`](https://togithub.com/nodejs/node-addon-api/commit/02bcfbccfd)] - Update doc and appending GUID to object property (JckXia)
- \[[`c89f0bfb0b`](https://togithub.com/nodejs/node-addon-api/commit/c89f0bfb0b)] - Remove un-necessary comment/iostream and updated docs to reflect on limitations with this impl (JckXia)
- \[[`ed4d1c51c4`](https://togithub.com/nodejs/node-addon-api/commit/ed4d1c51c4)] - Added unwrapping logic to handle graceful error handling for primitives (JckXia)
- \[[`4663453eae`](https://togithub.com/nodejs/node-addon-api/commit/4663453eae)] - **src**: fix usage of `napi_extended_error_info` in `Error::New()` (Darshan Sen) [#1092](https://togithub.com/nodejs/node-addon-api/pull/1092)
- \[[`cb228418e6`](https://togithub.com/nodejs/node-addon-api/commit/cb228418e6)] - **doc**: fix typo in TypedThreadSafeFunction example ([#1083](https://togithub.com/nodejs/node-addon-api/issues/1083)) (Tobias Nießen)
- \[[`b70acdda1f`](https://togithub.com/nodejs/node-addon-api/commit/b70acdda1f)] - **test**: remove travis config ([#1082](https://togithub.com/nodejs/node-addon-api/issues/1082)) (Michael Dawson)
- \[[`1404b7cbea`](https://togithub.com/nodejs/node-addon-api/commit/1404b7cbea)] - **test**: update compiler used for testing ([#1079](https://togithub.com/nodejs/node-addon-api/issues/1079)) (Michael Dawson)
- \[[`4351bffd53`](https://togithub.com/nodejs/node-addon-api/commit/4351bffd53)] - **doc**: fixup to meet lint rules (Michael Dawson) [#1077](https://togithub.com/nodejs/node-addon-api/pull/1077)
- \[[`bd8f6e6d1a`](https://togithub.com/nodejs/node-addon-api/commit/bd8f6e6d1a)] - **src**: add iterator for Object (Darshan Sen)
- \[[`d8fc7b869a`](https://togithub.com/nodejs/node-addon-api/commit/d8fc7b869a)] - **lint**: add eslint based on config-semistandard ([#1067](https://togithub.com/nodejs/node-addon-api/issues/1067)) (Doni Rubiagatra)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
4.2.0
->6.1.0
Release Notes
nodejs/node-addon-api
### [`v6.1.0`](https://togithub.com/nodejs/node-addon-api/blob/HEAD/CHANGELOG.md#2023-04-20-Version-610-NickNaso) [Compare Source](https://togithub.com/nodejs/node-addon-api/compare/v6.0.0...v6.1.0) ##### Notable changes ##### API - Enforce type checks on `Napi::Value::As()`. - Added `Napi::TypeTaggable` class. - Defined `NAPI_HAS_THREADS` to make TSFN available on Emscripten. - Defined `NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED` and `Napi::Buffer::NewOrCopy()` to handle the support for external buffers. ##### TEST - Added tests for `Napi::ReferenceConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.