Releases: errata-ai/vale
v3.9.4
Changelog
- 0e23567 refactor: use default location when
dicpath
is not set - 992fddb refactor: restrict spell check to word bounded tokens
- 7edac53 fix: only use on-disk file extension for config-matching
- 00b5b09 fix: handle empty replacements (#950)
- e73f5cd chore: update go dependencies (#938)
- 75ff562 Introducing Vale Guru on Gurubase.io (#924)
v3.9.3
v3.9.2
v3.9.1
v3.9.0
This release introduces two new use cases for comment-based configuration.
1. Switching styles associated with a block
Individual styles can now be turned on or off:
<!-- vale StyleName1 = YES -->
<!-- vale StyleName2 = NO -->
Styles can now be set (enabling them and switching off any other styles):
<!-- vale style = StyleName1 -->
<!-- vale styles = StyleName1, StyleName2 -->
2. Ignoring individual matches
You can now choose to ignore individual matches instead of the entire rule or style:
<!-- vale style.Rule["Matched Text"] = NO -->
<!-- vale style.Rule["Match 1", "Match 2"] = NO -->
New sponsor
Finally, a thank you to Vale's newest sponsor: Spectro Cloud. Support like this makes a huge difference in my ability to continue to support and develop Vale.
If you (or your company) would like to help, please consider contributing through GitHub Sponsors or Open Collective.
Changelog
v3.8.0
v3.7.1
v3.7.0
Capture group support
This release introduces support for referencing capture groups in substitution
-based rules:
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
swap:
"within the (.*)?directory": in the $1 directory
The $1
will be replaced by the contents captured within (.*)
in the regular expression. You can reference multiple capture groups by incrementing the index (such as $2
for a second one, etc.).
Action results now populate the message
key
The results of your custom actions will now be inserted into the relevant rule's message
key, allowing you to create dynamic, script-based suggestions using the CLI.