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

# cspell-gitignore breaking changes

cspell-gitignore 10.5.1 (November 14, 2026) is its newest release with breaking changes, 3 of them. The first: A \[!...\] bracket in globs now negates the listed characters in cspell-gitignore 10.5.1. Every breaking API change we have recorded in cspell-gitignore on npm: 7 breaking changes in 2 versions. Below, its 2 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)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [10.5.0](#v-10-5-0) to [10.5.1](#v-10-5-1): 3 breaking changes in 1 version.

## cspell-gitignore 10.5.1 breaking changes

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

- **Behavior changed**  

A \[!...\] bracket in globs in ignorePaths, gitignore files, files and overrides now matches any character not listed, so globs that used to match differently may now include or skip different files. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)
- **Behavior changed**  

Files named .env are now checked as both properties and shell scripts, so shell, Bash and Git dictionaries and languageSettings for either file type now apply to .env files. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)
- **Behavior changed**  

Several additional lock files, such as pnpm-lock.yaml, npm-shrinkwrap.json and go.sum, are now skipped during checks, so files that were previously checked are no longer checked. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.1)

## cspell-gitignore 10.5.0 breaking changes

cspell-gitignore 10.5.0, released November 13, 2026: 4 breaking changes.

- **Behavior changed**  

Files such as console.log.ts, cspell.env.config.js and README.ignore.md now get the file type of their extension, so they are checked instead of skipped. Review any config that relied on the old partial matches. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Default changed** `features.overrideGlobsMatchFilesOnly`  

The features.overrideGlobsMatchFilesOnly option is disabled by default now, but the default is planned to become true in v11. Set it to false explicitly to keep current matching. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Default changed** `ignorePathPresets.git`  

The .git file in worktrees and submodules, and files inside .git folders, are now skipped by default. Set ignorePathPresets git to false to check them again. [github.com](https://github.com/streetsidesoftware/cspell/releases/tag/v10.5.0)
- **Default changed** `ignorePathPresets.nestedWorktrees`  

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)

## Related packages

- [@cspell/cspell-types](https://since.dev/packages/npm/@cspell/cspell-types.md)
- [cspell](https://since.dev/packages/npm/cspell.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)

## 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.
