3.0.0-next.27
Pre-release- Error when a client-requested single-flight mutation is not respected by the server, and allow the server to explicitly ignore refreshes
- Allow adapters to receive the Svelte config as a function argument when adding Vite plugins
- Allow adapters to override getRequest and setResponse during vite dev and vite preview
- Replace builder.generateManifest with builder.generateServerInstance and builder.manifest
- Populate env vars before instrumentation.server.js is evaluated and update the adapter instrumentation API
- Respect paths.relative during development for client files
- Clarify circular imports from src/env
- Record a history traversal before resolving its route
- Support coordinate objects from image inputs in remote forms
- Walk and copy directories without a stat per file
- Widen remote form fields for union schemas and string enums
- Respond to HEAD requests without a body
- Settle a query's pending request in place when its value arrives through set()
- Prevent await_reactivity_loss warning and state_unsafe_mutation error when the new version detector runs after an await
- Remove Server constructor and SSRManifest from public types
From SvelteKit
Major Changes
-
major: error when a client-requested single-flight mutation isn't respected by the server, allow the server to explicitly ignore refreshes (#16892)
-
breaking: remove
Serverconstructor andSSRManifestfrom public types (#16876) -
breaking: replace the
builder.generateManifestwithbuilder.generateServerInstanceandbuilder.manifest(#16875)
Minor Changes
-
feat: allow adapters to receive the Svelte config as a function argument when adding Vite plugins (#16986)
-
feat: allow adapters to override
getRequestandsetResponseduringvite devandvite preview(#16753)
Patch Changes
-
fix: respect
paths.relativeduring development for client files (#17053) -
fix: clarify circular imports from
src/env(#17014) -
breaking: populate env vars before
instrumentation.server.jsis evaluated and update the adapter instrumentation API (#16303) -
fix: record a history traversal before resolving its route (#16959)
-
fix: support coordinate objects from image inputs in remote forms (#16944)
-
fix: walk and copy directories without a stat per file (#16995)
-
fix: widen remote form fields for union schemas and string enums (#16937)
-
fix: respond to
HEADrequests without a body (#17036) -
chore: replace deprecated Vite dev server APIs (#16961)
-
fix: settle a query's pending request in place when its value arrives through
set()(#16958) -
fix: prevent
await_reactivity_losswarning andstate_unsafe_mutationerror when the new version detector runs after anawait(#16915) -
chore: parse page options and remote modules with Vite's
parseSyncinstead ofacorn(#16947)