Releases: streetsidesoftware/cspell
v5.13.0
Changes
Features
feat: Support `--dot` command line option. (#1985)
feat: Support --dot
command line option. (#1985)
fix: #1980
Fixes
dev: Refactor cache files (#1986)
dev: Refactor cache files (#1986)
- Remove any circular import references.
- Move interfaces next to the supporting code.
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
v5.12.6
v5.12.5
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)
v5.12.4
Changes
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: 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
andSwift
files. - Update fullstack dictionary to include most programming languages.
- Removed
behaviour
from fullstack dictionary it is already in the British dictionary.
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)
dev: Update dictionaries (#1903)
dev: Update dictionaries (#1903)
- Companies
- Software Terms
- File types
v5.12.3
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
v5.12.2
v5.12.1
v5.12.0
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: Update gitignore README and normalize roots (#1832)
fix: Update gitignore README and normalize roots (#1832)
- fix: Update
cspell-gitignore
README - fix: normalize
gitignoreRoot
s
Testing
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(-)
v5.12.0-alpha.0
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)
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(-)
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: Update gitignore README and normalize roots (#1832)
fix: Update gitignore README and normalize roots (#1832)
- fix: Update
cspell-gitignore
README - fix: normalize
gitignoreRoot
s