Skip to content

v0.29.0

Compare
Choose a tag to compare
@neithere neithere released this 03 Sep 14:59
4ee7fd5

What's Changed

Backwards incompatible changes:

  • Wrapped exceptions now cause dispatching.dispatch() to raise SystemExit(1)
    instead of returning without error. For most users, this means failed commands
    will now exit with a failure status instead of a success (by @ekimekim in #161).

Deprecated:

  • Renamed arguments in add_commands() (#165 / #178):

    • namespacegroup_name
    • namespace_kwargsgroup_kwargs

    The old names are deprecated and will be removed in v.0.30.

Enhancements:

  • Can control exit status (see Backwards Incompatible Changes above) when raising
    CommandError using the code keyword arg.

Bugs fixed:

  • Positional arguments should not lead to removal of short form of keyword argument by @neithere in #181

Other changes:

  • Avoid depending on iocapture by using pytest's built-in feature by @mr-c in #177
  • chore: publishing to prod PyPI by @neithere in #173
  • test: add coverage for action="count" (#127) by @neithere in #183

New Contributors

Full Changelog: v0.28.1...v0.29.0