Skip to content

Releases: haidaraM/ansible-playbook-grapher

v2.4.0 (2024-10-31)

30 Oct 23:32
Compare
Choose a tag to compare

What's Changed

  • ci: Use ruff for linting and format by @haidaraM in #199
  • chore(deps): bump ruff from 0.6.4 to 0.6.8 by @dependabot in #202
  • chore(deps): bump pytest from 8.3.2 to 8.3.3 by @dependabot in #200
  • fix: 'dict' object has no attribute 'ansible_pos' when validating arguments by @haidaraM in #204

Full Changelog: v2.3.0...v2.4.0

v2.3.0 (2024-09-07)

07 Sep 08:34
Compare
Choose a tag to compare

What's Changed

  • feat: Add support for a JSON renderer by @haidaraM in #193
  • chore(deps): update black requirement from ~=24.3 to ~=24.4 by @dependabot in #188
  • chore(deps): bump pytest from 8.1.1 to 8.2.1 by @dependabot in #189
  • chore(deps): bump pytest from 8.2.1 to 8.2.2 by @dependabot in #191
  • chore(deps): update ansible-core requirement from <2.16.6,>=2.15 to >=2.15,<2.17.1 by @dependabot in #190
  • chore(deps): bump pytest from 8.2.2 to 8.3.2 by @dependabot in #195
  • chore(deps): bump pyquery from 2.0.0 to 2.0.1 by @dependabot in #197
  • chore(deps): update black requirement from ~=24.4 to ~=24.8 by @dependabot in #196
  • chore(deps): update ansible-core requirement from <2.17.1,>=2.16 to >=2.16,<2.17.3 by @dependabot in #194

Full Changelog: v2.2.1...v2.3.0

v2.2.1 (2024-04-24)

24 Apr 18:47
Compare
Choose a tag to compare

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 #185
  • chore(deps): bump pytest-cov from 4.1.0 to 5.0.0 by @dependabot in #182
  • chore(deps): update black requirement from ~=24.2 to ~=24.3 by @dependabot in #184
  • chore(deps): update ansible-core requirement from <2.16.5,>=2.15 to >=2.15,<2.16.6 by @dependabot in #183

Full Changelog: v2.2.0...v2.2.1

v2.2.0 (2024-04-21)

21 Apr 18:38
Compare
Choose a tag to compare

What's Changed

  • feat: Add support for hiding empty plays and plays without roles #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 #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 #175
  • chore(deps): bump pytest from 8.0.0 to 8.0.2 by @dependabot in #173
  • fix: make sure pip install from github works by @haidaraM in #178
  • chore(deps): update ansible-core requirement from <2.16.4,>=2.15 to >=2.15,<2.16.5 by @dependabot in #174

Full Changelog: v2.1.2...v2.2.0

v2.1.2

24 Feb 23:00
Compare
Choose a tag to compare

What's Changed

Dependency updates:

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

Full Changelog: v2.1.1...v2.1.2

v2.1.1

02 Dec 01:22
Compare
Choose a tag to compare

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 #160
  • chore(deps): update black requirement from ~=23.9 to ~=23.10 by @dependabot in #161
  • chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #159
  • chore(deps): update black requirement from ~=23.10 to ~=23.11 by @dependabot in #163

Full Changelog: v2.1.0...v2.1.1

v2.1.0 (2023-10-01)

01 Oct 09:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0 (2023-06-03)

03 Jun 18:12
Compare
Choose a tag to compare

What's Changed

  • 🚀🚀Add support for MermaidJS 🚀🚀. See #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.

v1.2.0 (2022-08-21)

21 Aug 15:05
Compare
Choose a tag to compare

What's Changed

  • feat: Add test case for community downloaded roles and collections by @haidaraM in #117
  • feat: Add support multiple playbooks in one graph by @haidaraM in #118
  • fix: Roles usages and do not use multiple edges for role tasks by @haidaraM in #120
  • feat: Add a flag to group roles by name - Revert the old behavior by @haidaraM in #122
  • fix: Avoid recursive endless loop when a role references itself by @haidaraM in #123

Full Changelog: v1.1.3...v1.2.0

v1.1.3 (2022-07-17)

17 Jul 16:49
Compare
Choose a tag to compare

What's Changed

  • fix: Render a single node when multiple playbooks use the same role by @haidaraM in #111
  • fix: Improve the position of the conditions on the edges by @haidaraM in #116

Full Changelog: v1.1.2...v1.1.3