Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v24.12.2
Enhancements
- Added additional galaxy[tags] checks (#4422) @minsis
- Refactor code to avoid use of rich library (#4396) @ssbarnea
- Search for config with the yml/yaml extension (#4416) @cornfeedhobo
- Rename color module to output (#4433) @ssbarnea
- Remove formatting options for listing rules (#4432) @ssbarnea
Bugfixes
- Revert "Accommodate specified inventory files (#4393)" (#4450) @ssbarnea
- Enable FQCNs for import_playbook to have subdirs (#4412) @cavcrosby
- Utilize create_matcherror more in other rules (#4408) @cavcrosby
- Add Astra Linux Platform to platform items (#4429) @razerisback
- Normalize version field for rules (#4431) @ssbarnea
- Enable pyright hook (#4426) @ssbarnea
- Remove dead code and prevent regressions (#4425) @ssbarnea
- Prepare for pyright hook enablement (#4410) @ssbarnea
- Activate and address some ruff violations (preview) (#4421) @ssbarnea
- Fix exception with 'skipped' test (#4406) @Gilles95
- Include ! as a shell word. closes #4386 (#4403) @wimglenn
Note this this changelog entry contains changes also included in the two yanked releases before it.
v24.12.1 (yanked)
Enhancements
Bugfixes
- Do inventory parsing non-multithreaded (#4447) @cavcrosby
- Enable FQCNs for import_playbook to have subdirs (#4412) @cavcrosby
v24.12.0 (yanked)
Enhancements
- Refactor code to avoid use of rich library (#4396) @ssbarnea
- Search for config with the yml/yaml extension (#4416) @cornfeedhobo
- Rename color module to output (#4433) @ssbarnea
- Remove formatting options for listing rules (#4432) @ssbarnea
Bugfixes
- Accommodate specified inventory files (#4393) @cavcrosby
- Utilize create_matcherror more in other rules (#4408) @cavcrosby
- Add Astra Linux Platform to platform items (#4429) @razerisback
- Normalize version field for rules (#4431) @ssbarnea
- Enable pyright hook (#4426) @ssbarnea
- Remove dead code and prevent regressions (#4425) @ssbarnea
- Prepare for pyright hook enablement (#4410) @ssbarnea
- Activate and address some ruff violations (preview) (#4421) @ssbarnea
- Fix exception with 'skipped' test (#4406) @Gilles95
- Include ! as a shell word. closes #4386 (#4403) @wimglenn
v24.10.0
Enhancements
Bugfixes
- Require ansible-compat>=24.10.0 (#4402)
- Update TaskHasTag example rule used in custom-rules.md (#4401) @cavcrosby
- Add Fedora 41 as a platform in the metadata schema (#4392) @jsf9k
- Fixing the issue "Unfinished sentence in docs/profiles.md #4358" (#4380) @binojmn
- Fix quotes converting free-form syntax to yaml (#4361) @cavcrosby
- Handle FQCN when using import_playbook (#4369) @cavcrosby
- Allow jinja in variable names (#4372) @ssbarnea
- Update rulebook schema (#4373) @ssbarnea
- Fix wonky writing to sarif_file (#4368) @Qalthos
- Fix to avoid spamming syslog with invoked messages (#4353) @tanwigeetika1618
- Pin codecov action to v4.5.0 and update dependabot.yml to ignore v4.6.0 (#4356) @tanwigeetika1618
- Update schema for missing
tags
property to builder v3options
(#4346) @audgirka
v24.9.2
v24.9.1
Bugfixes
- Fix missing MatchErrors due to hash collisions (#4307) @cavcrosby
- Remove requirement of options field in argument_specs.yaml (#4291) @MatthiasKunnen
- Correct use of working directory with ansible-lint github action (#4340) @ssbarnea
- Avoid running application initialization twice (#4335) @ssbarnea
- Handle bare exception case from nested jinja2 vars (#4315) @cavcrosby
- Require ansible-compat>=24.9.1 (#4336) @ssbarnea
- Update execution environment schema (#4334) @ssbarnea
- Add new OEL versions to meta JSON schema (#4312) @mpmurphy-aexp
- Fix for ignoring test / directories by fqcn[deep] rule (#4320) @tanwigeetika1618
Other
- Docs: remove IRC/ML/google.groups remnants (#4322) @Andersson007
v24.9.0
Enhancements
- Community comms (#4309) @oraNod
- feat: add
requirements_file
input to GitHub action (#4253) @dbrennand
Bugfixes
- fix: Adding missing EE option skip_pip_install (#4299) @sscheib
- Fix upload-artifact action to work with v4.4 and newer (#4314) @alisonlhart
- fix: Add reset-failed state in executable_options (#4301) @tanwigeetika1618
- Enable --offline to affect checking version online (#4283) @cavcrosby
- Fix long lines being wrapped with a trailing space (#4288) @cavcrosby
- Make galaxy[version-incorrect] rule opt-in (#4247) @cavcrosby
- Fix error for imported playbooks w/invalid syntax (#4289) @cavcrosby
- Fix indentation change to comments when using --fix (#4273) @cavcrosby
- Fix list of non-strings in args rule (#4279) @johnbyrneio
- Improve --version behavior to handle remote disconnect (#4276) @cavcrosby
- Ignore var-naming[pattern] to foreign role vars (#4230) @cavcrosby
- Remove leftover Sphinx command directives (#4243) @cavcrosby
- Fix custom-rules documentation examples (#4264) @Tompage1994
v24.7.0
Bugfixes
- Fix linting issues within command_instead_of* rules (ruff:D102) (#4252) @alisonlhart
v24.6.1
Bugfixes
- Fix working directory when used as an github action (#4213) @bkaraoren
- Fix relative imports in args rule (#4216) @corubba
- Fix cmd args with no-free-form transformer (#4215) @Qalthos
- Accept changlog.yml as a valid changelog (#4218) @cavcrosby
- Avoid using warn for command/shell actions (#4207) @ssbarnea
- Update Contributing docs and add tox as test optional-dependency (#4209) @hdub-tech
v24.6.0
Enhancements
- Adding logic for configuring supported ansible versions (#4203) @alisonlhart
Bugfixes
- Revert notify related checks, errors, transforms for listen and tests (#4205) @audgirka
- Improve logic of find_children (#4161) @ssbarnea
- Pickup correct path component w/ANSIBLE_ROLES_PATH (#4176) @cavcrosby
- Respect yamllint 'document_start' rule when autofixing yaml (#4184) @elara-leitstellentechnik
- Avoid displaying upgrade warning when installation is not pip (#4204) @ssbarnea
- Correctly recognize path with spaces with tokenize (#4198) @ssbarnea
- Fix false positive reports in is_handler function (#4170) @MalKeshar
- Avoid exception with conflicting action statements (#4195) @ssbarnea
- Don't raise name[casing] on handlers with special role syntax (#4196) @Qalthos
- Refactor tokenize function (#4191) @ssbarnea
- Avoid stacktrace with unsupported import_playbook syntax (#4190) @ssbarnea
- Support for 2.15...updating linter. (#4144) @epacific1
- Don't quote strings that start with 0 when running ansible-lint --fix. (#4167) @kousu
- Allow inventory to be used for playbook order key (#4182) @ssbarnea