@sveltejs/adapter-node
6.0.0 · 1 Oct 2026MIT1.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @sveltejs/adapter-node from 5.3.2 to 6.0.0
11 releases in betweenevery note read
- 9
- changes to make
- 0
- advisories fixed
- 5
- new
- 19
- fixes
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
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
19 internal lines (docs, tests, tooling) left out.