Packages

@astrojs/svelte

9.1.6 · 13 Nov 2026MIT224k / weekRepositoryHomepagenpmAtom feed

Upgrading @astrojs/svelte From 8.0.1 to 8.1.2

7 releases in betweenevery note read

Other targets from 8.0.1Clears its advisory9.1.2Latest9.1.6
0
changes to make
0
advisories fixed
3
new
5
fixes

Security

1 advisory still affects 8.1.2

Upgrading to 9.1.2 clears it.

Release by release

  1. 8.1.2

    26 May 20261 fix
    • Fixed

      Fixed an issue where type errors occurred during testing library type checks because Astro overrides Svelte 5 component types.

  2. 8.1.1

    13 May 20261 new
    • New

      Adds support for TypeScript v6 to peer dependencies range.

  3. 8.1.0

    28 Apr 20261 new
    • New

      This change updates the Svelte integration's type shims to treat non-children snippet props and any-typed props as optional. Previously, these were incorrectly marked as required in Astro files, causing false-positive type errors when using Svelte 5 components.

  4. 8.0.5

    13 Apr 20261 fix
    • Fixed

      Fixes .svelte files in node_modules failing with Unknown file extension ".svelte" when using the Cloudflare adapter with prerenderEnvironment: 'node'

  5. 8.0.4

    26 Mar 20261 new · 1 fix
    • New

      Adds a temporary workaround for a Svelte bug causing empty class attributes in SSR output.

    • Fixed

      Using a Svelte component with generic type parameters now correctly infer props in .astro files

  6. 8.0.3

    19 Mar 20261 fix
    • Fixed

      Fix Cloudflare dev SSR dependency optimization to compile .svelte.js and .svelte.ts dependency modules that use Svelte runes.

  7. 8.0.2

    18 Mar 20261 fix
    • Fixed

      Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.