Skip to content

Add Node.js 26 to supported versions and update examples#5561

Open
dephekt wants to merge 1 commit into
platformsh:mainfrom
dephekt:chore/nodejs-26-bump
Open

Add Node.js 26 to supported versions and update examples#5561
dephekt wants to merge 1 commit into
platformsh:mainfrom
dephekt:chore/nodejs-26-bump

Conversation

@dephekt
Copy link
Copy Markdown
Member

@dephekt dephekt commented May 8, 2026

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.

Updates are for:

  • platform (sites/platform templates)
  • upsun (sites/upsun templates)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants