Changelog
v0.7.2
v0.7.1
Released on 2022-07-15 - GitHub - PyPI
Bug fixes:
- Auto fixing of constants in subexpressions.
- Show that file existence and absent errors are fixable.
New features:
- New custom JMESPath function
gh_tags()to get the latest tags of a github repository.
v0.7.0
Released on 2022-07-15 - GitHub - PyPI
New features:
- Added
project-config fixsubcommand to apply manual and automatic fixes to errors. See best practices guide. - Added new custom JMESPath function
os()to get the platform in which the current execution is running. - Added new option
--only-hints/only_hints = trueto only show hints rather than messages in errors.
v0.6.0
Released on 2022-07-11 - GitHub - PyPI
New features:
- Added
rootdir_namecustom function to jmespath plugin. - Allow to override serializer used for other files in
crossJMESPathsMatchverb. - Added new subcommand
project-config initto initialize a minimal configuration. - Added MegaLinter plugin descriptor for project-config. See Installation.
v0.5.0
Released on 2022-07-08 - GitHub - PyPI
New features:
- A lot of custom functions have been added to
jmespathplugin.
Enhancements:
- Concurrent fetching for faster caching of remote style files when they have not been cached yet.
v0.4.0
Released on 2022-07-04 - GitHub - PyPI
Deprecations:
- The custom JMESPath function
regex_matchallhas been deprecated and will be removed in v1.0.0. Rewriteregex_matchall('^foo$', ['foo', 'bar'])asop(length(['foo', 'bar'][?regex_match('^foo$', @)]), '==', length(['foo', 'bar'])).
New features:
- New
crossJMESPathsMatchverb forjmespathplugin. - New
ifFilesExistconditional. - New custom functions for
jmespathplugin:shlex_splitandshlex_join. - Custom function
opnow can handle sets operations. - New text serializer as fallback for all text files.
Enhancements:
- Better errors catching fetching and serializing files.
- Values validation in
inclusionplugin actions.
v0.3.1
Released on 2022-06-30 - GitHub - PyPI
Bug fixes:
- Fix error fetching styles when
rootdirnot specified.
v0.3.0
Released on 2022-06-30 - GitHub - PyPI
New features:
- Accept recursive globs in
filesproperties of rules. - New verb
excludeContentto assert that content does not exist in files. - Allow to specify hints in rules.
- Add
show pluginscommand. - Allow to specify custom colors in CLI reporters.
- Allow to configure CLI execution from configuration file.
Bug fixes:
- Fix error processing multiple conditionals in the same rule.
- Fix encoding error on Windows.
Enhancements:
- Allow to pass options in flexible order to CLI.
- Set environment variable
PROJECT_CONFIGwhile CLI is running. - Added
--no-cacheoption to CLI. - Retry connections in requests.
v0.2.0
Released on 2022-06-23 - GitHub - PyPI
Bug fixes:
- Fixed default reporter not outputting actions when executing
project-config show style - Fixed some errors serializing
.editorconfigfiles - Fixed absolute file paths resolving in Windows
Improvements:
- Improved error message showing not found local extended relative styles filenames.
- A lot of improvements in documentation
New features:
- Added
show cachesubcommand to output the cache directory location. - Allowed to add third party reporters through plugins entrypoints
- Included pytest plugin in distribution for easy testing of third party plugins
v0.1.0
Released on 2022-06-22 - GitHub - PyPI
First beta release