Never miss a release that matters

AI-powered summaries of every GitHub release.

AI Summaries

Changelogs condensed into clear, actionable insights.

Always Free

Track up to 5 packages at no cost, forever.

Weekly Digest

A curated summary of every release, delivered weekly.

Get Started Free
@sveltejs/kitv3.xprerelease
11 releases

TL;DR

SvelteKit 3.0 introduces significant breaking changes to project structure, including a new #lib alias and stricter server-only directory enforcement.

Breaking

  • Replace $lib alias with #lib and remove files.lib config.
  • Server-only directories (/server/) are now treated as server-only globally (excluding src/routes and assets).
  • handle's resolve must now return a Promise.
  • getRequest and setResponse are now synchronous.
  • page.url is now immutable at the type level.
  • invalidateAll is deprecated in favor of refreshAll.
  • defineEnvVars moved to @sveltejs/kit/env.
  • Cross-origin form submissions now require a Content-Type header.
  • experimental.handleRenderingErrors flag removed.
  • CORS handling for static directory requests is now delegated to Vite during development.

New

  • Support for hyphens in parameter and matcher names.
  • Added ErrorProps to generated types.
  • Import aliases are now transformed into relative imports in files.

Fixes Worth Knowing

  • Fixed CSRF protection to enable in non-production NODE_ENV builds.
  • Resolved an issue where client-side code was incorrectly bundled by Cloudflare Wrangler.
  • Fixed <svelte:boundary> to properly reset on client navigation.

Before You Upgrade

  • Update all $lib imports to #lib.
  • Update handle hooks to ensure resolve returns a Promise.
  • Migrate invalidateAll calls to refreshAll.
@sveltejs/kitv1.xprerelease
659 releases

TL;DR

Documentation for @sveltejs/enhanced-img has been updated to use the correct library alias.

@sveltejs/kitv6.xprerelease
5 releases

TL;DR

This update ensures compatibility between adapter-node and SvelteKit 3 prereleases while fixing critical build issues on Windows.

Fixes Worth Knowing

  • Resolved an issue where entrypoints (the main files that start the app) were not bundling correctly on Windows.
  • Fixed peer dependency conflicts to allow SvelteKit 3 prerelease versions to be used.
@sveltejs/kitv2.x
350 releases

TL;DR

SvelteKit has improved environment variable organization and strengthened security for non-production builds.

Breaking

  • defineEnvVars has moved to @sveltejs/kit/env (utility for type-safe environment variables).

Fixes Worth Knowing

  • CSRF protection is now active in builds where NODE_ENV is not set to production.
  • CSS URL references are now correctly absolute when paths.relative is disabled.
  • Improved type generation for destructured load and actions exports.
  • Updated MAX_COOKIE_SIZE to comply with RFC 6265bis (standard for HTTP state management).

Before You Upgrade

  • Update your imports for defineEnvVars to use the new @sveltejs/kit/env path.
@sveltejs/kitv8.xprerelease
5 releases

TL;DR

SvelteKit now correctly supports using pre-release versions of SvelteKit 3, ensuring compatibility as you upgrade to the latest features.

Fixes Worth Knowing

The adapters for Cloudflare and Auto now correctly handle peer dependencies when using pre-release versions of SvelteKit 3. This resolves potential installation or runtime issues when working with the latest SvelteKit development builds.

@sveltejs/kitv7.xprerelease
5 releases

TL;DR

SvelteKit 3.0.0-next.8 is now compatible with pre-release versions of itself, resolving dependency issues when using the latest development builds.

Fixes Worth Knowing

Adapters for Vercel and Netlify have been updated to ensure necessary files are included in published packages, preventing potential deployment errors.

Before You Upgrade

No specific action is needed, but ensure you are using the latest versions of @sveltejs/adapter-vercel and @sveltejs/adapter-netlify alongside SvelteKit 3.0.0-next.8 for optimal compatibility.

@sveltejs/kitv4.xprerelease
2 releases

TL;DR

SvelteKit now supports pre-release versions of SvelteKit 3, resolving compatibility issues for developers working with the latest SvelteKit features.

Fixes Worth Knowing

SvelteKit now correctly handles peer dependencies when using pre-release versions of SvelteKit 3, preventing potential installation or runtime errors. (Peer dependencies: external packages required by a project)

@sveltejs/kitv5.x
102 releases

TL;DR

SvelteKit now correctly disables buffering for server-sent events (streaming data) when using reverse proxies like Nginx, improving real-time application responsiveness.

Fixes Worth Knowing

  • Server-sent events now stream without buffering when used with common reverse proxies.
  • Socket file management was improved to prevent errors on startup.
@sveltejs/kitv6.x
48 releases

TL;DR

Vercel adapter updates prevent incorrectly cached 404 errors for static assets (files like images, CSS) in your SvelteKit applications.

Fixes Worth Knowing

A fix prevents static assets from being incorrectly cached as 404 errors when deployed to Vercel. This ensures your site displays correctly after deployment.

@sveltejs/kitv0.x
49 releases

TL;DR

SvelteKit now exports the EnhancedImgAttributes type, improving type safety when working with the <EnhancedImg> component (image optimization).

New

  • The EnhancedImgAttributes type is now exported, allowing for better type checking and autocompletion when configuring the <EnhancedImg> component.

Fixes Worth Knowing

  • Fixed an issue where imports containing a question mark (?) would incorrectly trigger transformations, potentially causing errors.
@sveltejs/kitv7.x
24 releases

TL;DR

SvelteKit now avoids conflicts with user-defined environment variables, preventing unexpected behavior when using custom App.Platform properties.

Fixes Worth Knowing

A potential type collision issue with user-defined App.Platform environment properties has been resolved, ensuring your custom environment variables function as expected within your SvelteKit application. (Environment variables: settings for your application)

@sveltejs/kitv3.x
46 releases

TL;DR

SvelteKit static site adapters now correctly handle homepage definitions, ensuring links work as expected when deployed.

Breaking

  • The adapter-static adapter now requires a correctly formatted "homepage" field in package.json (project metadata).

Fixes Worth Knowing

  • Fixed an issue where links wouldn’t resolve correctly on static sites (websites served as HTML files) due to incorrect homepage configuration.

Before You Upgrade

  • Verify your package.json file includes a valid "homepage" field pointing to your deployed site’s base URL.
@sveltejs/kitv1.x
240 releases

TL;DR

SvelteKit now supports AMP (Accelerated Mobile Pages) components, enabling faster loading and improved SEO for mobile content.

New

  • Added support for AMP components via @sveltejs/amp allowing creation of optimized mobile pages.

Fixes Worth Knowing

  • No user-facing fixes in this release.

Before You Upgrade

  • No specific upgrade steps are needed.
@sveltejs/kitv4.x
46 releases

TL;DR

SvelteKit now correctly handles deployments on Windows machines when using the Netlify adapter.

Fixes Worth Knowing

  • Fixed an issue preventing successful builds on Windows (operating system).

Before You Upgrade

  • No action needed.
@sveltejs/kitv2.xprerelease
96 releases

TL;DR

SvelteKit projects now use Vite 4 (build tool), which may require updating your project’s dependencies.

Breaking

  • Vite 4 Upgrade: (build tool) May require dependency updates.

New

  • vitePreprocess: (Vite plugin) Adds support for processing files with Vite.

Fixes Worth Knowing

  • Sverdle Accessibility: (example app) Improved accessibility in the Sverdle demo application.

Before You Upgrade

  • Review your project’s dependencies and update any incompatible packages after upgrading to Vite 4.