Skip to content

Releases: sveltejs/kit

@sveltejs/kit@2.53.0

20 Feb 17:25
f80c327

Choose a tag to compare

Minor Changes

  • feat: support Vite 8 (#15024)

Patch Changes

  • fix: remove event listeners on form attachment cleanup (#15286)

  • fix: apply queries refreshed in a form remote function when a redirect is thrown (#15362)

@sveltejs/enhanced-img@0.10.3

20 Feb 17:25
f80c327

Choose a tag to compare

Patch Changes

  • fix: use jpg as a fallback format when source doesn't have an alpha channel (#15243)

@sveltejs/adapter-netlify@6.0.3

20 Feb 20:59
797199f

Choose a tag to compare

Patch Changes

  • fix: correctly route requests to server load functions when the adapter is configured to used split functions (#15367)

@sveltejs/kit@2.52.2

18 Feb 19:50
9c4a737

Choose a tag to compare

Patch Changes

  • fix: validate form file information to prevent amplification attacks (3e607b3)

  • chore: upgrade devalue and svelte (#15339)

  • fix: parse file offset table more strictly (f47c01b)

@sveltejs/adapter-vercel@6.3.2

18 Feb 19:50
9c4a737

Choose a tag to compare

Patch Changes

  • fix: 404 for immutable assets that don't match static files (c67da8a)

  • Updated dependencies [3e607b3, 62991c8, f47c01b]:

    • @sveltejs/kit@2.52.2

@sveltejs/adapter-netlify@6.0.2

18 Feb 19:50
9c4a737

Choose a tag to compare

Patch Changes

  • fix: prefix param matcher with alphabetical characters so that it works with URLPattern matching (#15332)

  • Updated dependencies [3e607b3, 62991c8, f47c01b]:

    • @sveltejs/kit@2.52.2

@sveltejs/adapter-cloudflare@7.2.8

18 Feb 19:50
9c4a737

Choose a tag to compare

Patch Changes

@sveltejs/kit@2.52.0

15 Feb 03:48
b024b17

Choose a tag to compare

Minor Changes

  • feat: match function to map a path back to a route id and params (#14997)

Patch Changes

  • fix: respect scroll-margin when navigating to a url-supplied anchor (#15246)

  • fix: resolve will narrow types to follow trailing slash page settings (#15027)

@sveltejs/kit@2.51.0

12 Feb 22:24
060b1dc

Choose a tag to compare

Minor Changes

  • feat: add scroll property to NavigationTarget in navigation callbacks (#15248)

    Navigation callbacks (beforeNavigate, onNavigate, and afterNavigate) now include scroll position information via the scroll property on from and to targets:

    • from.scroll: The scroll position at the moment navigation was triggered
    • to.scroll: In beforeNavigate and onNavigate, this is populated for popstate navigations (back/forward) with the scroll position that will be restored, and null for other navigation types. In afterNavigate, this is always the final scroll position after navigation completed.

    This enables use cases like animating transitions based on the target scroll position when using browser back/forward navigation.

  • feat: hydratable's injected script now works with CSP (#15048)

Patch Changes

  • fix: put preloads before styles (#15232)

  • fix: suppress false-positive inner content warning when children prop is forwarded to a child component (#15269)

  • fix: fetch not working when URL is same host but different than paths.base (#15291)

  • fix: navigate to hash link when base element is present (#15236)

  • fix: avoid triggering handleError when redirecting in a remote function (#15222)

  • fix: include test directory in generated tsconfig.json alongside existing tests entry (#15254)

  • fix: generate tsconfig.json using the value of kit.files.src (#15253)

@sveltejs/enhanced-img@0.10.2

12 Feb 22:31
bcc87bf

Choose a tag to compare

Patch Changes

  • fix: upgrade vite-imagetools to 9.0.3 for fix to caching bug (#15305)