Skip to content

chore: Prepare Release v10.0.2 (auto-deploy) - #8883

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-draft
Open

chore: Prepare Release v10.0.2 (auto-deploy)#8883
github-actions[bot] wants to merge 1 commit into
mainfrom
release-draft

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Release v10.0.2

Release Notes

Details

Fixes

fix: Find the nearest `.git` when a worktree is inside a clone (#8976)

fix: Find the nearest .git when a worktree is inside a clone (#8976)

Fixes #8975.

findRepoRoot runs two independent findUp searches and prefers the directory result, so a clone further up wins over a worktree's own .git file:

const foundDir = await vfs.findUp('.git', directory, { type: 'directory' });
const foundFile = await vfs.findUp('.git', directory, { type: 'file' });
const found = foundDir || foundFile;

With useGitignore: true the clone's .gitignore is then applied to the worktree's files, so a worktree kept in a gitignored folder inside its own clone — the .worktrees layout this repository uses itself — has every file treated as ignored and cspell reports Files checked: 0.

This searches once for a .git of either kind, via a predicate, so the nearest one marks the root. That also drops one full walk up the tree.

Note that omitting type is not an alternative: findUpFromUrl defaults it to 'file', so a plain findUp('.git', directory) stops finding normal clones.

The new test builds a clone with a worktree nested inside it under temp/ and checks both roots resolve to themselves. It fails on main with the worktree resolving to the clone.

Verified with the built CLI on a scratch repository, run from a subdirectory of the worktree so that the findRepoRoot(cwd) || cwd fallback in generateGitIgnore cannot mask the result: before, Files checked: 0; after, the misspellings are reported.


fix: Add .typ extension for Typst (#8961)

fix: Add .typ extension for Typst (#8961)

Typst files typically have the .typ extension, not .typst. This PR adds .typ as an alternative filetype extension so that cspell can recognize those files automatically.


fix: Handle Windows UNC Long Path Names (#8914)

fix: Handle Windows UNC Long Path Names (#8914)

Pull request overview

This PR improves cspell-url’s handling of Windows long/UNC path formats by adding long-path prefix utilities and ensuring FileUrlBuilder can generate correct file: URLs for UNC/extended-length paths. It also adds fixtures and tests to exercise long-path behavior.

Changes:

  • Add Windows long-path/UNC prefix helpers (\\?\, \\?\UNC\, \\.\) and normalization (fixLongPathPrefix) in fileUrl.mts.
  • Update FileUrlBuilder to special-case UNC/extended-length paths when converting to file: URLs.
  • Add long-path fixtures and new tests that read and convert long Windows paths/URLs.

Related to:


Dictionary Updates

fix: Workflow Bot -- Update Dictionaries (main) (#8995)

fix: Workflow Bot -- Update Dictionaries (main) (#8995)

Update Dictionaries (main)

Summary

 .../snapshots/caddyserver/caddy/report.yaml        |   3 +-
 .../snapshots/caddyserver/caddy/snapshot.txt       |   3 +-
 .../snapshots/dart-lang/sdk/report.yaml            |  10 +-
 .../snapshots/dart-lang/sdk/snapshot.txt           |   5 +-
 .../snapshots/django/django/report.yaml            |  44 ++------
 .../snapshots/django/django/snapshot.txt           |  64 ++++-------
 .../iluwatar/java-design-patterns/report.yaml      |  13 +--
 .../iluwatar/java-design-patterns/snapshot.txt     |   3 +-
 .../snapshots/ktaranov/sqlserver-kit/report.yaml   |   6 +-
 .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  |   5 +-
 .../snapshots/neovim/nvim-lspconfig/report.yaml    |   6 +-
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   | 122 ++++++++++-----------
 .../snapshots/php/php-src/report.yaml              |  29 +----
 .../snapshots/php/php-src/snapshot.txt             |  29 +----
 .../snapshots/pycontribs/jira/report.yaml          |   3 +-
 .../snapshots/pycontribs/jira/snapshot.txt         |  13 +--
 .../snapshots/wireapp/wire-webapp/report.yaml      |  42 +++----
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  18 +--
 packages/cspell-bundled-dicts/package.json         |  12 +-
 pnpm-lock.yaml                                     |  70 +++++++-----
 20 files changed, 174 insertions(+), 326 deletions(-)

fix: Workflow Bot -- Update Dictionaries (main) (#8990)

fix: Workflow Bot -- Update Dictionaries (main) (#8990)

Update Dictionaries (main)

Summary

 .../snapshots/neovim/nvim-lspconfig/report.yaml    |  8 +-------
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   | 12 +++--------
 .../snapshots/vitest-dev/vitest/report.yaml        |  6 ++----
 .../snapshots/vitest-dev/vitest/snapshot.txt       |  3 +--
 packages/cspell-bundled-dicts/package.json         |  4 ++--
 pnpm-lock.yaml                                     | 24 +++++++++++-----------
 6 files changed, 21 insertions(+), 36 deletions(-)

fix: Workflow Bot -- Update Dictionaries (main) (#8956)

fix: Workflow Bot -- Update Dictionaries (main) (#8956)

Update Dictionaries (main)

Summary

 .../MicrosoftDocs/PowerShell-Docs/report.yaml      |  42 +-----
 .../MicrosoftDocs/PowerShell-Docs/snapshot.txt     |  40 +-----
 .../snapshots/TheAlgorithms/Python/report.yaml     |  11 +-
 .../snapshots/TheAlgorithms/Python/snapshot.txt    |   7 +-
 .../snapshots/caddyserver/caddy/report.yaml        |  17 +--
 .../snapshots/caddyserver/caddy/snapshot.txt       |  17 +--
 .../snapshots/eslint/eslint/report.yaml            |   4 +-
 .../snapshots/eslint/eslint/snapshot.txt           |   3 +-
 .../snapshots/gitbucket/gitbucket/report.yaml      |   3 +-
 .../snapshots/gitbucket/gitbucket/snapshot.txt     |   3 +-
 .../googleapis/google-cloud-cpp/report.yaml        |   6 +-
 .../googleapis/google-cloud-cpp/snapshot.txt       |   4 +-
 .../snapshots/ktaranov/sqlserver-kit/report.yaml   | 112 +--------------
 .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  | 155 ++++-----------------
 .../snapshots/php/php-src/report.yaml              |   3 +-
 .../snapshots/php/php-src/snapshot.txt             |   3 +-
 .../snapshots/vitest-dev/vitest/report.yaml        |   6 +-
 .../snapshots/vitest-dev/vitest/snapshot.txt       |   8 +-
 .../snapshots/wireapp/wire-webapp/report.yaml      | 117 +---------------
 .../snapshots/wireapp/wire-webapp/snapshot.txt     | 109 +--------------
 packages/cspell-bundled-dicts/package.json         |  20 +--
 pnpm-lock.yaml                                     | 120 +++++++++-------
 22 files changed, 133 insertions(+), 677 deletions(-)

fix: Workflow Bot -- Update Dictionaries (main) (#8881)

fix: Workflow Bot -- Update Dictionaries (main) (#8881)

Update Dictionaries (main)

Summary

 .../iluwatar/java-design-patterns/report.yaml      |   5 +-
 .../iluwatar/java-design-patterns/snapshot.txt     |   5 +-
 integration-tests/snapshots/mdx-js/mdx/report.yaml |   7 +-
 .../snapshots/mdx-js/mdx/snapshot.txt              |   7 +-
 .../snapshots/sveltejs/svelte/report.yaml          |   3 +-
 .../snapshots/sveltejs/svelte/snapshot.txt         |   3 +-
 packages/cspell-bundled-dicts/package.json         |  18 ++--
 pnpm-lock.yaml                                     | 112 ++++++++++++---------
 8 files changed, 84 insertions(+), 76 deletions(-)

Version Information

  • Tag: v10.0.2
  • Version: 10.0.2

Summary

 .release.json                                    |   6 +-
 CHANGELOG.md                                     | 194 +++++++++++++++++++++++
 packages/cspell-bundled-dicts/CHANGELOG.md       |  17 ++
 packages/cspell-config-lib/CHANGELOG.md          |  17 ++
 packages/cspell-dictionary/CHANGELOG.md          |  17 ++
 packages/cspell-eslint-plugin/CHANGELOG.md       |  17 ++
 packages/cspell-filetypes/CHANGELOG.md           |  17 ++
 packages/cspell-gitignore/CHANGELOG.md           |  17 ++
 packages/cspell-glob/CHANGELOG.md                |  17 ++
 packages/cspell-grammar/CHANGELOG.md             |  17 ++
 packages/cspell-io/CHANGELOG.md                  |  17 ++
 packages/cspell-json-reporter/CHANGELOG.md       |  17 ++
 packages/cspell-lib/CHANGELOG.md                 |  17 ++
 packages/cspell-normalize-json/CHANGELOG.md      |  17 ++
 packages/cspell-performance-monitor/CHANGELOG.md |  17 ++
 packages/cspell-pipe/CHANGELOG.md                |  17 ++
 packages/cspell-resolver/CHANGELOG.md            |  17 ++
 packages/cspell-service-bus/CHANGELOG.md         |  17 ++
 packages/cspell-strong-weak-map/CHANGELOG.md     |  17 ++
 packages/cspell-tools-alias/CHANGELOG.md         |  17 ++
 packages/cspell-tools/CHANGELOG.md               |  17 ++
 packages/cspell-trie-lib/CHANGELOG.md            |  17 ++
 packages/cspell-trie/CHANGELOG.md                |  17 ++
 packages/cspell-types/CHANGELOG.md               |  17 ++
 packages/cspell-url/CHANGELOG.md                 |  17 ++
 packages/cspell-worker/CHANGELOG.md              |  17 ++
 packages/cspell/CHANGELOG.md                     | 194 +++++++++++++++++++++++
 packages/dynamic-import/CHANGELOG.md             |  17 ++
 packages/flatpack-json/CHANGELOG.md              |  17 ++
 packages/hunspell-reader/CHANGELOG.md            |  17 ++
 packages/rpc/CHANGELOG.md                        |  17 ++
 31 files changed, 867 insertions(+), 3 deletions(-)

@github-actions
github-actions Bot force-pushed the release-draft branch 11 times, most recently from e2365b7 to f088fac Compare June 8, 2026 19:50
@github-actions
github-actions Bot force-pushed the release-draft branch 14 times, most recently from 4efce74 to 1818d04 Compare June 16, 2026 05:47
@github-actions
github-actions Bot force-pushed the release-draft branch 5 times, most recently from 3fa25b6 to b4f5199 Compare July 5, 2026 15:00
@github-actions
github-actions Bot force-pushed the release-draft branch 3 times, most recently from f363d7e to c826928 Compare July 30, 2026 05:15
@github-actions
github-actions Bot force-pushed the release-draft branch 26 times, most recently from f37f755 to 54c1698 Compare August 9, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: findRepoRoot prefers a distant .git directory over a worktree's own .git file

0 participants