unstale

npm / vitest-browser-svelte

vitest-browser-svelte

What changed in vitest-browser-svelte 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

5 breaking1 new APIs and options2 tooling4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.0 on npm

vitest-browser-svelte 34 changes

Breaking changes 1

  • Rendering is now async-only, so developers must use render asynchronously.

    3.0.0release notes

Tooling 1

  • Adds support for Vitest 5, allowing developers to use this package with that version.

    3.1.0release notes

Fixes and other changes 2

  • All pure exports are now re-exported.

    3.0.0release notes

  • RenderResult is now exported for developers to use in types.

    3.0.0release notes

vitest-browser-svelte 25 changes

Breaking changes 3

  • Moves @playwright/test out of package dependencies, changing how it is installed alongside vitest-browser-svelte.

    2.1.1release notes

  • Injects data-testid for more stable locator queries. If using snapshots with container, update to Vitest 4.0.18 to avoid rendering the injected attribute.

    2.0.2release notes

  • Supports the new Vitest syntax, which may require changes to existing usage.

    2.0.0release notes

New APIs and options 1

Tooling 1

  • Render is integrated with trace marks, making render activity traceable.

    2.1.0release notes

vitest-browser-svelte 13 changes

Breaking changes 1

  • DocumentFragment is no longer a supported debug argument.

    1.0.0release notes

Fixes and other changes 2

  • Peer dependencies are locked, affecting dependency resolution when installing the package.

    1.0.0release notes

  • The package supports Vitest 4, allowing developers to use it with that Vitest release.

    1.0.0release notes