SvelteKit
Frontend & Mobileweb development, streamlined
Release History
@sveltejs/package@3.0.0-next.2@sveltejs/adapter-auto@8.0.0-next.1@sveltejs/adapter-vercel@7.0.0-next.2@sveltejs/adapter-node@6.0.0-next.3@sveltejs/adapter-cloudflare@8.0.0-next.2@sveltejs/adapter-netlify@7.0.0-next.3@sveltejs/adapter-static@4.0.0-next.1@sveltejs/kit@3.0.0-next.8@sveltejs/kit@2.69.3@sveltejs/adapter-netlify@7.0.0-next.21 fixThis patch release includes a fix ensuring correct types for platform.context and updates several underlying dependencies.
@sveltejs/kit@3.0.0-next.7Breaking9 fixes1 featureThis release introduces major breaking changes, including the removal of `$app/stores` and changes to parameter file conventions, alongside several bug fixes for server execution and build processes.
@sveltejs/kit@2.69.21 fixThis patch release addresses an issue related to setting `define` values on `globalThis` specifically when running Vitest tests.
@sveltejs/kit@2.69.12 fixesThis patch release addresses two critical bugs related to security and stability, specifically fixing prototype pollution in file input deletion and preventing unhandled promise rejections.
@sveltejs/kit@2.69.02 fixes1 featureThis minor release introduces the exposure of the submitted property on remote forms and includes several bug fixes related to form state management and issue reporting.
@sveltejs/kit@2.68.06 fixes2 featuresThis release introduces new types for form enhancement and ensures form submission values are correctly set. Several minor bugs related to navigation, form handling, and state manipulation have also been resolved.
@sveltejs/adapter-node@5.5.72 fixesThis patch release addresses issues related to response buffering for streamed content and socket file handling on startup, alongside dependency updates.
@sveltejs/package@3.0.0-next.11 fixThis patch release addresses an issue related to typescript dependency handling in svelte-package under strict node-linkers.
@sveltejs/kit@3.0.0-next.6Breaking4 fixes4 featuresThis release introduces significant breaking changes related to form actions, error handling, and configuration origins, alongside new features like form field utilities and bug fixes for request handling.
@sveltejs/kit@3.0.0-next.5Breaking5 fixes2 featuresThis release introduces significant breaking changes, including updates to `$app/paths` and configuration passing, alongside new features like form submission status exposure and improved SSE keep-alive handling.
@sveltejs/enhanced-img@1.0.0-next.1BreakingThis release enforces a minimum version of Vite (8.0.12) to incorporate the stable rolldown 1.0.0 bundling.
@sveltejs/adapter-vercel@7.0.0-next.1BreakingThis release enforces a minimum dependency on Vite 8.0.12, aligning with the stable release of rolldown 1.0.0. Several minor dependency updates were also applied.
@sveltejs/adapter-node@6.0.0-next.2Breaking1 featureThis release introduces a major configuration change by replacing `kit.prerender.origin` with the new `kit.paths.origin` option and removing the corresponding environment variable for `adapter-node`.
@sveltejs/adapter-node@6.0.0-next.1BreakingThis release enforces a minimum version of Vite 8, incorporating the stable rolldown 1.0.0 bundler. It also includes various minor dependency updates.
@sveltejs/adapter-cloudflare@8.0.0-next.11 fixThis patch release fixes an issue where user-defined _headers rules could be unintentionally overridden. It also includes several dependency updates.
@sveltejs/kit@2.67.02 fixes1 featureThis release introduces a new configuration option for handling invalid URLs during prerendering and resolves minor bugs related to form schemas and Vite configuration merging.
@sveltejs/adapter-node@5.5.63 fixesThis patch release addresses several critical bugs, including a server crash caused by a circular dependency and incorrect root directory resolution, while ensuring ENV_PREFIX is defined.
@sveltejs/kit@2.66.016 fixes2 featuresThis release introduces precompression for markdown files and adds warnings for missing optional boolean inputs in form schemas. Numerous fixes address issues related to live queries, prerendering, form handling, and TypeScript configuration.
@sveltejs/adapter-node@5.5.52 fixesThis patch release includes fixes for bundling entrypoints and improving the logging of the adapter-node listening address, alongside various dependency updates.
@sveltejs/adapter-vercel@6.3.41 fixThis patch release fixes an issue where missing immutable assets were incorrectly cached as 404s for an extended period. It also includes several dependency updates.
@sveltejs/enhanced-img@0.11.01 fix1 featureThis release introduces the export of the `EnhancedImgAttributes` type and fixes a bug related to import transformations.
@sveltejs/adapter-cloudflare@7.2.91 fixThis patch release primarily addresses a type collision issue related to the App.Platform env property and includes various dependency updates.
@sveltejs/kit@2.65.211 fixesThis patch release focuses on numerous bug fixes across prerendering, caching, environment variable access, and remote function handling.
@sveltejs/kit@2.65.14 fixesThis patch release focuses on fixing several bugs related to build output, navigation state, and asset loading regressions.
@sveltejs/kit@3.0.0-next.41 fixThis patch release fixes an issue where queries were not being reset correctly before navigation when `invalidateAll` was set.
@sveltejs/kit@3.0.0-next.32 fixes1 featureThis release introduces the ability for queries to refresh other queries and includes fixes for remote data deduplication and client build skipping.
@sveltejs/kit@2.65.02 fixes1 featureThis release introduces the ability for queries to refresh other queries and includes fixes for remote data deduplication and client build skipping.
@sveltejs/kit@3.0.0-next.24 fixesThis patch release focuses on several bug fixes, including improving `query.live` with SSE and correcting environment variable handling and path generation on Windows.
@sveltejs/kit@2.64.01 fix1 featureThis release introduces the ability for commands to accept File objects and fixes an issue related to server component bundling when SSR is off.
@sveltejs/kit@2.63.15 fixesThis patch release focuses on several bug fixes, including improving Windows path handling, refining explicit environment variable behavior, and updating how `query.live` operates using SSE.
@sveltejs/kit@3.0.0-next.11 fixThis patch release fixes an issue by reinstating the $app/environment alias for $app/env.
@sveltejs/adapter-vercel@7.0.0-next.0Breaking1 fix1 featureThis release introduces the use of `rolldown` for edge function bundling and updates the edge function build target to `es2022`. Numerous minor dependency updates were also applied.
@sveltejs/adapter-node@6.0.0-next.0Breaking1 fixThis release migrates the build toolchain from rollup to rolldown and enforces a minimum dependency on SvelteKit version 3.
@sveltejs/adapter-static@4.0.0-next.0BreakingThis patch release primarily enforces a requirement for SvelteKit version 3 and includes various dependency updates.
@sveltejs/enhanced-img@1.0.0-next.0BreakingThis release introduces significant breaking changes, primarily by enforcing newer minimum versions for Node.js, Vite, and vite-plugin-svelte.
@sveltejs/package@3.0.0-next.0BreakingThis release enforces a minimum Node.js version of 22 and removes the dependency on the 'kleur' package.
@sveltejs/kit@3.0.0-next.0Breaking3 fixes2 featuresThis release enforces significant dependency upgrades, including Node 22, TypeScript 6, Svelte 5.48.0, and Vite 8, while removing several deprecated APIs and configuration options.
@sveltejs/adapter-netlify@7.0.0-next.0Breaking1 fix1 featureThis release introduces major changes including adopting the Netlify Frameworks API for deployments and updating the edge function build target to es2022, while also requiring SvelteKit 3. Dependency updates were also performed.
@sveltejs/adapter-auto@8.0.0-next.0Breaking1 fixThis release enforces a minimum requirement of SvelteKit version 3 and includes various dependency updates.
@sveltejs/adapter-cloudflare@8.0.0-next.0Breaking1 featureThis release introduces major breaking changes, including an upgrade to SvelteKit 3, updated Cloudflare types, and a required minimum version for wrangler. It also adds logic to check the WORKERS_CI environment variable for Cloudflare Workers builds.
@sveltejs/kit@2.63.03 fixes1 featureThis release introduces explicit environment variable configuration and includes several bug fixes related to configuration file checks and service worker compatibility.
@sveltejs/kit@2.62.04 fixes1 featureThis release introduces support for passing Svelte(Kit) configuration via the Vite plugin and includes several bug fixes related to headers, preloading, streaming errors, and environment variable module generation.
@sveltejs/package@2.5.8This patch release bumps the svelte2tsx dependency to ensure compatibility with TypeScript 6.
@sveltejs/kit@2.61.11 fixThis patch release addresses a regression in route matching logic involving route groups.
@sveltejs/kit@2.61.0Breaking8 fixes4 featuresThis release removes the .run() method for remote queries, allowing them to be awaited universally, and introduces several improvements to query handling and form submissions.
@sveltejs/kit@2.60.11 fixThis patch release bumps dependencies for Svelte and devalue, and fixes a bug related to query batching crosstalk.
@sveltejs/kit@2.60.02 fixes2 featuresThis release introduces support for numbers and booleans in form fields and adds warnings for unread form validation issues, alongside several navigation and form submission fixes.
@sveltejs/kit@2.59.11 fixThis patch release fixes an issue related to path resolution for route files on Windows systems.
@sveltejs/kit@2.59.0Breaking6 fixes2 featuresThis release introduces support for `query.batch` and the experimental `query.live` function, alongside a breaking change in the behavior of the server-side `refresh` promise. Several bugs related to form handling and updates have also been resolved.
@sveltejs/kit@2.58.0Breaking8 fixes1 featureThis release introduces improved typing for `RemoteQueryFunction` and fixes several bugs related to reactivity, form handling, and rendering stability. It also includes breaking changes requiring explicit `limit` in `requested` and altering its yielded structure.
@sveltejs/kit@2.57.14 fixesThis patch release focuses on several bug fixes, including improved validation, body size enforcement, and relaxed form typings.
@sveltejs/kit@2.57.05 fixes1 featureThis release introduces a boolean return value for the `submit` function in remote functions and resolves several bugs related to CSP directives, Vite 8 compatibility, and form field typing.
@sveltejs/kit@2.56.1This patch release primarily includes a chore update to the JSDoc documentation.
@sveltejs/kit@2.56.0Breaking10 fixes3 featuresThis release stabilizes remote function caching and overhauls query management by introducing the `run()` method, alongside adding support for TypeScript 6.0.
@sveltejs/enhanced-img@0.10.4This patch release primarily adds support for vite-plugin-svelte version 7.
@sveltejs/kit@2.55.01 featureThis minor release enhances type safety for page and layout parameters by introducing type narrowing within $app/types.
@sveltejs/kit@2.54.02 fixes2 featuresThis release introduces server-side error boundary catching and enhances path handling in resolve(). It also includes several minor bug fixes related to form handling and template execution.
@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.
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