@sveltejs/kit@3.3.0
Minor Changes
- feat: support the Vite DevTools dock in dev (#17787)
Folge Svelte, um die Release Notes in deinen Feed zu holen.
fix: check the return value of async load functions against App.PageData (#17793)
fix: prerender crawler finds links located after a quoted attribute value ending with \ (#17688)
fix: omit nopush from preload Link headers so Chromium can use CDN Early Hints (#17786)
perf: hash a page's encoded bytes for its ETag and send the same bytes as the body, and skip the hash when setHeaders already sets an etag or the response is no-store (#17674)
chore: deprecate adapter.emulate (#17769)
fix: generate valid types for route params whose names start with a digit, such as [2nd] (#17661)
perf: skip the ETag hash for a page that has a CSP nonce in it, since no two responses are the same (#17743)
fix: correctly scan routes on Windows when optimising dependencies (#17757)
fix: apply the environment config from @cloudflare/vite-plugin during dev and build so that dependencies resolve the same way as in workerd and CommonJS require calls of Node builtins work (#17503)
fix: populate process.env with Wrangler vars and local .dev.vars secrets during vite dev and vite build (#17559)
Updated dependencies:
fix: reject URL inputs in resolve (#17627)
fix: respond with JSON instead of rendering the error page for a __data.json request to a missing route (#17630)
fix: resolve relative paths against the page URL in data requests when paths.relative is true (#17630)
fix: reject binary remote forms referencing files with an empty file-offset table as 400 Bad Request (#17579)
fix: correctly populate route and params for afterNavigate during hydration (#17577)
fix: include assets imported through dynamic imports, remote functions and param matchers in builder.findServerAssets so that read can find them (#17505)
fix: set navigation.from to null in afterNavigate on start when SSR is disabled (#17587)
fix: include remote function name and declaration file in schema validation failure logs (#17495) …
width or height at runtime for images imported in the script, instead of outputting NaN (#17499)fix: ignore Range headers on HEAD requests for static assets (#17602)
fix: respond with a 500 instead of crashing the server when handling a request fails unexpectedly (#17696)
fix: support the ORIGIN environment variable when paths.origin is not set (#17632)
Updated dependencies:
fix: serve client and prerendered files whichever way the request path is percent-encoded, and allow * and a leading : in their filenames (#17123)
perf: let Bun serve immutable files without calling into JavaScript (#17123)
fix: support the ORIGIN environment variable when paths.origin is not set (#17632)
Updated dependencies:
fix: return a 400 response instead of throwing when reroute rewrites a malformed pathname (#17620)
fix: escape cache-control headers in prerendered HTML (#17620)
fix: prevent path traversal when previewing prerendered pages and data on Windows (#17620)
fix: prevent server-side route resolution from loading code from another origin for pathnames starting with // (#17620)
fix: prevent server-side self-fetch fallbacks from following redirects (#17620)
fix: accept every Node.js version from 26 (nodejs27.x, nodejs28.x, ...), not only even ones (#17585)
fix: escape prerendered paths used in Vercel route patterns (#17620)
fix: support Node.js 26 (nodejs26.x) and future even Node.js versions (#17580)
Updated dependencies [0a2e58c, 0a2e58c, 0a2e58c, 0a2e58c, 0a2e58c]:
fix: return a 400 response instead of throwing when reroute rewrites a malformed pathname (1d21a3b)
fix: restore function snapshots on reload when SSR is disabled (#17477)
fix: prevent separate non-exported query.batch functions from sharing a batch (3529813)
fix: reuse the original fetch across dev server reloads (#17548)
fix: avoid adding a file watcher while loading src/env (#17502)
fix: parse remote form submissions in linear time (d593e7e)
fix: prevent server-side route resolution from loading code from another origin for pathnames starting with // (dd63fd1)
fix: preserve service worker sourcemaps when injecting env (#17566)
fix: prevent server-only modules from being imported into browser code via src/params.js (ae07803) …