Packages

node-addon-api

8.9.2 · 12 Aug 2026MIT139.4M / weekRepositorynpmAtom feed

Upgrading node-addon-api From 4.3.0 to 5.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.3.0Latest8.9.2
The note of 5.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 4.3.0yours
  2. 5.0.0target
?
changes to make
0
advisories fixed
5
new
4
fixes

Release by release

  1. 5.0.0

    2 May 20225 new · 4 fixes
    • New

      Added an override to Napi::Function::Call to call it with a c-style array of Napi::Value's.

    • New

      Added test for Napi::AsyncContext class.

    • New

      Added test for Napi::Object::Set() method.

    • New

      Added some clarifications for Napi::ClassPropertyDescriptor.

6 other lines we could not sort, mostly version bumps
  • Drop the support for Node.js v12.x.

    5.0.0
  • Marked methods of wrapper classes const.

    5.0.0
  • Enabled wrapping Napi namespace with custom namespace.

    5.0.0
  • Improved the test framework. Added the possibility to run subsets of tests more easily.

    5.0.0
  • Some minor fixes all over the documentation.

    5.0.0
  • Enabled pre-commit ClangFormat on Windows.

    5.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.