Skip to content

Releases: sveltejs/kit

@sveltejs/kit@2.66.0

18 Jun 18:37
4c9b8f1

Choose a tag to compare

Minor Changes

  • feat: precompress prerendered .md and .mdx files (#15893)

  • feat: warn the user when they forget to make boolean inputs optional in their form schemas (#15804)

Patch Changes

  • fix: blur active element before component update during navigation so that blur/focusout handlers fire while old component data is still valid (#15452)

  • fix: ensure base is available from $service-worker during development (#15882)

  • fix: use correct relative asset paths when rendering an error page for a missing __data.json request (#15884)

  • fix: preserve active for await consumers across query.live reconnects (#16022)

  • fix: settle query.live reconnect promise on all exit paths, preventing invalidateAll() from deadlocking when a live query is offline or interrupted (#16022)

  • fix: preserve last value when a query.live stream completes without yielding on reconnect (#16022)

  • fix: remove types: ['node'] from generated tsconfig to avoid errors when @types/node is not installed (#15709)

  • fix: prefer pages over endpoints when prerendering (#16076)

  • fix: restore snapshots after afterNavigate callbacks (#16066)

  • fix: support ws:/wss: and trusted-types-eval for CSP sources (#15938)

  • fix: omit empty file inputs from remote form data (#15898)

  • fix: fail early if a route with +page and +server is marked as prerenderable (#16075)

  • fix: wait a tick before resetting forms (#15805)

  • fix: preflight schemas apply correctly when chained before for (#15863)

  • fix: blank page in SPA mode when root layout load() throws (#15798)

  • fix: pass all unknown options from the sveltekit Vite plugin through to vite-plugin-svelte (#16010)

@sveltejs/enhanced-img@0.11.0

18 Jun 18:36
4c9b8f1

Choose a tag to compare

Minor Changes

  • feat: export EnhancedImgAttributes type (#15649)

Patch Changes

  • fix: exclude imports with ? character from transformation (#15617)

@sveltejs/adapter-vercel@6.3.4

18 Jun 18:37
4c9b8f1

Choose a tag to compare

Patch Changes

@sveltejs/adapter-node@5.5.5

18 Jun 18:37
4c9b8f1

Choose a tag to compare

Patch Changes

@sveltejs/kit@2.65.2

16 Jun 19:00
33fdd3f

Choose a tag to compare

Patch Changes

  • fix: throw an error when prerendering a root +server.js that returns a non-HTML response (#15994)

  • fix: decode base64-serialized fetch bodies before caching them for client-side replay (#16034)

  • fix: correctly access explicit dynamic public environment variables from prerendered pages and service workers (#16024)

  • fix: allow preloadCode to be called during initial page load (#16028)

  • fix: send cache-control: private, no-store on remote function responses so personalized query results can never be cached by shared caches (#16020)

  • fix: preserve the HTTP status and error body when a remote function request fails in transport (e.g. a 401/403 from a handle hook), instead of reporting a generic 500 (#16021)

  • fix: avoid loading universal nodes during build analysis when the app uses a hash router (#16042)

  • fix: correctly serve client entry during development when using the pnpm global virtual store (#16045)

  • fix: normalize path separators when comparing config (#16037)

  • fix: ensure building resolves correctly to allow avoiding build-time explicit environment variable validation (#16058)

  • fix: prevent unhandled promise rejections when remote function failures are consumed via current/error instead of await (#16018)

@sveltejs/adapter-cloudflare@7.2.9

16 Jun 19:00
33fdd3f

Choose a tag to compare

Patch Changes

@sveltejs/kit@2.65.1

14 Jun 07:06
c5382b7

Choose a tag to compare

Patch Changes

  • fix: avoid importing the Vite development client code into builds with a non-standard NODE_ENV (#16023)

  • fix: don't emit the unused bundle and stylesheet files when using bundleStrategy: 'inline' (#16025)

  • fix: reset queries before navigating when invalidateAll is set (#16014)

  • fix: regression in loading assets for absolute path apps (#16026)

@sveltejs/kit@2.65.0

11 Jun 00:46
ce77bf3

Choose a tag to compare

Minor Changes

  • feat: allow queries to refresh other queries (#16012)

Patch Changes

  • fix: dedupe remote data (#15991)

  • fix: skip client build if all routes have CSR disabled (#15936)

@sveltejs/kit@3.0.0-next.4

11 Jun 09:49
8fe845d

Choose a tag to compare

Pre-release

Patch Changes

  • fix: reset queries before navigating when invalidateAll is set (#16014)

@sveltejs/kit@3.0.0-next.3

11 Jun 00:48
cc13785

Choose a tag to compare

Pre-release

Minor Changes

  • feat: allow queries to refresh other queries (#16012)

Patch Changes

  • fix: dedupe remote data (#15991)

  • fix: skip client build if all routes have CSR disabled (#15936)