Skip to content

Commit

Permalink
src: update NODE_MODULE_VERSION to 124
Browse files Browse the repository at this point in the history
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
PR-URL: #51362
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
  • Loading branch information
targos committed Mar 31, 2024
1 parent 94f0369 commit 5cddd3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/abi_version_registry.json
Original file line number Diff line number Diff line change
@@ -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" },
Expand Down
2 changes: 1 addition & 1 deletion src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cddd3b

Please sign in to comment.