-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: yarnpkg/berry
base: @yarnpkg/cli/4.10.2
head repository: yarnpkg/berry
compare: @yarnpkg/cli/4.10.3
- 7 commits
- 17 files changed
- 3 contributors
Commits on Sep 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ab55d61 - Browse repository at this point
Copy the full SHA ab55d61View commit details
Commits on Sep 22, 2025
-
Fix OIDC publishing for scoped packages (#6911)
## What's the problem this PR addresses? At #6898, I made a mistake, making it not work for scoped packages.
Configuration menu - View commit details
-
Copy full SHA for 7b0f301 - Browse repository at this point
Copy the full SHA 7b0f301View commit details -
Fixes npmMinimalAgeGate with tags and prereleases (#6916)
## What's the problem this PR addresses? The `npmMinimalAgeGate` feature was favouring prerelease installs when running `yarn add`; it should instead remain on stable tracks until the final release passes the gate. Fixes #6914 ## How did you fix it? Added a check to only allow prereleases to be used if the initial tag version is also a prerelease. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
Configuration menu - View commit details
-
Copy full SHA for a2973cc - Browse repository at this point
Copy the full SHA a2973ccView commit details -
Removes the protocol when it matches the default one (#6917)
## What's the problem this PR addresses? Yarn normalizes all ranges to prefix them by a unique registry string (ie `npm:^2.0.0`) but other package managers don't understand those explicit ranges (they expect `^2.0.0`). Fixes #6913 ## How did you fix it? Removes the protocol from the output before storing it in the package.json when operating on `catalog:` replacements. This follows the same logic as in `yarn add`. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
Configuration menu - View commit details
-
Copy full SHA for f6aafa0 - Browse repository at this point
Copy the full SHA f6aafa0View commit details -
Disables Prolog tests from new releases (#6918)
## What's the problem this PR addresses? The prolog constraints are deprecated and will be removed from the next majors. They should be migrated to the JS interface. ## How did you fix it? Prevent the tests from running on versions that don't support prolog constraints. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
Configuration menu - View commit details
-
Copy full SHA for a282913 - Browse repository at this point
Copy the full SHA a282913View commit details -
Enables postinstall scripts for pnpm (#6902)
## What's the problem this PR addresses? It came to me that since pnpm no longer runs postinstall scripts by default, the benchmark was a little skewed since Yarn (and npm) do. The benchmarks are intended to compare apples to apples, so either postinstalls should be disabled in Yarn / npm as well, or they should be enabled in pnpm. I think it makes more sense to enable them, as it can uncover bugs that would otherwise be hidden away. ## How did you fix it? Enabled the postinstall scripts in the package manager benchmarks. To be fair it probably doesn't change much, if anything - the full cold Gatsby benchmark shows around 2 seconds of removed install time around Feb 3rd 2025 which I think is caused by the lack of postinstall, although I'm not certain, but that's about it. Pnpm remains really fast, kudos! <img width="145" height="93" alt="Screenshot 2025-09-18 at 10 43 02" src="https://github.com/user-attachments/assets/3f9a362a-5c71-41c1-99b2-b2bc930ca796" /> Curiously the same change occurs in the "Recurrent calls" benchmark which probably shouldn't need to run postinstall scripts. Does pnpm have a bug causing it to rebuild postinstall scripts when they aren't needed? ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
Configuration menu - View commit details
-
Copy full SHA for a25b3bf - Browse repository at this point
Copy the full SHA a25b3bfView commit details
Commits on Sep 23, 2025
-
| Package name | Version | | --- | --- | | `@yarnpkg/cli` | `4.10.3` | | `@yarnpkg/plugin-catalog` | `1.0.1` | | `@yarnpkg/plugin-npm` | `3.3.2` | | `@yarnpkg/plugin-npm-cli` | `4.3.1` |
Configuration menu - View commit details
-
Copy full SHA for 38b9c5f - Browse repository at this point
Copy the full SHA 38b9c5fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we canβt render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff @yarnpkg/cli/4.10.2...@yarnpkg/cli/4.10.3