Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v6.8.4
v6.8.3
Bugfixes
- Add warning message about outdated linter version (#2615) @ssbarnea
- Detect ScannerError while searching for skipped rules (#2619) @felixfontein
- Fix merging of command line options with configuration (#2616) @ssbarnea
- Refactor fqcn to recommend use of canonical names (#2604) @ssbarnea
- Allow toggling strict in the config file (#2603) @hemberger
v6.8.2
v6.8.1
Bugfixes
- Improve errors with invalid yaml files (#2589) @ssbarnea
- Avoid jinja[invalid] with vars on task (#2588) @ssbarnea
- Fix rules selection by profile (#2587) @ssbarnea
- Soften no-free-form occurences (#2586) @ssbarnea
- Ensure all rich tags are closed (#2585) @ssbarnea
- Docs: Add MD for role name rule (#2583) @oraNod
- Avoid warnings with empty role meta files (#2580) @ssbarnea
- Update schemas (#2582) @ssbarnea
- Docs: Add MD for risky shell pipe (#2577) @oraNod
- Include help url with JSON output format (#2578) @ssbarnea
- Docs: Add MD for risky-octal rule (#2574) @shatakshiiii
v6.8.0
Minor Changes
- Add no-shorthand rule as experimental (#2527) @ssbarnea
- Adds summary stats about found violations (#2495) @ssbarnea
- Upgrade fqcn-builtins rule into fqcn (#2505) @ssbarnea
- Changed success/failure message (#2567) @ssbarnea
Bugfixes
- Add extra documentation (#2503 #2511 #2546 #2551 #2552 #2554 #2555 #2559 #2560 #2561) @ssbarnea @oraNod
- Refactor the rendering of errors and warnings (#2566) @ssbarnea
- Fixed regex for pipefail rule (#2564) @ajinkyau
- Ensure we detect templating errors (#2558) @ssbarnea
- Remove enrich as a dependency (#2557) @ssbarnea
- Implement strict mode (#2533) @ssbarnea
- Avoid extra space when building task names (#2531) @ssbarnea
- Refactor parsing of ansible syntax check (#2529) @ssbarnea
- Allow var_files to be null, string and list of strings (#2528) @ssbarnea
- Fix bug which prevented run of rules on tasks doing imports (#2526) @ssbarnea
- Resolved documentation redirects (#2523) @ssbarnea
- Document lack of module_defaults support (#2519) @ssbarnea
- Allow file attribute with ansible.builtin.include_tasks (#2518) @ssbarnea
- Update schemas (#2517) @ssbarnea
- Replace template-instead-of-copy with avoid-implicit[copy-content] (#2512) @ssbarnea
- Fix path expansion when outside user home (#2515) @ssbarnea
- var-naming: also recognize vars with set_fact module (#2496) @nishipy
- Fix rich exception with tasks containing square brackets (#2510) @ssbarnea
- Fix exception with vars_prompt (#2500) @ssbarnea
- Fix project_dir detect with .config configs (#2499) @ssbarnea
- Avoid implicit templating if not play/task (#2498) @ssbarnea
- Fixed few profile rule name errors (#2497) @ssbarnea
- Rename no-shorthand to no-free-form (#2548) @ssbarnea
- Avoid reporting matches for files outside project_dir (#2547) @ssbarnea
- Allow fqcn with more than 2 dots (#2544) @ssbarnea
- no-shorthand: Avoid false positive with raw (#2541 #2542) @ssbarnea
- Fix project directory detection with config inside .config (#2540) @ssbarnea
v6.7.0
Minor Changes
- name[template]: recommend to use templating as suffix on names (#2483) @vineethreddykaturu
Bugfixes
- Refactor no-loop-var-prefix rule (#2470) @oraNod
- key-order: now sorts block/rescue/always to the bottom (#2454) @ssbarnea
- Ensure we do not return relative paths outside the project (#2492) @ssbarnea
- fix: use ansible-compat to install collections (#2466) @mnaser
- Change rich markdown theme/colors (#2486) @ssbarnea
- schema: allow listen key on handlers (#2484) @ssbarnea
- Ensure that symlinked arguments are resolved (#2476) @ssbarnea
- Document No hosts matched the subscripted pattern (#2481) @ssbarnea
- Use site.getuserbase() to detect ansible executable (#2477) @ssbarnea
v6.6.1
Bugfixes
- meta: allow empty meta schema files (#2472) @ssbarnea
- schema: correct documentation (#2471) @ssbarnea
- Fix jinja[invalid] false positive (#2465) @ssbarnea
- Update schemas (#2467) @ssbarnea
- Docs: yamllint rule (#2450) @oraNod
- Refactor: remove obsolete odict class alias (#2452) @ssbarnea
- Refactor some constants into specific module (#2451) @ssbarnea
- Docs: no handler rule doc update (#2446) @oraNod
- Fix bug with user action (#2448) @ssbarnea
- api: enable matchtask() to return list[MatchError] (#2445) @ssbarnea
v6.6.0
Minor Changes
- Replace no-jinja-nesting with jinja[invalid] (#2436) @ssbarnea
- Create template_instead_of_copy.py (#2346) @GhostLyrics
- Add rule to verify that galaxy.yml collection version is present and >= 1.0.0 (#2383) @KB-perByte
Bugfixes
- Mark galaxy rule as required only for shared profile (#2441) @ssbarnea
- Improve noqa comment detection (#2440) @ssbarnea
- Update schemas (#2439) @ssbarnea
- Fix bug parsing inline skips with tags: (#2438) @ssbarnea
- Fix bug in skip_list parsing with lists of integers (#2437) @ssbarnea
- Update meta schema to require standalone property (#2435) @ssbarnea
- Fix identification of inline noqa skips (#2300) @ssbarnea
- Docs: no handler rule (#2406) @oraNod
- Docs: updates to schema rule (#2431) @oraNod
- Make links to rule docs relative (#2432) @ssbarnea
- Fix include load in blocks (#2398) @kostyaplis
- Docs: Update the fqcn builtin rule docs for legacy shell (#2430) @oraNod
- Docs: literal compare rule (#2415) @oraNod
- Docs: inline env var rule (#2414) @oraNod
- docs: exclude_list => exclude_paths (#2428) @ltalirz
- Document metadata rules (#2416) @oraNod
- Clean-up documentation theme (#2425) @ssbarnea
- Change ansible-lint logo to bracket-dot from codicons (#2424) @ssbarnea
- Docs: empty string compare rule (#2400) @oraNod
- Docs: ignore errors rule (#2413) @oraNod
- no-changed-when: add documentation (#2417) @oraNod
- Docs: Minor edits to rule docs (#2418) @oraNod
- schema: add documentation (#2421) @ssbarnea
- fqcn-builtins: add documentation (#2412) @oraNod
- no-log-password: add documentation (#2409) @oraNod
- Update schemas (#2411) @ssbarnea
- no-jinja-when: add documentation (#2408) @oraNod
- Update schemas (#2410) @ssbarnea
- Suspend git output in progressive mode (#2369) @kostyaplis
- Do not parse excluded files (#2395) @sathieu
- docs: replace wrong occurrences of ignore_list with skip_list in rules (#2388) @karras
v6.5.2
Bugfixes
- Correct example of selecting profile from cli (#2380) @ssbarnea
- refactored runner.is_exclude and MatchError to use Lintable (#2379) @ssbarnea
- jinja[spacing]: use black for formatting (#2375) @ssbarnea
- deprecated-module: add documentation (#2377) @oraNod
- latest: include filename on rule match (#2378) @ssbarnea
- Correct documentation icons (#2373) @ssbarnea
- Avoid resource leak warning with multiprocessing Semaphore (#2365) @ssbarnea
- Use lockfile feature only when not in offline mode (#2371) @ssbarnea
- Replace git-latest and hg-latest with latest rule (#2366) @ssbarnea
- Increase lock timeout to 120s (#2370) @ssbarnea
- Move ansible-lint config schema inside our repo (#2367) @ssbarnea
- Added extra checks regarding rule listing (#2368) @ssbarnea
- Refactor rule loading so we can correctly load markdown help files (#2362) @ssbarnea
- Handle FileNotFoundError caused by processing new file in progressive mode (#2364) @kostyaplis
- name[play]: now also correctly works with import_playbook blocks (#2359) @apatard
- deprecated-local-action: add documentation (#2361) @ssbarnea
- deprecated-command: add documentation (#2360) @ssbarnea
- command-instead-of-module: improve documentation (#2356) @ssbarnea
- command-instead-of-module: improve documentation (#2355) @ssbarnea
- key-order: improve documentation (#2354) @ssbarnea
- Include links to documentation for default output (#2353) @ssbarnea
- Documentation refactoring (#2352) @ssbarnea
- Make use of libyaml when possible (#2350) @ssbarnea
- name[casing]: now applies only to scripts supporting uppercase (#2347) @ssbarnea
v6.5.1
Bugfixes
- jinja[spacing]: Include in default warn_list until it matures (#2336) @ssbarnea
- jinja[spacing]: Recognize keywords with implicit templating (#2334) @ssbarnea
- jinja[spacing]: Ensure ~ is correctly spaced (#2331) @ssbarnea
- jinja[spacing]: Avoid evaluating noqa comments (#2329) @ssbarnea
- jinja[spacing]: Fix negative numbers inside arrays (#2328) @ssbarnea
- command-instead-of-module: allow
systemctl --version
(#2327) @JohnVillalovos - Fix subprocess.run for progressive mode (#2319) @kostyaplis
- Raise name[play] for plays missing a name (#2295) @ssbarnea