Packages

node-addon-api

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

Your version

59 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 8.x · latest line
  2. 8.9.2

    12 Aug 2026
    • Resolve Symbol::For overload ambiguity

  3. 8.9.1

    31 Jul 2026
    • Fix vs2026 ICE compatibility

  4. 8.9.0

    26 Jun 2026
    • Add support for SharedArrayBuffer in TypedArray and TypedArrayOf<T>

  5. 8.8.0

    22 May 2026
    • Add std::string_view overload for Symbol::For

    • Add String::New overload for string_view

  6. 8.7.0

    26 Mar 2026
    • Add Date::New overload for a std::chrono::system_clock::time_point

    • Add Object::GetPrototype and Object::SetPrototype (#1715) (967bbd5), closes #1691

    • Add support for SharedArrayBuffer in DataViews

  7. 8.6.0

    27 Feb 2026
    • Add SharedArrayBuffer

    • Silence a legitimate vfptr sanitizer warning that is on by default in Android NDK 29

  8. 8.5.0

    14 Jul 2025
    • Add Then and Catch methods to Promise

  9. 8.4.0

    13 Jun 2025
    • Add sugar method for PropertyLValue

  10. 8.3.1

    21 Feb 2025
    • Add missing stdexcept include to test

    • node-api version 10 support

  11. 8.3.0

    29 Nov 2024
    • Allow catching all exceptions

  12. 8.2.2

    8 Nov 2024
    • Mark external memory and version APIs as basic

    • Missing napi_delete_reference on ObjectWrap ref

  13. 8.2.1

    11 Oct 2024
    • Failed type cast checks in Symbol::WellKnown

    • Missing node_api_nogc_env definition

  14. 8.2.0

    30 Sep 2024
    • Add support for nogc types via BasicEnv

    • Add support for requiring basic finalizers

    • Call base basic finalizer if none defined

  15. 8.1.0

    8 Jul 2024
    • Expose version property in public API

    • Improve messages on CheckCast

    • Fix compilation for Visual Studio 2022

  16. 8.0.0

    5 Mar 2024
    • Removed

      chore: remove v16.x regular CI runs (Chengzhong Wu) #1437

    • Support for Node.js v16.x is no longer maintained.

    • chore: reduce dependabot noise (Chengzhong Wu) #1436

  17. 7.x
  18. 7.1.1

    12 Jul 2024
  19. 7.1.0

    19 Jan 2024
    • src: Add SyntaxError

    • Add Node.js version restrictions

    • Handle c++ exception in TSFN callback

  20. 7.0.0

    15 Jun 2023
    • Removed

      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.

  21. 6.x
  22. 6.1.0

    20 Apr 2023
    • Enforce type checks on Napi::Value::As().

    • Added Napi::TypeTaggable class.

    • Defined NAPI_HAS_THREADS to make TSFN available on Emscripten.

  23. 6.0.0

    10 Feb 2023
    • Add Napi::Object::TypeTag() and Napi::Object::CheckTypeTag() methods.

    • Set operator napi_callback_info explicit.

    • Some minor fixes all over the test suite.

  24. 5.x
  25. 5.1.0

    13 Jan 2023
    • Fix memory leak in Napi::AsyncProgressWorkerBase.

    • Add api to get callback_info from Napi::CallBackInfo.

    • Fix erros and warning in VS 2017.

  26. 5.0.0

    2 May 2022
    • Drop the support for Node.js v12.x.

    • Marked methods of wrapper classes const.

    • Enabled wrapping Napi namespace with custom namespace.

  27. 4.x
  28. 4.3.0

    21 Jan 2022
    • 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.

  29. 4.2.0

    17 Sep 2021
    • Allow creating Function with move-only functor.

    • Fixed casts to not be undefined behavior.

    • Fixed the way to enable C++ exceptions.

  30. 4.1.0

    25 Aug 2021
    • Added the wraps for napi_add_env_cleanup_hook and napi_remove_env_cleanup_hook.

    • Added Napi::Maybe<T> class to handle pending exception when cpp exception disabled.

    • Napi::Reference updated the default value to reflect the most possible values when there are any errors occurred on napi_reference_unref.

  31. 4.0.0

    15 Jun 2021
    • Drop the support for Node.js v10.x.

    • Fix a crashing issue in Napi::Error::ThrowAsJavaScriptException.

  32. 3.x
  33. 3.2.1

    28 May 2021

    SemVer patch release to fix the documentation about the oldest Node.js version supported.

  34. 3.2.0

    17 May 2021

    SemVer minor release to pull changes since the last release. The main motivations for the release is the addition of a new APIs and a lot of important fixes.

  35. 3.1.0

    17 Dec 2020

    SemVer minor release to pull changes since the last release. The main motivations for the release is the addition of a new APIs and a lot of important fixes.

  36. 3.0.2

    18 Sep 2020
    • Fixed the compilation breakage introduced in the previous release (v3.0.1).

    • Added the new Napi::Addon api to o help handle the loading of a native add-on into multiple
      threads and or multiple times in the same thread.

    • Converted tests that gc into async functions that await 10 ticks after each gc.

  37. 3.0.1

    13 Jul 2020

    SemVer patch release to pull changes since the last release. The main motivations for the release are the fix on some api and documentation.

  38. 3.0.0

    30 Apr 2020

    SemVer major release to pull changes since the last release. The main motivations for the release are the addition of new APIs and a lot of important fixes.

  39. 2.x
  40. 2.0.2

    1 Jul 2020

    SemVer major release to pull changes since the last release. The main motivation for the release is the backport of some changes in the Napi::ObjectWrap.

  41. 2.0.1

    2 Jun 2020

    Security release. The main motivation for the release is the fix for memory corruption vulnerability.

  42. 2.0.0

    28 Nov 2019
    • Napi::AsyncProgressWorker

    • Napi::Date
      Improvements on the APIs for Napi:: ThreadSafeFunction and Napi::Object. Furthermore there are some other minor improvements all over the API exposed by the library and its documentation.

  43. 1.x
  44. 1.7.2

    2 Jun 2020

    Security release. The main motivation for the release is the fix for memory corruption vulnerability.

  45. 1.7.1

    23 Jul 2019

    SemVer patch release to pull changes since the last release. The main motivations for release is to solve compilation problems that happen on Node.js with N-API version less than 4.

  46. 1.7.0

    23 Jul 2019

    SemVer patch release to pull changes since the last release. The main motivations for release are the addition of Napi::ThreadSafeFunction and new methods for Napi::AsyncWorker. There are some fixes and improvements on all the exposed API and test case. Furthermore there are some other minor fixes on documentation.

  47. 1.6.3

    3 Apr 2019

    SemVer patch release to pull changes since the last release. The motivations for release are the addition of suppression destruction on Napi::AsyncWorker, the exposition of macros that throw errors and the fix for potential memory leaks in callback data when error occurs on N-API. Furthermore there are some other minor fixes on documentation.

  48. 1.6.2

    29 Nov 2018

    SemVer patch release to pull changes since the last release. The motivations for release is to fix the selection of Node.js versions that have N-API.

  49. 1.6.1

    14 Nov 2018

    SemVer patch release to pull changes since the last release. The motivations for release is to enable the Napi::CallbackScope feature with N-API v3. Furthermore there are some other minor fixes on documentation.

  50. 1.6.0

    2 Nov 2018

    SemVer minor release to pull changes since the last release. Mostly minor fixes and additions. The motivations for release are the addition of a new feature Napi::CallbackScope, that helps to have the equivalent of the scope associated with a callback in place when making certain N-API calls. Furthermore there are some additions on tests and improvements on documentation about the ABI stability.

  51. 1.5.0

    3 Oct 2018

    SemVer minor release to pull changes since the last release. Mostly minor fixes and additions. The motivations for release are the addition of new feature (AsyncContext, BigInt and VersionManagement), some big fixes to avoid memory leaks, the end of the documentation that now cover all the API's surface, the addition of new tool to check if a native add-on is built with N-API or not.

  52. 1.4.0

    19 Jul 2018

    SemVer minor release to pull changes since the last release. Mostly minor fixes and additions. The main motivation for release is to improve AsyncWorker and add memory management feature. Furthermore there are numerous additions to the documentation.

  53. 1.3.0

    8 May 2018

    SemVer minor release to pull changes since the last release. Mostly minor fixes and additions. The main motivation for release is to add the use of built-in N-API when using the latest version of the 6.x line.

  54. 1.2.0

    11 Jan 2018

    SemVer minor release to pull changes since last release. Mostly minor fixes and additions. Main motivation for release it to fix issues in building with earlier releases of 8.X.

  55. 1.1.0

    20 Nov 2017

    Pull in all new fixes/features/updates since last release.

  56. 1.0.0

    27 Sep 2017

    Sync with Node.js version 8.6.0

  57. 0.6.x
  58. 0.6.3

    25 Aug 2017

    Improve compatibility support for older Node.js versions.

  59. 0.6.2

    21 Aug 2017

    Sync with Node.js version 8.4.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.