Skip to content

fix(deps): require utopia-php/client ^0.6 and storage ^4.4 - #260

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/client-0.6-names
Oct 7, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
fix/client-0.6-names

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

utopia-php/client 0.6 removed the pre-0.5 aliases, including Utopia\Psr18\StreamingClientInterface, which StorageFactory::getDevice() type-hints. Any consumer that resolves client 0.6 (Edge, after utopia-php/storage 4.4.0) gets a TypeError when it passes a client.

This imports Utopia\Client\Psr18\StreamingClientInterface instead, requires utopia-php/client directly since the executor uses its interface, and raises utopia-php/storage to ^4.4 (the release that allows client 0.6). The lock moves from client 0.4.4 / storage 4.1.0 to 0.6.0 / 4.4.0.

storage 4.4 rejects an upload whose response has no ETag, so the StorageFactoryTest doubles now return one, as S3 does.

Unit tests (37), PHPStan, Rector and Pint pass locally.

client 0.6 drops the Utopia\Psr18 alias StorageFactory type-hinted, so consumers on 0.6 hit a TypeError. Import the interface from its real namespace and require client directly since it is used directly. storage 4.4 rejects an upload whose response has no ETag, so the test doubles now send one, as S3 does.
@ChiragAgg5k
ChiragAgg5k merged commit 162969b into main Oct 7, 2026
6 checks passed
@TorstenDittmann
TorstenDittmann deleted the fix/client-0.6-names branch October 7, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants