Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v6.1.0
Minor Changes
- Implement JSON Schema verification for several known file types (#2035) @ssbarnea
- Improve cli argument handling (#2099) @ziegenberg
- Add no-prompting rule as experimental (#2093) @ziegenberg
- Add only-builtins rule to check compatibility with core (#2060) @evgeni
- Add native SARIF output support (#2062) @yongyan-gh
- --write: Optionally pass rule names to --write in cli (#2051) @cognifloyd
- --write: Allow Transforms to mark MatchErrors as fixed (#2041) @cognifloyd
Bugfixes
- Fix support for block tasks in unnamed-task rule (#2107) @nishipy
- Make sure all tasks get evaluated by matchtask including block/always/rescue and nested tasks (#2031) @nishipy
- Ensure tags are escaped when printed (#2096) @ssbarnea
- Detect role argument_specs files as a lintable kind (#2091) @ziegenberg
- Fix var-naming rule to show line numbers and apply noqa (#2090) @notok
- --write: Do not rewrite zero 0 as octal 00 (#2092) @ziegenberg
- Relax the yamllint rules on spaces inside braces for flow mappings (#2077) @ziegenberg
- Update test and typing deps and remove special code paths for py < 3.8 (#2087) @ziegenberg
- Update package metadata for setuptools (#2086) @ziegenberg
- Apply var-spacing tests to vars files (#2063) @notok
- Add philosophy section to the documentation (#2017) @ssbarnea
- Propagate error message to user on systemexit (#2058) @wbh1
- Fix loading ansible-lint.yml in git projects (#2059) @evgeni
v6.0.2
Minor Changes
- --write: Add MatchError.yaml_path for transforms (#2025) @cognifloyd
- --write: Avoid line-wrapping YAML flow objects (#2022) @cognifloyd
- --write: Introduce TransformMixin for Rules (#2023) @cognifloyd
Bugfixes
- Recognize import_role and import_role when using fqcn (#2034) @ssbarnea
- Adds more yamllint configuration paths (#2032) @nkakouros
- Allow normpath accept empty strings (#2028) @ssbarnea
- Remove ref to archived toolbox image from docs (#2026) @erikgb
- Avoid processing files under templates (#2021) @ssbarnea
Note: we used 6.0.2 instead of 6.1.0 because all minor changes including are affecting only the experimental formatting feature and not other product features.
v6.0.1
v6.0.0
Major Changes
- Remove support for ansible 2.9 (#1880) @ssbarnea
- Made ansible-core 2.12+ as a direct dependency (#1888) @ssbarnea
- Remove support for py36 and py37 (#1850) @ssbarnea
- Made fqcn-builtins rule implicit (#1908) @ssbarnea
- Add support for reformatting YAML files (#1943) @cognifloyd
- Removed --parseable-severity feature (#1898) @ssbarnea
- Clarify GPLv3 license of the distribution (#1882) @ssbarnea
- Made yamllint a direct dependency (#1881) @ssbarnea
- Rename prerun submodule to _mockings (#1972) @ssbarnea
- Remove unused code from prerun submodule (#1971) @ssbarnea
- Change invalid config return code to 3 (#2005) @ssbarnea
Minor Changes
- Add ability to load .config/ansible-lint.yml (#1822) @ssbarnea
- Add json alias for codeclimate formatter (#1942) @ssbarnea
- Use packit to produce rpms for fedora-35 (#1648) @ssbarnea
- Improve version handling (#1931) @ssbarnea
- Add
--write
option for upcoming reformat/transform features (#1926) @cognifloyd - Enable Lintables to be modified (#1884) @cognifloyd
- Improve description of tags (#1896) @ssbarnea
- Remove html extension from documentation (#1981) @ssbarnea
- Minor documentation improvements (#1995) @ssbarnea
- Changed rules to use docstring as shortdesc (#1994) @ssbarnea
- Load rule classes from any modules (#1978) @ssbarnea
Bugfixes
- Apply MissingFilePermissionsRule to get_url module (#1949) @nre-ableton
- Made empty-string-compare rule opt-in (#1953) @ssbarnea
- Prevent KeyError[0] exception with ansible.builtin.include_tasks (#1935) @ssbarnea
- Made no-same-owner recognize fully qualified modules (#1933) @ssbarnea
- Make FQCN import tasks include their relevant files for checking (#1854) @ryaner
- Fix test integration with IDEs (#1914) @ssbarnea
- Remove outdated ruamel-yaml version constraints (#1889) @ssbarnea
- Spellcheck fixes (#1883) @ssbarnea
- Start using ansible-compat (#1958) @ssbarnea
- Fix bug with detection of configured role paths (#2002) @ssbarnea
- Update var-naming to allow names containing jinja2 templates (#1988) @ssbarnea
v5.4.0
Minor Changes
- Neuter min space requirement for inline comments (#1821) @ssbarnea
- Allow rules to request original raw task data (#1834) @cognifloyd
- Add utils.nested_items_path and Deprecate utils.nested_items (#1824) @cognifloyd
- MatchError's should include the filename (#1806) @cognifloyd
Bugfixes
- Allow use without activation of virtualenv (#1860) @ssbarnea
- Avoid running code on ansiblelint.config import (#1870) @ssbarnea
- Avoid false positive with git lfs command (#1859) @ssbarnea
- Strip ./ from discover_lintables results (#1837) @sebix
- Correcting formatting of sample .ansible-lint config (#1841) @IronTooch
- Move ansiblelint.testing.RunFromText import into test code (#1827) @cognifloyd
- Allow noqa to be used in more lintable kinds (#1819) @SirUli
- Recursively extract tasks from blocks (#1809) @cognifloyd
v5.3.2
v5.3.1
v5.3.0
Minor Changes
- Remove setup.py (#1762) @ssbarnea
- Add missing type and parameter in custom-rules docs (#1764) @SIPR-octo
- Set a logo in the Sphinx docs (#1760) @webknjaz
- Add HOME to safe env vars (#1759) @azuwis
Bugfixes
- Make exclude files work with progressive mode (#1767) @clementmartin
- Avoid errors processing symlinked files (#1770) @ssbarnea
- Fix mypy failures on file_utils.py (#1768) @clementmartin
- "internal-error" description text typo correction (#1752) @charltonstanley
v5.2.1
Bugfixes
- Accept yum clean as a valid command (#1747) @konstruktoid
- Actually ignore the 'fatal: not a git repository' error (#1738) @ubschmidt2
- Add support for py310 (#1734) @ssbarnea
Kudos goes to: @AleksaC, @konstruktoid, @pre-commit-ci, @pre-commit-ci[bot], @ssbarnea and @ubschmidt2
v5.2.0
Minor Changes
Bugfixes
- Expand coverage of path globbing (#1709) @greg-hellings
- Prevent parseable option from changing JSON output format (#1730) @ssbarnea
- improve grammar (#1724) @ToBeFree
- no-changed-when: improve testing and documentation (#1706) @konstruktoid
- Minor fixes on documentation pages (#1719) @pabluk
Kudos goes to: @ToBeFree, @greg-hellings, @konstruktoid, @pabluk and @ssbarnea