github durable-workflow/workflow 2.23.0

one hour ago

Fixes

  • Laravel Cloud queues: timers, awaitWithTimeout() and delayed v2 tasks longer than 15 minutes failed on Laravel Cloud's managed queues with DelaySeconds must be >= 0 and <= 900. The cloud queue driver wraps Amazon SQS, but the 900-second delay cap only applied to the sqs driver. Long delays on cloud now wait in steps of at most 900 seconds, as on plain SQS. Reported and fixed for 1.x by @Joel-Jensen (#1072, released in 1.1.1); carried to 2.x in #1074.
  • Queries and update-handler stream receives: a query that replayed an update handler's inbox()->receive() returned nothing (#1024). Live update handlers now record the message ids each receive returned on their UpdateApplied event, and queries and replays return exactly those messages (#1076). Updates applied by earlier releases keep the previous lookup.

New (experimental)

  • Business transition contracts under Workflow\V2\StateMachine with native Saga integration (#1071, contributed by @chrom). See docs/business-state-machines.md. The API is marked experimental and may change in a minor release.

Compatibility

No database migration or dependency floor change. UpdateApplied history gains an optional message_receives field. Older runtimes ignore it and fall back to the previous lookup.

Don't miss a new workflow release

NewReleases is sending notifications on new releases.