Releases: streetsidesoftware/cspell
v9.5.0
Features
feat: Report errors with nested config files (#8155)
feat: Report errors with nested config files (#8155)
fixes: #7837
Errors in nested configuration files were ignored. This lead to unexpected behavior.
Note: this is a fix, but since it can impact existing installs, it is marked as a feature change.
fix: Enable cts config support (#8152)
fix: Enable cts config support (#8152)
Add support for .cts config files.
Update docs with ts, mts, and cts config.
Fixes
fix: Add cspell-tools option keepUncompressed (#8163)
fix: Add cspell-tools option keepUncompressed (#8163)
fix: Improve CSpell Tools (#8160)
fix: Improve CSpell Tools (#8160)
Generate both compressed and non-compressed files when compress: true. This allows cspell-dicts to keep track of changes and have compressed files at the same time.
fix: Make sure `cspell` exports `defineConfig ` for CommonJS (#8156)
fix: Make sure cspell exports defineConfig for CommonJS (#8156)
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#8149)
fix: Workflow Bot -- Update Dictionaries (main) (#8149)
Update Dictionaries (main)
Summary
.../snapshots/AdaDoom3/AdaDoom3/report.yaml | 7 +-
.../snapshots/AdaDoom3/AdaDoom3/snapshot.txt | 7 +-
.../snapshots/TheAlgorithms/Python/report.yaml | 5 +-
.../snapshots/TheAlgorithms/Python/snapshot.txt | 5 +-
.../snapshots/dart-lang/sdk/report.yaml | 8 +-
.../snapshots/dart-lang/sdk/snapshot.txt | 4 +-
.../snapshots/django/django/report.yaml | 13 +--
.../snapshots/django/django/snapshot.txt | 44 ++++----
.../iluwatar/java-design-patterns/report.yaml | 3 +-
.../iluwatar/java-design-patterns/snapshot.txt | 3 +-
.../snapshots/ktaranov/sqlserver-kit/report.yaml | 4 +-
.../snapshots/ktaranov/sqlserver-kit/snapshot.txt | 3 +-
.../snapshots/neovim/nvim-lspconfig/report.yaml | 5 +-
.../snapshots/neovim/nvim-lspconfig/snapshot.txt | 3 +-
.../snapshots/slint-ui/slint/report.yaml | 8 +-
.../snapshots/slint-ui/slint/snapshot.txt | 7 +-
.../snapshots/sveltejs/svelte/report.yaml | 3 +-
.../snapshots/sveltejs/svelte/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 20 ++--
pnpm-lock.yaml | 120 +++++++++++----------
20 files changed, 115 insertions(+), 160 deletions(-)
v9.4.0
Features
feat: Add option to skip large files (#8040)
feat: Add option to skip large files (#8040)
New command line option: --max-file-size <value>
The value can be <number>[units], number with optional units.
Supported units:
K,KB- value * 1024M,MB- value * 2^20G,GB- value * 2^30
There is also a new setting called maxFileSize. At the moment, it only takes numbers in bytes.
This allows for setting a global value and overrides based upon glob settings.
Note: the command line value will override any value found in the configuration files.
Fixes
fix: Sign tags and commits when publishing (#8096)
fix: Sign tags and commits when publishing (#8096)
fix: allow string based maxFileSize (#8047)
fix: allow string based maxFileSize (#8047)
- Support allowing string based maxFileSize in config files.
- Report the number of skipped files.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#8091)
fix: Workflow Bot -- Update Dictionaries (main) (#8091)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 2 +-
pnpm-lock.yaml | 11 ++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#8080)
fix: Workflow Bot -- Update Dictionaries (main) (#8080)
Update Dictionaries (main)
Summary
.../snapshots/django/django/report.yaml | 25 +--
.../snapshots/django/django/snapshot.txt | 20 +-
.../snapshots/php/php-src/report.yaml | 237 ++++++++++-----------
.../snapshots/php/php-src/snapshot.txt | 7 +-
packages/cspell-bundled-dicts/package.json | 10 +-
pnpm-lock.yaml | 64 +++---
6 files changed, 163 insertions(+), 200 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#8058)
fix: Workflow Bot -- Update Dictionaries (main) (#8058)
Update Dictionaries (main)
Summary
integration-tests/snapshots/slint-ui/slint/report.yaml | 11 +++--------
integration-tests/snapshots/slint-ui/slint/snapshot.txt | 7 +------
packages/cspell-bundled-dicts/package.json | 2 +-
pnpm-lock.yaml | 12 ++++++------
4 files changed, 11 insertions(+), 21 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#8036)
fix: Workflow Bot -- Update Dictionaries (main) (#8036)
Update Dictionaries (main)
Summary
.../snapshots/TheAlgorithms/Python/report.yaml | 7 +--
.../snapshots/TheAlgorithms/Python/snapshot.txt | 5 +--
.../snapshots/eslint/eslint/report.yaml | 6 +--
.../snapshots/eslint/eslint/snapshot.txt | 3 +-
.../microsoft/TypeScript-Website/report.yaml | 5 +--
.../microsoft/TypeScript-Website/snapshot.txt | 3 +-
.../snapshots/slint-ui/slint/report.yaml | 7 ++-
.../snapshots/slint-ui/slint/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 8 ++--
pnpm-lock.yaml | 51 ++++++++++++----------
10 files changed, 46 insertions(+), 52 deletions(-)
v9.3.2
Fixes
fix: Add Zig programming language dictionary (#7998)
fix: Add Zig programming language dictionary (#7998)
fix: Search for TypeScript config files. (#7997)
fix: Search for TypeScript config files. (#7997)
TypeScript files were allowed, but would not be automatically found.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#8004)
fix: Workflow Bot -- Update Dictionaries (main) (#8004)
Update Dictionaries (main)
Summary
.../snapshots/ktaranov/sqlserver-kit/report.yaml | 4 +--
.../snapshots/ktaranov/sqlserver-kit/snapshot.txt | 5 ++-
packages/cspell-bundled-dicts/package.json | 6 ++--
pnpm-lock.yaml | 36 +++++++++++-----------
4 files changed, 24 insertions(+), 27 deletions(-)
v9.3.1
Fixes
fix: Support Deno (#7966)
fix: Support Deno (#7966)
Deno
This should enable running:
deno run -A cspell lint -c ./cspell.config.mts src
Bun
I tried bun, but it failed with:
WIP
Note: this is a work in progress. Deno does not support NodeJS's Buffer for decoding compressed binary data. I'll investigate a workaround.
It also blows up with encountering yarn blobs, but that is to be expected.
v9.3.0
Features
feat: Support loading `.ts` and `.mts` config files. (#7961)
feat: Support loading .ts and .mts config files. (#7961)
This PR add support to read TypeScript cspell config files.
Note: TypeScript config files will fail to load when NodeJS version is less than v22.18.0.
See: Node.js — Running TypeScript Natively
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7950)
fix: Workflow Bot -- Update Dictionaries (main) (#7950)
Update Dictionaries (main)
Summary
.../snapshots/sveltejs/svelte/report.yaml | 3 +-
.../snapshots/sveltejs/svelte/snapshot.txt | 7 +--
packages/cspell-bundled-dicts/package.json | 12 ++--
pnpm-lock.yaml | 68 +++++++++++++---------
4 files changed, 49 insertions(+), 41 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7940)
fix: Workflow Bot -- Update Dictionaries (main) (#7940)
Update Dictionaries (main)
Summary
.../snapshots/AdaDoom3/AdaDoom3/report.yaml | 3 +-
.../snapshots/AdaDoom3/AdaDoom3/snapshot.txt | 17 ++-
.../Azure/azure-rest-api-specs/report.yaml | 6 +-
.../Azure/azure-rest-api-specs/snapshot.txt | 14 +--
.../MartinThoma/LaTeX-examples/report.yaml | 5 +-
.../MartinThoma/LaTeX-examples/snapshot.txt | 5 +-
.../MicrosoftDocs/PowerShell-Docs/report.yaml | 55 +++------
.../MicrosoftDocs/PowerShell-Docs/snapshot.txt | 21 +---
.../snapshots/TheAlgorithms/Python/report.yaml | 9 +-
.../snapshots/TheAlgorithms/Python/snapshot.txt | 7 +-
.../snapshots/caddyserver/caddy/report.yaml | 4 +-
.../snapshots/caddyserver/caddy/snapshot.txt | 4 +-
.../snapshots/dart-lang/sdk/report.yaml | 20 +---
.../snapshots/dart-lang/sdk/snapshot.txt | 9 +-
.../snapshots/django/django/report.yaml | 6 +-
.../snapshots/django/django/snapshot.txt | 5 +-
.../snapshots/eslint/eslint/report.yaml | 4 +-
.../snapshots/eslint/eslint/snapshot.txt | 3 +-
.../snapshots/flutter/samples/report.yaml | 31 +----
.../snapshots/flutter/samples/snapshot.txt | 29 +----
.../googleapis/google-cloud-cpp/report.yaml | 17 +--
.../googleapis/google-cloud-cpp/snapshot.txt | 15 +--
.../snapshots/ktaranov/sqlserver-kit/report.yaml | 12 +-
.../snapshots/ktaranov/sqlserver-kit/snapshot.txt | 25 ++--
.../snapshots/neovim/nvim-lspconfig/report.yaml | 7 +-
.../snapshots/neovim/nvim-lspconfig/snapshot.txt | 9 +-
.../snapshots/php/php-src/report.yaml | 31 +----
.../snapshots/php/php-src/snapshot.txt | 31 +----
.../snapshots/pycontribs/jira/report.yaml | 3 +-
.../snapshots/pycontribs/jira/snapshot.txt | 3 +-
.../snapshots/slint-ui/slint/report.yaml | 51 +-------
.../snapshots/slint-ui/slint/snapshot.txt | 36 +-----
.../snapshots/wireapp/wire-webapp/report.yaml | 35 +++---
.../snapshots/wireapp/wire-webapp/snapshot.txt | 19 ++-
packages/cspell-bundled-dicts/package.json | 22 ++--
pnpm-lock.yaml | 133 ++++++++++++---------
36 files changed, 184 insertions(+), 522 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7933)
fix: Workflow Bot -- Update Dictionaries (main) (#7933)
Update Dictionaries (main)
Summary
.../snapshots/ktaranov/sqlserver-kit/report.yaml | 8 +++-
.../snapshots/ktaranov/sqlserver-kit/snapshot.txt | 7 +++-
.../snapshots/slint-ui/slint/report.yaml | 4 +-
.../snapshots/slint-ui/slint/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 8 ++--
pnpm-lock.yaml | 45 ++++++++++++----------
6 files changed, 44 insertions(+), 31 deletions(-)
v9.2.2
Fixes
fix: Wait for the cache to save (#7926)
fix: Wait for the cache to save (#7926)
This fixes a flaky cache situation caused by not waiting for the cache to save before moving on.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7915)
fix: Workflow Bot -- Update Dictionaries (main) (#7915)
Update Dictionaries (main)
Summary
.../MicrosoftDocs/PowerShell-Docs/report.yaml | 3 +-
.../MicrosoftDocs/PowerShell-Docs/snapshot.txt | 3 +-
.../snapshots/TheAlgorithms/Python/report.yaml | 3 +-
.../snapshots/TheAlgorithms/Python/snapshot.txt | 3 +-
.../snapshots/flutter/samples/report.yaml | 4 +-
.../snapshots/flutter/samples/snapshot.txt | 3 +-
.../snapshots/gitbucket/gitbucket/report.yaml | 4 +-
.../snapshots/gitbucket/gitbucket/snapshot.txt | 4 +-
.../snapshots/neovim/nvim-lspconfig/report.yaml | 6 +-
.../snapshots/neovim/nvim-lspconfig/snapshot.txt | 6 +-
.../snapshots/php/php-src/report.yaml | 92 +------------------
.../snapshots/php/php-src/snapshot.txt | 102 ++-------------------
.../snapshots/slint-ui/slint/report.yaml | 33 ++-----
.../snapshots/slint-ui/slint/snapshot.txt | 11 +--
.../snapshots/sveltejs/svelte/report.yaml | 3 +-
.../snapshots/sveltejs/svelte/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 16 ++--
pnpm-lock.yaml | 96 ++++++++++---------
18 files changed, 96 insertions(+), 299 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7835)
fix: Workflow Bot -- Update Dictionaries (main) (#7835)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 4 +-
packages/cspell-lib/api/api.d.ts | 9 --
pnpm-lock.yaml | 207 ++++++++++++++++-------------
3 files changed, 118 insertions(+), 102 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7822)
fix: Workflow Bot -- Update Dictionaries (main) (#7822)
Update Dictionaries (main)
Summary
.../snapshots/vitest-dev/vitest/report.yaml | 4 +-
.../snapshots/vitest-dev/vitest/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 8 ++--
pnpm-lock.yaml | 45 ++++++++++++----------
4 files changed, 31 insertions(+), 29 deletions(-)
v9.2.1
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7795)
fix: Workflow Bot -- Update Dictionaries (main) (#7795)
Update Dictionaries (main)
Summary
.../snapshots/graphql/graphql-spec/report.yaml | 108 ++++++++++-----------
.../snapshots/wireapp/wire-desktop/report.yaml | 2 +-
packages/cspell-bundled-dicts/package.json | 8 +-
packages/cspell/src/__snapshots__/app.test.ts.snap | 15 +--
pnpm-lock.yaml | 44 +++++----
5 files changed, 95 insertions(+), 82 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7791)
fix: Workflow Bot -- Update Dictionaries (main) (#7791)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 8 ++--
packages/cspell/src/__snapshots__/app.test.ts.snap | 22 +++++-----
pnpm-lock.yaml | 47 ++++++++++++----------
3 files changed, 41 insertions(+), 36 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7768)
fix: Workflow Bot -- Update Dictionaries (main) (#7768)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 2 +-
pnpm-lock.yaml | 11 ++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7764)
fix: Workflow Bot -- Update Dictionaries (main) (#7764)
Update Dictionaries (main)
Summary
.../snapshots/django/django/report.yaml | 4 +-
.../snapshots/django/django/snapshot.txt | 3 +-
.../snapshots/php/php-src/report.yaml | 3 +-
.../snapshots/php/php-src/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 10 ++--
pnpm-lock.yaml | 57 ++++++++++++----------
6 files changed, 40 insertions(+), 40 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7745)
fix: Workflow Bot -- Update Dictionaries (main) (#7745)
Update Dictionaries (main)
Summary
.../snapshots/TheAlgorithms/Python/report.yaml | 3 +-
.../snapshots/TheAlgorithms/Python/snapshot.txt | 3 +-
packages/cspell-bundled-dicts/package.json | 2 +-
pnpm-lock.yaml | 162 ++++++++++-----------
4 files changed, 84 insertions(+), 86 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7728)
fix: Workflow Bot -- Update Dictionaries (main) (#7728)
Update Dictionaries (main)
Summary
integration-tests/snapshots/mdx-js/mdx/report.yaml | 3 +--
.../snapshots/mdx-js/mdx/snapshot.txt | 3 +--
.../snapshots/vitest-dev/vitest/report.yaml | 6 +-----
.../snapshots/vitest-dev/vitest/snapshot.txt | 4 +---
packages/cspell-bundled-dicts/package.json | 4 ++--
pnpm-lock.yaml | 24 +++++++++++-----------
6 files changed, 18 insertions(+), 26 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7672)
fix: Workflow Bot -- Update Dictionaries (main) (#7672)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 6 ++---
pnpm-lock.yaml | 36 +++++++++++++++---------------
2 files changed, 21 insertions(+), 21 deletions(-)
fix: Workflow Bot -- Update Dictionaries (main) (#7662)
fix: Workflow Bot -- Update Dictionaries (main) (#7662)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 6 ++---
pnpm-lock.yaml | 36 +++++++++++++++---------------
2 files changed, 21 insertions(+), 21 deletions(-)
v9.2.0
Features
Fixes
fix: Remove `flat-cache` dependency (#7636)
fix: Remove flat-cache dependency (#7636)
flat-cache v6 is not compatible with the cspell cache. Since flat-cache was mostly a pass through to flatted, it was better to just replace it.
fix: Replace file-entry-cache (#6579)
fix: Replace file-entry-cache (#6579)
Deprecating the use of file-entry-cache.
v10 of file-entry-cache breaks the spell checker and bloats the cache size.
This PR is the first step in reducing the dependency upon file-entry-cache and its dependencies.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7618)
fix: Workflow Bot -- Update Dictionaries (main) (#7618)
Update Dictionaries (main)
Summary
integration-tests/snapshots/vitest-dev/vitest/report.yaml | 10 ++--------
integration-tests/snapshots/vitest-dev/vitest/snapshot.txt | 5 +----
packages/cspell-bundled-dicts/package.json | 2 +-
pnpm-lock.yaml | 12 ++++++------
4 files changed, 10 insertions(+), 19 deletions(-)
v9.1.5
v9.1.4
Fixes
fix: show simple typos reporting (#7606)
fix: show simple typos reporting (#7606)
Fix the logic to show an issue when the reporting level is set to simple. The code worked because of the assumption that hasSimpleSuggestions would be true if hasPreferredSuggestions was true.
fix: Make it easier to create config files. (#7598)
fix: Make it easier to create config files. (#7598)
fix: store reportIssueOptions in the cache (#7597)
fix: store reportIssueOptions in the cache (#7597)
This fixes and issue with reporting cached issues when they should have been ignored.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#7591)
fix: Workflow Bot -- Update Dictionaries (main) (#7591)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 116 ++---
pnpm-lock.yaml | 706 +++++++++++++++--------------
2 files changed, 432 insertions(+), 390 deletions(-)
