From 663251b48d151a00c2ecaa079b3ca664558e953d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 30 Jan 2026 10:52:32 -0500 Subject: [PATCH 1/3] chore: update headers from nodejs/node tag v25.5.0 (#72) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- include/js_native_api_types.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/js_native_api_types.h b/include/js_native_api_types.h index a5b4663..a0da104 100644 --- a/include/js_native_api_types.h +++ b/include/js_native_api_types.h @@ -4,19 +4,18 @@ // Use INT_MAX, this should only be consumed by the pre-processor anyway. #define NAPI_VERSION_EXPERIMENTAL 2147483647 #ifndef NAPI_VERSION -// The baseline version for N-API. -// The NAPI_VERSION controls which version will be used by default when -// compilling a native addon. If the addon developer specifically wants to use -// functions available in a new version of N-API that is not yet ported in all -// LTS versions, they can set NAPI_VERSION knowing that they have specifically -// depended on that version. +// The baseline version for Node-API. +// NAPI_VERSION controls which version is used by default when compiling +// a native addon. If the addon developer wants to use functions from a +// newer Node-API version not yet available in all LTS versions, they can +// set NAPI_VERSION to explicitly depend on that version. #define NAPI_VERSION 8 #endif // This file needs to be compatible with C compilers. // This is a public include file, and these includes have essentially -// became part of it's API. +// become part of its API. #include // NOLINT(modernize-deprecated-headers) #include // NOLINT(modernize-deprecated-headers) From 19492a57fee7ef65fde36734a4c39d9d54401011 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 09:16:34 -0400 Subject: [PATCH 2/3] feat: update headers from nodejs/node tag v26.1.0 (#73) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- include/js_native_api_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/js_native_api_types.h b/include/js_native_api_types.h index a0da104..dc4922e 100644 --- a/include/js_native_api_types.h +++ b/include/js_native_api_types.h @@ -157,6 +157,10 @@ typedef void(NAPI_CDECL* napi_finalize)(napi_env env, typedef napi_finalize node_api_nogc_finalize; typedef node_api_nogc_finalize node_api_basic_finalize; +// A finalizer that can be called from any thread and at any time. +typedef void(NAPI_CDECL* node_api_noenv_finalize)(void* finalize_data, + void* finalize_hint); + typedef struct { // One of utf8name or name should be NULL. const char* utf8name; From 8d0ef96a771d67f79b5436604d8c697ea70b618e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 10:20:38 -0400 Subject: [PATCH 3/3] chore: release v1.9.0 (#74) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3800c06..44204dd 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.8.0" + ".": "1.9.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa5f05..72753c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # node-api-headers Changelog +## [1.9.0](https://github.com/nodejs/node-api-headers/compare/v1.8.0...v1.9.0) (2026-05-15) + + +### Features + +* update headers from nodejs/node tag v26.1.0 ([#73](https://github.com/nodejs/node-api-headers/issues/73)) ([19492a5](https://github.com/nodejs/node-api-headers/commit/19492a57fee7ef65fde36734a4c39d9d54401011)) + ## [1.8.0](https://github.com/nodejs/node-api-headers/compare/v1.7.0...v1.8.0) (2026-01-23) diff --git a/package-lock.json b/package-lock.json index c27d370..b2428ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "node-api-headers", - "version": "1.8.0", + "version": "1.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "node-api-headers", - "version": "1.8.0", + "version": "1.9.0", "license": "MIT", "devDependencies": { "acorn": "^8.12.1" diff --git a/package.json b/package.json index 936b8b5..9756d65 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,6 @@ "write-win32-def": "node --no-warnings scripts/write-win32-def.js", "test": "node test/parse-utils.js " }, - "version": "1.8.0", + "version": "1.9.0", "support": true }