Change8

Migrating to SvelteKit @sveltejs/adapter-node@6.0.0-next.2

Version @sveltejs/adapter-node@6.0.0-next.2 introduces 2 breaking changes. This guide details how to update your code.

Released: 7/6/2026

2
Breaking Changes
2
Migration Steps
3
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

kit.paths.originkit.prerender.originadapter-node

Breaking Changes

Issue #1

The configuration option `kit.prerender.origin` has been removed. Users should migrate to using the new `kit.paths.origin` configuration option.

Issue #2

The `ORIGIN` environment variable used by the `adapter-node` has been removed. Users should migrate to using the new `kit.paths.origin` configuration option.

Migration Steps

  1. 1
    Replace usage of the removed configuration option `kit.prerender.origin` with the new `kit.paths.origin` in your SvelteKit configuration.
  2. 2
    If using `adapter-node`, remove reliance on the `ORIGIN` environment variable and configure the origin via `kit.paths.origin` instead.

Release Summary

This release introduces a major configuration change by replacing `kit.prerender.origin` with the new `kit.paths.origin` option and removing the corresponding environment variable for `adapter-node`.

Need More Details?

View the full release notes and all changes for SvelteKit @sveltejs/adapter-node@6.0.0-next.2.

View Full Changelog