Skip to content

v0.21.0

Choose a tag to compare

@mhenrixon mhenrixon released this 18 Oct 22:15
· 52 commits to main since this release
3f2ebd0

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! takes actor: and reason: for the audit trail (#571). A wait_for: step's guards get woken? and signal_ready? (#572). wait_timeout: takes a method name or a lambda, which can return a per-run deadline (#574).
  • Behaviour change: actor: and reason: are now reserved keywords of start!, so they no longer reach a workflow's arguments. A workflow that took an argument with either name must rename it, for example to start!(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