Add Node.js 26 to supported versions and update examples#5561
Open
dephekt wants to merge 1 commit into
Open
Conversation
Adds 26 to the supported nodejs versions in shared/data/registry.json so
the {{% latest "nodejs" %}} shortcode resolves to it. Pages that already
use the shortcode pick up the new version automatically.
For pages that hardcode older versions in generic examples (where the
specific version is incidental), switch them to the latest shortcode so
they stay current. Bumps the merge-override demo in yaml-structure.md
to use 22 and 26 instead of 16 and 20, keeping the divergence the
example needs to demonstrate override behaviour.
Intentionally left alone:
- The "Yarn 3.x and Node.js 14" / "Yarn 3.x and Node.js 16+" codetabs in
languages/nodejs/_index.md, which document specific Yarn-on-old-Node
compatibility scenarios.
- The "Choose Node.js version 20 or above" comment in the Bun examples,
which documents Bun's actual minimum required Node version.
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.
Adds 26 to the supported nodejs versions in shared/data/registry.json so the {{% latest "nodejs" %}} shortcode resolves to it. Pages that already use the shortcode pick up the new version automatically.
For pages that hardcode older versions in generic examples (where the specific version is incidental), switch them to the latest shortcode so they stay current. Bumps the merge-override demo in yaml-structure.md to use 22 and 26 instead of 16 and 20, keeping the divergence the example needs to demonstrate override behaviour.
Intentionally left alone:
Updates are for:
sites/platformtemplates)sites/upsuntemplates)