From d88623844b293aef49440cf8e425ef320290fb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 26 Feb 2024 09:17:08 +0100 Subject: [PATCH] src: update NODE_MODULE_VERSION to 124 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 12.2. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md --- 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 5f820982126c65..216290ee503bcd 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 124,"runtime": "node", "variant": "v8_12.2", "versions": "22.0.0-pre" }, { "modules": 123,"runtime": "electron", "variant": "electron", "versions": "30" }, { "modules": 122,"runtime": "node", "variant": "v8_11.9", "versions": "22.0.0-pre" }, { "modules": 121,"runtime": "electron", "variant": "electron", "versions": "29" }, diff --git a/src/node_version.h b/src/node_version.h index 7662a745e9b680..02ec9c8955074b 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 122 +#define NODE_MODULE_VERSION 124 #endif // The NAPI_VERSION supported by the runtime. This is the inclusive range of