From 582ff5037c4578b83a46ad9388193ef4874eeae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 19 Apr 2024 12:51:54 +0200 Subject: [PATCH] src: update NODE_MODULE_VERSION to 127 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 12.4. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/52465 Reviewed-By: Matteo Collina Reviewed-By: Rafael Gonzaga Reviewed-By: Michael Dawson --- 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 ec01fb3ada8aed..a7731a1716834a 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 127, "runtime":"node", "variant": "v8_12.4", "versions": "22.0.0-pre" }, { "modules": 126,"runtime": "node", "variant": "v8_12.3", "versions": "22.0.0-pre" }, { "modules": 125,"runtime": "electron", "variant": "electron", "versions": "31" }, { "modules": 124,"runtime": "node", "variant": "v8_12.2", "versions": "22.0.0-pre" }, diff --git a/src/node_version.h b/src/node_version.h index 8afc9282429062..5d4ba7493cb1fc 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 126 +#define NODE_MODULE_VERSION 127 #endif // The NAPI_VERSION supported by the runtime. This is the inclusive range of