Skip to content

Releases: nodejs/node-addon-api

v8.3.0

29 Nov 16:19
398eec6
Compare
Choose a tag to compare

8.3.0 (2024-11-29)

Features

v8.2.2

08 Nov 13:23
264bc1b
Compare
Choose a tag to compare

8.2.2 (2024-11-07)

Bug Fixes

  • mark external memory and version APIs as basic (#1597) (78da4fa)
  • missing napi_delete_reference on ObjectWrap ref (#1607) (98aae33)

v8.2.1

11 Oct 15:06
49652bd
Compare
Choose a tag to compare

8.2.1 (2024-10-09)

Bug Fixes

v8.2.0

30 Sep 14:29
5b1a57d
Compare
Choose a tag to compare

8.2.0 (2024-09-19)

Features

  • add support for nogc types via BasicEnv (#1514) (b4aeecb)
  • add support for requiring basic finalizers (#1568) (7bcb826)

Bug Fixes

  • call base basic finalizer if none defined (#1574) (294a43f)

node-addon-api: v8.1.0

08 Jul 08:57
bc5acef
Compare
Choose a tag to compare

8.1.0 (2024-07-05)

Features

Bug Fixes

  • fix compilation for Visual Studio 2022 (#1492) (e011720)
  • restore ability to run under NAPI_EXPERIMENTAL (#1409) (40bcb09)

v8.0.0

05 Mar 07:03
d1ba547
Compare
Choose a tag to compare

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

19 Jan 08:53
185dda1
Compare
Choose a tag to compare

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

Full Changelog: v7.0.0...v7.1.0

v7.0.0

16 Jun 21:19
39a25bf
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v6.1.0...v7.0.0

Release 6.1.0

20 Apr 14:33
Compare
Choose a tag to compare

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 and Napi::Buffer::NewOrCopy() to handle the support for external buffers.

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.1.0

Release 6.0.0

10 Feb 17:32
Compare
Choose a tag to compare

SemVer major release to pull changes since the last release. The main motivations for the release are:

  • Add Napi::Object::TypeTag() and Napi::Object::CheckTypeTag() methods.
  • Set operator napi_callback_info explicit.
  • Some minor fixes all over the test suite.
  • Add tests related to Napi::Object::TypeTag() and Napi::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() and Napi::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