v0.29.0
What's Changed
Backwards incompatible changes:
- Wrapped exceptions now cause
dispatching.dispatch()
to raiseSystemExit(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):namespace
→group_name
namespace_kwargs
→group_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 thecode
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