summaryrefslogtreecommitdiff
path: root/src/node_version.h
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2017-10-18 15:49:09 -0400
committerMyles Borins <mylesborins@google.com>2017-10-18 17:19:10 -0400
commitaec115b54b5c9957c4dacf38f11122b08dc41086 (patch)
tree00d873cf60669d35ac107707bb4bb9f96065ab78 /src/node_version.h
parent6dcc37d0ed974325f2048660dd641d4de3616be1 (diff)
downloadnode-new-aec115b54b5c9957c4dacf38f11122b08dc41086.tar.gz
meta: update comments for module version
This commit updates the comment for Module Version to document the history of the Module Version number across the various release of Node.js. PR-URL: https://github.com/nodejs/node/pull/16303 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'src/node_version.h')
-rw-r--r--src/node_version.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/node_version.h b/src/node_version.h
index 541bdd738d..0b6446c635 100644
--- a/src/node_version.h
+++ b/src/node_version.h
@@ -76,7 +76,32 @@
* to load older modules. This should be done whenever
* an API is broken in the C++ side, including in v8 or
* other dependencies.
+ *
+ * Node.js will not change the module version during a Major release line
+ * We will at times update the version of V8 shipped in the release line
+ * if it can be made ABI compatible with the previous version.
+ *
+ * Module version by Node.js version:
+ * Node.js v0.10.x: 11
+ * Node.js v0.12.x: 14
+ * Node.js v4.x: 46
+ * Node.js v5.x: 47
+ * Node.js v6.x: 48
+ * Node.js v7.x: 51
+ * Node.js v8.x: 57
+ *
+ * Module version by V8 ABI version:
+ * V8 5.4: 51
+ * V8 5.5: 52
+ * V8 5.6: 53
+ * V8 5.7: 54
+ * V8 5.8: 55
+ * V8 5.9: 56
+ * V8 6.0: 57
+ * V8 6.1: 58
+ *
+ * More information can be found at https://nodejs.org/en/download/releases/
*/
-#define NODE_MODULE_VERSION 58 /* Node.js v8.0.0 */
+#define NODE_MODULE_VERSION 58
#endif // SRC_NODE_VERSION_H_