unstale

npm / svelte-check

svelte-check

What changed in svelte-check 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking4 new APIs and options1 performance2 behavior and defaults4 tooling35 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

svelte-check 448 changes

Breaking changes 2

  • Disallows using --tsgo together with --tsgo-experimental-api.

    4.7.7release notes

  • tsconfig errors are now reported when using this experimental API.

    4.7.2release notes

New APIs and options 4

Performance 1

  • Includes various optimizations to the AST walk.

    4.4.6release notes

Behavior and default changes 2

  • Props for +error.svelte are available with zero configuration.

    4.7.3release notes

  • Uses machine format when run by Claude Code.

    4.3.4release notes

Tooling 4

Fixes and other changes 35

  • Modern CSS properties such as corner-shape are now recognised.

    4.7.7release notes

  • Default tsconfig include logic now aligns with tsc and tsserver.

    4.7.7release notes

  • Recognises the real script and style start tags when a matching token also appears inside the other tag.

    4.7.7release notes

  • Resolves symlinked packages when importing their .svelte files, avoiding duplicated types.

    4.7.7release notes

  • Reports a failed TypeScript compiler process and exits non-zero when a run fails.

    4.7.7release notes

  • The cache directory is ignored in watch mode with --tsgo or --incremental.

    4.7.7release notes

  • Elements from Svelte's svelte-html.d.ts are typed with --tsgo or --incremental, as in the language server.

    4.7.7release notes

  • Checks all files with --tsgo or --incremental when tsconfig has no include.

    4.7.7release notes

  • Handles SvelteKit 3 configs merged at the top level.

    4.7.6release notes

  • No longer logs an error for Vite configs without a Svelte plugin.

    4.7.6release notes

  • Prevents a silent error during start-up caused by an unhandled promise.

    4.7.5release notes

  • Adds support for TypeScript 7 Stable when installed under an npm alias.

    4.7.4release notes

  • The tsgo binary path is resolved using package.json.

    4.7.2release notes

  • Correctly parses the --tsgo-experimental-api flag.

    4.7.1release notes

  • Loads the ESM version of Vite.

    4.7.0release notes

  • Stops excluding workspaces under dot-prefixed ancestors.

    4.7.0release notes

  • Props named slot are now properly handled inside Svelte 5 snippets.

    4.5.0release notes

  • Flush stdout and stderr before exit.

    4.4.7release notes

  • Report diagnostics in tsconfig.json.

    4.4.7release notes

  • Prevents an error caused by an escape sequence in an attribute.

    4.4.6release notes

  • Resolves Svelte files with NodeNext when using --incremental or tsgo.

    4.4.6release notes

  • Prevents the config loading message from appearing when running svelte-check in incremental mode.

    4.4.6release notes

  • Async kit handler return types now use Promise<Response>, correcting their type declaration.

    4.4.5release notes

  • Resolves Svelte files under path aliases in --incremental/tsgo mode.

    4.4.4release notes

  • Detection of the lang="ts" attribute is more robust.

    4.4.4release notes

  • Passes the filename to warningFilter.

    4.4.4release notes

  • Respect @ts-ignore and similar comments within tags.

    4.4.3release notes

  • Shims are now resolved correctly when using --incremental/tsgo mode.

    4.4.2release notes

  • Generated tsconfig.json now includes references in --incremental/tsgo mode.

    4.4.2release notes

  • Handles relative imports that reach outside the working directory when using these flags.

    4.4.1release notes

  • Supports SvelteKit zero types when running svelte-check with --incremental.

    4.4.1release notes

  • Machine output is properly used by default for Claude Code.

    4.4.0release notes

  • The file watcher ignores Unix domain sockets to prevent crashes.

    4.4.0release notes

  • Types and snippets referencing $store are no longer hoisted.

    4.3.6release notes

  • Ensures the await-block type is preserved in the latest Svelte version.

    4.3.5release notes