unstale

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

@unstale/cli 0.2.9 on npm

@sveltejs/adapter-node 616 changes

Breaking changes 9

  • This builder API is replaced by builder.generateServerInstance and builder.manifest.

    6.0.0release notes

  • A new builder API replaces builder.generateManifest.

    6.0.0release notes

  • A new builder API replaces builder.generateManifest.

    6.0.0release notes

  • The config option is removed.

    6.0.0release notes

  • Static assets are recorded at build time and served from tables recorded at adapt time; files added to the output afterwards are not served.

    6.0.0release notes

  • Static assets are validated with content-hash ETags, and Last-Modified is no longer sent.

    6.0.0release notes

  • Static assets are served only for GET and HEAD requests.

    6.0.0release notes

  • SvelteKit 3 is now required.

    6.0.0release notes

  • Vite ^8.0.12 is now required.

    6.0.0release notes

New APIs and options 2

  • A new response option aborts request.signal when the response closes prematurely.

    6.0.0release notes

  • A new config option provides the origin setting.

    6.0.0release notes

Behavior and default changes 1

  • Environment variables are populated before instrumentation.server.js is evaluated.

    6.0.0release notes

Fixes and other changes 4

  • The adapter instrumentation API is updated.

    6.0.0release notes

  • Static files are served with the Content-Type recorded in the manifest.

    6.0.0release notes

  • Scheme-like path segments no longer cause off-site trailing-slash redirects.

    6.0.0release notes

  • Redirects are relative to preserve stripped path prefixes.

    6.0.0release notes

@sveltejs/adapter-node 56 changes

Security 1

  • SvelteKit is vulnerable to denial of service and possible SSRF when using prerendering

    5.5.1security advisory

Fixes and other changes 5

  • Deletes an existing socket file on startup.

    5.5.7release notes

  • Adds the X-Accel-Buffering: no header to text/event-stream responses to prevent reverse proxies such as nginx from buffering streamed responses.

    5.5.7release notes

  • Ensures ENV_PREFIX is defined.

    5.5.6release notes

  • Correctly resolves the root directory on the server.

    5.5.6release notes

  • Avoids a circular dependency between server initialisation and hook retrieval that caused the app to crash on start.

    5.5.6release notes