Skip to content

[pull] main from pnpm:main - #526

Merged
pull[bot] merged 6 commits into
dwongdev:mainfrom
pnpm:main
Aug 21, 2026
Merged

pull[bot] merged 6 commits into
dwongdev:mainfrom
pnpm:main

Conversation

@pull

@pull pull Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot Bot and others added 6 commits August 21, 2026 14:58
Bumps [sigstore-sign](https://github.com/prefix-dev/sigstore-rust) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/prefix-dev/sigstore-rust/releases)
- [Changelog](https://github.com/sigstore/sigstore-rust/blob/main/release-plz.toml)
- [Commits](sigstore/sigstore-rust@sigstore-sign-v0.10.0...sigstore-sign-v0.11.0)

---
updated-dependencies:
- dependency-name: sigstore-sign
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.22.1 to 0.23.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.22.1...v0.23.1)

---
updated-dependencies:
- dependency-name: base64
  dependency-version: 0.23.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Both stacks write the modules manifest as JSON but read it back through a YAML parser, which rejects object keys longer than YAML's simple-key limit, so a long dependency path could make a manifest unreadable after it was written.

Parse the manifest as JSON first and fall back to the YAML parser only for manifests written in YAML by old pnpm versions. Duplicate JSON keys resolve to the last value per standard JSON semantics; the YAML fallback keeps its legacy-format support and resource budgets.

Closes #13875.

---------

Co-authored-by: Zoltan Kochan <[email protected]>
Bumps [diffy](https://github.com/bmwill/diffy) from 0.5.0 to 0.5.1.
- [Changelog](https://github.com/bmwill/diffy/blob/master/CHANGELOG.md)
- [Commits](bmwill/diffy@0.5.0...0.5.1)

---
updated-dependencies:
- dependency-name: diffy
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…13949)

## Summary
- `pnpm self-update` now rewrites a simple `^`/`~` `devEngines.packageManager.version` in place when the resolved version still satisfies the range, matching `pnpm update` and `pnpm runtime set`.
- Complex ranges such as `>=8.0.0` are still left unchanged (the lockfile keeps the exact pin).
- Applied in both the TypeScript CLI and pacquet.

Fixes #13935

---------

Co-authored-by: Zoltan Kochan <[email protected]>
When a package is removed via `pnpm rm`, any `allowBuilds` entry in
`pnpm-workspace.yaml` whose value is the undecided placeholder
(`set this to true or false`) is now automatically removed. Entries
with explicit boolean decisions (`true` or `false`) are left untouched
— they represent intentional user choices.

The pruning is gated on `sharedWorkspaceLockfile: true` (the default
for workspaces), which is the only context where we can safely know a
package is no longer used by any workspace member after removal.

TypeScript: new `pruneAllowBuilds` helper in `workspace-manifest-writer`,
called from the `remove` command path via `installDeps` and `recursive`.

Rust/pacquet: new `prune_allow_builds` function in `edit.rs`, integrated
into `post_install_prune` in `catalog_cleanup.rs`, and called from the
`remove` command handler in `remove.rs`.

Entries are matched by the package name their key identifies, not by the
raw key: `allowBuilds` keys for git/tarball dependencies are dep paths
(`name@<non-semver source>`), and matching raw keys against resolved
package names would have deleted undecided entries for still-installed
git dependencies. Keys that carry no provable package name (hashless
git-repo keys, malformed shapes) are never pruned. The name extraction
lives in `packageNameFromAllowBuildKey` (`@pnpm/building.policy`) and
its Rust mirror in the workspace-manifest-writer crate.

Closes #13892.

---------

Co-authored-by: Zoltan Kochan <[email protected]>
@pull pull Bot locked and limited conversation to collaborators Aug 21, 2026
@pull pull Bot added the ⤵️ pull label Aug 21, 2026
@pull
pull Bot merged commit bb4eecf into dwongdev:main Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants