v7
This release includes a lot of internal clean-up. Other than dropping support for Node 14, CSpell CLI users should not have any major issues.
API notes below.
Breaking changes
- Require Node 16+
- Remove CommonJS support from most packages
- Change the internal structure of Trie for performance and memory efficiency.
What's Changed
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4362
- feat!: Drop support for Node 14 by @Jason3S in #4372
- fix: adjust docker command in README to match common samples by @kamontat in #4387
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4405
- feat: Remove support for cspell commonjs interface by @Jason3S in #4415
- feat: remove commonjs support from cspell-lib by @Jason3S in #4419
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4461
- fix: Move trie-lib to ESM Only by @Jason3S in #4460
- feat!: Change the internal structure of a Trie by @Jason3S in #4464
- fix: Use swap16 to convert Unicode 16be to 16le by @Jason3S in #4468
- feat: Experiment with a Binary Trie format for speed by @Jason3S in #4474
- fix: work on Trie performance by @Jason3S in #4480
- fix: Work towards a common Trie Interface by @Jason3S in #4481
- fix: work towards a common base Trie Interface by @Jason3S in #4483
- fix: Improving trie-lib by @Jason3S in #4488
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4493
- fix: Implement Hinted Walker for ITrieNode by @Jason3S in #4500
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4509
- dev: Work towards improving suggestion speed. by @Jason3S in #4519
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4517
- refactor: clean up Trie creation by @Jason3S in #4523
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4526
- refactor: Improve suggestion generation by @Jason3S in #4531
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4536
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4541
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4546
- refactor: Keep a copy of the cspell-trie-lib API to track changes by @Jason3S in #4547
- feat: clean up trie API and use faster suggest by @Jason3S in #4553
- feat: Support weighted suggestions in Trie by @Jason3S in #4557
- fix: improve performance of suggestion costs. by @Jason3S in #4569
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4563
- fix!: cspell-io rename
readFile
toreadFileText
by @Jason3S in #4572 - docs: fix bad example by @Jason3S in #4573
- refactor: Move away from Buffer towards ArrayBufferView by @Jason3S in #4579
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4586
- fix!: remove commonjs support from cspell-grammar by @Jason3S in #4588
- fix!: remove commonjs support from cspell-pipes by @Jason3S in #4590
- fix!: remove commonjs support from cspell-gitignore by @Jason3S in #4591
- chore(deps): bump release-drafter/release-drafter from 5.23.0 to 5.24.0 by @dependabot in #4595
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4603
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4606
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4607
- feat: Add
gzip
andshasum
command to cspell-tools by @Jason3S in #4614 - fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4618
- fix: support globs with
gzip
command. by @Jason3S in #4625 - fix: Fix empty build target by @Jason3S in #4627
- fix: support automatic creation of
cspell-tools.config.yaml
by @Jason3S in #4631 - chore(deps): bump coverallsapp/github-action from 2.2.0 to 2.2.1 by @dependabot in #4632
- fix: cspell-tools: be able to update shasum checksum files. by @Jason3S in #4634
- fix: make sure cspell-types are true dependencies by @Jason3S in #4640
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4637
- fix: cspell-tools: fix init option output by @Jason3S in #4650
- fix: Fix and issue with
.trie
builder by @Jason3S in #4657 - fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4661
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4663
- fix(cspell-tools): support conditional builds. by @Jason3S in #4668
- fix: Package
cspell-json-reporter
withcspell
by @Jason3S in #4678 - feat: Add customWords options by @siosio34 in #4683
- fix: Workflow Bot -- Update Dictionaries (main) by @street-side-software-automation in #4697
- fix: Update dictionaries and add f# by @Jason3S in #4696
- fix: Support more CSpell settings in eslint plugin by @Jason3S in #4700
- fix: Add
$schema
field to the cspell-tools config by @Jason3S in #4708
API moving to ESM
If you are a consumer of the CSpell API and require CommonJS, consider using @cspell/dynamic-import.
More notes can be found at #4402.
New Contributors
Full Changelog: v6.31.1...v7.0.0