From 2cff0ce411313a6a54c78290e76baecb70b9ab40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 18 Dec 2023 11:38:54 +0100 Subject: [PATCH] src: update NODE_MODULE_VERSION to 122 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 11.9. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/50115 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 2dc7511694859d..9fd14d0561481a 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 122,"runtime": "node", "variant": "v8_11.9", "versions": "22.0.0-pre" }, { "modules": 121,"runtime": "electron", "variant": "electron", "versions": "29" }, { "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0" }, { "modules": 119,"runtime": "electron", "variant": "electron", "versions": "28" }, diff --git a/src/node_version.h b/src/node_version.h index e75d3464e97331..7662a745e9b680 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 120 +#define NODE_MODULE_VERSION 122 #endif // The NAPI_VERSION supported by the runtime. This is the inclusive range of