From 5e248eceb6a0a44c86f6eaf056b7103a4a192ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sun, 10 Oct 2021 11:10:44 +0200 Subject: [PATCH] src: update NODE_MODULE_VERSION to 102 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 9.5. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/40178 Reviewed-By: Antoine du Hamel Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig --- 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 a70bb8a5306da1..94193b26706b79 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 102,"runtime": "node", "variant": "v8_9.5", "versions": "17.0.0-pre" }, { "modules": 101,"runtime": "electron", "variant": "electron", "versions": "17" }, { "modules": 100,"runtime": "node", "variant": "v8_9.4", "versions": "17.0.0-pre" }, { "modules": 99, "runtime": "electron", "variant": "electron", "versions": "16" }, diff --git a/src/node_version.h b/src/node_version.h index 42b2c6cb2bae21..599edffcd1306a 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -89,7 +89,7 @@ * version matching should open a pull request to reserve a number in this * registry. */ -#define NODE_MODULE_VERSION 100 +#define NODE_MODULE_VERSION 102 // The NAPI_VERSION provided by this version of the runtime. This is the version // which the Node binary being built supports.