Skip to content

Releases: sveltejs/kit

@sveltejs/kit@2.57.1

09 Apr 21:45
75147d4

Choose a tag to compare

Patch Changes

  • fix: better validation for redirect inputs (10d7b44)

  • fix: enforce BODY_SIZE_LIMIT on chunked requests (3202ed6)

  • fix: use default values as fallbacks (#15680)

  • fix: relax form typings for union types (#15687)

@sveltejs/kit@2.57.0

08 Apr 01:00
3ccb33b

Choose a tag to compare

Minor Changes

  • feat: return boolean from submit to indicate submission validity for enhanced form remote functions (#15530)

Patch Changes

  • fix: use array type for select fields that accept multiple values (#15591)

  • fix: silently 404 Chrome DevTools workspaces request in dev and preview (#15656)

  • fix: config.kit.csp.directives['trusted-types'] requires 'svelte-trusted-html' (and 'sveltekit-trusted-url' when a service worker is automatically registered) if it is configured (#15323)

  • fix: avoid inlineDynamicImports ignored with codeSplitting warning when using Vite 8 (#15647)

  • fix: reimplement treeshaking non-dynamic prerendered remote functions (#15447)

@sveltejs/kit@2.56.1

03 Apr 21:19
a22d80a

Choose a tag to compare

Patch Changes

  • chore: update JSDoc (#15640)

@sveltejs/kit@2.56.0

03 Apr 20:20
0b6bc3b

Choose a tag to compare

Minor Changes

  • breaking: rework client-driven refreshes (#15562)

  • breaking: stabilize remote function caching by sorting object keys (#15570)

  • breaking: add run() method to queries, disallow awaiting queries outside render (#15533)

  • feat: support TypeScript 6.0 (#15595)

  • breaking: isolate command-triggered query refresh failures per-query (#15562)

  • feat: use hydratable for remote function transport (#15533)

  • feat: allow form fields to specify a default value (field.as(type, value)) (#15577)

Patch Changes

  • fix: don't request new data when .refresh is called on a query with no cache entry (#15533)

  • fix: allow using multiple remote functions within one async derived (#15561)

  • fix: avoid false-positive overridden Vite base setting warning when setting a paths.base in svelte.config.js (#15623)

  • fix: manage queries in their own $effect.root (#15533)

  • fix: avoid inlineDynamicImports deprecation warning when building the service worker with Vite 8 (#15550)

  • fix: correctly escape backticks when precomputing CSS (#15593)

  • fix: discard obsolete forks before finishing navigation (#15634)

  • chore: tighten up override implementation (#15562)

  • fix: ensure the default Svelte 5 error.svelte file uses runes mode (#15609)

  • fix: deduplicate same-cache-key batch calls during SSR (#15533)

  • fix: decrement pending_count when form callback doesn't call submit() (#15520)

@sveltejs/kit@2.55.0

12 Mar 22:01
56c57f7

Choose a tag to compare

Minor Changes

  • feat: page and layout params with matchers are now type narrowed in $app/types, leading to better type safety when working with params in $app/types, $app/state, and hooks. (#15502)

@sveltejs/enhanced-img@0.10.4

12 Mar 22:01
56c57f7

Choose a tag to compare

Patch Changes

  • chore: add support for vite-plugin-svelte 7 (#15539)

@sveltejs/kit@2.54.0

11 Mar 16:50
54dadc1

Choose a tag to compare

Minor Changes

  • feat: allow error boundaries to catch errors on the server (#15308)

Patch Changes

  • chore: upgrade devalue (#15535)

  • fix: don't wait for remote functions that are not awaited in the template (#15280)

  • feat: allow resolve() to accept pathnames with a search string and/or hash (#15458)

  • chore: remove deprecation warnings for config.kit.files.* options when validating the Svelte config file (#15482)

  • fix: handles form target attribute in remote form redirects (#15457)

@sveltejs/kit@2.53.4

28 Feb 00:48
5063771

Choose a tag to compare

Patch Changes

  • fix: avoid Vite warning about unknown codeSplitting option (#15451)

@sveltejs/kit@2.53.3

26 Feb 22:05
66d88c9

Choose a tag to compare

Patch Changes

  • fix: prevent overlapping file metadata in remote functions form (faba869)

@sveltejs/adapter-node@5.5.4

26 Feb 20:11
00d4ac6

Choose a tag to compare

Patch Changes

  • chore(deps): bump rollup to 4.59.0 (#15433)