Skip to content

Commit 69dcae8

Browse files
authored
New version: pnpm.pnpm version 11.3.0 (microsoft#380218)
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
1 parent 81ed96b commit 69dcae8

3 files changed

Lines changed: 94 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Created with komac v2.16.0
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json
3+
4+
PackageIdentifier: pnpm.pnpm
5+
PackageVersion: 11.3.0
6+
InstallerType: zip
7+
NestedInstallerType: portable
8+
NestedInstallerFiles:
9+
- RelativeFilePath: pnpm.exe
10+
PortableCommandAlias: pnpm
11+
Commands:
12+
- pnpm
13+
ReleaseDate: 2026-05-24
14+
ArchiveBinariesDependOnPath: true
15+
Installers:
16+
- Architecture: x64
17+
InstallerUrl: https://github.com/pnpm/pnpm/releases/download/v11.3.0/pnpm-win32-x64.zip
18+
InstallerSha256: 1264CAA0DCAD06849CFD04B939F19A64C5349D5DD49F14DADBC06703C6E42653
19+
- Architecture: arm64
20+
InstallerUrl: https://github.com/pnpm/pnpm/releases/download/v11.3.0/pnpm-win32-arm64.zip
21+
InstallerSha256: 92A7F5617D53574BD408D09A6D49123CC3B707E490A8EF869698C7FF45446D2A
22+
ManifestType: installer
23+
ManifestVersion: 1.12.0
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Created with komac v2.16.0
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json
3+
4+
PackageIdentifier: pnpm.pnpm
5+
PackageVersion: 11.3.0
6+
PackageLocale: en-US
7+
Publisher: pnpm
8+
PublisherUrl: https://github.com/pnpm/pnpm
9+
PublisherSupportUrl: https://github.com/pnpm/pnpm/issues
10+
Author: pnpm contributors
11+
PackageName: pnpm
12+
PackageUrl: https://pnpm.io/
13+
License: MIT
14+
LicenseUrl: https://github.com/pnpm/pnpm/blob/HEAD/LICENSE
15+
Copyright: Copyright (c) Zoltan Kochan and other contributors
16+
CopyrightUrl: https://github.com/pnpm/pnpm/blob/main/LICENSE
17+
ShortDescription: Fast, disk space efficient package manager.
18+
Moniker: pnpm
19+
Tags:
20+
- dependency-manager
21+
- install
22+
- javascript
23+
- modules
24+
- node
25+
- nodejs
26+
- npm
27+
- package-manager
28+
ReleaseNotes: |-
29+
> See full v11.0.0 changelog
30+
> Migration guide: Migrating from v10 to v11
31+
Minor Changes
32+
- Added pnpm stage with publish, list, view, approve, reject, and download subcommands for npm staged publishing.
33+
- Added a new setting trustLockfile. When true, pnpm install skips the supply-chain verification pass that re-applies minimumReleaseAge / trustPolicy='no-downgrade' to every entry in the loaded lockfile. The install treats the lockfile as already-trusted — useful for closed-source projects where every commit comes from a trusted author. Defaults to false; verification stays on by default. Set in pnpm-workspace.yaml.
34+
Also cut the memory footprint of the verification pass itself: the per-(registry, name) trust-meta cache previously retained the full packument — dependency graphs, scripts, README, and per-version manifests — for the entire install. On large workspaces (~4k lockfile entries with minimumReleaseAge + trustPolicy: no-downgrade enabled) this could OOM CI runners with a 2GB heap cap. The cache now stores only the fields the trust check actually reads (time, per-version _npmUser.trustedPublisher, dist.attestations.provenance). The abbreviated-metadata cache is similarly projected to just the package-level modified field and the set of currently-listed version names. Fixes #11860.
35+
- Implemented pnpm pkg command natively, following npm pkg standards.
36+
- Implemented pnpm repo command natively, following npm repo standards.
37+
- Implemented pnpm set-script (alias ss) natively. Adds or updates an entry in the scripts field of the project manifest, supporting package.json, package.json5, and package.yaml formats.
38+
- Add a skip-manifest-obfuscation option for pnpm pack and pnpm publish. When enabled, the original packageManager field and publish lifecycle scripts are kept in the packed/published manifest instead of being stripped. The pnpm-specific pnpm field continues to be omitted.
39+
Patch Changes
40+
- Fixed pnpm dlx failing with ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND when the installed package's CAS slot is missing its package.json. Observed in the wild for pnpm dlx node@runtime:<version> when the GVS slot was populated without the synthesized manifest runtime archives need (they don't ship a package.json of their own, so the synthesized one is the only way it gets there; an existing slot from an earlier code path that skipped the synthesis stays incomplete). The bin link itself is wired up from the resolution and remains valid, so dlx now falls back to the scopeless package name when the slot's manifest is unreadable — for single-bin packages (the dlx common case, including every runtime: spec) this matches what manifest.bin would have named. Multi-bin packages already require --package=<spec> <bin> to disambiguate and don't enter this code path.
41+
- Fixed non-determinism in pnpm dedupe and pnpm install when a dependency graph contains packages with transitive peer dependencies on each other (e.g. @aws-sdk/client-sts and @aws-sdk/client-sso-oidc) and auto-install-peers is enabled. The lockfile no longer flips between two equally-valid forms across consecutive runs. The root cause was that resolveDependencies pushed onto its pkgAddresses / postponedResolutionsQueue arrays from inside Promise.all-spawned callbacks, so completion-order timing leaked into the array order and downstream cyclic-peer suffix assignment. Fixes #8155.
42+
- Fixed a regression introduced by #11711 where pnpm add <github-shorthand> (and any other wanted-dependency whose alias can't be parsed from the user-supplied spec, e.g. tarball URLs or pnpm/test-git-fetch#sha) was silently dropped from the manifest update and from pendingBuilds. The alias-keyed lookup added in that PR couldn't find a wantedDependency whose alias was undefined at parse time but resolved to a package name only after fetching, so the entry never made it into specsToUpsert. Restored the original index-based pairing between directDependencies and wantedDependencies; the catalog-protocol preservation that PR was originally fixing is unaffected because it's driven by rdd.catalogLookup.userSpecifiedBareSpecifier, not by the lookup. Fixes the three rebuilds dependencies / rebuilds specific dependencies / rebuild with pending option failures in building/commands/test/build/index.ts.
43+
- Fixed pnpm add --config leaving orphan entries in pnpm-lock.env.yaml (the optional subdependencies of the previously resolved version of the updated config dependency).
44+
Platinum Sponsors
45+
──────────
46+
Bit
47+
──────────
48+
Gold Sponsors
49+
───────────────┬─────────────────┬─────────────────
50+
Sanity │Discord │Vite
51+
───────────────┼─────────────────┼─────────────────
52+
SerpApi │CodeRabbit │Stackblitz
53+
───────────────┼─────────────────┴─────────────────
54+
Workleap │Nx
55+
───────────────┴─────────────────
56+
ReleaseNotesUrl: https://github.com/pnpm/pnpm/releases/tag/v11.3.0
57+
Documentations:
58+
- DocumentLabel: Docs
59+
DocumentUrl: https://pnpm.io/motivation
60+
- DocumentLabel: FAQ
61+
DocumentUrl: https://pnpm.io/faq
62+
ManifestType: defaultLocale
63+
ManifestVersion: 1.12.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Created with komac v2.16.0
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json
3+
4+
PackageIdentifier: pnpm.pnpm
5+
PackageVersion: 11.3.0
6+
DefaultLocale: en-US
7+
ManifestType: version
8+
ManifestVersion: 1.12.0

0 commit comments

Comments
 (0)