Skip to content

chore: Prepare Release v10.2.1 (auto-deploy) - #9135

Merged
Jason3S merged 1 commit into
mainfrom
release-draft
Sep 3, 2026
Merged

Jason3S merged 1 commit into
mainfrom
release-draft

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Release v10.2.1

Release Notes

Details

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:

  • Updated Thai (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]
  • Added the @cspell/dict-th-th package to dependencies, enabling Thai dictionary support.
  • Adjusted tests and expectations for Thai segmentation to reflect the use of soft hyphens and to ensure no false positives in validation.

Word splitting and symbol handling enhancements:

  • Introduced a new generateWordBreaks utility 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]
  • Improved regular expressions for word splitting to support soft hyphens and better handle punctuation and symbols.

Refactoring and code organization:

  • Refactored imports to use the new wordSplitter/index.js entry point, improving modularity and future maintainability. [1] [2]
  • Added explicit exports for split, SplitOptions, and SplitResult in wordSplitter/index.ts to clarify and centralize the public API.

Other enhancements:

  • Exposed the softHyphen constant for consistent use throughout the codebase. [1] [2]

Dictionary Updates

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

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

Update Dictionaries (main)

Summary

 packages/cspell-bundled-dicts/package.json |  2 +-
 pnpm-lock.yaml                             | 25 +++++++++----------------
 2 files changed, 10 insertions(+), 17 deletions(-)

Version Information

  • Tag: v10.2.1
  • Version: 10.2.1

Summary

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

@github-actions github-actions Bot changed the title chore: Prepare Release v10.2.0 (auto-deploy) chore: Prepare Release v10.2.1 (auto-deploy) Aug 31, 2026
@github-actions
github-actions Bot force-pushed the release-draft branch 17 times, most recently from 2df1ac3 to c45d236 Compare September 3, 2026 12:31
@Jason3S
Jason3S merged commit 38b573f into main Sep 3, 2026
1 check passed
@Jason3S
Jason3S deleted the release-draft branch September 3, 2026 13:43
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.

1 participant