Changes
Read #1150 and post feedback there regarding any regressions introduced by 5.0.0 version.
Major Changes
- E911: Added AnsibleSyntaxCheckRule for running ansible syntax check (#950) @ssbarnea
- Remove SudoRule (#1204) @ssbarnea
- Remove always_run rule (#1203) @ssbarnea
- Make matchlines() use lintable (#1193) @ssbarnea
- Made match_tasks() use lintable (#1192) @ssbarnea
- Made matchplay() use lintables (#1191) @ssbarnea
- Made matchyaml() use lintables (#1186) @ssbarnea
- Add rule violations from Yamllint (#955) @ssbarnea
- Refactor Rule.match to enforce stable signature (#1153) @ssbarnea
- Change deprecated tag to deprecations (#1126) @netzvieh
- Remove old ANSIBLE00.. tags (#1127) @netzvieh
- Require ansible>=2.9 using extras to avoid direct dependency (#1115) @ssbarnea
Minor Changes
- E911: Added AnsibleSyntaxCheckRule for running ansible syntax check (#950) @ssbarnea
- Clarify licensing (#1213) @ssbarnea
- Refactor inclusion tests (#1211) @ssbarnea
- Moved kind detection inside lintable (#1210) @ssbarnea
- Remove SudoRule (#1204) @ssbarnea
- Remove always_run rule (#1203) @ssbarnea
- Make matchlines() use lintable (#1193) @ssbarnea
- Made match_tasks() use lintable (#1192) @ssbarnea
- Made matchplay() use lintables (#1191) @ssbarnea
- Made matchyaml() use lintables (#1186) @ssbarnea
- Add ability to report column position (#1185) @ssbarnea
- Make Runner use lintables (#1182) @ssbarnea
- Add rule violations from Yamllint (#955) @ssbarnea
- Assure MatchError takes a rule instance (#1174) @ssbarnea
- Improve pinning of test requirements (#1171) @ssbarnea
- Made formatting easier to read (#1169) @ssbarnea
- Assure failure to include file produce a violation (#1161) @ssbarnea
- Enable runner to detect meta files (#1148) @ssbarnea
- Refactor ANSI implementation (#1088) @ssbarnea
- Decouple
sys.argv
from the main CLI entrypoint (#1146) @webknjaz - Improved tags listing (#1136) @ssbarnea
- Move custom rule docs to standalone page (#1133) @ssbarnea
- Moved two path utils to file_utils (#1135) @ssbarnea
- Add RuntimeErrorRule internal rule (#1123) @ssbarnea
- Reduce ansible dependency a little bit (#1077) @felixfontein
Bugfixes
- Avoid using extras from git (#1216) @ssbarnea
- Avoid checking the same files more than once (#1214) @ssbarnea
- E304: environment variable with shell is allowed (#1200) @senyoltw
- Remove retries on IOErrors (#1208) @ssbarnea
- Avoid highlighting github formatting (#1205) @ssbarnea
- Handle spaces in git output command (#1196) @hudecof
- Add column to MatchError hash calculation (#1187) @tadeboro
- Avoid undesirable highlighting with apostrophes (#1183) @ssbarnea
- Allow linting of roles in the current directory (#1152) @netzvieh
- Assure that skipped tags do not endup being reported (#1175) @ssbarnea
- Don't import collections from relative paths (#1170) @MarkusTeufelberger
- Allow use of colon after noqa (#1163) @ssbarnea
- Avoid exception with null blocks (#1162) @ssbarnea
- Prevent exception when encountering None play item (#1160) @ssbarnea
- Corrected rich dependency (#1158) @ssbarnea
- Avoid exception with YAML files which are just strings (#1157) @ssbarnea
- Escape rule messages before printing (#1155) @ssbarnea
- Fix playbook autodetection (#1147) @netzvieh
- warn_list: fix default handling and argument parsing (#1130) @netzvieh
- Avoid exiting when Ansible fails to parse files (#1145) @ssbarnea
- Rule docs fixes (#1137) @ssbarnea
- Add more type hints (#1131) @ssbarnea
- E207: Allow printing of double curly braces (#1129) @netzvieh
- E701: Match only on meta/main.yml (#1128) @netzvieh
- Remove always_run in _sanitize_task (#1125) @netzvieh
- E102: Add documentation for rule (#1113) @strangelittlemonkey
- Improve documentation (#1098) @ssbarnea
- Add progressive to the merge_config function (#1103) @misilot
- Correct detection of Ansible library (#1117) @ssbarnea
- Avoid rule 208 with file module and recursive (#1090) @nerrehmit