Ansible-playbook-grapher

Latest version: v2.2.1

Safety actively analyzes 622838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.2.1

What's Changed
* fix: Only display mermaid live editor URL with the flag -vv
* chore(deps): bump pytest from 8.0.2 to 8.1.1 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/185
* chore(deps): bump pytest-cov from 4.1.0 to 5.0.0 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/182
* chore(deps): update black requirement from ~=24.2 to ~=24.3 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/184
* chore(deps): update ansible-core requirement from <2.16.5,>=2.15 to >=2.15,<2.16.6 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/183

**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.2.0...v2.2.1

2.2.0

What's Changed

* feat: Add support for hiding empty plays and plays without roles https://github.com/haidaraM/ansible-playbook-grapher/pull/177.
* Add a new flag `--hide-empty-plays` to not show in the graph the plays that end up being empty after applying the filters.
* Add a new flag `--hide-plays-without-roles` to not show in the graph the plays that end up with no roles. Only roles at the play level and include_role as tasks are considered (no import_role).
* Add support for viewing mermaid graphs in the browser with `--view --renderer mermaid-flowchart` in https://github.com/haidaraM/ansible-playbook-grapher/pull/181
* refactor(internal): `PlaybookNode.plays` is now a method instead of property.
* refactor(internal): Do not access the `_compositions` in the child classes: use method from the CompositeNode.
* chore(deps): update black requirement from ~=24.1 to ~=24.2 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/175
* chore(deps): bump pytest from 8.0.0 to 8.0.2 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/173
* fix: make sure pip install from github works by haidaraM in https://github.com/haidaraM/ansible-playbook-grapher/pull/178
* chore(deps): update ansible-core requirement from <2.16.4,>=2.15 to >=2.15,<2.16.5 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/174

**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.1.2...v2.2.0

2.1.2

What's Changed

Dependency updates:

* chore(deps): bump actions/upload-artifact from 3 to 4 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/166
* chore(deps): bump actions/setup-python from 4 to 5 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/165
* chore(deps): bump pytest from 7.4.3 to 7.4.4 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/168
* chore(deps): update black requirement from ~=23.11 to ~=23.12 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/169
* chore(deps): update lxml requirement from <5 to <6 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/167
* chore(deps): update ansible-core requirement from <2.16,>=2.15 to >=2.15,<2.17 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/164
* chore(deps): bump pytest from 7.4.4 to 8.0.0 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/171
* chore(deps): update black requirement from ~=23.12 to ~=24.1 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/172
* chore(deps): update ansible-core requirement from <2.16.1,>=2.15 to >=2.15,<2.16.4 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/170

**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.1.1...v2.1.2

2.1.1

What's Changed

* fix: pin to ansible-core 2.15.5 before fixing the grapher
* chore(deps): bump pytest from 7.4.2 to 7.4.3 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/160
* chore(deps): update black requirement from ~=23.9 to ~=23.10 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/161
* chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/159
* chore(deps): update black requirement from ~=23.10 to ~=23.11 by dependabot in https://github.com/haidaraM/ansible-playbook-grapher/pull/163

**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.1.0...v2.1.1

2.1.0

What's Changed

* Support for ansible-core 2.15 by haidaraM in https://github.com/haidaraM/ansible-playbook-grapher/pull/151.
* chore(deps): bump pytest-cov from 4.0.0 to 4.1.0 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/149
* chore(deps): update black requirement from ~=23.3 to ~=23.7 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/153
* chore(deps): bump pytest from 7.3.1 to 7.4.0 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/152
* chore(deps): bump pytest from 7.4.0 to 7.4.2 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/157
* chore(deps): update black requirement from ~=23.7 to ~=23.9 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/156
* chore(deps): bump actions/checkout from 3 to 4 by dependabot
in https://github.com/haidaraM/ansible-playbook-grapher/pull/155

**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.0.0...v2.1.0

2.0.0

What's Changed

- 🚀🚀Add support for MermaidJS 🚀🚀. See https://github.com/haidaraM/ansible-playbook-grapher/issues/137
- Add generated images in the CI job summary
- Update various Dependencies: pytest, pytest-cov, ansible-core, pyquery etc...
- ci: Add dependabot for github-actions
- Rename some tests files

Breaking changes

This version contains the following breaking changes. Some of them may likely affect you if you were using the grapher
as a library inside another project:

- Completely refactor the rendering part of the grapher by making it more extensible in order to support Mermaid.
- Fill the plays, blocks and node with color to make them more visible in the output
- Rename the file `graph.py` to `graph_model.py`
- Use the concatenation of the playbook names as the output filename when graphing multiple playbooks instead of the
first playbook.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.