From b7b1790aaa0e39e4a6eaead29dd1518267bb869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 29 Apr 2025 08:03:17 +0200 Subject: [PATCH] src: update NODE_MODULE_VERSION to 137 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 13.6. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/58070 Reviewed-By: Antoine du Hamel Reviewed-By: Darshan Sen Reviewed-By: Joyee Cheung Reviewed-By: Rafael Gonzaga --- doc/abi_version_registry.json | 1 + src/node_version.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/abi_version_registry.json b/doc/abi_version_registry.json index 4335b34e4d..5ba3f497a4 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 137,"runtime": "node", "variant": "v8_13.6", "versions": "24.0.0-pre" }, { "modules": 136,"runtime": "electron", "variant": "electron", "versions": "37" }, { "modules": 135,"runtime": "electron", "variant": "electron", "versions": "36" }, { "modules": 134,"runtime": "node", "variant": "v8_13.0", "versions": "24.0.0-pre" }, diff --git a/src/node_version.h b/src/node_version.h index 107b31f55c..7caa2e84ed 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -95,7 +95,7 @@ #if defined(NODE_EMBEDDER_MODULE_VERSION) #define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION #else -#define NODE_MODULE_VERSION 134 +#define NODE_MODULE_VERSION 137 #endif // The NAPI_VERSION supported by the runtime. This is the inclusive range of