Skip to content

PHP SDK 2.0.3

Choose a tag to compare

@rmcdaniel rmcdaniel released this 06 Sep 01:48
0341e36

PHP SDK 2.0.3 fixes reads and worker execution when Server externalizes Avro payloads.

  • Resolve opaque payload envelopes through the authenticated namespace runtime, without provider credentials or provider URLs.
  • Validate codec, identity, size, SHA-256 and response metadata; reject redirects and bound downloaded bytes per response.
  • Preserve inline payload behavior. Custom transports can implement the optional PayloadTransport capability; Psr18Transport supports it.
  • Surface typed ExternalPayloadException failures rather than missing-blob codec errors or lossy JSON fallbacks.

Verified with PHP 8.1-8.4 CI, Laravel/Symfony compatibility, local Guzzle 7/8 suites, and a published Server 2.2.0/MySQL restart test covering completed and waiting workflows, query/signal replay, and namespace/credential boundaries. Worker protocol 1.19 and the Server 2.1.0 baseline are unchanged.

Update with composer update durable-workflow/sdk, then restart application workers.

Implementation and validation
Changelog