Repository navigation
v0.21.0
Why 0.21.0 and not 0.20.2
This release adds public API and changes one behaviour, and in this gem's release rules either one is a minor bump while it is 0.x.
- New API:
Pgbus::Workflow.start!takesactor:andreason:for the audit trail (#571). Await_for:step's guards getwoken?andsignal_ready?(#572).wait_timeout:takes a method name or a lambda, which can return a per-run deadline (#574). - Behaviour change:
actor:andreason:are now reserved keywords ofstart!, so they no longer reach a workflow'sarguments. A workflow that took an argument with either name must rename it, for example tostart!(subject, requested_by: …).
Details for every change are in CHANGELOG.md.
What's Changed
- feat(workflow): start! takes actor: and reason: for the audit trail by @mhenrixon in #575
- fix(generators): keep the workflows one-ongoing index predicate stable through schema.rb by @mhenrixon in #576
- feat(workflow): woken? and signal_ready? for a wait_for: step's guards by @mhenrixon in #578
- feat(workflow): wait_timeout: takes a per-run deadline — a method name or a lambda by @mhenrixon in #580
- docs(changelog): 0.21.0 by @mhenrixon in #581
Full Changelog: v0.20.1...v0.21.0