You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guzzle 8 requires guzzlehttp/promises ^3.0.2 and guzzlehttp/psr7 ^3.1, so all three constraints block the upgrade. Every application using cloudinary_php is stuck on Guzzle 7:
Guzzle 8 supports PHP ^7.4 || ^8.0, so the SDK's php >=8.0 requirement doesn't need to change. A CI job against both Guzzle majors would keep this from regressing.
Things worth checking
From the Guzzle 8 upgrade guide, compared against what the SDK uses (Client, Promise\Create, PromiseInterface, Psr7\Uri, Psr7\LimitStream, Psr7\Utils::streamFor, ClientException):
Header values must be strings (or non-empty arrays of strings). Integers, null and false are no longer cast. The headers the SDK sets itself (User-Agent, Authorization, X-Unique-Upload-Id, Content-Range) already look fine, but headers merged in from call options should be double-checked.
Request method casing is preserved. Methods must be passed in uppercase.
The psr7 3.x and promises 3.x upgrade guides, since the async API and the chunked upload rely on both.
Activity
Add support for `Guzzle 8`