Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yarnpkg/berry
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @yarnpkg/cli/4.10.2
Choose a base ref
...
head repository: yarnpkg/berry
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @yarnpkg/cli/4.10.3
Choose a head ref
  • 7 commits
  • 17 files changed
  • 3 contributors

Commits on Sep 18, 2025

  1. Configuration menu
    Copy the full SHA
    ab55d61 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2025

  1. 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.
    cometkim authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    7b0f301 View commit details
    Browse the repository at this point in the history
  2. 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.
    arcanis authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    a2973cc View commit details
    Browse the repository at this point in the history
  3. 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.
    arcanis authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    f6aafa0 View commit details
    Browse the repository at this point in the history
  4. 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.
    arcanis authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    a282913 View commit details
    Browse the repository at this point in the history
  5. 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.
    arcanis authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    a25b3bf View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2025

  1. Releasing 4 new packages

    | 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` |
    yarnbot committed Sep 23, 2025
    Configuration menu
    Copy the full SHA
    38b9c5f View commit details
    Browse the repository at this point in the history
Loading