Skip to content

fix: use Node 24 LTS in presets and templates - #547

Merged
dbpolito merged 1 commit into
mainfrom
fix/node24-defaults
Nov 13, 2026
Merged

dbpolito merged 1 commit into
mainfrom
fix/node24-defaults

Conversation

@dbpolito

Copy link
Copy Markdown
Member

Closes #545.

  • Replace Node 20 with Node 24 in preset runtime images, creation commands, npm/Yarn helpers, shared templates, and documentation. Choose 24 as the conservative supported LTS default rather than the newer 26; the multi-architecture image is already published.
  • Cover generated runtime images/helpers across nine presets and keep Bun runtime choices unchanged.
  • Document migration: upgrading the CLI does not rewrite existing project files. Update both Compose images and helper commands, reinstall dependencies, and test native modules before migrating. Reapplying presets can update generated files.

This changes the runtime default for newly generated configuration. It does not remove existing Node 20 tags or alter docker-node publication policy; an explicit Node 20 pin remains possible but is EOL.

@dbpolito

Copy link
Copy Markdown
Member Author

Validation: full Go race tests and repository lint passed. Generated-config regression tests cover Node.js, Express, Next, Nuxt, Adonis, Nest, Nest+Next, Laravel, and Octane, checking Node 24 images/helpers and preserving Bun runtimes. Confirmed the published Node 24 image supports Linux amd64/arm64 and runs Node 24.22.2. Live CLI-generated Express projects passed dependency installation and HTTP smoke tests with npm and Yarn; CLI-generated Laravel configurations passed Vite 8.3.8 production builds with both managers. Yarn 1.22.22 emits an upstream url.parse() deprecation warning but installs/builds successfully. Framework starter-kit scaffolding was not exhaustively rerun; no starter command changes beyond the image pin are included.

@dbpolito
dbpolito merged commit 475c269 into main Nov 13, 2026
9 checks passed
@dbpolito
dbpolito deleted the fix/node24-defaults branch November 13, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Node.js from 20 to 24/26 across presets and templates

1 participant