Skip to content

fetchPnpmDeps: deprecate fetcherVersion = 2, schedule removal for 26.11 - #518360

Merged
gepbird merged 1 commit into
NixOS:masterfrom
qweered:deprecate-fetcherVersion-2
May 13, 2026
Merged

gepbird merged 1 commit into
NixOS:masterfrom
qweered:deprecate-fetcherVersion-2

Conversation

@qweered

@qweered qweered commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #514075 and #515082

Tracking #494184

Things done

@qweered
qweered requested review from Scrumplex and gepbird May 9, 2026 11:49
@qweered
qweered force-pushed the deprecate-fetcherVersion-2 branch from 1f7e217 to b23def2 Compare May 9, 2026 11:50
Extend the existing v1 deprecation warning to also fire for
`fetcherVersion = 2`, since callers should migrate directly to
`fetcherVersion = 3`. Both pre-v3 versions now share a single
`lib.warnIf` keyed on `fetcherVersion < 3` and produce a message
parameterised by the offending version.

Consolidate the manual's version-history entries: the per-item
**Deprecated** and **Recommended** labels are replaced by a single
sentence above the list noting that v3 is recommended and v1/v2 are
scheduled for removal.

Add a release note mirroring the existing v1 entry.
@qweered
qweered force-pushed the deprecate-fetcherVersion-2 branch from b23def2 to f472a63 Compare May 11, 2026 15:02
@qweered

qweered commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

Can we merge this before branch off? No consumers left inside nixpkgs

@nixpkgs-ci
nixpkgs-ci Bot requested a review from winterqt May 11, 2026 15:08
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 8.has: changelog This PR adds or changes release notes 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 8.has: documentation This PR adds or changes documentation labels May 11, 2026
@qweered

qweered commented May 13, 2026

Copy link
Copy Markdown
Contributor Author

cc @gepbird @Scrumplex

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label May 13, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels May 13, 2026
@gepbird
gepbird added this pull request to the merge queue May 13, 2026
@qweered

qweered commented May 13, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

Merged via the queue into NixOS:master with commit bc16495 May 13, 2026
38 of 40 checks passed
@qweered
qweered deleted the deprecate-fetcherVersion-2 branch June 25, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants