Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v5.0.1
Changes
Minor Changes
- Remove obsolete changelog (#1362) @ssbarnea
- Adds experimental stdin support (#1355) @ssbarnea
- support extra_vars in syntax check rule (#1342) @skarzi
- Avoid duplicates when injecting extra ansible lookup paths (#1348) @joren485
- Fix sentence in usage.rst (#1347) @joren485
Bugfixes
- Recognize standalone galaxy roles (#1363) @ssbarnea
- Avoid overriding role paths defaults (#1361) @ssbarnea
- Fix patterns used to identify var files (#1360) @ssbarnea
- Fix environment variable name check in for loop (#1352) @joren485
- Ensure that yamllint config ignore entries are used (#1346) @felixfontein
- Fix parsing of unicode filenames reported by git ls-files (#1339) (#1340) @phihos
- Correct skip tag for yamllint (#1335) @ssbarnea
- Fix literal-compare test with when sequences (#1332) @ssbarnea
v5.0.0
Changes
This is a major new version that will surely break for users that have custom rules. It will also require most users to update the way they install the linter as they now need to mention which version of Ansible they want to use it with.
For guidance regarding upgrading please read the docs and consult #1150
Please note that the changes listed before do not contain those from the pre-releases made since last stable release, read all.
Minor Changes
- Allow mocking of galaxy roles (#1320) @ssbarnea
- Add ability to mock roles from within collections (#1318) @ssbarnea
- Add offline mode for skipping requirements installation (#1319) @ssbarnea
- Add ability to mock modules from collections (#1316) @ssbarnea
- Add codeclimate formatter (json) (#1308) @thushjandan
- Make all rule identifiers text based (#1306) @ssbarnea
- Drop E suffix when printing rule id (#1305) @ssbarnea
- Add optional rule to check for loop var prefix (#1303) @ssbarnea
- Add ability to mock roles (#1304) @ssbarnea
- Recurse inside given folders (#1302) @ssbarnea
Bugfixes
v4.3.7
v4.3.6
Changes
- Prevent rule 208 matche in nomaches example (#1068) @samueloph
- Enable progressive mode (#1065) @ssbarnea
Minor Changes
Bugfixes
- Ensure loading of collections and plugins (#1074) @felixfontein
v4.3.5
Changes
- Fix improper syntax highlighting in README (#1038) @andrewimeson
Minor Changes
- Document how to add a new rule (#1032) @ssbarnea
- Ignore experimental violations for final result (#1037) @ssbarnea
- Enable retries on IOErrors (#1039) @ssbarnea
- Document packaging of custom rules (#1036) @ssato
- Improve violation avoidance hints (#1034) @ssbarnea
Bugfixes
- E208: Corrected file mode checking (#1030) @ssbarnea
- E106: Don't use relative paths for meta/main.yml (#1044) @nre-ableton
v4.3.4
v4.3.3
v4.3.2
Changes
Minor Changes
Bugfixes
- Avoid non parsable output on stdout (#992) @jbackman
- E208: Improve detection logic for mode (permissions) (#996) @greg-hellings
- E106: Avoid false positives with old roles (#980) @ssbarnea
- Fix broken links in README.md (#987) @ryuichi1208
- E208: Do not trigger on symlinks (#982) @robinmulder
v4.3.1
v4.3.0
Changes
Major Changes
- LRU Cache for frequently called functions (#891) @ragne
- Change documentation website to RTD (#875) @ssbarnea
- Require Python 3.6 or newer (#775) @ssbarnea
- Switch support to last two stable version of Ansible (#721) @ssbarnea
- Add rules for verifying the existence of imported and included files (#691) @jlusiardi
- Add a new rule for detecting nested jinja mustache syntax (#686) @europ
Minor Changes
- Refactored import_playbook tests (#951) @ssbarnea
- Added MissingFilePermissionsRule (#943) @ssbarnea
- Enable github actions parsable format (#926) @ssbarnea
- Add linter branding for docs (#914) @ssbarnea
- Assure we do not produce duplicated matches (#912) @ssbarnea
- Enable annotations on failed tests (#910) @ssbarnea
- Refactor
_taskshandlers_children
complexity (#903) @webknjaz - Make import sections consistent (#897) @ssbarnea
- Allow backticks in shell commands (#894) @turettn
- Add ansible210 testing (#888) @ssbarnea
- Enable isort (#887) @ssbarnea
- Combine MatchError into Match (#884) @ssbarnea
- Improve MatchError class (#881) @ssbarnea
- Expose package version (#867) @ssbarnea
- Replace custom theme with sphinx-ansible-theme (#856) @ssbarnea
- Improve unjinja function (#853) @ssbarnea
- Refactor MetaMainHasInfoRule (#846) @ssato
- Remove dependency on ansible.utils.color (#833) @ssbarnea
- Moved exit codes to constants (#821) @ssbarnea
- Document module dependencies (#817) @ssbarnea
- Refactor Runner out of init (#816) @ssbarnea
- Added reproducer for become in blocks (#793) @ssbarnea
- Convert failed to find required 'name' key in include_role into a match (#781) @ssbarnea
- Fix exclude_paths from get_playbooks_and_roles (#774) @ssbarnea
- Update ComparisonToEmptyStringRule.py (#770) @vbotka
- Remove bin/ansible-lint script (#762) @ssbarnea
- Fix logging configuration (#757) @ssbarnea
- Allow returning line number in matchplay (#756) @albinvass
- Update cli output on README (#754) @ssbarnea
- Migrate some test to pytest (#740) @cans
- Use python logging (#732) @ssbarnea
- Make config loading failures visible (#726) @ssbarnea
- Add a test that fails with
AttributeError
on malformedimport_tasks
file content (#720) @mdaniel - Consistent relative path display (#692) @cans
Bugfixes
- E501: Add become_user and become inheritance (#964) @Tompage1994
- Add missing hosts to test files (#952) @ssbarnea
- E208: Improve MissingFilePermissionsRule detection (#949) @ssbarnea
- Make pre-commit hook use auto-detect mode (#932) @ssbarnea
- Fix severity formatter wrong use of color (#919) @ssbarnea
- Avoid displaying Null with missing filenames (#918) @ssbarnea
- Include contributing inside docs (#905) @ssbarnea
- Fix spelling mistakes in documentation (#901) @MorganGeek
- Avoid failure with playbooks having tasks key a null value (#899) @ssbarnea
- Fix
MatchError
comparison fallback implementation (#896) @webknjaz - Avoid sorting failure with matches without an id (#879) @ssbarnea
- Fix broken always_run rule on Ansible 2.10 (#878) @ssbarnea
- Allow null config file (#814) @ssbarnea
- Fixed the search method when the file path not exists (#807) @cahlchang
- Restore playbook auto-detection (#767) @ssbarnea
- Gracefully process a missing git binary when falling-back to pure-python discovery (#738) @anryko
- Resurrect support for editable mode installs (#722) @webknjaz
- Avoid exception from 505 rule (#709) @ssbarnea