4.0.0
4.0.0 (2022-04-28)
Features
- add
on_error
andon_terminated
hooks (699d6fe) - add
on_terminated
hook that is triggered on SIGTERM (387f1dd) - exit gracefully on SIGTERM, timeout, and cancellation (061eecd)
BREAKING CHANGES
The on_failure
hook is still triggered in any failure condition, but it doesn't require and error having been set and doesn't push a status update. The status push behavior is implemented using the on_error
, on_terminated
, and on_cancelled
hooks.
Workflows may have to be updated to account for this change.