Skip to content

pnpmFetchDeps: print an informational message during build that new fetcherVersion exists #529335

Open

Description

@qweered

Treewides are painful for that purpose cause they require rebuild and hash change, so we should at least advertise existance of new version (e.g. during build) for maintainers

cc @gepbird @Scrumplex

Activity

  1. added
    0.kind: enhancement
    6.topic: nodejs
    on Jun 8, 2026
  2. gepbird commented on Jun 10, 2026

    @gepbird
    Contributor

    Note that migrating fetcherVersion = 3 to fetcherVersion = 4 only affects pnpm_11 packages, so other than being on the latest version it has no benefits for pnpm_10 and older (it will cause a rebuilt and a hash change, since the FOD stores the fetcherVersion).

    I'm fine with advertising the latest fetcherVersion during build even regardless if it has a functional difference for the current pnpm version (we could put it somewhere that doesn't print a lot of messages for more visibility). For now I think an eval warning would be overkill for everything, but it could be added for pnpm_11 packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancement6.topic: nodejs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions