Releases: nodejs/node-addon-api
Releases Β· nodejs/node-addon-api
v8.2.2
v8.2.1
v8.2.0
node-addon-api: v8.1.0
v8.0.0
Notable changes
- Support for Node.js v16.x is no longer maintained.
Commits
- [
df2147a2b6
] - build(deps): bump github/codeql-action from 3.24.3 to 3.24.5 (dependabot[bot]) #1455 - [
eb4fa9b55a
] - build(deps): bump actions/dependency-review-action from 4.1.0 to 4.1.3 (dependabot[bot]) #1452 - [
f85e8146bb
] - build(deps): bump github/codeql-action from 3.23.2 to 3.24.3 (dependabot[bot]) #1448 - [
b84deb0d2f
] - build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.0 (dependabot[bot]) #1447 - [
7dcee380cd
] - build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #1444 - [
a727b629fe
] - build(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #1443 - [
ea712094e3
] - build(deps): bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #1440 - [
898e5006a5
] - build(deps): bump github/codeql-action from 3.23.1 to 3.23.2 (dependabot[bot]) #1439 - [
66e6e0e4b6
] - build(deps): bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #1438 - [
f1ca4ccd7f
] - build(deps): bump actions/dependency-review-action from 3.1.5 to 4.0.0 (dependabot[bot]) #1433 - [
c58112d52e
] - build(deps): bump github/codeql-action from 3.23.0 to 3.23.1 (dependabot[bot]) #1430 - [
f1b9c0bc24
] - chore: remove v16.x regular CI runs (Chengzhong Wu) #1437 - [
c6561d90d6
] - chore: reduce dependabot noise (Chengzhong Wu) #1436 - [
42931eeba6
] - doc: reorganize readme (Chengzhong Wu) #1441 - [
3b9f3db14e
] - doc: update changelog maker commands (Chengzhong Wu) #1431 - [
034c039298
] - test: heed npm_config_debug (Gabriel Schulhof) #1445
Full Changelog: v7.1.0...v8.0.0
v7.1.0
What's Changed
- build(deps): bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #1329
- src: add SyntaxError by @KevinEady in #1326
- build(deps): bump actions/dependency-review-action from 2.5.1 to 3.0.6 by @dependabot in #1331
- build(deps): bump actions/stale from 5.2.1 to 8.0.0 by @dependabot in #1333
- build(deps-dev): bump fs-extra from 9.1.0 to 11.1.1 by @dependabot in #1335
- build(deps): bump step-security/harden-runner from 2.3.0 to 2.4.1 by @dependabot in #1342
- build(deps): bump github/codeql-action from 2.2.12 to 2.20.1 by @dependabot in #1343
- build(deps): bump ossf/scorecard-action from 2.0.6 to 2.2.0 by @dependabot in #1344
- Add Node.js version restrictions by @Apollon77 in #1340
- build(deps): bump actions/setup-node from 3.6.0 to 3.7.0 by @dependabot in #1348
- build(deps): bump github/codeql-action from 2.20.1 to 2.20.3 by @dependabot in #1349
- Doc: fix typo 'Napi::AsyncProgressWorker::ExecutionProcess' to 'Napi::AsyncProgressWorker::ExecutionProgress'. by @JerryZhongJ in #1350
- doc: add missing title IsBigInt by @MarxJiao in #1352
- build(deps): bump github/codeql-action from 2.20.3 to 2.21.0 by @dependabot in #1353
- fix: handle c++ exception in TSFN callback by @legendecas in #1345
- src: remove duplicate buffer info calls by @legendecas in #1354
- build(deps): bump step-security/harden-runner from 2.4.1 to 2.5.0 by @dependabot in #1356
- build(deps): bump github/codeql-action from 2.21.0 to 2.21.1 by @dependabot in #1357
- build(deps): bump github/codeql-action from 2.21.1 to 2.21.2 by @dependabot in #1358
- build(deps): bump step-security/harden-runner from 2.5.0 to 2.5.1 by @dependabot in #1364
- build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8 by @dependabot in #1368
- build(deps): bump actions/setup-node from 3.7.0 to 3.8.1 by @dependabot in #1370
- build(deps): bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #1371
- build(deps): bump github/codeql-action from 2.21.2 to 2.21.5 by @dependabot in #1372
- build(deps): bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #1375
- build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by @dependabot in #1376
- build(deps): bump github/codeql-action from 2.21.5 to 2.21.6 by @dependabot in #1378
- build(deps): bump github/codeql-action from 2.21.6 to 2.21.7 by @dependabot in #1380
- build(deps): bump actions/dependency-review-action from 3.0.8 to 3.1.0 by @dependabot in #1377
- build(deps): bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #1383
- build(deps): bump github/codeql-action from 2.21.7 to 2.21.9 by @dependabot in #1384
- Update LICENSE.md so GitHub recognizes it by @mhdawson in #1385
- build(deps): bump step-security/harden-runner from 2.5.1 to 2.6.0 by @dependabot in #1386
- build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.0 by @dependabot in #1388
- build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 by @dependabot in #1393
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #1394
- test: remove experimental flag from bigint by @gabrielschulhof in #1395
- build(deps): bump github/codeql-action from 2.22.3 to 2.22.4 by @dependabot in #1396
- build(deps): bump ossf/scorecard-action from 2.3.0 to 2.3.1 by @dependabot in #1397
- build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by @dependabot in #1398
- gyp: add common targets by @legendecas in #1389
- src,test,build: allow NAPI_VERSION env var and templatize AttachData β¦ by @gabrielschulhof in #1402
- chore: lock python version in actions by @legendecas in #1403
- doc: fix rendering of code blocks in list by @tniessen in #1401
- build(deps): bump github/codeql-action from 2.22.4 to 2.22.5 by @dependabot in #1400
- Fixed Broken Links in Docs and Readme by @tuhalf in #1405
- build(deps): bump actions/setup-python from 4.7.0 to 4.7.1 by @dependabot in #1406
- build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.3 by @dependabot in #1410
- build(deps): bump step-security/harden-runner from 2.6.0 to 2.6.1 by @dependabot in #1412
- build(deps): bump github/codeql-action from 2.22.5 to 2.22.7 by @dependabot in #1413
- build(deps): bump github/codeql-action from 2.22.7 to 2.22.8 by @dependabot in #1414
- build(deps): bump actions/dependency-review-action from 3.1.3 to 3.1.4 by @dependabot in #1415
- build(deps): bump actions/setup-python from 4.7.1 to 5.0.0 by @dependabot in #1417
- build(deps): bump actions/stale from 8.0.0 to 9.0.0 by @dependabot in #1418
- build(deps): bump github/codeql-action from 2.22.8 to 3.22.11 by @dependabot in #1423
- build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in #1424
- build(deps): bump actions/setup-node from 4.0.0 to 4.0.1 by @dependabot in #1425
- build(deps): bump github/codeql-action from 3.22.11 to 3.22.12 by @dependabot in #1426
- build(deps): bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in #1427
- build(deps): bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #1428
- Release v7.1.0 by @legendecas in #1432
New Contributors
- @dependabot made their first contribution in #1329
- @Apollon77 made their first contribution in #1340
- @JerryZhongJ made their first contribution in #1350
- @MarxJiao made their first contribution in #1352
- @tuhalf made their first contribution in #1405
Full Changelog: v7.0.0...v7.1.0
v7.0.0
SemVer major release to pull changes since the last release. The main motivations for the release are:
- Drop support for Node.js v14.x and v19.x.
- Ensure native receiver exists when calling instance methods and properties.
- Fix issue when creating
Napi::Error
instances that wrap primitives values.
What's Changed
- [test] Add test coverage for AsyncProgressWorker by @JckXia in #1307
- doc: complete code curly braces in async_worker.md by @gaowanlu in #1317
- doc: add missing Value::IsBigInt by @KevinEady in #1319
- [Test] Add tests for async progress queue worker by @JckXia in #1316
- [StepSecurity] Apply security best practices by @step-security-bot in #1308
- doc,chore: drop support for Node.js v14, v19 by @KevinEady in #1324
- release: v7.0.0 by @KevinEady in #1336
New Contributors
- @gaowanlu made their first contribution in #1317
- @step-security-bot made their first contribution in #1308
Full Changelog: v6.1.0...v7.0.0
Release 6.1.0
SemVer minor release to pull changes since the last release. The main motivations for the release are:
- 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
andNapi::Buffer::NewOrCopy()
to handle the support for external buffers.
What's Changed
- test: Add test covg for obj wrap by @JckXia in #1269
- test: Update wait with a condition by @JckXia in #1297
- Add test coverage for typed and range err by @JckXia in #1280
- test: Complete test coverage for Reference class by @JckXia in #1277
- Fix exits/exists typo in docs for Env::AddCleanupHook() by @RedBeard0531 in #1306
- src: enforce type checks on Napi::Value::As() by @legendecas in #1281
New Contributors
- @RedBeard0531 made their first contribution in #1306
Full Changelog: v6.0.0...v6.1.0
Release 6.0.0
SemVer major release to pull changes since the last release. The main motivations for the release are:
- Add
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods. - Set operator
napi_callback_info
explicit. - Some minor fixes all over the test suite.
- Add tests related to
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods. - Add tests related to
Napi::CallbackScope
. - Add tests related to
Napi::EscapableHandleScope
. - Add tests related to
Napi::Maybe<T>
. - Add tests related to
Napi::ThreadSafeFuntion
. - Change some tests related to Napi::AsyncWorker.
- Add documentation for
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods. - Add documentation about how to run a specific unit test.
What's Changed
- test: Add test covg for Maybe by @JckXia in #1270
- test: Add tests for ThreadSafeFunction's NonBlock function overloads by @JckXia in #1249
Full Changelog: v5.1.0...v6.0.0
Release 5.1.0
SemVer minor release to pull changes since the last release. The main motivations for the release are:
- Fix memory leak in
Napi::AsyncProgressWorkerBase
. - Add api to get callback_info from
Napi::CallBackInfo
. - Fix erros and warning in VS 2017.
- Make
Napi::Env::CleanupHook
public. - Remove
Napi::TypedArray::unknown_array_type
. - Add tests related to
Napi::Env
. - Add tests related to
Napi::TypedArray
. - Add tests related to
Napi::AsyncWorker
. - Add tests related to
Napi::TypedThreadSafeFunction
. - Add tests related to
Napi::Value
. - Add test related to
Napi::Promise
. - Add
Napi::HandleScope
example. - Add documentation about how to run a specific unit test.
- Add Windows with VS 2022 and Node.JS 19.x to the CI matrix.
- Fix stale workflow.
- Update Node.js versions on CI component.
- Add condition for Windows to find eslint.
What's Changed
- Add condition for window to find eslint by @JckXia in #1176
- doc: fix broken
Napi::ThreadSafeFunction
link by @F3n67u in #1172 - test: Add promise unit test by @egg-bread in #1173
- Fix link to CMake.js documentation by @nullromo in #1180
- doc: fix typo in async_operations.md by @tniessen in #1189
- Update README.md by @Chinedug in #1187
- test: CallbackInfo NewTarget unit test by @petersandor in #1177
- Update Readme for filter conditions in unit tests by @deepakrkris in #1199
- Update CONTRIBUTING.md by @Chinedug in #1185
- Update CI component versions by @vmoroz in #1200
- test: Add test coverage for "TSFN::Ref()" by @JckXia in #1196
- test: remove update to process.config by @mhdawson in #1208
- doc: add HandleScope example by @KevinEady in #1210
- test: Add test case for canceling async worker tasks by @JckXia in #1202
- test: Add test cased for failed task cancellations by @JckXia in #1214
- chore: fix stale workflow by @richardlau in #1228
- test: Add test coverage to TSFN::New() overloads by @JckXia in #1201
- src: refactor call js wrapper by @JckXia in #1242
- chore: add Windows with VS 2022 and Node.JS 19.x to the CI matrix by @vmoroz in #1252
- Update contributors by @KevinEady in #1265
New Contributors
- @F3n67u made their first contribution in #1172
- @egg-bread made their first contribution in #1173
- @nullromo made their first contribution in #1180
- @Chinedug made their first contribution in #1187
- @petersandor made their first contribution in #1177
- @deepakrkris made their first contribution in #1199
- @vmoroz made their first contribution in #1200
- @richardlau made their first contribution in #1228
Full Changelog: v5.0.0...v5.1.0