@sveltejs/adapter-node
6.0.0 · 1 Oct 2026MIT1.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/adapter-node from 2.1.0 to 6.0.0
44 releases in betweennotes for 24
Counted from 24 of 44 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking6.0.0
- breaking5.0.0
Security
Fixes 1 advisory affecting 2.1.0
- Sending a GET or HEAD request with a body crashes SvelteKithigh · GHSA-g5m6-hxpp-fc49
Release by release
- new
Serve static assets from tables recorded at adapt time, instead of using sirv
- new
Better error logging
- new
Abort
request.signalwhen the response closes prematurely, via a newresponseoption forgetRequest - fixed
Prevent scheme-like path segments from causing off-site trailing-slash redirects
- new
- fixed
Add
X-Accel-Buffering: noheader totext/event-streamresponses to prevent reverse proxies such as nginx from buffering streamed responses - fixed
Delete existing socket file on startup
- fixed
- fixed
Avoid circular dependency between server initialisation and hook retrieval that causes the app to crash on start
- fixed
Correctly resolve root directory on the server
- fixed
Ensure
ENV_PREFIXis defined
- fixed
- fixed
Bundle entrypoints alongside app code
- fixed
Log the actual adapter-node listening address
- fixed
5.5.4nothing new or fixed in the note
- fixed
Validate
ORIGINenv var at startup
- fixed
- fixed
Disable gzip and brotli when precompress=false
- fixed
- fixed
Add validations for protocol, host, and port header values
- fixed
31 internal lines (docs, tests, tooling) left out.