@sveltejs/adapter-node
6.0.0 · 1 Oct 2026MIT1.2M / weekRepositoryHomepagenpmAtom feed
In short
9 breaking3 new9 fixed9 internal
- breaking
Populate env vars before
instrumentation.server.jsis evaluated and update the adapter instrumentation API - breaking
Migrate from rollup to rolldown
- breaking
Require SvelteKit 3
- breaking
Add
kit.paths.originconfig option, removekit.prerender.originand theadapter-nodeORIGINenvironment variable - breaking
Require
vite@^8.0.12, the first Vite 8 release bundling stablerolldown1.0.0 - breaking
Replace the
builder.generateManifestwithbuilder.generateServerInstanceandbuilder.manifest - breaking
Record the list of static assets at build time, files added to the output afterwards are not served
- breaking
Validate static assets with content-hash
ETags and stop sendingLast-Modified
Release note
Major Changes
- breaking
Populate env vars before
instrumentation.server.jsis evaluated and update the adapter instrumentation API - breaking
Migrate from rollup to rolldown
- breaking
Require SvelteKit 3
- breaking
Add
kit.paths.originconfig option, removekit.prerender.originand theadapter-nodeORIGINenvironment variable - breaking
Require
vite@^8.0.12, the first Vite 8 release bundling stablerolldown1.0.0 - breaking
Replace the
builder.generateManifestwithbuilder.generateServerInstanceandbuilder.manifest - breaking
Record the list of static assets at build time, files added to the output afterwards are not served
- breaking
Validate static assets with content-hash
ETags and stop sendingLast-Modified - breaking
Serve static assets only to
GETandHEADrequests
Minor Changes
Serve static assets from tables recorded at adapt time, instead of using sirv
Better error logging
Patch Changes
Prevent scheme-like path segments from causing off-site trailing-slash redirects
Serve static files with the Content-Type recorded in the manifest
Externalize
@opentelemetry/apito prevent bundler chunk colocation betweeninstrumentation.server.jsand application codeAbort
request.signalwhen the response closes prematurely, via a newresponseoption forgetRequestAllow prerelease versions of SvelteKit 3 to satisfy the peer dependency range
Always bundle dev dependencies
Correctly bundle entrypoints on Windows
Bundle Svelte libraries listed in
dependenciesinstead of externalising themPreserve stripped path prefixes by making trailing-slash redirects relative
Don't send
Vary: Accept-Encodingfor assets that were never precompressed