npm / @sveltejs/adapter-node
@sveltejs/adapter-node
What changed in @sveltejs/adapter-node 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.
9 breaking1 security2 new APIs and options1 behavior and defaults9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@sveltejs/adapter-node 616 changes
Breaking changes 9
This builder API is replaced by builder.generateServerInstance and builder.manifest.
A new builder API replaces builder.generateManifest.
A new builder API replaces builder.generateManifest.
The config option is removed.
Static assets are recorded at build time and served from tables recorded at adapt time; files added to the output afterwards are not served.
Static assets are validated with content-hash ETags, and Last-Modified is no longer sent.
Static assets are served only for GET and HEAD requests.
SvelteKit 3 is now required.
Vite ^8.0.12 is now required.
New APIs and options 2
A new response option aborts request.signal when the response closes prematurely.
A new config option provides the origin setting.
Behavior and default changes 1
Environment variables are populated before instrumentation.server.js is evaluated.
Fixes and other changes 4
The adapter instrumentation API is updated.
Static files are served with the Content-Type recorded in the manifest.
Scheme-like path segments no longer cause off-site trailing-slash redirects.
Redirects are relative to preserve stripped path prefixes.
@sveltejs/adapter-node 56 changes
Security 1
SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering
Fixes and other changes 5
Deletes an existing socket file on startup.
Adds the X-Accel-Buffering: no header to text/event-stream responses to prevent reverse proxies such as nginx from buffering streamed responses.
Ensures ENV_PREFIX is defined.
Correctly resolves the root directory on the server.
Avoids a circular dependency between server initialisation and hook retrieval that caused the app to crash on start.