Skip to content

Releases: streetsidesoftware/cspell

v5.13.2

07 Dec 09:44
Compare
Choose a tag to compare

Changes

fix: jest/expect-expect warning (#2062)

fix: jest/expect-expect warning (#2062)

Inlined the code since it couldn't understand the double redirection


chore: add setup-node caching to remaining jobs (#2043)

chore: add setup-node caching to remaining jobs (#2043)

It was already setup for some of the jobs, this extends it to the rest


fix: Update TypeScript extensions (#2051)

fix: Update TypeScript extensions (#2051)


Fixes

fix: make cspell aware of PureScript and Dhall (#2067)

fix: make cspell aware of PureScript and Dhall (#2067)


Maintenance

ci: Remove eslint-plugin-promise (#2076)

ci: Remove eslint-plugin-promise (#2076)

Add it back when Support ESLint 8.x · Issue #218 · xjamundx/eslint-plugin-promise is resolved.


ci: Update eslint (#2075)

ci: Update eslint (#2075)


ci: always use the same version of npm. (#2068)

ci: always use the same version of npm. (#2068)


v5.13.1

24 Nov 20:18
Compare
Choose a tag to compare

Changes

Fixes

fix: fix #2011 (#2013)

fix: fix #2011 (#2013)

Turn on exactOptionalPropertyTypes for types.


v5.13.0

17 Nov 07:55
Compare
Choose a tag to compare

Changes

docs: Add more glob examples (#1977)

docs: Add more glob examples (#1977)


docs: Update generated docs (#1958)

docs: Update generated docs (#1958)


Features

feat: Support `--dot` command line option. (#1985)

feat: Support --dot command line option. (#1985)

fix: #1980


Fixes

dev: Catch forbidden whole words (#2000)

dev: Catch forbidden whole words (#2000)

Fix #1953


dev: Refactor cache files (#1986)

dev: Refactor cache files (#1986)

  • Remove any circular import references.
  • Move interfaces next to the supporting code.

dev: Update workflow for cspell4 (#1965)

dev: Update workflow for cspell4 (#1965)


fix: Update schema generator (#1957)

fix: Update schema generator (#1957)

The JSON schema will now include the deprecated flag.


fix: integration - turn off case sensitivity for German (#1952)

fix: integration - turn off case sensitivity for German (#1952)


fix: Add `enableCaseSensitive`/`disableCaseSensitive` (#1951)

fix: Add enableCaseSensitive/disableCaseSensitive (#1951)

Support enableCaseSensitive/disableCaseSensitive in document settings.


Maintenance

ci: Add integration pagekit (#1956)

ci: Add integration pagekit (#1956)


v5.12.6

04 Nov 13:29
Compare
Choose a tag to compare

Changes

doc: Update docs for CSpell types (#1949)

doc: Update docs for CSpell types (#1949)


Fixes

dev: Update C# dictionary (#1947)

dev: Update C# dictionary (#1947)


fix: Include configuration for VUE and Swift by default. (#1946)

fix: Include configuration for VUE and Swift by default. (#1946)


v5.12.5

02 Nov 06:53
Compare
Choose a tag to compare

Changes

Fixes

fix: Add trace options (#1939)

fix: Add trace options (#1939)

  • --allow-compound-words
  • --no-ignore-case
  • --language-id - for consistency

fix: Fix reading dictionary test to use `path` (#1938)

fix: Fix reading dictionary test to use path (#1938)


fix: Make sure flaggedWords are always checked. (#1935)

fix: Make sure flaggedWords are always checked. (#1935)

Fix: #1895


fix: prevent suggesting word break characters (#1933)

fix: prevent suggesting word break characters (#1933)

Discourage inserting - into words when making suggestions.


v5.12.4

31 Oct 08:52
Compare
Choose a tag to compare

Changes

docs: Update globs.md (#1883)

docs: Update globs.md (#1883)


docs: Create globs.md (#1882)

docs: Create globs.md (#1882)


ci: Workflow Bot -- Update ALL Dependencies (main) (#1930)

ci: Workflow Bot -- Update ALL Dependencies (main) (#1930)

integration-tests/package-lock.json | 130 ++++++++++--------
packages/cspell-bundled-dicts/package-lock.json | 40 +++---
packages/cspell-dynamic-loader/package-lock.json | 130 ++++++++++--------
packages/cspell-gitignore/package-lock.json | 6 +-
packages/cspell-json-reporter/package-lock.json | 6 +-
packages/cspell-tools/package-lock.json | 20 +--
packages/cspell-trie/package-lock.json | 6 +-
packages/cspell/package-lock.json | 122 +++++++++--------
test-packages/cspell-cli/package-lock.json | 128 ++++++++++--------
test-packages/test-cspell-glob/package-lock.json | 6 +-
test-packages/test-cspell-io/package-lock.json | 6 +-
.../test-cspell-lib-webpack/package-lock.json | 106 ++++++++-------
test-packages/test-cspell-lib/package-lock.json | 106 ++++++++-------
test-packages/test-cspell-tools/package-lock.json | 150 +++++++++++----------
test-packages/test-cspell/package-lock.json | 128 ++++++++++--------
15 files changed, 595 insertions(+), 495 deletions(-)


Fixes

fix: Remove unnecessary dependency (#1929)

fix: Remove unnecessary dependency (#1929)


fix: Change `--wordsOnly` option to `--words-only` (#1928)

fix: Change --wordsOnly option to --words-only (#1928)

  • replace --wordsOnly option with --words-only
  • hide --wordsOnly option but keep it working.

dev: Update the dictionaries and snapshots (#1927)

dev: Update the dictionaries and snapshots (#1927)

  • Add dictionary for VUE and Swift files.
  • Update fullstack dictionary to include most programming languages.
  • Removed behaviour from fullstack dictionary it is already in the British dictionary.

fix: In Document settings. (#1925)

fix: In Document settings. (#1925)

fix: #1628
fix: #1629


fix: Update software terms and integration snapshots. (#1916)

fix: Update software terms and integration snapshots. (#1916)


fix: adjust the AWS integration test to match repo changes. (#1912)

fix: adjust the AWS integration test to match repo changes. (#1912)


fix: Update software terms (#1909)

fix: Update software terms (#1909)


dev: Update dictionaries (#1903)

dev: Update dictionaries (#1903)

  • Companies
  • Software Terms
  • File types

dev: Improve grammar matching. (#1902)

dev: Improve grammar matching. (#1902)


dev: Grammar - add nested pattern support for begin / end patterns. (#1878)

dev: Grammar - add nested pattern support for begin / end patterns. (#1878)


dev: Add a file parser. (#1872)

dev: Add a file parser. (#1872)

This is the beginnings of adding the ability to parse source files for better spell checker control.


v5.12.3

08 Oct 16:15
Compare
Choose a tag to compare

Changes

Update cspell.code-workspace (#1848)

Update cspell.code-workspace (#1848)

Sort the workspace folders by name.


docs: Update cspell README with new commands (#1841)

docs: Update cspell README with new commands (#1841)


Fixes

fix: Use the repository root by default when no root is specified. (#1851)

fix: Use the repository root by default when no root is specified. (#1851)

The integration repositories are clean and should not contain any extra files. If the --gitignore option ignores any of those files, then something is wrong. This check would have caught #1846.

Changes:

  • fix: Use repository root by default.
  • fix: Add a simple cli to cspell-gitignore.
  • fix: Update README to reflect CLI
  • fix: Update PHP snapshot to reflect the ignored files.
    The ignored files are ignored by .gitignore but they are checked into the repo.
  • test: make sure the integration files checked do not change with .gitignore

fix: Fix `.gitignore` glob matching (#1847)

fix: Fix .gitignore glob matching (#1847)

Fixes two issues:

  • fix #1846

    *.py,cover
  • And another where the following .gitignore lines were not matching directories:

    */node_modules
    **/coverage

dev: support legacy words (#1843)

dev: support legacy words (#1843)


dev: Support Legacy dictionary type (#1840)

dev: Support Legacy dictionary type (#1840)

Each line in the file will be split based upon simple code splitting rules.


v5.12.2

08 Oct 16:16
Compare
Choose a tag to compare
v5.12.2

v5.12.1

06 Oct 05:24
Compare
Choose a tag to compare

Changes

Fixes

fix: fix #1807 (#1837)

fix: fix #1807 (#1837)

Make sure files are counted, even if they are cached.


v5.12.0

05 Oct 11:44
Compare
Choose a tag to compare

Changes

added `SpellingDictionaryCollection` to `cspell-lib` exports (#1815)

added SpellingDictionaryCollection to cspell-lib exports (#1815)

I'm trying to use cspell-lib in our application (we're building a spell-checker service in node - more details here: #1813).

I need to use the SpellingDictionaryCollection class to be able to add custom dictionaries, but this class is not exported from cspell-lib. The only way to import it is:

import { SpellingDictionaryCollection } from 'cspell-lib/dist/SpellingDictionary';

But this isn't a good solution as it causes Webpack builds to fail because of non-static require() calls.

This PR adds SpellingDictionaryCollection to packages/cspell-lib/src/index.ts exports, thanks to this it can be imported this way:

import { SpellingDictionaryCollection } from 'cspell-lib';

docs: Add example of patterns configuration (#1814)

docs: Add example of patterns configuration (#1814)

I think it will be nice if there is an example to setup patterns setting is the docs.

It may help us understand the structure of the patterns from a quick glance.

PS. The patterns used in the example is from the test file of this feature (https://github.com/streetsidesoftware/cspell/blob/5375c73e47/packages/cspell-lib/src/Settings/patterns.test.ts#L7-L18)


Features

feat: Add support for `.gitignore` (#1823)

feat: Add support for .gitignore (#1823)

Fix: #1319

On the command line:

  --gitignore                  Ignore files matching glob patterns found in .gitignore files.
  --gitignore-root <path>      Prevent searching for .gitignore files past root.

Config:

cspell.json

    /**
     * Tells the spell checker to load `.gitignore` files and skip files that match the globs in the `.gitignore` files found.
     * @default false
     */
    useGitignore?: boolean;

    /**
     * Tells the spell checker to searching for `.gitignore` files when it reaches a matching root.
     */
    gitignoreRoot?: FsPath | FsPath[];

Fixes

fix: support `--no-gitignore` option (#1833)

fix: support --no-gitignore option (#1833)


fix: Update gitignore README and normalize roots (#1832)

fix: Update gitignore README and normalize roots (#1832)

  • fix: Update cspell-gitignore README
  • fix: normalize gitignoreRoots

dev: Add cspell-gitignore package (#1821)

dev: Add cspell-gitignore package (#1821)


fix: fix home page reference. (#1817)

fix: fix home page reference. (#1817)


dev: Example of spell checking some text (#1816)

dev: Example of spell checking some text (#1816)


Testing

test: improve code coverage (#1824)

test: improve code coverage (#1824)


Maintenance

ci: Adjust test workflow for more caching. (#1834)

ci: Adjust test workflow for more caching. (#1834)


ci: Workflow Bot -- Update ALL Dependencies (main) (#1835)

ci: Workflow Bot -- Update ALL Dependencies (main) (#1835)

integration-tests/package-lock.json | 69 +++++++++--------
packages/cspell-bundled-dicts/package-lock.json | 36 ++++-----
packages/cspell-dynamic-loader/package-lock.json | 69 +++++++++--------
packages/cspell-gitignore/package-lock.json | 6 +-
packages/cspell-json-reporter/package-lock.json | 69 +++++++++--------
packages/cspell-tools/package-lock.json | 18 ++---
packages/cspell-trie/package-lock.json | 6 +-
packages/cspell/package-lock.json | 64 ++++++++--------
test-packages/cspell-cli/package-lock.json | 68 +++++++++--------
test-packages/test-cspell-glob/package-lock.json | 6 +-
test-packages/test-cspell-io/package-lock.json | 6 +-
.../test-cspell-lib-webpack/package-lock.json | 48 ++++++------
test-packages/test-cspell-lib/package-lock.json | 48 ++++++------
test-packages/test-cspell-tools/package-lock.json | 86 ++++++++++++----------
test-packages/test-cspell/package-lock.json | 68 +++++++++--------
15 files changed, 365 insertions(+), 302 deletions(-)