Repository navigation
[deps]: Update cspell to v10.3.5 - #849
Merged
Merged
Conversation
Collaborator
|
Internal tracking: |
Deploying contributing-docs with
|
| Latest commit: |
c3a9b31
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f685cf7c.contributing-docs.pages.dev |
| Branch Preview URL: | https://renovate-cspell-monorepo.contributing-docs.pages.dev |
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
3 times, most recently
from
September 7, 2026 19:52
40cc4af to
d8bbc7c
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 10, 2026 16:18
d8bbc7c to
5bb091e
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 11, 2026 18:01
5bb091e to
4b0fe54
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 15, 2026 10:07
4b0fe54 to
4f5b4d7
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 20, 2026 19:45
4f5b4d7 to
5901f4d
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 22, 2026 13:49
5901f4d to
84dde37
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
September 24, 2026 03:48
84dde37 to
438e37c
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
3 times, most recently
from
October 1, 2026 23:29
b5048d8 to
2eb2c9d
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
October 4, 2026 22:58
2eb2c9d to
83497cf
Compare
renovate
Bot
force-pushed
the
renovate/cspell-monorepo
branch
from
October 5, 2026 14:36
83497cf to
5c96d6c
Compare
dan-livefront
requested review from
dan-livefront
and removed request for
blackwood
October 5, 2026 15:18
dan-livefront
approved these changes
Oct 6, 2026
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.
This PR contains the following updates:
10.0.0→10.3.5Release Notes
streetsidesoftware/cspell (cspell)
v10.3.5Compare Source
Fixes
fix(cspell-lib): `shouldCheckDocument` honors the `forceCheck` option (#9303)
fix(cspell-lib):
shouldCheckDocumenthonors theforceCheckoption (#9303)v10.3.4Compare Source
Fixes
fix: Fix Sponsor cards on npmjs (#9260)
fix: Fix Sponsor cards on npmjs (#9260)
v10.3.3Compare Source
Fixes
fix: Add `--json` option to check text for use with AI (#9254)
fix: Add
--jsonoption to check text for use with AI (#9254)This pull request adds support for a
--jsonoutput mode to thecheckCLI command, enabling results to be emitted as structured JSON per file. It also introduces comprehensive test coverage for the new JSON output behavior, including error handling and exit code logic.CLI Enhancements:
--jsonflag to thecheckcommand, allowing users to receive results in JSON format. This includes proper handling of multiple files and error cases, such as missing files. [1] [2]--no-exit-codeflag. [1] [2]Implementation Details:
processRequestAnsifor standard output andprocessRequestJSONfor JSON output, with the latter aggregating results and errors per file. [1] [2]Testing Improvements:
--jsonscenarios, such as files with spelling errors, missing files, and the interaction with--no-exit-code. [1] [2]fix: Mark ParsedTags as read only. (#9253)
fix: Mark ParsedTags as read only. (#9253)
This pull request makes a small but important change to the
ParsedTextinterface in several files, improving type safety by marking thetagsproperty as a read-only type. This ensures that thetagsassociated with a parsed text segment cannot be modified after creation.tagsproperty in theParsedTextinterface to useReadonly<ParsedTags>instead ofParsedTags, making the tags immutable in the following files:packages/cspell-types/api/Parser/index.d.mtspackages/cspell-types/api/index.d.mtspackages/cspell-types/src/Parser/parser.tsfix: Make sure Parser and DocumentParser can be used together. (#9252)
fix: Make sure Parser and DocumentParser can be used together. (#9252)
This pull request enhances the parser interface definitions in the
cspell-typespackage to provide better flexibility and clarity for parser implementations. The main changes introduce optionalparseDocumentandparsemethods to both theParserandDocumentParserinterfaces, across both type declaration and source files.Parser interface enhancements:
parseDocumentmethod to theParserinterface, allowing parsers to optionally implement document-based parsing. (packages/cspell-types/api/Parser/index.d.mts[1]packages/cspell-types/api/index.d.mts[2]packages/cspell-types/src/Parser/parser.ts[3]parsemethod to theDocumentParserinterface, enabling parsers to optionally implement content-and-filename-based parsing. (packages/cspell-types/api/Parser/index.d.mts[1]packages/cspell-types/api/index.d.mts[2]packages/cspell-types/src/Parser/parser.ts[3]v10.3.2Compare Source
Fixes
fix: Add tags to ParsedText (#9237)
fix: Add tags to ParsedText (#9237)
This pull request introduces the concept of "tags" for parsed text segments in the CSpell types, allowing each segment of text to be annotated with a set of named tags. These tags can hold boolean, string, or undefined values, supporting richer metadata for parsers and downstream consumers. The changes affect both the TypeScript source and the type definitions.
The most important changes are:
Tagging Support for Parsed Text
tagsproperty to theParsedTextinterface, allowing each parsed text segment to carry a set of tags as metadata. (ParsedTextinparser.ts,index.d.mts,index.d.mts) [1] [2] [3]ParsedTagtype (boolean | string | undefined) and theParsedTagsinterface (a map of tag names toParsedTagvalues) to define the structure of tags. (parser.ts,index.d.mts,index.d.mts) [1] [2] [3]Type Exports and API Surface
ParsedTagandParsedTags, making these types available to consumers. (src/Parser/index.ts,src/index.ts,index.d.mts,index.d.mts) [1] [2] [3] [4]src/Parser/index.mtsfromexport *toexport type *, ensuring only types are exported.These changes lay the groundwork for parsers and other tools to annotate text with structured metadata, improving extensibility and downstream processing.
v10.3.1Compare Source
Fixes
fix: CSpell-Tools support replacements (#9205)
fix: CSpell-Tools support replacements (#9205)
Support replacing word fragments before adding the word to the dictionary.
v10.3.0Compare Source
Features
feat: Add an option to set the kind of dictionary file (#9178)
feat: Add an option to set the kind of dictionary file (#9178)
This pull request introduces support for the new
kindproperty in dictionary definitions, enabling explicit specification of dictionary types such aswords,flag-words, andignore-words.{ "version": "0.2", "language": "en-US", "caseSensitive": false, "dictionaryDefinitions": [ { "name": "forbidden-spelling", "path": "./forbidden-spelling.txt", "kind": "flag-words" } ], "dictionaries": ["forbidden-spelling"] }forbidden-spelling.txtIt updates the JSON schema, dictionary loading logic, and adds new APIs and tests to handle these kinds, including support for loading forbidden (flag) words from trie files.
Schema and API Enhancements:
kindproperty to dictionary definitions in thecspell.schema.jsonschema, allowing configuration of dictionary type aswords,flag-words, orignore-words[1] [2] [3] [4] [5].kindproperty, ensuring correct dictionary instantiation based on its value [1] [2] [3] [4].Flag Words Dictionary Support:
createFlagWordsDictionaryFromTrieFileto allow creating forbidden words dictionaries directly from trie files, and exposed this function in the public API [1] [2] [3] [4] [5].kindbehaviors and for loading flag words from trie files, ensuring correct forbidden word detection and suggestion handling [1] [2].Sample and Fixture Updates:
flag-words.txtto demonstrate and test the flag words functionality.These changes collectively provide more flexible and explicit dictionary configuration, improve forbidden word handling, and ensure robust support for new and existing dictionary formats.
Fixes
fix: Only hide code-like partial words (#9163)
fix: Only hide code-like partial words (#9163)
Documentation
feat: Add an option to set the kind of dictionary file (#9178)
feat: Add an option to set the kind of dictionary file (#9178)
This pull request introduces support for the new
kindproperty in dictionary definitions, enabling explicit specification of dictionary types such aswords,flag-words, andignore-words.{ "version": "0.2", "language": "en-US", "caseSensitive": false, "dictionaryDefinitions": [ { "name": "forbidden-spelling", "path": "./forbidden-spelling.txt", "kind": "flag-words" } ], "dictionaries": ["forbidden-spelling"] }forbidden-spelling.txtIt updates the JSON schema, dictionary loading logic, and adds new APIs and tests to handle these kinds, including support for loading forbidden (flag) words from trie files.
Schema and API Enhancements:
kindproperty to dictionary definitions in thecspell.schema.jsonschema, allowing configuration of dictionary type aswords,flag-words, orignore-words[1] [2] [3] [4] [5].kindproperty, ensuring correct dictionary instantiation based on its value [1] [2] [3] [4].Flag Words Dictionary Support:
createFlagWordsDictionaryFromTrieFileto allow creating forbidden words dictionaries directly from trie files, and exposed this function in the public API [1] [2] [3] [4] [5].kindbehaviors and for loading flag words from trie files, ensuring correct forbidden word detection and suggestion handling [1] [2].Sample and Fixture Updates:
flag-words.txtto demonstrate and test the flag words functionality.These changes collectively provide more flexible and explicit dictionary configuration, improve forbidden word handling, and ensure robust support for new and existing dictionary formats.
v10.2.2Compare Source
Fixes
fix: Workaround for #9164 (#9168)
fix: Workaround for #9164 (#9168)
This pull request updates the word splitter to improve its handling of long or complex words and adds new test cases to ensure correct behavior. The main changes include increasing the allowed number of skipped breaks and attempts for word splitting, updating test cases to cover additional scenarios, and adjusting ignored words in the dictionary tests.
Word splitting improvements:
maxSkippedBreaks) from 8 to 16 and set a new maximum number of attempts (maxAttempts) to 64,000 inwordSplitter.tsto better handle complex word splitting cases.maxAttemptslimit in thesplitIntoWordsfunction, relying instead on the new global constant.Test enhancements:
QmFzZTY0IHN0cmluZyBvZiB0ZXh0IGhlcmU) and usedcspell:disable/cspell:enablecomments for clarity.'QmFzZTY0IHN0cmluZyBvZiB0ZXh0IGhlcmU.access'in the word splitter tests.v10.2.1Compare Source
Fixes
fix: support soft hyphens in the word splitter (#9144)
fix: support soft hyphens in the word splitter (#9144)
This pull request introduces several improvements and fixes to the word segmentation and word splitting logic, especially for Thai language support and symbol handling. The main changes include updating the Thai segmentation to use soft hyphens, enhancing the word splitting logic to handle more cases (including camelCase, symbols, and soft hyphens), and refactoring the code for better modularity and test coverage.
Word segmentation and Thai language improvements:
th-TH) segmentation to use soft hyphens (\u00AD) instead of spaces, improving the accuracy of word breaks and ensuring better compatibility with spell checking and downstream processing. [1] [2] [3]@cspell/dict-th-thpackage to dependencies, enabling Thai dictionary support.Word splitting and symbol handling enhancements:
generateWordBreaksutility that generates all possible word breaks in a string, including camelCase, symbols, numbers, and soft hyphens. Includes comprehensive tests and snapshot coverage for various edge cases. [1] [2] [3] [4]Refactoring and code organization:
wordSplitter/index.jsentry point, improving modularity and future maintainability. [1] [2]split,SplitOptions, andSplitResultinwordSplitter/index.tsto clarify and centralize the public API.Other enhancements:
softHyphenconstant for consistent use throughout the codebase. [1] [2]Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#9143)
fix: Workflow Bot -- Update Dictionaries (main) (#9143)
v10.2.0Compare Source
Features
feat: Add `--force-check` cli option (#9080)
feat: Add
--force-checkcli option (#9080)This pull request introduces a new
--force-checkoption to the CLI, allowing users to force specific files to be checked even if they would normally be excluded. It also standardizes dependency configuration naming, improves error handling and reporting for the CLI, and updates TypeScript target versions in config files. The most important changes are grouped below.New CLI Feature: Force Check
--force-checkoption to thelintcommand, allowing files specified with--file,--files, or--file-listto be checked even if they would normally be excluded. This includes updates to the CLI interface, validation logic, and documentation/help output. [1] [2] [3] [4] [5]forceCheckflag, ensuring excluded files can be checked when requested, and updated reporting of skipped files. [1] [2] [3] [4] [5] [6]CLI Error Handling and Testing
--force-checkwithout specifying files, or mixing globs and--file), with corresponding error messages and test cases. [1] [2]--force-checkoption, including snapshot updates for help and error outputs. [1] [2] [3] [4] [5] [6] [7]Dependency Configuration Standardization
onlyAllowBundletoonlyBundleacross all relevant config files and documentation for consistency. [1] [2] [3] [4]Other Improvements
Node20toNode22.package.json.Fixes
fix: Updated package.json exports (#8965)
fix: Updated package.json exports (#8965)
This fixes a few package exports that were wrong or inconsistent (e.g.
exports["."]not the same path asmain).The
pnpm testscript was failing locally due to my~/.npmrchavingignore-scripts=true, which prevented thepreinstallscript from running. I updatedtest:prepto call thepreinstallscript, which should be fast if you already haveyarninstalled.Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#9067)
fix: Workflow Bot -- Update Dictionaries (main) (#9067)
v10.1.1Compare Source
Fixes
fix: Do not load .pnp.js files when untrusted (#9064)
fix: Do not load .pnp.js files when untrusted (#9064)
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#9055)
fix: Workflow Bot -- Update Dictionaries (main) (#9055)
v10.1.0Compare Source
Features
feat(cspell-junit-reporter): add JUnit XML reporter package (#8945)
feat(cspell-junit-reporter): add JUnit XML reporter package (#8945)
Closes #4570.
Adds
@cspell/cspell-junit-reporter, a new workspace package modeled onpackages/cspell-json-reporter, that emits a JUnit-compatible XML report of a cspell run.The issue asked for a minimal mapping along the lines of:
This PR follows that shape but wraps it in a
<testsuites>root and groups by file (one<testsuite>per file, suite name = file path), since that is the convention used by other widely-consumed JUnit reporters (for example ESLint's JUnit formatter) and is what most CI JUnit parsers expect. The package README documents the full mapping.package.json,tsconfig.json, test framework, andfiles/exports/publishConfigshape are copied fromcspell-json-reporter. Version pinned to 10.0.1 to match the monorepo's locked versioning.src/utils/escapeXml.ts) and a pure XML-string builder (src/utils/buildJUnitXml.ts) were written in-repo, consistent with the monorepo's small-utility-file convention.erroremitter routed to a dedicatedcspell-errorstestsuite using<error>).Assumptions the issue thread left ambiguous, called out for review:
<testsuite>per file rather than one flat suite for the whole run. Matches common JUnit reporter convention and keeps per-file counts meaningful in CI UIs.<testcase name="no issues found">so a suite is never reported withtests="0", which some JUnit consumers treat as suspicious.cspell-json-reporter's (outFile,suiteNameonly). JUnit XML has no natural place for arbitrary debug/progress log dumps.<error>elements, distinct from spelling<failure>elements, per the JUnit failure-vs-error distinction.Verified locally:
tsc -bclean, vitest 32/32, eslint and prettier clean, and the full monorepobuild:prodsucceeds with the package in the workspace. One environment note: the package's CLI smoke-test script wasn't runnable locally (repo requires Node >=22.18.0, local was 22.17.0 — the sibling json-reporter fails identically there), so CI is the first place it will run.Fixes
fix: allow substitutions across ignored ranges (#9017)
fix: allow substitutions across ignored ranges (#9017)
v10.0.1Compare Source
Fixes
fix(cli): ignore closed readline after stdin (#8862)
fix(cli): ignore closed readline after stdin (#8862)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.