Skip to content

Releases: errata-ai/vale

v3.0.5

16 Jan 07:31
Compare
Choose a tag to compare

Changelog

  • 08b2c42 refactor: don't load Vale if it's not needed
  • 5e502a0 fix: ensure applyPatterns respects formats (#754)

v3.0.4

13 Jan 15:52
Compare
Choose a tag to compare

Changelog

  • 341348c fix: better support for phrases in vocabularies (#726)
  • 37dcbc5 fix: use file paths when applying ignore patterns (#732)

v3.0.3

11 Jan 21:07
Compare
Choose a tag to compare

See v3.0.0 for more detailed release notes.

Changelog

v3.0.2

11 Jan 20:34
Compare
Choose a tag to compare

See v3.0.0 for more detailed release notes.

Changelog

  • e00ffbd refactor: better error message for default styles

v3.0.1

11 Jan 02:36
Compare
Choose a tag to compare

See v3.0.0 for more detailed release notes.

Changelog

  • d77b95b test: add more package cases
  • 1a565fe fix: respect alternative ways to set a base (#750)
  • 2a4450f test: add more source tests

v3.0.0

10 Jan 03:06
Compare
Choose a tag to compare

The third major release of Vale introduces an updated StylesPath layout and support for a default configuration.

Updated StylesPath

The StylesPath now has a special config directory:

config
├── dictionaries
├── templates
├── ignore
└── vocabularies
  • dictionaries: Hunspell-compatible dictionaries to be loaded by Vale.Spelling. This offers an alternative means of customizing the spell-checking experience in Vale: instead of creating a new rule (e.g., YourStyle.Spelling), you extend the built-in Vale.Spelling with custom dictionaries. This will have the benefit of allowing multiple styles to all contribute to the same spelling rule (#628).
  • templates: Output templates.
  • ignore: Ignore files to be loaded by Vale.Spelling.
  • vocabularies: The same as the current Vocab folder; moved to match the new global configuration directories.

All of these directories will support being distributed as part of a package.

Default StylesPath + .vale.ini

Vale now supports a default StylesPath and a default .vale.ini file. See the vale ls-dirs command for the exact locations on your system.

The default .vale.ini file is loaded in addition to any other config files -- allowing for local changes to project configurations.

Breaking changes

When upgrading to v3.0.0, you'll need to move your vocabularies from $StylesPath/Vocab to $StylesPath/config/vocabularies.

Changelog

  • 48763c6 refactor: use xdg lib for config and styles
  • 3095655 refactor: make sync root-relative
  • 61bbee7 feat: sync with multiple config files
  • eb63940 feat: default StylesPath
  • 8919342 feat: fallback to global when no config is found
  • a61c1d2 fix: handle relative StylePaths
  • 29a4450 fix: ensure all matching sections are applied
  • 4e7d95c refactor: load default config last
  • c5e8345 feat: add default config
  • ecfe037 feat: sync supports new config dir
  • 5bdb7f9 fix: NOSUGGEST may be more than 1 char
  • 2c68f5c fix: ensure meta characters are escaped
  • 83d4d9e test: add case for vocab
  • e40b0f5 refactor: new config/ignore directory
  • ceaf267 refactor: load files from config/dictionaries
  • 4ec4c80 feat: new StylesPath/config directory

v2.30.0

06 Dec 03:28
Compare
Choose a tag to compare

Changelog

v2.29.7

17 Nov 01:56
Compare
Choose a tag to compare

Changelog

v2.29.6

19 Oct 21:36
Compare
Choose a tag to compare

Changelog

  • 7e4667c chore: bump twine to 0.7.0
  • 54df723 feat: support exception regex in sentence

v2.29.5

15 Oct 23:23
Compare
Choose a tag to compare

Changelog