Repository navigation
chore: Prepare Release v10.4.0 (auto-deploy) - #9380
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
release-draft
branch
from
September 30, 2026 20:38
e4aa43f to
e9e8a57
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
15 times, most recently
from
October 2, 2026 12:39
822d8e9 to
860e84c
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
13 times, most recently
from
October 11, 2026 11:08
f6696cc to
91b8c43
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
20 times, most recently
from
October 14, 2026 06:11
3c09e00 to
f45d17f
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
5 times, most recently
from
October 14, 2026 09:17
01eb3b9 to
9ac70d1
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
from
October 14, 2026 09:17
9ac70d1 to
adb01c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v10.4.0
Release Notes
Details
Features
feat: Add `--glob-symlinks` to follow symbolic links when matching globs (#9342)
feat: Add
--glob-symlinksto follow symbolic links when matching globs (#9342)Summary
cspell lintcan now follow symbolic links in glob searches, with--glob-symlinks. Glob searches skip linked files and linked directories by default, so a tree made of links, such as Bazel runfiles, found nothing to check.Closes #7700.
Feature
cspell lint --glob-symlinks "**"--glob-symlinksfollows symbolic links, and searches linked directories, when matching globs. Links are followed wherever they point.CSPELL_GLOB_SYMLINKS=truedoes the same for a whole job.--no-glob-symlinksoverrides it.globSymlinksin thelintoptions.--file,--files, and--file-listdocuments, use--follow-symlinks.Technical Details
docs/ADRs/glob-symlinks/.feat: Respect `COLUMNS` for help and table width (#9358)
feat: Respect
COLUMNSfor help and table width (#9358)Summary
Help, and the tables from
cspell traceandcspell dictionaries, now follow theCOLUMNSenvironment variable. That lets you choose a narrower width, which helps with large fonts and screen magnifiers. The help in thecspellREADME now fits on npmjs.com without scrolling sideways.Feature
Set
COLUMNSto pick the output width:Before,
cspell lint --helpat 80 columns:After,
COLUMNS=72 cspell lint --help:COLUMNStakes priority over the terminal width when it is set to a positive number.Other changes
cspell lint --helpare shorter, so the help fits in 72 columns. The usage line now breaks before[stdin[://<path>]].cspellREADME is generated at 72 columns, which is what npmjs.com shows in a code block.feat: Add `--follow-symlinks` and skip files referenced by symbolic links (#9340)
feat: Add
--follow-symlinksand skip files referenced by symbolic links (#9340)Summary
cspell lintnow skips files that are symbolic links, or are in a linked directory, and adds--follow-symlinksto check them.Glob searches already skipped linked files and linked directories. Files named explicitly were read through links. Now every way of naming files behaves the same:
--file,--files,--file-listentries, thefilesoption oflint, and file or glob arguments.docs/*.mdwhendocsis a link, is not searched.--file-listfile that is a symbolic link is an error, like a missing list.--file,--files, or--file-listshows asskippedin the progress. File and glob arguments leave links out, as glob searches always have. Use--verboseto see why a file or glob was skipped.--force-check, a linked file is an error instead of being skipped.If you check linked files on purpose, for example Bazel runfiles, add
--follow-symlinks.Feature
--follow-symlinksallows checking--fileand--file-listdocuments referenced by symbolic links. Glob searches don't follow links unless--glob-symlinksis used (feat: Add--glob-symlinksto follow symbolic links when matching globs #9342).CSPELL_FOLLOW_SYMLINKS=truedoes the same for a whole job.--no-follow-symlinksoverrides it.followSymlinksin thelintoptions.Technical Details
/tmpon macOS, don't count.feat: `--must-find-files` fails when every file was skipped (#9327)
feat:
--must-find-filesfails when every file was skipped (#9327)Summary
With
--must-find-files, which is on by default,cspell lintnow fails when every file it found was skipped, and says so. Since 10.2.0 the summary shows skipped files, but they still counted as found, so a run that checked nothing could pass.Fixes #9326.
Feature
A file is skipped when it is excluded by
ignorePaths,.gitignore, or thefilessetting, when it is binary, or when an override or language setting turns off checking for it. Skipped files are still listed in the summary, but they no longer count as found.--file,--file-list, and globs alike.--no-must-find-files.--silenthides the new message.Technical Details
Fixes
fix: Apply `.gitignore` and `ignorePaths` rules in order (#9408)
fix: Apply
.gitignoreandignorePathsrules in order (#9408)Summary
Glob patterns in a list are now applied in the order they are written, and the last pattern that matches a file decides. Before, a pattern that starts with
!always won, wherever it was in the list.For example, in a
.gitignorefile, a laternode_modules/rule now ignores files beneath an earlier!un-ignored/rule.This applies to:
.gitignorefiles.ignorePathsthat start with!, when files are checked through thecspell-libAPI. Thecspellcommand line still skips these patterns and shows a warning.overrides[].filename.--fileor--file-list.Part of #5104.
fix: cspell-tools: build case-insensitive forms with the dictionary's locale (#9458)
fix: cspell-tools: build case-insensitive forms with the dictionary's locale (#9458)
Summary
cspell-toolscan now build a dictionary with its language's case rules. Setlocaleincspell-tools.config.yaml, and words are lower-cased with that locale's rules instead of the default ones. In a Turkish dictionary,Irakthen gets the case-insensitive formırak, notirak.Feature
Set
localeat the top level, or per target:Set
dictionaryInformation.localein the dictionary definition to the same locale, so cspell searches the dictionary with the case rules it was built with. If the definition lists more than one locale, cspell uses the first valid one for case rules, so put this locale first.The locale applies everywhere
cspell-toolslower-cases a word:generateNonStrictlegacysplitterremoveDuplicatesallowedSplitWords,excludeWordsFrom, andexcludeWordsNotFoundInAn invalid locale stops the build with an error that names the target.
Before, the case-insensitive form stored for
Irakin a Turkish dictionary:After, with
locale: tr-TR:Without
locale, dictionaries are built as before.This is the last part of the dictionary locale feature (#6282, #9449). Once dictionaries are rebuilt with their locale, a lower-case word such as
ırakis found in a Turkish dictionary that hasIrak.Technical Details
cspell-trie-lib:normalizeWordForCaseInsensitivetakes an optional locale, and the dictionary line parser has alocaleoption.cspell-trie-lib:normalizeWordToLowercaseis renamednormalizeWordToLowercaseAndRemoveAccents. The old name still works, and is deprecated.fix: Search dictionaries using the dictionary's locale case rules, to support Turkish `İ` and `I` (#9449)
fix: Search dictionaries using the dictionary's locale case rules, to support Turkish
İandI(#9449)Summary
Words in a dictionary are no longer reported when finding them needs that language's case rules. With the Turkish dictionary,
İncelemeandIspanaknow pass. Fixes #6282.dictionaryInformation.locale. The Turkish, Azerbaijani, and Lithuanian dictionaries are affected."language": "en,tr", a word typed withİ, such asİnside, is still reported.caseSensitive: true, a word with capitals that are wrong in the dictionary's language, such asIncelemeforİnceleme, is reported.With
"language": "en,tr", checkingİnceleme Ispanak Ispanakk İnside:Before:
After:
Technical Details
dictionaryInformation.localeis ignored, as it is for suggestions.docs/designs/dictionary-locale.md.fix: Recognize MATLAB files (#9402)
fix: Recognize MATLAB files (#9402)
Summary
.mand.matlabwith thematlabfile type..mat,.fig,.mlx,.mlapp,.mltbx,.mlappinstall, and MEX files (.mexa64,.mexmaca64,.mexmaci64,.mexw64).Notes:
.mstays associated withobjective-ctoo, since both languages use it..p(MATLAB P-code) isn't marked binary, because Pascal uses.pfor source files.fix: Show hidden lint options and issue template help in `cspell --help` (#9387)
fix: Show hidden lint options and issue template help in
cspell --help(#9387)Summary
Running
cspell --help --verboseorcspell --help --issue-templatenow shows the same extra help as thecspell lint --helpforms. Before, those flags were silently ignored, even though the help for--issue-templatesays "See --help --issue-template for details."--verbose, the hiddenlintoptions are listed underHidden options for "lint":.--issue-template, the help explains the issue template placeholders and styles.cspell --helpnow ends with the same "More Examples" ascspell lint --help.Before:
After:
fix: Deprecate `cspell-lib/rpc`; import from `@cspell/rpc` (#9376)
fix: Deprecate
cspell-lib/rpc; import from@cspell/rpc(#9376)Summary
cspell-lib/rpcis deprecated: import from@cspell/rpcinstead. It still works, and editors now mark each of its exports as deprecated.cspell-lib/rpconly passes@cspell/rpcthrough. Everything it exports (RPCClient,RPCServer, the RPC error classes, and their types) is available from@cspell/rpcdirectly.Technical Details
cspellandcspell-libstill re-export everything from@cspell/cspell-types, so everything their users need comes from one place.@cspell/eslint-pluginrecommendedconfig, from@cspell/eslint-plugin/configs, is now a plain config object with the samepluginsandrules.@cspell/cspell-typesandcspell-grammar.fix: `@cspell/strong-weak-map` types compile with the `esnext` lib (#9371)
fix:
@cspell/strong-weak-maptypes compile with theesnextlib (#9371)Summary
@cspell/strong-weak-map's types now compile in projects that use TypeScript'sesnextlib withskipLibCheck: false.keys(),values(),entries(), and iterating aStrongWeakMapare now typed as returning aMapIterator, like aMap, so the iterator helpers (map,filter,take, …) are typed too. Before, they returnedIterableIterator, whichesnextrejects.StrongWeakMapno longer declares that it implementsMap. Withesnext,MaphasgetOrInsertandgetOrInsertComputed, whichStrongWeakMapdoesn't have, so the declaration was already an error there. It keeps all of its methods and works the same. Code that passes aStrongWeakMapwhere aMapis expected only compiles where the two still match.fix: Published types no longer need `@types/node` (#9359)
fix: Published types no longer need
@types/node(#9359)Summary
The TypeScript types published with
cspell,cspell-lib, andcspell-iono longer need@types/node. Projects that use these packages' types, but don't install Node.js types, now type-check cleanly.cspell-io: the types no longer import fromnode:buffer.cspell-lib: theencodingoption ofspellCheckFile, andresolveDocument, accept the same encodings as before, without Node's globalBufferEncoding.cspell:AppErrorkeeps the same shape. A reporter'sconsole.stdoutChannel.streamandconsole.stderrChannel.streamare now typed as the parts of the stream cspell uses:write,isTTY,rows,columns, and optionalhasColors,clearLine, andgetColorDepth. A reporter written in TypeScript that calls other stream methods, such asonorend, needs to cast.URLandAbortSignal, so thedomlib (or@types/node) is still needed for those.Technical Details
cspelltypes no longer pull inchalk's types, which themselves need Node.js types.fix: Show the lint options in cspell --help (#9362)
fix: Show the lint options in cspell --help (#9362)
Summary
cspell --helpnow lists the options forcspell lint, the command that runs when no command is given. Before, it only listed the commands, so you had to know to runcspell lint --helpto see options such as--no-progressor--cache.fix: Honor `--language-id` and `--locale` when deciding whether to check a file (#9316)
fix: Honor
--language-idand--localewhen deciding whether to check a file (#9316)Summary
cspell lintnow uses--language-idand--localewhen it decides whether to check a file. Before, a file could be skipped because of alanguageSettingsentry that didn't match the language or locale given on the command line.For example, with this config,
cspell lint --language-id markdown notes.txtskippednotes.txt. It's now checked as Markdown.--locale frworks the same way.Technical Details
--locale. The check itself used both flags.fix(cspell-lib): Check remote documents by URI without passing their text (#9343)
fix(cspell-lib): Check remote documents by URI without passing their text (#9343)
Summary
spellCheckDocumentandspellCheckFileincspell-libcan now read a document from any URL the file system supports, such ashttps:,data:, or a virtual file system like the one the VS Code extension uses for remote repositories. Before, a document passed without its text had to be afile:URL, or the check failed with "Unsupported schema".stdin:documents still need their text.fix: Don't apply a repository's .gitignore to worktrees and submodules inside it (#9341)
fix: Don't apply a repository's .gitignore to worktrees and submodules inside it (#9341)
Summary
With
useGitignore, cspell now stops looking for.gitignorefiles at the root of the file's git repository, as git does. A repository's.gitignoreno longer applies to a worktree or submodule inside it.Why
.gitignorefiles above the repository. A worktree kept in an ignored folder of its clone, such as.worktrees/or.claude/worktrees/, had all of its files skipped. The result wasFiles checked: 0, locally only..gitignorematched them, even though git does not ignore them.gitignoreRootto a folder above a worktree or submodule had the same effect.Linting from inside a worktree already worked with the
cspellcommand-line tool, because it starts at the current repository. Other paths, including thecspell-gitignorepackage's API with no roots, did not. The VS Code extension uses that API.Files that are not in a git repository are unchanged:
.gitignorefiles are read up to thegitignoreRoot, or to the top of the file system.Related: #8975, streetsidesoftware/vscode-spell-checker#3099, streetsidesoftware/vscode-spell-checker#2366
Technical Details
.gitfolder or a.gitfile marks the root of a repository, and the search stops there. A clone has a.gitfolder, and a worktree or submodule has a.gitfile.gitignoreRootcan still stop the search earlier, but it no longer extends it past a repository root..git.cspell-gitignoretests go back to using the default search, and new tests cover a worktree and a submodule inside a clone, and a repository on a remote file system.Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#9446)
fix: Workflow Bot -- Update Dictionaries (main) (#9446)
Update Dictionaries (main)
Summary
fix: Workflow Bot -- Update Dictionaries (main) (#9405)
fix: Workflow Bot -- Update Dictionaries (main) (#9405)
Update Dictionaries (main)
Summary
Version Information
v10.4.010.4.0Summary