From 7b8736dc81087676a91304304474e4ae26c47de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 17 Sep 2021 14:34:03 +0200 Subject: [PATCH] src: update NODE_MODULE_VERSION to 100 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 9.4. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/39945 Reviewed-By: Colin Ihrig Reviewed-By: Jiawen Geng Reviewed-By: Matteo Collina 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 e317de33fa1711..c1173cd340ae3c 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 100,"runtime": "node", "variant": "v8_9.4", "versions": "17.0.0-pre" }, { "modules": 99, "runtime": "electron", "variant": "electron", "versions": "16" }, { "modules": 98, "runtime": "electron", "variant": "electron", "versions": "15" }, { "modules": 97, "runtime": "electron", "variant": "electron", "versions": "14" }, diff --git a/src/node_version.h b/src/node_version.h index 3b54c0cb3631a3..42b2c6cb2bae21 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 96 +#define NODE_MODULE_VERSION 100 // The NAPI_VERSION provided by this version of the runtime. This is the version // which the Node binary being built supports.