svelte-check
4.7.8 · 1 Nov 2026MIT5M / weekRepositoryHomepagenpmAtom feed
300 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.7.8
1 Nov 2026Preserve TypeScript files listed in
tsconfig.jsonwhen running with--tsgo.Update --tsgo-experimental-api for typescript 7.1
Report a tsconfig parse error instead of an internal error on
--incrementaland--tsgoruns when the tsconfig path is not normalized.
Patch Changes
Preserve TypeScript files listed in
tsconfig.jsonwhen running with--tsgo.Update --tsgo-experimental-api for typescript 7.1
Report a tsconfig parse error instead of an internal error on
--incrementaland--tsgoruns when the tsconfig path is not normalized.Type the exports of
src/hooks.serverwith--tsgo-experimental-api
4.7.7
16 Oct 2026Recognise modern CSS properties such as corner-shape by updating vscode-css-languageservice
Recognise the real
<script>and<style>start tags when a matching token also appears inside the other tagResolve symlinked packages when importing their
.sveltefiles, so their types are not duplicated
Patch Changes
Recognise modern CSS properties such as corner-shape by updating vscode-css-languageservice
Recognise the real
<script>and<style>start tags when a matching token also appears inside the other tagResolve symlinked packages when importing their
.sveltefiles, so their types are not duplicatedAlign default tsconfig "include" logic with tsc/tsserver
Report a failed TypeScript compiler process and exit non-zero when a run fails
Ignore the
.svelte-checkcache directory in--watchwith--tsgo/--incrementalCheck all files with
--tsgo/--incrementalwhen the tsconfig has noincludeDisallow
--tsgotogether with--tsgo-experimental-apiType elements from Svelte's
svelte-html.d.tswith--tsgo/--incremental, like the language server
4.7.6
13 Aug 2026Don't log an error for vite configs without a Svelte plugin
Handle SvelteKit 3 having its config merged at the top level
4.7.5
7 Aug 2026Prevent silent error during start-up caused by unhandled promise
Patch Changes
Prevent silent error during start-up caused by unhandled promise
4.7.4
27 Jul 2026Support TypeScript 7 Stable under npm alias
4.7.3
15 Jul 2026zero-config
+error.svelteprops
4.7.2
7 Jul 2026Resolve tsgo bin path with package.json
Report tsconfig errors in --tsgo-experimental-api
4.7.1
24 Jun 2026Correctly parse --tsgo-experimental-api flag
4.7.0
23 Jun 2026Add
--configoptionsvelte-check tsgo support with experimental api
Load esm version of Vite
Minor Changes
Add
--configoptionsvelte-check tsgo support with experimental api
Patch Changes
Load esm version of Vite
Stop excluding workspaces under dot-prefixed ancestors
4.6.0
4 Jun 2026Support reading Svelte config from
vite.config.js/ts
Minor Changes
Support reading Svelte config from
vite.config.js/ts
4.5.0
1 Jun 2026Support Svelte 5 declaration tags
Properly handle props with the name
slotinside Svelte 5 snippetsAdd support for svelte config ts/mts files
4.4.8
5 May 2026Typescript 6.0 support
4.4.7
1 May 2026Flush stdout/stderr before exit
Report diagnostics in tsconfig.json
4.4.6
31 Mar 2026Prevent config loading message in svelte-check --incremental
Resolve svelte files with NodeNext in --incremental/tsgo
Various optimization with ast walk
Patch Changes
Prevent config loading message in svelte-check --incremental
Resolve svelte files with NodeNext in --incremental/tsgo
Various optimization with ast walk
Prevent error with escape sequence in attribute
Typescript 6.0 compatibility
4.4.5
7 Mar 2026Use Promise<Response> for async kit handler return types
4.4.4
26 Feb 2026More robust detection of
lang="ts"attributePass filename to
warningFilterResolve svelte files under path alias in
--incremental/tsgomode
4.4.3
20 Feb 2026Respect
@ts-ignoreetc comments within tags
4.4.2
20 Feb 2026Resolve shims correctly in
--incremental/tsgomodeInclude
referencesin generatedtsconfig.jsonin--incremental/tsgomode
4.4.1
18 Feb 2026Handle relative imports reaching outside working directory when using
--incremental/--tsgoflagsSupport SvelteKit zero types in svelte-check --incremental
4.4.0
13 Feb 2026Provide
--incrementaland--tsgoflagsIgnore Unix domain sockets in file watcher to prevent crashes
Properly use machine output by default for Claude Code
4.3.6
31 Jan 2026Don't hoist type/snippet referencing $store
4.3.5
20 Dec 2025Ensure await-block type is preserved in the latest Svelte version
4.3.4
11 Nov 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
4.3.3
8 Oct 2025Prevent file watcher issue
Allow
undefinedandnullvalues for#eachin Svelte 5Check if file content changed in tsconfig file watch
4.3.2
22 Sep 2025Tweak some snapshot hot paths
More precise module cache invalidation
Properly handle
runes={false}in<svelte:options>
Patch Changes
Tweak some snapshot hot paths
More precise module cache invalidation
Properly handle
runes={false}in<svelte:options>
4.3.0
17 Jul 2025Zero types for params
Add
awaitsupportStrip doctype using AST instead of regex
Zero types for params
Add
awaitsupportStrip doctype using AST instead of regex
4.2.2
19 Jun 2025Invalidate project file cache and handle watcher race condition
Prevent error with bind:this={get, set}
Don't treat derived imported from svelte/store as a potential store
Invalidate project file cache and handle watcher race condition
Prevent error with bind:this={get, set}
Don't treat derived imported from svelte/store as a potential store
Key block can have its own block scope
4.2.1
15 May 2025Support generics on snippets
4.2.0
14 May 2025Support attachments
Deduplicate definition for rune-mode components
4.1.7
2 May 2025Robustify hoisting logic around prop types
Ensure typed exports are marked as used
Ensure eligible snippets can be referenced in module script
Robustify hoisting logic around prop types
Ensure typed exports are marked as used
Ensure eligible snippets can be referenced in module script
Prevent error with unclosed tag followed by LF or end of file
4.1.6
13 Apr 2025Prevent unused variable error for bindable
Ensure exports in runes mode are marked as used
Add color CLI options
4.1.5
6 Mar 2025Take other snippets into account when checking for hoistability
Disambiguate render in module script
Properly transform $props.id when $props is assigned to props
Take other snippets into account when checking for hoistability
Disambiguate render in module script
Properly transform $props.id when $props is assigned to props
Handle booleanish popover
Use referenced project's compiler option to get resolution mode
4.1.4
13 Jan 2025Don't hoist types/snippets referencing stores or destructured variables
4.1.3
8 Jan 2025Move snippets to correct place when only module script present
4.1.2
8 Jan 2025Support generics attribute for JSDoc
Better snippet/interface hoistability analysis
Support generics attribute for JSDoc
Better snippet/interface hoistability analysis
4.1.1
3 Dec 2024Support each without as
4.1.0
22 Nov 2024Don't move appended content from previous node while hoisting interface
Ensure hoisted interfaces are moved after hoisted imports
Preserve bind:... mapping on elements for better source maps
Don't move appended content from previous node while hoisting interface
Ensure hoisted interfaces are moved after hoisted imports
Preserve bind:... mapping on elements for better source maps
Prepare for some upcoming features of Svelte 5
4.0.9
16 Nov 2024Detect shadowed variables/types during type hoisting
4.0.8
15 Nov 2024Fall back to any instead of unknown for untyped $props
Robustify and fix file writing
Hoist types related to $props rune if possible
4.0.7
11 Nov 2024$props: infer types for$bindable, infer function type from arrow function
4.0.6
8 Nov 2024Infer object and array shapes from fallback types
Infer object and array shapes from fallback types
4.0.5
11 Oct 2024Reading the note…
4.0.4
27 Sep 2024Reading the note…
4.0.3
26 Sep 2024Reading the note…
4.0.2
12 Sep 2024Reading the note…
4.0.1
4 Sep 2024Reading the note…
4.0.0
2 Sep 2024- Breaking
Require Svelte 4 or later
- Breaking
Make TypeScript a peer dependency, require TS 5 or later
- Breaking
Require node 18 or later
Detect <script module> tag
Better type checking for bindings in Svelte 5
Replace svelte-preprocess with barebones TS preprocessor
Project reference support
Breaking changes
- Breaking
Require Svelte 4 or later
- Breaking
Make TypeScript a peer dependency, require TS 5 or later
- Breaking
Require node 18 or later
- Breaking
processaugmentation (declaring aprocess.browserfield) was removed - Breaking
Slight changes to how files are assigned to which tsconfig.json (#1234, #2463)
- Breaking
Slight changes to how Svelte module resolution works;
.sveltefiles now take precedence over.svelte.js/tsfiles (if both exist) - Breaking
language-server now forces fewer TypeScript options. Most notably
skipLibCheckis no longer forced totrue, which may result ind.tsfiles now being checked in your project, which they were not before, revealing type errors. Either fix those or add"skipLibCheck": trueto yourtsconfig.json(#1976, #2463)
- 3.x
3.8.6
22 Aug 2024Reading the note…
3.8.5
30 Jul 2024Reading the note…
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.