Changes
Fixes
fix: handle symbolic links to config files (#5122)
fix: handle symbolic links to config files (#5122)
fixes #5120
fix: API: Update DocValidator (#5115)
fix: API: Update DocValidator (#5115)
Add/expose:
- trace - to trace a word to a dictionary
- getCheckedTextRanges
fix: Workflow Bot -- Update Dictionaries (main) (#5114)
fix: Workflow Bot -- Update Dictionaries (main) (#5114)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 10 ++---
.../cspell/src/app/__snapshots__/app.test.ts.snap | 1 +
pnpm-lock.yaml | 43 +++++++++++++---------
3 files changed, 31 insertions(+), 23 deletions(-)
fix: Improve caching of dictionaries (#5105)
fix: Improve caching of dictionaries (#5105)
This change reduces dictionary reload for long running processes.
The dictionary loader uses a WeakMap to keep dictionaries. This is very effective for keeping the memory size down when using the command-line tool. But, it also throws out dictionaries too soon when the spell checker is used as part of a server. To address this, the dictionary loader keep the most recent 10-20 loaded dictionaries in memory.
Dictionary Updates
fix: Workflow Bot -- Update Dictionaries (main) (#5114)
fix: Workflow Bot -- Update Dictionaries (main) (#5114)
Update Dictionaries (main)
Summary
packages/cspell-bundled-dicts/package.json | 10 ++---
.../cspell/src/app/__snapshots__/app.test.ts.snap | 1 +
pnpm-lock.yaml | 43 +++++++++++++---------
3 files changed, 31 insertions(+), 23 deletions(-)