nodejs_latest: 23.11.0 -> 24.0.0-rc.2

+18 -14
+2
doc/release-notes/rl-2505.section.md
··· 185 185 186 186 - `mkBinaryCache` now defaults to using `zstd` compression for the binary caches it creates. The previous `xz` compression method can be used by passing `compression = "xz";`. 187 187 188 + - `nodejs_latest` was updated from 23.x to 24.x. `nodejs_23` has been removed in favor of `nodejs_24`. 189 + 188 190 - `nodePackages."@commitlint/config-conventional"` has been removed, as it is a library, and projects should depend on it instead. 189 191 190 192 - zigbee2mqtt is now available in version 2.x as `zigbee2mqtt_2`. In NixOS 25.11 we'll remove `zigbee2mqtt_1` and default to `zigbee2mqtt_2`. See the [breaking changes](https://github.com/Koenkk/zigbee2mqtt/discussions/24198) announcement for 2.0.0.
+3 -3
pkgs/by-name/ta/tailwindcss-language-server/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - nodejs_23, 5 + nodejs_latest, 6 6 pnpm_9, 7 7 cacert, 8 8 }: ··· 33 33 }; 34 34 35 35 nativeBuildInputs = [ 36 - nodejs_23 36 + nodejs_latest 37 37 pnpm_9.configHook 38 38 ]; 39 39 40 40 buildInputs = [ 41 - nodejs_23 41 + nodejs_latest 42 42 ]; 43 43 44 44 pnpmWorkspaces = [ "@tailwindcss/language-server..." ];
+1 -1
pkgs/by-name/wi/windsurf/update/update.mts
··· 1 1 #!/usr/bin/env nix-shell 2 2 /* 3 - #!nix-shell -i node --pure --packages cacert nodejs_23 3 + #!nix-shell -i node --pure --packages cacert nodejs_latest 4 4 */ 5 5 import * as assert from "node:assert/strict"; 6 6 import * as fsPromises from "node:fs/promises";
+4 -2
pkgs/development/web/nodejs/nodejs.nix
··· 176 176 done 177 177 ''; 178 178 179 + downloadDir = if lib.strings.hasInfix "-rc." version then "download/rc" else "dist"; 180 + 179 181 package = stdenv.mkDerivation ( 180 182 finalAttrs: 181 183 let ··· 188 190 inherit pname version; 189 191 190 192 src = fetchurl { 191 - url = "https://nodejs.org/dist/v${version}/node-v${version}.tar.xz"; 193 + url = "https://nodejs.org/${downloadDir}/v${version}/node-v${version}.tar.xz"; 192 194 inherit sha256; 193 195 }; 194 196 ··· 519 521 passthru.tests = { 520 522 version = testers.testVersion { 521 523 package = self; 522 - version = "v${version}"; 524 + version = "v${lib.head (lib.strings.splitString "-rc." version)}"; 523 525 }; 524 526 }; 525 527
+2 -2
pkgs/development/web/nodejs/v23.nix pkgs/development/web/nodejs/v24.nix
··· 17 17 in 18 18 buildNodejs { 19 19 inherit enableNpm; 20 - version = "23.11.0"; 21 - sha256 = "f2c5db21fc5d3c3d78c7e8823bff770cef0da8078c3b5ac4fa6d17d5a41be99d"; 20 + version = "24.0.0-rc.2"; 21 + sha256 = "729fca42bb7266031dd020f3935423ea8d4b4e2d119b34b608f1d079e5c1621a"; 22 22 patches = 23 23 ( 24 24 if (stdenv.hostPlatform.emulatorAvailable buildPackages) then
+6 -6
pkgs/top-level/all-packages.nix
··· 4209 4209 nodejs-slim_22 = callPackage ../development/web/nodejs/v22.nix { enableNpm = false; }; 4210 4210 corepack_22 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_22; }); 4211 4211 4212 - nodejs_23 = callPackage ../development/web/nodejs/v23.nix { }; 4213 - nodejs-slim_23 = callPackage ../development/web/nodejs/v23.nix { enableNpm = false; }; 4214 - corepack_23 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_23; }); 4212 + nodejs_24 = callPackage ../development/web/nodejs/v24.nix { }; 4213 + nodejs-slim_24 = callPackage ../development/web/nodejs/v24.nix { enableNpm = false; }; 4214 + corepack_24 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_24; }); 4215 4215 4216 4216 # Update this when adding the newest nodejs major version! 4217 - nodejs_latest = nodejs_23; 4218 - nodejs-slim_latest = nodejs-slim_23; 4219 - corepack_latest = hiPrio corepack_23; 4217 + nodejs_latest = nodejs_24; 4218 + nodejs-slim_latest = nodejs-slim_24; 4219 + corepack_latest = hiPrio corepack_24; 4220 4220 4221 4221 buildNpmPackage = callPackage ../build-support/node/build-npm-package { }; 4222 4222