@sveltejs/kit@3.5.0
Minor Changes
- feat: support TypeScript 7.1+ and
tsrsfor generating types and validatingtsconfig.json(#17728)
Folge Kit, um die Release Notes in deinen Feed zu holen.
tsrs for generating types and validating tsconfig.json (#17728)fix: avoid repeatedly processing unchanged remote form issues (1c27a1e)
fix: leave unchanged route types in place during sync (#17735)
fix: allow literal true in remote form schemas (#17835)
fix: limit arrays submitted to remote forms to 1,000 missing indexes, and allow undefined in RemoteFormInput arrays (062fff6)
fix: re-run nested queries on each iteration of a query.live function instead of returning the value from the first iteration (#17758)
fix: apply origin checks to more browser-generated request content types (7019207)
fix: always add Vary: Accept to responses from routes with both a page and an endpoint (3a5d967)
fix: copy responses before adding internal headers (023d0e5)
fix: key per-request query.live iterators by function (5d611c6) …
fix: respond with a 500 instead of crashing the server when serving a static or prerendered file fails unexpectedly (1648ec3)
fix: only use PORT_HEADER when the forwarded host has no port (#17859)
fix: percent-encode the location header of trailing-slash redirects for prerendered pages (1648ec3)
Updated dependencies:
fix: use a relative Location when redirecting to a prerendered page's trailing-slash form, like adapter-node (#17861)
chore: bump bun-types to ^1.4.0 (#17842)
fix: only use PORT_HEADER when the forwarded host has no port (#17859)
Updated dependencies:
.wasm imports during dev and build (#17824)feat: allow adapters to disable SvelteKit's Node preview server with vite.customPreview: true when providing their own preview implementation (#17750)
feat: add sveltekit.remote.call.file attribute to remote function tracing spans (#17760)
fix: strip trailing route groups when resolving routes with search parameters or fragments (#17808)
fix: correctly display non-ASCII characters for plain text error messages during development (#17468)
fix: explain missing TypeScript compiler API instead of crashing with TypeScript 7 (#17539)
fix: reject remote function requests that use the wrong HTTP method (#17740)
fix: respect NO_COLOR and explicit FORCE_COLOR settings in forked build processes (#17618)
@sveltejs/adapter-server, the building blocks shared by adapters that generate a standalone server (#17308)@sveltejs/adapter-server (#17308)breaking: use the adapter worker option to control if a Worker is built (#17520)
breaking: set the Wrangler config main setting automatically (#17520)
breaking: reject paths.assets, which can't be served when previewing in workerd (#17751)
breaking: remove Cloudflare Pages support (#17479)
breaking: remove the adapter fallback option in favour of Wrangler's assets.not_found_handling setting (#17520)
Accept-Encoding and serve dotfiles below .well-known, matching @sveltejs/adapter-node (#17308)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)