Skip to content

3.16.0

Choose a tag to compare

@rmcdaniel rmcdaniel released this 13 Nov 01:53
· 117 commits to main since this release
00a531e

PHP SDK 3.16.0 pauses, resumes and reads activity dispatch on a task queue (native Server 3.8.0).

Added

  • Client::pauseTaskQueueActivityDispatch(), Client::resumeTaskQueueActivityDispatch() and Client::describeTaskQueueActivityDispatch() (#395, server#577, waterline#299) pause, resume and read activity dispatch on one task queue of the client's namespace. They return the Server's answer, with outcome paused, already_paused, resumed or not_paused and the activity_dispatch state. Pause and resume are sent once and never retried; if an answer is lost, read the state.
  • ClusterInfo::supportsTaskQueueActivityDispatchPause() reads the task_queue_activity_dispatch_pause capability.
  • A Server without the routes (published PHP Server 2.x, or native before 3.8.0) answers 404, which is raised as the new DurableWorkflow\Exception\ServerCapabilityUnavailable (a ServerException with status 501 and reason backend_capability_unavailable). Other refusals, such as 403 for a worker credential or 422 for an invalid reason, stay ServerException with the Server's status, reason and details.

Everything else behaves as in 3.15.0.