Skip to content

v1.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Oct 14:58
· 904 commits to master since this release
v1.11.0
919c568

Summary

We're pleased to announce Commodore v1.11.0. Apart from dependency updates, this release improves the catalog list command, introduces support for skipping paths in inventory lint, introduces optional filtering of dependencies to sync in component sync and package sync and adds support for Python 3.11.

The catalog list command has new options to sort the output, to filter the output by tenant id, and to print the output in various formats. The new default format is a tabular view intended for humans. To restore the old default behavior, please use -o id. Additionally, the command now also provides output formats JSON and YAML which dump the complete Lieutenant responses for consumption by other tools.

In inventory lint, we add support for skipping paths both as a command line option and through a .commodoreignore file in the root of the directory structure to lint. This can be useful when linting tenant repos which contain YAML manifests which are inputs to component adhoc-configurations, and which shouldn't be linted as Commodore inventory classes. Additionally, inventory lint now treats a top-level key parameters which isn't a dictionary as an error.

Finally, we've added support for filtering the list of depedencies to sync in component sync and package sync through command line option --filter. This option takes a regex and skips any dependencies which don't match the regex. We plan to make this option available in the Commodore component template sync GitHub action for manual runs.

Changes

16 changes since v1.10.0

🚀 Features

  • Implement ignore patterns for inventory lint (#665)
  • Add support for selective dependency syncing (#673)
  • Improve catalog listing UX (#671)
  • Add Python 3.11 as supported version (#670)

🪛 Internal Changes

  • Refactor cli.py into a package (#672)

🐛 Fixes

  • Make non-dictionary key parameters a linting error (#666)

📄 Documentation

  • Improve local mode documentation (#656)

🔗 Dependency Updates

  • Update dependency responses to v0.22.0 (#650)
  • Update dependency PyGithub to v1.56 (#651)
  • Update dependency pylint to v2.15.5 (#661)
  • Update paambaati/codeclimate-action action to v3.2.0 (#658)
  • Update dependency tox to v3.27.0 (#669)
  • Update dependency pytest-benchmark to v4 (#668)
  • Update dependency pytest-xdist to v3 (#667)
  • Update dependency pytest to v7.2.0 (#664)
  • Update docker.io/python Docker tag to v3.11.0 (#663)