n8n: 2.45.5 -> 2.47.3

This commit is contained in:
Sascha König committed 2026-11-10 21:15:28 +01:00
1 parent 6919862acb
commit 04b710cc9b
2 files changed
+16 -6

No files matched your search

+13 -3
View File
@@ -29,8 +29,18 @@
# ERR_PNPM_INCONSISTENT_PATCH_HASH. Rewrite the stale references to the # ERR_PNPM_INCONSISTENT_PATCH_HASH. Rewrite the stale references to the
# declared hash — exactly what `pnpm install --no-frozen-lockfile` would # declared hash — exactly what `pnpm install --no-frozen-lockfile` would
# converge to. The sed is a no-op once upstream regenerates the lockfile. # converge to. The sed is a no-op once upstream regenerates the lockfile.
#
# n8n@2.47.3 has the same class of defect again: the override
# `undici@7: catalog:undici-v7` was bumped to ^7.30.1 and the package entry
# undici@7.29.1 dropped from the lockfile, but the snapshot of
# @ai-sdk/provider-utils@5.0.70 (added via minimumReleaseAgeExclude) still
# lists `undici: 7.29.1`. pnpm >= 12.9 refuses with
# ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY ("no entry for 'undici@7.29.1'").
# Point the stale reference at the entry that exists (7.30.1), which is
# exactly where the override resolves it anyway. No-op on clean lockfiles.
fixUpstreamLockfile = '' fixUpstreamLockfile = ''
sed -i 's/patch_hash=81ead1b07fc8efda87bd2724dbd876ab49f4a0aa03f96c3770060b2ea47d9e0b/patch_hash=0384abb0bf57b0811e09219dbce0b926741d818285ee77526ad4cb75a60b87a1/g' pnpm-lock.yaml sed -i 's/patch_hash=81ead1b07fc8efda87bd2724dbd876ab49f4a0aa03f96c3770060b2ea47d9e0b/patch_hash=0384abb0bf57b0811e09219dbce0b926741d818285ee77526ad4cb75a60b87a1/g' pnpm-lock.yaml
sed -i -E 's/^(\s+undici: )7\.29\.1$/\17.30.1/' pnpm-lock.yaml
''; '';
# After `pnpm prune --prod` (pnpm 12), walk every workspace package and # After `pnpm prune --prod` (pnpm 12), walk every workspace package and
@@ -65,13 +75,13 @@
''; '';
in in
prev.n8n.overrideAttrs (finalAttrs: previousAttrs: { prev.n8n.overrideAttrs (finalAttrs: previousAttrs: {
version = "2.45.5"; version = "2.47.3";
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {
owner = "n8n-io"; owner = "n8n-io";
repo = "n8n"; repo = "n8n";
tag = "n8n@${finalAttrs.version}"; tag = "n8n@${finalAttrs.version}";
hash = "sha256-YPM8Hlgrll1I+yYj4Q2dWP8bF5nnLCF5VIMpl3N5Lzk="; hash = "sha256-lw8B5pRY2O+LXWM6gPVHglKJ8SvowfTRoNMeVD8Kd60=";
}; };
pnpmDeps = prev.fetchPnpmDeps { pnpmDeps = prev.fetchPnpmDeps {
@@ -79,7 +89,7 @@ in
pnpm = prev.pnpm_12; pnpm = prev.pnpm_12;
fetcherVersion = 4; fetcherVersion = 4;
postPatch = relaxPnpmEngine + fixUpstreamLockfile; postPatch = relaxPnpmEngine + fixUpstreamLockfile;
hash = "sha256-rZ3unYg6d0bAnU05e1ejGokIYKI1m7M97NiS+bqdZOE="; hash = "sha256-np4qMhJJBwpEJA/Zac1WEueUmaufs2wLBaa1BUiBgcM=";
}; };
postPatch = (previousAttrs.postPatch or "") + relaxPnpmEngine + fixUpstreamLockfile; postPatch = (previousAttrs.postPatch or "") + relaxPnpmEngine + fixUpstreamLockfile;
+3 -3
View File
@@ -15,9 +15,9 @@
modifiedPkgs = mkPkgs [self.overlays.modifications]; modifiedPkgs = mkPkgs [self.overlays.modifications];
defaultPkgs = mkPkgs [self.overlays.default]; defaultPkgs = mkPkgs [self.overlays.default];
expectedVersion = "2.45.5"; expectedVersion = "2.47.3";
expectedSrcHash = "sha256-YPM8Hlgrll1I+yYj4Q2dWP8bF5nnLCF5VIMpl3N5Lzk="; expectedSrcHash = "sha256-lw8B5pRY2O+LXWM6gPVHglKJ8SvowfTRoNMeVD8Kd60=";
expectedPnpmHash = "sha256-rZ3unYg6d0bAnU05e1ejGokIYKI1m7M97NiS+bqdZOE="; expectedPnpmHash = "sha256-np4qMhJJBwpEJA/Zac1WEueUmaufs2wLBaa1BUiBgcM=";
expectedChangelog = "https://github.com/n8n-io/n8n/releases/tag/n8n@${expectedVersion}"; expectedChangelog = "https://github.com/n8n-io/n8n/releases/tag/n8n@${expectedVersion}";
expectedRootNodeModuleSymlinks = [ expectedRootNodeModuleSymlinks = [
"ln -s .pnpm/node_modules/sass-embedded node_modules/sass-embedded" "ln -s .pnpm/node_modules/sass-embedded node_modules/sass-embedded"