Releases: streetsidesoftware/cspell
v5.15.2
v5.15.1
v5.15.0
Changes
Features
feat: Add support for cache options in config files. (#2184)
feat: Add support for cache options in config files. (#2184)
A new config section has been added, cache
.
As a rule, any options specified on the command line override options in the configuration files.
cspell.json
{
cache?: CacheSettings;
}
CacheSettings:
{
/**
* Store the results of processed files in order to only operate on the changed ones.
* @default false
*/
useCache?: boolean;
// cspell:word cspellcache
/**
* Path to the cache location. Can be a file or a directory.
* If none specified `.cspellcache` will be used.
* Relative paths are relative to the config file in which
*/
cacheLocation?: FSPathResolvable;
/**
* Strategy to use for detecting changed files, default: metadata
* @default 'metadata'
*/
cacheStrategy?: CacheStrategy;
}
New CLI Option --no-cache
--no-cache
ensures that the cache is not used even ifcspell.json
has caching enabled.
feat: Remove 40 character limit on spell checking words (#2175)
feat: Remove 40 character limit on spell checking words (#2175)
Adjust Base64 Detection
The Base64
detection pattern was preventing words longer than 40 characters from being spell checked. It has been turned off by default. To turn it back on add Base64
to ignoreRegExpList
in CSpell settings.
A few new patterns were added by default to pick up many of the common cases that Base64
was designed for:
Base64SingleLine
- a stricter versionBase64
detection that only matches single lines.Base64MultiLine
- a stricter versionBase64
detection that only matches multiple line Base64 strings.Hashes
- detects common hash patterns:
Example:sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
Supported prefixes:sha1
,sha256
,sha512
,md5
,base64
,crypt
,bcrypt
,scrypt
,security-token
,assertion
Minor Breakage
Because Base64
prevented anything longer than 40 characters from being checked, some misspellings might show up that were previously ignored.
feat: Invalidate cache when config has changed (#2160)
feat: Invalidate cache when config has changed (#2160)
Cached entries are invalidated if a dependency config or dictionary changes since the entry was made.
Fixes: #1852
Fixes
fix: make config file version `0.2` by default. (#2186)
fix: make config file version 0.2
by default. (#2186)
This fixes issues with ignorePaths and overrides.
Maintenance
ci: Update the list of integrations to be checked. (#2188)
ci: Update the list of integrations to be checked. (#2188)
ci: for integration tests, make `**` the default (#2187)
ci: for integration tests, make **
the default (#2187)
- add shoelace
- update apollo
ci: Add integration test for apollo-server (#2185)
ci: Add integration test for apollo-server (#2185)
Minor Breakage
Because Base64
prevented anything longer than 40 characters from being checked, some misspellings might show up that were previously ignored.
v5.14.0
Changes
docs: Update `cspell` README (#2147)
docs: Update cspell
README (#2147)
Related to #1850
- Include
--file-list
option in README.
style(schema, types): fix few typos and add full stops at the end of all descriptions (#2123)
style(schema, types): fix few typos and add full stops at the end of all descriptions (#2123)
While setting up cspell
for one project, I noticed few typos in JSON schema.
Fixed those quickly, but then I saw that some descriptions end with a full stop and some do not. Just couldn’t leave it.
At first this minor inconsistency did not look important, but the result makes the schema look somewhat nicer.
Features
feat: Support `--file-list` cli option (#2130)
feat: Support --file-list
cli option (#2130)
Related to #1850
Fixes
fix: Make sure help is not shown if the file list is empty. (#2150)
fix: Make sure help is not shown if the file list is empty. (#2150)
Maintenance
v5.13.4
Changes
feat: report error and fail for unsupported NodeJS versions (#1984) (#2111)
feat: report error and fail for unsupported NodeJS versions (#1984) (#2111)
Change addressing #1984.
@Jason3S, is this how you'd like it handled?
Fixes
fix: hunspell - honor minimum compound word length (#2091)
fix: hunspell - honor minimum compound word length (#2091)
Maintenance
v5.13.3
v5.13.2
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
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.
v5.13.1
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.