From 8dd441377cd746e0ab24b3cfdae29295031dab0a Mon Sep 17 00:00:00 2001 From: Dirk Stolle <striezel-dev@web.de> Date: Sun, 10 Nov 2024 02:47:34 +0100 Subject: [PATCH] update known information for Node.js to version 22.11.0 This marks the transition of Node.js 22.x into Long Term Support (LTS) with the codename 'Jod'. The 22.x release line has moved into "Active LTS". --- changelog.md | 5 +++++ updater/software/NodeJS.cs | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 8e9ea89e..f1934dc6 100644 --- a/changelog.md +++ b/changelog.md @@ -16,6 +16,11 @@ Reason for that change is that Microsoft will end support for .NET 6 on maintenance or security fixes, so this application is switching to .NET 8, the current Long Term Support release of .NET. +__[changes]__ + +* Node.js updates will now track Node.js 22.x, because Node.js 22.x has moved + into active Long Term Support (LTS). + __[maintenance]__ * Update certificate information for WinMerge installers. diff --git a/updater/software/NodeJS.cs b/updater/software/NodeJS.cs index 9b04c96a..d60b27a9 100644 --- a/updater/software/NodeJS.cs +++ b/updater/software/NodeJS.cs @@ -63,7 +63,7 @@ public NodeJS(bool autoGetNewer) /// details about the software.</returns> public override AvailableSoftware knownInfo() { - const string version = "20.18.0"; + const string version = "22.11.0"; var signature = new Signature(publisherX509, certificateExpiration); return new AvailableSoftware( "Node.js", @@ -73,13 +73,13 @@ public override AvailableSoftware knownInfo() new InstallInfoMsi( "https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x86.msi", HashAlgorithm.SHA256, - "9ae3aaeced931fbd874c6488cc4960611691baa9c11e0b84c0ed9226ccc2d0cb", + "ab19f02c4b0d9f578928b67d2a652496aa31729a8cc9771ffc9cc6d3b8afe7e3", signature, "/qn /norestart"), new InstallInfoMsi( "https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x64.msi", HashAlgorithm.SHA256, - "93d1d30341d7d38b7a8f3ab0fa3be1f9e6436b90338b2bd8b8af4e80d00bd036", + "9eea480bd30c98ae11a97cb89a9278235cbbbd03c171ee5e5198bd86b7965b4b", signature, "/qn /norestart") ); @@ -121,7 +121,7 @@ public override AvailableSoftware searchForNewer() try { // Note: Changes this URL as soon as the next version enters LTS state. - var task = client.GetStringAsync("https://nodejs.org/dist/latest-v20.x/"); + var task = client.GetStringAsync("https://nodejs.org/dist/latest-v22.x/"); task.Wait(); htmlCode = task.Result; }