npm cspell 8.1.0
v8.1.0

latest releases: 8.16.0, 8.15.7, 8.15.6...
11 months ago

Changes

This is a minor update for CSpell command line tool.

  • ESM Configuration Support (.mjs files).
  • Speed improvements
  • Dictionary Updates

Breaking API Changes

In order to support ESM configuration files, it was necessary to stop supporting sync configuration endpoints. As a result, many endpoint now return promises.

Features

feat: Support ESM configuration (#4995)

feat: Support ESM configuration (#4995)

ESM Configuration support

This is an important step towards running the spell checker in the browser.

With this feature, all synchronous APIs are deprecated or have been removed. This is a BREAKING change to API users.

fix: #4719
fix: #4868


feat: Remove support for Sync methods (#4989)

feat: Remove support for Sync methods (#4989)


feat: convert `@cspell/cspell-resolver` to ESM module (#4973)

feat: convert @cspell/cspell-resolver to ESM module (#4973)


feat: Change CSpellIO library to return file references when writing. (#4968)

feat: Change CSpellIO library to return file references when writing. (#4968)


Fixes

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

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

Update Dictionaries (main)

Summary

 .../aspnetboilerplate/report.yaml                  |  6 ++--
 .../aspnetboilerplate/snapshot.txt                 |  4 +--
 .../snapshots/caddyserver/caddy/report.yaml        |  4 +--
 .../snapshots/caddyserver/caddy/snapshot.txt       |  4 +--
 .../snapshots/django/django/report.yaml            |  8 ++---
 .../snapshots/django/django/snapshot.txt           |  4 +--
 .../snapshots/eslint/eslint/report.yaml            |  4 +--
 .../snapshots/eslint/eslint/snapshot.txt           |  3 +-
 .../googleapis/google-cloud-cpp/report.yaml        |  6 ++--
 .../googleapis/google-cloud-cpp/snapshot.txt       |  4 +--
 .../snapshots/php/php-src/report.yaml              |  8 +----
 .../snapshots/php/php-src/snapshot.txt             | 10 ++-----
 .../snapshots/wireapp/wire-webapp/report.yaml      |  3 +-
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  3 +-
 packages/cspell-bundled-dicts/package.json         |  8 ++---
 pnpm-lock.yaml                                     | 34 ++++++++++++++--------
 16 files changed, 45 insertions(+), 68 deletions(-)

perf: Speed up determining which files to check (#5008)

perf: Speed up determining which files to check (#5008)


fix: Improve fetching/caching config files (#5004)

fix: Improve fetching/caching config files (#5004)


fix: reduce duplicate config file reads. (#5002)

fix: reduce duplicate config file reads. (#5002)


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

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

Update Dictionaries (main)

Summary

 .../snapshots/RustPython/RustPython/report.yaml    |  6 ++--
 .../snapshots/RustPython/RustPython/snapshot.txt   |  4 +--
 .../snapshots/django/django/report.yaml            |  3 +-
 .../snapshots/django/django/snapshot.txt           |  3 +-
 .../snapshots/eslint/eslint/report.yaml            |  6 +---
 .../snapshots/eslint/eslint/snapshot.txt           |  8 ++----
 .../googleapis/google-cloud-cpp/report.yaml        |  4 +--
 .../googleapis/google-cloud-cpp/snapshot.txt       |  4 +--
 integration-tests/snapshots/mdx-js/mdx/report.yaml |  6 ++--
 .../snapshots/mdx-js/mdx/snapshot.txt              |  4 +--
 .../snapshots/neovim/nvim-lspconfig/report.yaml    |  3 +-
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   |  7 ++---
 .../snapshots/php/php-src/report.yaml              |  4 +--
 .../snapshots/php/php-src/snapshot.txt             |  4 +--
 .../snapshots/sveltejs/svelte/report.yaml          | 10 ++-----
 .../snapshots/sveltejs/svelte/snapshot.txt         |  8 ++----
 .../snapshots/wireapp/wire-webapp/report.yaml      |  5 ++--
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  3 +-
 packages/cspell-bundled-dicts/package.json         |  8 +++---
 pnpm-lock.yaml                                     | 32 +++++++++++-----------
 20 files changed, 47 insertions(+), 85 deletions(-)

refactor(cspell-io): URLs must be URLs and not filenames (#4984)

refactor(cspell-io): URLs must be URLs and not filenames (#4984)


dev: prevent writing to readonly config (#4983)

dev: prevent writing to readonly config (#4983)


refactor: Work towards supporting ESM config files as well as remote config files. (#4980)

refactor: Work towards supporting ESM config files as well as remote config files. (#4980)


refactor: Refactor cspell-config-lib (#4978)

refactor: Refactor cspell-config-lib (#4978)

This is a breaking API change.


Dictionary Updates

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

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

Update Dictionaries (main)

Summary

 .../aspnetboilerplate/report.yaml                  |  6 ++--
 .../aspnetboilerplate/snapshot.txt                 |  4 +--
 .../snapshots/caddyserver/caddy/report.yaml        |  4 +--
 .../snapshots/caddyserver/caddy/snapshot.txt       |  4 +--
 .../snapshots/django/django/report.yaml            |  8 ++---
 .../snapshots/django/django/snapshot.txt           |  4 +--
 .../snapshots/eslint/eslint/report.yaml            |  4 +--
 .../snapshots/eslint/eslint/snapshot.txt           |  3 +-
 .../googleapis/google-cloud-cpp/report.yaml        |  6 ++--
 .../googleapis/google-cloud-cpp/snapshot.txt       |  4 +--
 .../snapshots/php/php-src/report.yaml              |  8 +----
 .../snapshots/php/php-src/snapshot.txt             | 10 ++-----
 .../snapshots/wireapp/wire-webapp/report.yaml      |  3 +-
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  3 +-
 packages/cspell-bundled-dicts/package.json         |  8 ++---
 pnpm-lock.yaml                                     | 34 ++++++++++++++--------
 16 files changed, 45 insertions(+), 68 deletions(-)

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

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

Update Dictionaries (main)

Summary

 .../snapshots/RustPython/RustPython/report.yaml    |  6 ++--
 .../snapshots/RustPython/RustPython/snapshot.txt   |  4 +--
 .../snapshots/django/django/report.yaml            |  3 +-
 .../snapshots/django/django/snapshot.txt           |  3 +-
 .../snapshots/eslint/eslint/report.yaml            |  6 +---
 .../snapshots/eslint/eslint/snapshot.txt           |  8 ++----
 .../googleapis/google-cloud-cpp/report.yaml        |  4 +--
 .../googleapis/google-cloud-cpp/snapshot.txt       |  4 +--
 integration-tests/snapshots/mdx-js/mdx/report.yaml |  6 ++--
 .../snapshots/mdx-js/mdx/snapshot.txt              |  4 +--
 .../snapshots/neovim/nvim-lspconfig/report.yaml    |  3 +-
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   |  7 ++---
 .../snapshots/php/php-src/report.yaml              |  4 +--
 .../snapshots/php/php-src/snapshot.txt             |  4 +--
 .../snapshots/sveltejs/svelte/report.yaml          | 10 ++-----
 .../snapshots/sveltejs/svelte/snapshot.txt         |  8 ++----
 .../snapshots/wireapp/wire-webapp/report.yaml      |  5 ++--
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  3 +-
 packages/cspell-bundled-dicts/package.json         |  8 +++---
 pnpm-lock.yaml                                     | 32 +++++++++++-----------
 20 files changed, 47 insertions(+), 85 deletions(-)

Documentation

docs: Update README.md (#4966)

docs: Update README.md (#4966)


doc: Update Supported versions (#4964)

doc: Update Supported versions (#4964)


Don't miss a new cspell release

NewReleases is sending notifications on new releases.