Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSpell 7.0.0 Release #4402

Closed
13 of 18 tasks
Jason3S opened this issue Apr 15, 2023 · 1 comment
Closed
13 of 18 tasks

CSpell 7.0.0 Release #4402

Jason3S opened this issue Apr 15, 2023 · 1 comment

Comments

@Jason3S
Copy link
Collaborator

Jason3S commented Apr 15, 2023

CSpell 7.0.0

Features

  • Dropping Support for Node 14
    Node 14 is EOL at the end of the month, time to move on. It is too difficult to keep supporting it when the build tools no longer support it.

  • Move towards ESM Only Modules
    Supporting CommonJS and ESM Modules is painful. If you depend upon the CSpell library as CommonJS, a bundler should work.

    Please note: At the 7.0.0 release, some modules might still have a CommonJS endpoints exposed. It will only be a minor release bump when they are removed.

  • First Pass at cleaning up the Module APIs
    The API has grown and morphed over the years. It is time for a bit of clean up. This is a work in progress, so it may take a few versions.

    • All Sync endpoints that fetch files from the disk or over http will become Async.

ESM Only Modules

  • @cspell/cspell-bundled-dicts
  • @cspell/cspell-json-reporter
  • @cspell/cspell-pipe
  • @cspell/cspell-service-bus
  • @cspell/cspell-tools
  • cspell
  • cspell-dictionary
  • cspell-gitignore
  • cspell-glob
  • cspell-grammar
  • cspell-io
  • cspell-lib
  • cspell-trie
  • cspell-trie-lib
  • hunspell-reader

To check, use:

jq -s -r '[.[] | { name: .name, check: (if .type == "module" then "x" else " " end)}] | sort_by(.name) | .[] |  "- [" + .check + "] " + .name' packages/*/package.json
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant