docs: remove Yarn upgrade/downgrade best practices#2458
Open
MikeMcC399 wants to merge 1 commit intonodejs:mainfrom
Open
docs: remove Yarn upgrade/downgrade best practices#2458MikeMcC399 wants to merge 1 commit intonodejs:mainfrom
MikeMcC399 wants to merge 1 commit intonodejs:mainfrom
Conversation
708a323 to
795c312
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Remove the outdated section Upgrading/downgrading Yarn from the Docker and Node.js Best Practices document.
Motivation and Context
The section describes Upgrading/downgrading Yarn for Node.js 6 and Yarn 1.16.0, referring to an end-of-life Node.js version and the unsupported Yarn v1 Classic module.
Yarn v1 is no longer being bundled for Docker images based on Node.js >=26.
For new Docker images based on Node.js <=25, the Yarn v1 version is set to yarn@1.22.22 (released March 2024) and is not expected to change. The version itself is frozen and no longer supported.
The instructions can no longer be maintained, since Yarn v1 Classic is now unsupported. The instructions are outdated and only partially work.
In the meantime yarn@1.22.22 is the most viable Yarn v1 Classic version, so there would be no need to downgrade. It's also the highest version for Yarn v1, so there is nothing to upgrade to, apart from migrating to a higher major version, such as Yarn Modern (v4), which is out-of-scope for this description in any case.
Testing Details
N/A - documentation change only
Types of changes
Checklist