---
title: "cspell 10.5.1 Breaking Changes on npm | Since.dev"
description: "What each cspell release removed, renamed or changed: 38 breaking changes in 13 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/cspell
last_updated: 2026-12-04
---

# cspell breaking changes

cspell 10.5.1 (November 14, 2026) is its newest release with breaking changes, 3 of them. The first: .env files are now spell checked with the shell file type as well as properties in cspell 10.5.1. Every breaking API change we have recorded in cspell on npm: 38 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.7.0`, released December 2, 2026. [Source repository](https://github.com/streetsidesoftware/cspell)

Its 10.0.0 release requires Node.js 22.18 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [10.0.0](#v-10-0-0) to [10.5.1](#v-10-5-1): 37 breaking changes in 12 versions.

## cspell 10.5.1 breaking changes

cspell 10.5.1, released November 14, 2026: 3 breaking changes.

- **Behavior changed**  

Files named .env are now checked with shell, Bash, and Git dictionaries, and languageSettings for either file type apply to both. Code that relied on the old handling may see new or different issues. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)
- **Behavior changed**  

Files including pnpm-lock.yaml, npm-shrinkwrap.json, go.sum and others are now skipped by default. Files that were checked before are no longer checked. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)
- **Behavior changed** `ignorePaths`  

A \[!...\] bracket in a glob now matches characters that are not listed, as in git and shell globs. Ignore and include patterns that used \[!...\] will now match different files. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)

## cspell 10.5.0 breaking changes

cspell 10.5.0, released November 13, 2026: 6 breaking changes.

- **Behavior changed**  

Git worktrees inside the root folder are now skipped by default. To check them again, set ignorePathPresets nestedWorktrees to false. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Behavior changed**  

For non-ASCII words, the result of a repMap replacement is no longer replaced again, so some words that matched before may now be reported as unknown. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Behavior changed**  

Files such as the .git file and files inside .git folders are now skipped by default, except git message files. To check them again, set ignorePathPresets git to false. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Default changed** `features.overrideGlobsMatchFilesOnly`  

The option is disabled by default for now, and its default is planned to become true in v11. Users who rely on folder-matching override globs should review them before then. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Signature changed** `IncludeExcludeFlag`  

Was export {IncludeExcludeFlag} from "./application-CcaBK3o9.js"; now export {IncludeExcludeFlag} from "./application-Cuobl1Eb.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.5.0)
- **Signature changed** `TraceResult`  

Was export {type TraceResult} from "./application-CcaBK3o9.js"; now export {type TraceResult} from "./application-Cuobl1Eb.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.5.0)

## cspell 10.4.1 breaking changes

cspell 10.4.1, released November 6, 2026: 3 breaking changes.

- **Behavior changed** `cspell lint`  

When cspell lint checks stdin, reported issues now show the file name stdin where the file name used to be empty. Code that parses the output and expects an empty file name must be updated. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.1)
- **Signature changed** `IncludeExcludeFlag`  

Was export {IncludeExcludeFlag} from "./application-CFfMlhE\_.js"; now export {IncludeExcludeFlag} from "./application-CcaBK3o9.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.4.1)
- **Signature changed** `TraceResult`  

Was export {type TraceResult} from "./application-CFfMlhE\_.js"; now export {type TraceResult} from "./application-CcaBK3o9.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.4.1)

## cspell 10.4.0 breaking changes

cspell 10.4.0, released October 14, 2026: 8 breaking changes.

- **Behavior changed**  

The last matching pattern now decides, so a later rule can re-ignore files that an earlier negated rule un-ignored. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0)
- **Behavior changed** `--language-id`  

Files that were previously skipped due to languageSettings may now be checked when these flags are given. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0)
- **Behavior changed** `--must-find-files`  

Runs that check no files now fail by default. Use --no-must-find-files to let such runs pass. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0)
- **Behavior changed** `cspell lint`  

Linked files are now skipped for named files too. Add --follow-symlinks to check them. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0)
- **Signature changed** `AppError`  

Was type AppError = NodeJS.ErrnoException; now interface AppError extends Error. [npmjs.com](https://www.npmjs.com/package/cspell/v/10.4.0)
- **Signature changed** `console.stdoutChannel.stream`  

TypeScript reporters that call other stream methods such as on or end must now cast the stream. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0)
- **Signature changed** `IncludeExcludeFlag`  

Was export {IncludeExcludeFlag} from "./application-094uTsvC.js"; now export {IncludeExcludeFlag} from "./application-CFfMlhE\_.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.4.0)
- **Signature changed** `TraceResult`  

Was export {type TraceResult} from "./application-094uTsvC.js"; now export {type TraceResult} from "./application-CFfMlhE\_.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.4.0)

## cspell 10.4.0-alpha.0 breaking changes

cspell 10.4.0-alpha.0, released October 14, 2026: 3 breaking changes.

- **Behavior changed** `cspell lint`  

cspell lint now skips files that are symbolic links or inside linked directories, including files named with --file, --files, or --file-list. Add --follow-symlinks to check them. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0-alpha.0)
- **Signature changed** `cspell-io`  

Types of cspell-io, cspell-lib and cspell no longer require @types/node. The encoding option type and console stream types changed, so TypeScript reporters calling other stream methods must cast. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0-alpha.0)
- **Signature changed** `cspell.reporter.console.stdoutChannel.stream`  

console.stdoutChannel.stream and console.stderrChannel.stream are typed with only write, isTTY, rows, columns and optional members. TypeScript reporters calling other methods such as on or end must cast. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.4.0-alpha.0)

## cspell 10.3.6 breaking changes

cspell 10.3.6, released September 29, 2026: 1 breaking change.

- **Behavior changed** `validateDirectives`  

With validateDirectives or --validate-directives set, cspell lint again shows unknown directives and exits with an error for them. Fix or remove unknown directives, or turn validation off. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.3.6)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### cspell 10.3.5 breaking changes

cspell 10.3.5, released September 27, 2026: 2 breaking changes.

- **Behavior changed** `--force-check`  

Passing globs on the command line together with --force-check now fails with an error. To filter a file list by glob, remove --force-check. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.3.5)
- **Behavior changed** `substitutions`  

Substitutions given directly as \[find, replacement\] pairs are now applied even when substitutionDefinitions is not set. Configurations that relied on them being ignored will now see different results. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.3.5)

### cspell 10.3.4 breaking changes

cspell 10.3.4, released September 24, 2026: 1 breaking change.

- **Signature changed** `ParsedTag`  

The ParsedTag type no longer accepts string values; it is restricted to boolean or undefined. Code that assigns or reads string tag values must be updated. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.3.4)

### cspell 10.3.1 breaking changes

cspell 10.3.1, released September 13, 2026: 1 breaking change.

- **Default changed** `cacheStrategy`  

The default cache strategy is now "content" instead of "metadata". Users who relied on the old default should set cacheStrategy explicitly to keep their previous behavior. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.3.1)

### cspell 10.2.0 breaking changes

cspell 10.2.0, released August 31, 2026: 5 breaking changes.

- **Renamed** `onlyAllowBundle`  

The dependency configuration property onlyAllowBundle is now named onlyBundle. Update config files and docs that use the old name. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.2.0)
- **Behavior changed**  

The CLI now handles process exit codes differently when errors occur. Scripts or CI jobs that check exit codes should be verified. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.2.0)

And 3 more in this version.

### cspell 10.1.0 breaking changes

cspell 10.1.0, released August 22, 2026: 2 breaking changes.

- **Signature changed** `IncludeExcludeFlag`  

Was export {IncludeExcludeFlag} from "./application-BXlOXgoM.js"; now export {IncludeExcludeFlag} from "./application-BeYqH0KN.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.1.0)
- **Signature changed** `TraceResult`  

Was export {type TraceResult} from "./application-BXlOXgoM.js"; now export {type TraceResult} from "./application-BeYqH0KN.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.1.0)

### cspell 10.0.1 breaking changes

cspell 10.0.1, released May 31, 2026: 2 breaking changes.

- **Signature changed** `IncludeExcludeFlag`  

Was export {IncludeExcludeFlag} from "./application-DYrUtKeK.js"; now export {IncludeExcludeFlag} from "./application-BXlOXgoM.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.0.1)
- **Signature changed** `TraceResult`  

Was export {TraceResult} from "./application-DYrUtKeK.js"; now export {type TraceResult} from "./application-BXlOXgoM.js". [npmjs.com](https://www.npmjs.com/package/cspell/v/10.0.1)

### cspell 10.0.0 breaking changes

cspell 10.0.0, released April 6, 2026: 1 breaking change.

- **Configuration changed**  

The package now requires Node.js 22.18 or later, so users on Node 20 must upgrade their runtime before using this release. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.0.0)

## Related packages

- [@cspell/cspell-types](https://since.dev/packages/npm/@cspell/cspell-types.md)
- [@cspell/cspell-worker](https://since.dev/packages/npm/@cspell/cspell-worker.md)
- [cspell-trie-lib](https://since.dev/packages/npm/cspell-trie-lib.md)
- [cspell-lib](https://since.dev/packages/npm/cspell-lib.md)
- [@cspell/cspell-bundled-dicts](https://since.dev/packages/npm/@cspell/cspell-bundled-dicts.md)
- [cspell-gitignore](https://since.dev/packages/npm/cspell-gitignore.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
