Zum Inhalt springen

Kit Updates & Release Notes

Einträge
72
Quellen
1
Zuletzt aktualisiert

Folge Kit, um die Release Notes in deinen Feed zu holen.

Kit von Svelte

@sveltejs/kit@3.5.0

Minor Changes

  • feat: support TypeScript 7.1+ and tsrs for generating types and validating tsconfig.json (#17728)

Patch Changes

  • fix: include a statically imported chunk and its CSS in a page's preloads when another import reaches it dynamically first (#17347)

  • fix: stop the false window.fetch warning in Firefox when awaiting a remote function in load (#17867)

  • chore: bump devalue to 6.0.4 (#17869)

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.4.1

Patch Changes

  • 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) …

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/adapter-node@6.0.6

Patch Changes

  • 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:

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.4.0

Minor Changes

  • 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)

Patch Changes

  • 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)

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/adapter-cloudflare@9.0.0

Major Changes

  • 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)

Minor Changes

  • feat: support unbundled deployments (#17520)

Patch Changes

  • fix: use the Wrangler environment resolved from CLOUDFLARE_ENV in .env files for platform bindings during development (#17520)
  • Updated dependencies:

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.3.1

Patch Changes

  • fix: read environment variables for route analysis and prerendering after all adapter Vite config hooks have run (#17559)

  • fix: respect a user-set build.cssMinify (#17797)

  • fix: don't serialize the results of remote functions awaited in server load functions into the page (#17759)

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.2.1

Patch Changes

  • 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)

Originalquelle(öffnet in neuem Tab)Problem melden