Releases: sveltejs/kit
@sveltejs/kit@2.66.0
Minor Changes
-
feat: precompress prerendered
.mdand.mdxfiles (#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
baseis available from$service-workerduring development (#15882) -
fix: use correct relative asset paths when rendering an error page for a missing
__data.jsonrequest (#15884) -
fix: preserve active
for awaitconsumers acrossquery.livereconnects (#16022) -
fix: settle
query.livereconnect promise on all exit paths, preventinginvalidateAll()from deadlocking when a live query is offline or interrupted (#16022) -
fix: preserve last value when a
query.livestream completes without yielding on reconnect (#16022) -
fix: remove
types: ['node']from generated tsconfig to avoid errors when@types/nodeis not installed (#15709) -
fix: prefer pages over endpoints when prerendering (#16076)
-
fix: restore snapshots after afterNavigate callbacks (#16066)
-
fix: support
ws:/wss:andtrusted-types-evalfor CSP sources (#15938) -
fix: omit empty
fileinputs from remote form data (#15898) -
fix: fail early if a route with
+pageand+serveris marked as prerenderable (#16075) -
fix: wait a tick before resetting forms (#15805)
-
fix:
preflightschemas apply correctly when chained beforefor(#15863) -
fix: blank page in SPA mode when root layout
load()throws (#15798) -
fix: pass all unknown options from the
sveltekitVite plugin through tovite-plugin-svelte(#16010)
@sveltejs/enhanced-img@0.11.0
@sveltejs/adapter-vercel@6.3.4
Patch Changes
@sveltejs/adapter-node@5.5.5
Patch Changes
-
fix: bundle entrypoints alongside app code (#16069)
-
fix: log the actual adapter-node listening address (#15899)
-
Updated dependencies [
63f1b0b,1dbff3f,961ba01,d2e108c,d2e108c,d2e108c,860b3c7,f8c842c,d3aa5fe,0dd7659,03e9f66,57b7b7b,4eabadc,6fbf2b6,276744d,8740132,f430a68,1c7a8dc]:- @sveltejs/kit@2.66.0
@sveltejs/kit@2.65.2
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
preloadCodeto be called during initial page load (#16028) -
fix: send
cache-control: private, no-storeon 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
handlehook), 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
buildingresolves correctly to allow avoiding build-time explicit environment variable validation (#16058) -
fix: prevent unhandled promise rejections when remote function failures are consumed via
current/errorinstead ofawait(#16018)
@sveltejs/adapter-cloudflare@7.2.9
@sveltejs/kit@2.65.1
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
invalidateAllis set (#16014) -
fix: regression in loading assets for absolute path apps (#16026)
@sveltejs/kit@2.65.0
@sveltejs/kit@3.0.0-next.4
Patch Changes
- fix: reset queries before navigating when
invalidateAllis set (#16014)