ansible-playbook-grapher/CHANGELOG.md
2024-03-23 23:59:35 +01:00

15 KiB

2.2.0 (unreleased)

What's Changed

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

2.1.2 (2024-02-25)

What's Changed

Dependency updates:

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

2.1.1 (2023-12-02)

What's Changed

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

2.1.0 (2023-10-01)

What's Changed

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

2.0.0 (2023-06-03)

What's Changed

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.

1.2.0 (2022-08-21)

What's Changed

Full Changelog: https://github.com/haidaraM/ansible-playbook-grapher/compare/v1.1.3...v1.2.0

1.1.3 (2022-07-17)

What's Changed

Full Changelog: https://github.com/haidaraM/ansible-playbook-grapher/compare/v1.1.2...v1.1.3

1.1.2 (2022-06-22)

What's Changed

New Contributors

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

1.1.1 (2022-05-16)

1.1.0 (2022-02-12)

  • fix: Do not pass display as param since it's a singleton + init locale to fix warning

  • feat: Open node file when double-clicking on it from a browser #79

  • fix: Unhighlight the current node when clicking on a new one

  • fix: Use the correct LICENSE GPLv3 #100

  • Add some news messages + fix typo and type hint

  • refactor: format the code with black #102

  • Full Changelog: https://github.com/haidaraM/ansible-playbook-grapher/compare/v1.0.2...v1.1.0

1.0.2 (2022-01-16)

Full Changelog: https://github.com/haidaraM/ansible-playbook-grapher/compare/v1.0.1...v1.0.2

1.0.1

  • fix: Block can only contain tasks regardless of the context by @haidaraM in #96 and #97

Full Changelog: https://github.com/haidaraM/ansible-playbook-grapher/compare/v1.0.0...v1.0.1

1.0.0

  • refactor: See #81
    • Completely rewrite the grapher: the parser, the graph and the renderer to graphviz have been split.
    • Hide some ansible internals in the parser.
  • feat:
    • Consider include_role as normal role instead of task #82
    • feat: Curved edge label based on the path #84
    • feat: Add option to automatically view the generated file #88
    • feat: Add support for block #86. They are now visible in the graph.
    • Add support for when on include_role.
    • Only Ansible >= 2.11 is supported. Python >=3.8 is now required #94.
  • fix:
    • front: Refactor the JS part and fix issue when selecting/unselecting nodes
    • front: Do not unhighlight the current selected node when hovering on parent node
    • cli(typo): rename --ouput-file-name to --output-file-name
    • Use the correct tooltip for edges
    • style: Do not use bold style by default and apply color on nodes border
    • Merge when condition with and
    • Explicitly set color luminance to avoid bright colors
    • Reduce Node ID lengths. No need to use the full UUID
    • Make grapher works with graphviz >= 0.18. See #91
  • test:
    • Make test verbose by default with -vv in the args
    • Fix test_install in GitHub Actions which was not using the correct Ansible version.
  • docs:
    • Reformat CHANGELOG.md and README.md
  • Dependencies:
    • bump pytest from 6.2.4 to 6.2.5 #83
    • bump pytest-cov from 2.12.1 to 3.0.0 #90
    • chore(deps): Remove packaging dependency

0.11.2 (2021-11-07)

  • fix: Restrict graphviz to <=0.17. Fix #91

0.11.1 (2021-07-28)

  • Dependencies:
    • Unpin requirements. See #71
    • Bump pytest-cov from 2.11.1 to 2.12.1 #78
    • Bump pytest from 6.2.2 to 6.2.4 #76
    • Upgrade to GitHub-native Dependabot #72
  • Drop support for ansible 2.8. The grapher requires at least ansible 2.9 #74
  • Fix:
    • Correct graph exported display message. See #69
  • CI: Run github actions on pull requests

0.11.0

  • Feat:
    • Add type annotations to the source code
    • Add more debug info + improve counter
  • Fix:
    • Attach play to role edge to play_subgraph instead of role one
    • Fix display verbosity
    • Fix pytest warning (remove rootdir from pytest.ini)
    • Fix: Show task name instead of its ID on hover. See issue #57
    • ci: Fix coverage
  • Refactor:
    • Rewriting the grapher, clean code.
    • Generate node IDs from an util function
  • Style: Replace some format by f-string
  • CI: Replace Travis by GitHub actions (#54)
  • Dependencies:
    • Bump pytest from 6.0.1 to 6.2.2 (PRs #50, #51, #62, #67)
    • Bump pytest-cov from 2.10.0 to 2.11.1 (PRs #49, #65)
    • Bump pyquery from 1.4.1 to 1.4.3 (PRs #58)
    • Bump lxml from 4.5.2 to 4.6.2 (PRs #53, #61)
    • Bump graphviz from 0.14.1 to 0.16 (PRs #52, #64)
    • Bump graphviz from 0.14.1 to 0.16 (PRs #52, #64)
    • Bump packaging from 20.4 to 20.9 (PRs #66)

0.10.0

  • Fix #13: Tasks with same names are not mapped anymore to the same nodes.
  • Fix: Do not add the skipped tags to the graph #24
  • Do not run some tests with Ansible 2.8: Ansible 2.8 sets some global variables causing the tests to fail. To avoid that, these tests are marked to fail. This "mark" should be removed when we drop support for Ansible 2.8
  • FIX. README Usage #41
  • Bump pytest-cov from 2.8.1 to 2.9.0 via Dependant bot
  • Bump graphviz from 0.14 to 0.14.1 via Dependant bot
  • Bump pytest from 5.4.3 to 6.0.1
  • Various fixes: typo, remove useless functions

0.9.4

  • Fix playbook with relative var_file. Fix #35
  • Add dependant bot to the repo:
    • Update Pytest to 5.4.2
    • Update graphviz to 0.14

0.9.3

  • Update dependencies (#29)
  • Make sure that an element exists before assigning it (#26)

0.9.2

  • Add support for Ansible 2.9 (#25)

0.9.1

Fix issue #18 with Ansible 2.8: the CLI was refactored in https://github.com/ansible/ansible/pull/50069. See https://github.com/haidaraM/ansible-playbook-grapher/pull/19 for the related changes.

0.9.0

0.8.3

  • Fix: Return code of the script

0.8.2

  • Fix: Make entrypoint (main) args optional

0.8.1

  • Pypi: Fix images URL in the description

0.8.0

  • Add support for include_tasks #13
  • Update Graphviz and lxml versions
  • Fix hover on play nodes. The related tasks are properly highlighted now
  • Travis: Test more versions of Ansible
  • Print Ansible version used the by grapher when printing version (ansible-playbook-grapher --version)
  • Add ability to run the tests with "python setup.py test"
  • Fix Pypi package description
  • Other minor changes...