SvelteKit
Frontend & Mobileweb development, streamlined
Release History
@sveltejs/kit@2.53.41 fixThis patch release primarily addresses a minor issue by suppressing an unnecessary Vite warning related to the `codeSplitting` option.
@sveltejs/kit@2.53.31 fixThis patch release addresses a specific bug related to file metadata handling in remote functions using the 'form' parameter.
@sveltejs/adapter-node@5.5.4This patch release primarily updates the rollup dependency to version 4.59.0.
@sveltejs/kit@2.53.25 fixesThis patch release focuses on numerous bug fixes related to form handling, server rendering, and remote function behavior, improving type safety and flexibility.
@sveltejs/adapter-netlify@6.0.41 fixThis patch release fixes an issue where remote function requests and unknown routes were not handled correctly when split functions were configured.
@sveltejs/adapter-vercel@6.3.31 fixThis patch release focuses on fixing an issue related to copying system files during the Vercel build process.
@sveltejs/kit@2.53.11 fixThis patch release primarily addresses a warning encountered when using Vite 8 regarding inline dynamic imports.
@sveltejs/adapter-netlify@6.0.31 fixThis patch release fixes an issue related to request routing when using split server functions with an adapter.
@sveltejs/kit@2.53.02 fixes1 featureThis release introduces support for Vite 8 and includes several bug fixes related to form handling and event listener cleanup.
@sveltejs/enhanced-img@0.10.31 fixThis patch release primarily addresses an image handling issue by implementing a fallback to JPG format for images lacking an alpha channel.
@sveltejs/adapter-vercel@6.3.21 fixThis patch release primarily addresses a bug related to immutable asset handling and updates internal dependencies.
@sveltejs/kit@2.52.22 fixesThis patch release focuses on security and stability by validating form file information and improving file offset table parsing.
@sveltejs/adapter-cloudflare@7.2.81 fixThis patch release includes a fix for correctly handling comment lines within the _redirects file and updates internal dependencies.
@sveltejs/adapter-netlify@6.0.21 fixThis patch release fixes an issue where the param matcher did not work correctly with URLPattern matching by ensuring it is prefixed with alphabetical characters. It also includes minor dependency updates.
@sveltejs/kit@2.52.02 fixes1 featureThis release introduces a new `match` function for path mapping and fixes issues related to anchor navigation and type resolution based on trailing slash settings.
@sveltejs/adapter-auto@7.0.11 featureThis patch release updates the netlify adapter to version 6.
@sveltejs/enhanced-img@0.10.21 fixThis patch release primarily addresses a caching bug by upgrading the vite-imagetools dependency.
@sveltejs/adapter-netlify@6.0.0Breaking1 fix2 featuresThis release migrates the Netlify adapter to use modern Netlify Functions (v2), which involves a breaking change to `platform.context`. It also introduces the ability to configure redirects via `netlify.toml`.
@sveltejs/adapter-cloudflare@7.2.72 fixesThis patch release addresses two specific bugs related to file handling in the public directory and redirects, alongside general dependency updates.
@sveltejs/enhanced-img@0.10.11 fixThis patch release fixes an issue in generated code where `import.meta.DEV` was incorrectly used instead of `import.meta.env.DEV`.
@sveltejs/kit@2.51.07 fixes2 featuresThis release introduces scroll position tracking in navigation callbacks and improves CSP compatibility for hydration. Several bugs related to fetching, error handling, and tsconfig generation have also been resolved.
@sveltejs/adapter-node@5.5.31 fixThis patch release includes a fix to validate the 'ORIGIN' environment variable at startup and updates several internal dependencies.
@sveltejs/kit@2.50.27 fixesThis patch release focuses on several bug fixes, including improvements to CSS inlining respecting path settings, correct CSP nonce emission, and fixes for prerendering and route matching logic.
@sveltejs/enhanced-img@0.10.01 featureThis minor release introduces a re-export of the Picture type from vite-imagetools.
@sveltejs/kit@2.50.13 fixesThis patch release focuses on bug fixes, including ensuring assets imported by hook files are correctly discovered by Vite and improving link preloading behavior.
@sveltejs/adapter-cloudflare@7.2.61 fixThis patch release fixes an issue related to manifest path handling during worker builds and updates internal dependencies.
@sveltejs/adapter-node@5.5.21 fixThis patch release fixes an issue where gzip and brotli compression were incorrectly enabled when precompress was set to false, alongside minor dependency updates.
@sveltejs/adapter-vercel@6.3.11 fix1 featureThis patch release introduces observability for remote function calls and fixes an issue where ISR routes incorrectly handled these calls.
@sveltejs/enhanced-img@0.9.31 fixThis patch resolves a compatibility issue with vite-plugin-svelte@7 by updating internal filter usage.
@sveltejs/kit@2.50.0BreakingThis minor release removes the deprecated `buttonProps` from experimental remote form functions, enforcing a new, cleaner syntax for handling form actions on buttons.
@sveltejs/adapter-node@5.5.11 fixThis patch release focuses on stability by adding necessary validations for header values and updating internal dependencies.
@sveltejs/kit@2.49.53 fixesThis patch release focuses on several bug fixes, including resolving an issue with Vite base overriding in Vitest and improving pathname decoding for rerouted requests.
@sveltejs/adapter-cloudflare@7.2.51 fixThis patch release addresses a race condition by ensuring init is awaited on every request and updates internal dependencies.
@sveltejs/adapter-node@5.5.01 featureThis minor release introduces configuration options via environment variables for connection timeouts.
@sveltejs/kit@2.49.4@sveltejs/adapter-vercel@6.3.0This release deprecates RequestContext in favor of @vercel/functions and includes a patch update for @sveltejs/kit to version 2.49.3.
@sveltejs/kit@2.49.33 fixesThis patch release focuses on bug fixes, including resolving false-positive configuration warnings with Vitest 4 and adding TypeScript as an optional peer dependency.
@sveltejs/kit@2.49.23 fixesThis patch release focuses on bug fixes for server-side CSS loading, Windows-specific instrumentation imports, and binary form data decoding.
@sveltejs/kit@2.49.12 fixesThis patch release addresses a TypeError when cloning responses in page loads and suppresses internal state warnings in generated root files.
@sveltejs/package@2.5.7This patch release updates the chokidar dependency to version 5.
@sveltejs/enhanced-img@0.9.21 fixThis patch release focuses on internal maintenance by removing a redundant caching layer.
@sveltejs/adapter-vercel@6.2.01 featureThis minor update introduces support for Node.js 24 to the SvelteKit ecosystem.
@sveltejs/enhanced-img@0.9.11 fixThis patch release updates vite-imagetools to fix caching-related crashes.
@sveltejs/kit@2.49.01 featureThis minor update introduces streaming support for file uploads within form remote functions to improve data access latency for large files.
@sveltejs/kit@2.48.8BreakingThis patch release introduces breaking changes to the 'invalid' import path and modifies the experimental form 'validate' method by removing the 'submitter' option.
@sveltejs/enhanced-img@0.9.0This release includes a minor dependency update for vite-imagetools to version 9.
@sveltejs/kit@2.48.73 fixesThis patch release focuses on bug fixes for server headers, form issue handling, and improved flexibility for hosting hash-based applications.
@sveltejs/package@2.5.61 fixThis patch fix ensures that .ts extensions in Svelte files are properly rewritten to .js when the rewriteRelativeImportExtensions configuration is used.
@sveltejs/adapter-vercel@6.1.2This patch release focuses on dependency maintenance, specifically upgrading @vercel/nft to version 1.0.0 to reduce the dependency footprint.
@sveltejs/package@2.5.51 fixThis patch release fixes a bug in the transpilation process to ensure aliases are properly resolved before rewriting relative import extensions.
@sveltejs/kit@2.48.67 fixesThis patch release focuses on bug fixes related to validation state, routing logic, and type safety, specifically addressing issues with OpenTelemetry dependencies and server import detection.
@sveltejs/kit@2.48.5Breaking3 fixesThis patch release focuses on stability fixes for initialization and preloading, alongside a breaking change to the RemoteFormIssue type structure.
@sveltejs/enhanced-img@0.8.51 fixThis patch update improves the resilience of the enhanced:img component by preventing crashes when it receives non-enhanced images dynamically.
@sveltejs/kit@2.48.42 fixesThis patch release focuses on fixing promise chaining for queries and ensuring the prerender cache functions correctly across development and production environments.
@sveltejs/kit@2.48.34 fixesThis patch release focuses on bug fixes for hash routing, experimental async navigation callbacks, and exposing path data in issue reporting.
@sveltejs/adapter-vercel@6.1.11 fixThis patch release focuses on internal improvements to runtime configuration parsing and updates the @sveltejs/kit dependency to version 2.48.3.
@sveltejs/kit@2.48.21 fixThis patch release ensures that DOM updates are completed before navigation callbacks are executed.
@sveltejs/kit@2.48.11 fixThis patch release fixes a synchronization issue by ensuring the system waits for the commit promise rather than just the settled state.
@sveltejs/adapter-vercel@6.1.01 featureThis release introduces experimental support for the Bun runtime and updates the @sveltejs/kit dependency to version 2.48.1.
@sveltejs/kit@2.48.01 fix1 featureThis release introduces support for an experimental fork API and improves navigation reliability by awaiting a settled state.
@sveltejs/kit@2.47.33 fixes1 featureThis patch release focuses on stability and performance, fixing a hang during promise streaming and improving tree-shaking for load functions. It also refines internal form state management and TypeScript definitions for recursive schemas.
@sveltejs/kit@2.47.22 fixes1 featureThis patch release fixes issues with streamed promise resolution in load functions and improves type safety for schema inputs, alongside internal chore updates.
@sveltejs/kit@2.47.12 fixesThis patch release improves the robustness of remote file generation and fixes a scope issue allowing the `read` function to be used at the top-level of remote function files.
@sveltejs/adapter-auto@7.0.0Breaking1 featureThis release updates the SvelteKit Vercel adapter to version 6.
@sveltejs/adapter-vercel@6.0.0Breaking1 featureThis release removes Node polyfills and drops support for Node 18, while introducing more flexible parsing for ISR expiration settings.
@sveltejs/adapter-node@5.4.01 featureThis release introduces the standard AbortSignal 'signal' property to the request object and updates internal dependencies.
@sveltejs/kit@2.47.01 fix1 featureThis release introduces the signal property to the Request object and fixes syntax error handling for remote modules with trailing expressions.
@sveltejs/kit@2.46.51 fixThis patch fix ensures that reactivity is correctly triggered when using fields.set within form remote functions.
@sveltejs/kit@2.46.41 fixThis patch release fixes a bug to prevent the accidental access of the Svelte 5-only 'untrack' function.
@sveltejs/kit@2.46.33 fixesThis patch release focuses on bug fixes for form handling and field state management, specifically addressing form reset behavior and path normalization.
@sveltejs/kit@2.46.21 fixThis patch release fixes a bug in SvelteKit regarding the execution order of environment variable modules to ensure stability during initialization.
@sveltejs/kit@2.46.13 fixesThis patch release focuses on bug fixes for form field reactivity, input validation requirements, and hydration cache management.
@sveltejs/kit@2.46.02 fixes1 featureThis release introduces imperative form validation and includes bug fixes for form data collection timing and environment module execution order.
@sveltejs/kit@2.45.01 fix1 featureThis release introduces implicit ID setting for form objects via form.for(id) and resolves a warning issue when using fetch within remote functions.
@sveltejs/kit@2.44.0Breaking1 fix1 featureThis release introduces updates to the experimental form API and exposes route and URL data to remote functions, while fixing a prerendering crawler bug.
@sveltejs/enhanced-img@0.8.41 fixThis patch release fixes a bug where unnecessary script blocks were being added even when no imports were present.
@sveltejs/kit@2.43.84 fixesThis patch release focuses on stability improvements for development mode, specifically fixing HMR issues, preventing FOUC, and refining the handling of remote JavaScript files.
@sveltejs/adapter-netlify@5.2.4This patch release updates the homepage field in the package configuration.
@sveltejs/adapter-cloudflare@7.2.4This patch release updates the homepage field in the package configuration.
@sveltejs/adapter-static@3.0.10This patch release updates the homepage field in the package configuration.
@sveltejs/adapter-vercel@5.10.3This patch release updates the homepage field in the package configuration.
@sveltejs/adapter-auto@6.1.1This patch release updates the homepage field in the package configuration.
@sveltejs/enhanced-img@0.8.3This patch release updates the homepage field in the package configuration.
@sveltejs/adapter-node@5.3.3This patch release updates the homepage field in the package configuration.
@sveltejs/kit@2.43.72 fixesThis patch release focuses on improving type safety for form remote functions and ensuring proper isolation for remote module chunks.
@sveltejs/kit@2.43.64 fixesThis patch release focuses on bug fixes for SvelteKit, addressing issues with cache key consistency, prerendering path resolution, HTTP method handling in server routes, and deep link scrolling.
@sveltejs/kit@2.43.51 fixThis patch fix ensures that the resolve function falls back to non-relative resolution when invoked outside of an event context.
@sveltejs/kit@2.43.41 fixThis patch release introduces a workaround for AsyncLocalStorage to improve compatibility with Webcontainers.
@sveltejs/enhanced-img@0.8.2This patch release updates the sharp dependency to version 0.34.4.
@sveltejs/kit@2.43.32 fixesThis patch release addresses a Webcontainer compatibility issue with AsyncLocalStorage and ensures form submitter values are correctly passed to remote functions.
@sveltejs/package@2.5.41 fixThis patch release focuses on resolving further issues related to path alias resolution within SvelteKit.
@sveltejs/kit@2.43.22 fixesThis patch release focuses on stability improvements for rendering synchronization and data serialization during navigation.
@sveltejs/kit@2.43.11 fixThis patch release ensures internal modules consistently use bare imports to resolve potential import inconsistencies.
@sveltejs/kit@2.43.02 fixes1 featureThis release introduces experimental async SSR support and includes bug fixes for payload data access and remote function query caching.
@sveltejs/package@2.5.31 fixThis patch release fixes a bug in alias resolution when using specific import and export syntax patterns.
@sveltejs/kit@2.42.25 fixesThis patch release focuses on stability improvements for SvelteKit, including fixes for build-phase loops, form data handling, and SSR context consistency.
@sveltejs/kit@2.42.11 fixThis patch release includes a fix to ensure environment setup is correctly isolated into its own chunk.
@sveltejs/kit@2.42.0Breaking2 featuresThis release updates remote form functions to receive parsed POJO objects instead of FormData and introduces schema support with new input and issues properties.
@sveltejs/kit@2.41.02 fixes1 featureThis release introduces a new version placeholder for app.html and includes bug fixes for custom type serialization in remote functions and navigation lifecycle fulfillment.
@sveltejs/package@2.5.22 fixesThis patch release fixes issues with path alias resolution, specifically handling wildcard import/export syntax and preventing incorrect alias replacements.
Common Errors
UpdatedAtError1 reportThe "UpdatedAtError" in SvelteKit with remote functions (like Supabase) usually indicates a mismatch or incorrect handling of `updated_at` (or similar) fields during data updates. Ensure your remote function and SvelteKit code consistently use the same data type and format for the `updated_at` field (often a timestamp string in ISO 8601 format), and correctly handle time zone differences between the server and client when updating or comparing these values. Also, verify that your database schema has `updated_at` configured to automatically update on changes.
SvelteKitError1 reportSvelteKitError often arises during `pnpm build` when `config.kit.prerender.handleHttpError` is set and a prerendered route encounters an unhandled HTTP error (like a 404). To fix this, either handle the error in your `handleHttpError` function, ensuring it returns a valid response, or remove `config.kit.prerender.handleHttpError` if you don't need custom error handling. Ensure all prerendered routes are accessible and return 200 OK responses during build.
Related Frontend & Mobile Packages
The library for web and native user interfaces.
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
The React Framework
A framework for building native applications using React
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Subscribe to Updates
Get notified when new versions are released