summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@google.com>2022-10-20 16:54:55 -0400
committerRuy Adorno <ruyadorno@google.com>2022-10-20 17:10:27 -0400
commita4bcc81994c99dbc04089e3ed8d1f5a30a4dc716 (patch)
tree67bfe332935fa587db783f184ec800f6b3d97f5c
parentcc6a96f61c321e0d0c6faaa3e1d4f1569cdd6b1f (diff)
downloadnode-new-a4bcc81994c99dbc04089e3ed8d1f5a30a4dc716.tar.gz
2022-10-25, Version 18.12.0 'Hydrogen' (LTS)v18.12.0
Notable changes: This release marks the transition of Node.js 18.x into Long Term Support (LTS) with the codename 'Hydrogen'. The 18.x release line now moves into "Active LTS" and will remain so until October 2023. After that time, it will move into "Maintenance" until end of life in April 2025. PR-URL: https://github.com/nodejs/node/pull/45100
-rw-r--r--CHANGELOG.md9
-rw-r--r--doc/changelogs/CHANGELOG_V18.md15
-rw-r--r--src/node_version.h10
-rw-r--r--test/parallel/test-process-release.js2
4 files changed, 27 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 07bb58b540..1468a64191 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,9 +2,9 @@
Select a Node.js version below to view the changelog history:
-* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Current**
+* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Long Term Support**
* [Node.js 17](doc/changelogs/CHANGELOG_V17.md) **Current**
-* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) **Long Term Support**
+* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) Long Term Support
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) End-of-Life
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) Long Term Support
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) End-of-Life
@@ -27,7 +27,7 @@ release.
<table>
<tr>
- <th title="Current"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (Current)</th>
+ <th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V17.md">17</a> (Current)</th>
<th title="LTS Until 2024-04"><a href="doc/changelogs/CHANGELOG_V16.md">16</a> (LTS)</th>
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a> (LTS)</th>
@@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
-<b><a href="doc/changelogs/CHANGELOG_V18.md#18.11.0">18.11.0</a></b><br/>
+<b><a href="doc/changelogs/CHANGELOG_V18.md#18.12.0">18.12.0</a></b><br/>
+<a href="doc/changelogs/CHANGELOG_V18.md#18.11.0">18.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.10.0">18.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.9.1">18.9.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.9.0">18.9.0</a><br/>
diff --git a/doc/changelogs/CHANGELOG_V18.md b/doc/changelogs/CHANGELOG_V18.md
index fc20daf1d4..4e25e722b2 100644
--- a/doc/changelogs/CHANGELOG_V18.md
+++ b/doc/changelogs/CHANGELOG_V18.md
@@ -4,10 +4,14 @@
<table>
<tr>
+<th>LTS 'Hydrogen'</th>
<th>Current</th>
</tr>
<tr>
<td>
+<a href="#18.12.0">18.12.0</a><br/>
+</td>
+<td>
<a href="#18.11.0">18.11.0</a><br/>
<a href="#18.10.0">18.10.0</a><br/>
<a href="#18.9.1">18.9.1</a><br/>
@@ -45,6 +49,17 @@
* [io.js](CHANGELOG_IOJS.md)
* [Archive](CHANGELOG_ARCHIVE.md)
+<a id="18.12.0"></a>
+
+## 2022-10-25, Version 18.12.0 'Hydrogen' (LTS), @ruyadorno and @RafaelGSS
+
+### Notable Changes
+
+This release marks the transition of Node.js 18.x into Long Term Support (LTS)
+with the codename 'Hydrogen'. The 18.x release line now moves into "Active LTS"
+and will remain so until October 2023. After that time, it will move into
+"Maintenance" until end of life in April 2025.
+
<a id="18.11.0"></a>
## 2022-10-13, Version 18.11.0 (Current), @danielleadams
diff --git a/src/node_version.h b/src/node_version.h
index 95702b5749..bd75c5fe0a 100644
--- a/src/node_version.h
+++ b/src/node_version.h
@@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_
#define NODE_MAJOR_VERSION 18
-#define NODE_MINOR_VERSION 11
-#define NODE_PATCH_VERSION 1
+#define NODE_MINOR_VERSION 12
+#define NODE_PATCH_VERSION 0
-#define NODE_VERSION_IS_LTS 0
-#define NODE_VERSION_LTS_CODENAME ""
+#define NODE_VERSION_IS_LTS 1
+#define NODE_VERSION_LTS_CODENAME "Hydrogen"
-#define NODE_VERSION_IS_RELEASE 0
+#define NODE_VERSION_IS_RELEASE 1
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
diff --git a/test/parallel/test-process-release.js b/test/parallel/test-process-release.js
index ccac34621f..4455ad9ca2 100644
--- a/test/parallel/test-process-release.js
+++ b/test/parallel/test-process-release.js
@@ -23,6 +23,8 @@ if (versionParts[0] === '4' && versionParts[1] >= 2) {
assert.strictEqual(process.release.lts, 'Fermium');
} else if (versionParts[0] === '16' && versionParts[1] >= 13) {
assert.strictEqual(process.release.lts, 'Gallium');
+} else if (versionParts[0] === '18' && versionParts[1] >= 12) {
+ assert.strictEqual(process.release.lts, 'Hydrogen');
} else {
assert.strictEqual(process.release.lts, undefined);
}