Skip to content

v0.9.0

Compare
Choose a tag to compare
@janluke janluke released this 30 Jun 21:44
· 190 commits to master since this release

Summary

  • Enhanced IDE experience thanks to the detailed type hints for @command, @group, @argument and @option. #47, #50
  • You can now use constraints as decorators to avoid specifying parameters by name. [Breaking change]. #8
  • The formatter setting row_sep can now take a RowSepPolicy that decides whether to use a row separator (e.g. an empty line) for each definition list independently, e.g. based on the number of definitions taking multiple lines. #37
  • Added the require_any and require_one constraints (as aliases). #57
  • Simplified and improved the error argument of Rephraser. Reusing the original error message to add extra info is easy now. #54
  • A few minor bugs were fixed.
  • Made the docs more readable.

Details

You can find a much more detailed changelog on the website:
https://cloup.readthedocs.io/en/stable/pages/changelog.html#v0-9-0-2021-06-30