← English news
Priority 4/5

SvelteKit 3 Release Candidate Drops Support for Node.js Versions Below 18.13.0

SvelteKit 3 has entered its release candidate phase, mandating Node.js 18.13.0 or higher and upgrading its build dependency to Vite 6. Developers can use the updated sv migrate tool to automatically refactor code and identify remaining manual migration steps.

SvelteKit 3 Release Candidate Drops Support for Node.js Versions Below 18.13.0

The Svelte development team has officially announced the release candidate for SvelteKit 3, focusing on codebase cleanup and long-term maintainability. This major version update is expected to transition into the stable release shortly, provided no critical bugs are discovered. To facilitate the transition from SvelteKit 2, developers can leverage the latest version of the sv migrate CLI tool. A key operational change in this release is the elevated runtime requirement, which now mandates Node.js 18.13.0 or higher. SvelteKit 3 also upgrades its underlying build tool chain to Vite 6, which introduces several breaking changes that may affect custom build configurations. Furthermore, the official documentation for the upcoming version has been relocated to next.svelte.dev to reflect the newly restructured platform architecture. During the migration process, running the sv migrate tool will automatically resolve many breaking changes while inserting comments or TODO flags for areas requiring manual developer intervention. Additionally, deprecated APIs and legacy syntax will trigger diagnostic warnings or runtime errors to guide developers through the remaining upgrade steps. Engineering teams are encouraged to test their existing projects against the release candidate to ensure compatibility before the final stable release.

Primary source

Open Svelte Blog ↗

This article summarizes the source. Check the original for full details and conditions.

Comparison

AspectBefore / AlternativeAfter / This
Node.js RequirementOlder Node.js versions supportedNode.js 18.13.0 or higher strictly required
Bundler DependencyVite 5Vite 6
Migration ToolingManual updates or legacy migration scriptsUpdated sv migrate CLI with automated TODO flags
Documentation URLsvelte.devnext.svelte.dev (for the RC phase)

Action Checklist

  1. Upgrade your local and production Node.js runtime environment to 18.13.0 or higher Verify CI/CD pipeline environments are updated as well
  2. Run the updated sv migrate CLI tool in the root directory of your project Ensure your working directory is clean before running the migration tool
  3. Search for and resolve all TODO comments generated by the sv migrate tool in your codebase These indicate areas where the migration tool could not automatically rewrite the code
  4. Test your build configuration against Vite 6 breaking changes Check custom Vite plugins and configurations for compatibility
  5. Resolve diagnostic warnings and runtime errors that appear during local execution SvelteKit 3 uses active runtime checks to flag deprecated APIs and legacy syntax