Skip to content

feat!: drop support for Node.js 20 and 22 - #122

Draft
mcollina wants to merge 1 commit into
mainfrom
feat/fastify-v6
Draft

mcollina wants to merge 1 commit into
mainfrom
feat/fastify-v6

Conversation

@mcollina

@mcollina mcollina commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Starts the next major of @fastify/proxy-addr (5.1.3 → 6.0.0) for the fastify v6 rollout (fastify/fastify#6834).

  • Breaking: CI moves to fastify/workflows v7.2.0, which tests on Node.js 24 and 26 only, so Node.js 20 and 22 are no longer supported. fastify v6 requires Node.js 24.
  • .npmrc exempts the org's packages from min-release-age until the v6 stable releases are out, so fresh v6 prereleases install right away. Third-party packages keep the 7-day cooldown.

There are no runtime code changes. npm test passes locally on Node.js 24.

Draft until @fastify/forwarded publishes 4.0.0 (it goes straight to stable, fastify/forwarded#116). Then this PR moves @fastify/forwarded to ^4.0.0 and is marked ready.

Release

  • v5.x was cut from main for 5.x maintenance releases. If main moves before this merges, fast-forward it first: git push origin origin/main:v5.x.
  • After merging, run the release workflow with premajor (preid rc) to publish 6.0.0-rc.0 on the next dist-tag.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Sfj4nEK6BT2fQMtaQ22BnF

Test on Node.js 24 and 26 only, through fastify/workflows v7.2.0, as
part of the fastify v6 rollout. Exempt the org's packages from the npm
release-age cooldown until the v6 stable releases are out.

BREAKING CHANGE: Node.js 20 and 22 are no longer supported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sfj4nEK6BT2fQMtaQ22BnF
@Tony133 Tony133 added the semver-major Issue or PR that should land as semver major label Dec 3, 2026

This branch has not been deployed

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

Labels

semver-major Issue or PR that should land as semver major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants