Zum Inhalt springen

Svelte Release Notes

Einträge
181
Quellen
2
Zuletzt aktualisiert

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

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

Kit von Svelte

@sveltejs/adapter-cloudflare@8.0.3

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.2.0

Minor Changes

  • feat: Add clickable links to remote function invocation in dev server logs (#17547)

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/adapter-node@6.0.2

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/adapter-bun@1.0.1

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@2.70.4

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/adapter-vercel@6.3.5

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden

Kit von Svelte

@sveltejs/kit@3.1.1

Patch Changes

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

Originalquelle(öffnet in neuem Tab)Problem melden