From 2475680418b9bcd78a7f63a73c6b52bdd895242c Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 6 Sep 2026 19:49:26 +0100 Subject: [PATCH 1/4] chore: allow utopia-php/client 0.4 appwrite-labs/sdk-for-manager 5.0.0 requires utopia-php/client ^0.4.1, and consumers such as appwrite-labs/edge install feed alongside it. Client 0.4 adds withFollowRedirects() to the Adapter contract, so the FakeClient test double gains it; the suite passes against 0.4.3. --- composer.json | 2 +- tests/Feed/Support/FakeClient.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d504dd3..1888982 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "psr/http-client": "^1.0", "psr/http-message": "^2.0", "utopia-php/cache": "4.* || 5.*", - "utopia-php/client": "0.3.*", + "utopia-php/client": "0.3.* || 0.4.*", "utopia-php/pools": "2.*", "utopia-php/psr7": "^0.2", "utopia-php/cloudevents": "0.1.*" diff --git a/tests/Feed/Support/FakeClient.php b/tests/Feed/Support/FakeClient.php index 7b6e643..3737138 100644 --- a/tests/Feed/Support/FakeClient.php +++ b/tests/Feed/Support/FakeClient.php @@ -93,6 +93,11 @@ public function withConnectionReuse(bool $enabled = true): static return clone $this; } + public function withFollowRedirects(bool $enabled = true): static + { + return clone $this; + } + /** * Feeds are read buffered — a batch is bounded by `limit`, so there is * nothing to stream. From 1452580ac88c8f65a6ca7a72d1241908c0dc07f4 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 6 Sep 2026 19:53:15 +0100 Subject: [PATCH 2/4] chore: require utopia-php/client 0.4 exclusively A single range keeps the resolver's job simple; 0.3 support is dropped rather than kept as an alternative. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1888982..e47f338 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "psr/http-client": "^1.0", "psr/http-message": "^2.0", "utopia-php/cache": "4.* || 5.*", - "utopia-php/client": "0.3.* || 0.4.*", + "utopia-php/client": "0.4.*", "utopia-php/pools": "2.*", "utopia-php/psr7": "^0.2", "utopia-php/cloudevents": "0.1.*" From 29ed1eea7bb6cb4ea98c1e02c936af20f9475720 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 6 Sep 2026 20:10:40 +0100 Subject: [PATCH 3/4] chore: lock utopia-php/client 0.4.3 CI installs from the lock file, so the constraint change needs the matching lock update. --- composer.lock | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/composer.lock b/composer.lock index e5ce0d0..68f38cc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cb58c16b089d041f13e3588fb7c9f132", + "content-hash": "59b75a43ce2cddc6568d5b693a595591", "packages": [ { "name": "brick/math", @@ -1997,16 +1997,16 @@ }, { "name": "utopia-php/client", - "version": "0.3.0", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/utopia-php/client.git", - "reference": "ee4c3429634f84c175e45f2a0c1836eaf78c2528" + "reference": "d68a5890afa6002b44691cb3f265123a6331e03e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/client/zipball/ee4c3429634f84c175e45f2a0c1836eaf78c2528", - "reference": "ee4c3429634f84c175e45f2a0c1836eaf78c2528", + "url": "https://api.github.com/repos/utopia-php/client/zipball/d68a5890afa6002b44691cb3f265123a6331e03e", + "reference": "d68a5890afa6002b44691cb3f265123a6331e03e", "shasum": "" }, "require": { @@ -2015,7 +2015,7 @@ "psr/http-factory": "^1.0", "psr/http-message": "^1.1 || ^2.0", "utopia-php/pools": "^2.0", - "utopia-php/psr7": "^0.2", + "utopia-php/psr7": "^0.2.1", "utopia-php/span": "^1.1 || ^3.0 || ^4.0" }, "require-dev": { @@ -2048,9 +2048,9 @@ ], "support": { "issues": "https://github.com/utopia-php/client/issues", - "source": "https://github.com/utopia-php/client/tree/0.3.0" + "source": "https://github.com/utopia-php/client/tree/0.4.3" }, - "time": "2026-07-31T08:38:16+00:00" + "time": "2026-09-05T15:25:56+00:00" }, { "name": "utopia-php/cloudevents", @@ -2162,16 +2162,16 @@ }, { "name": "utopia-php/psr7", - "version": "0.2.0", + "version": "0.2.2", "source": { "type": "git", "url": "https://github.com/utopia-php/psr7.git", - "reference": "115753c36194d53abe5587d383810724ac3a782d" + "reference": "cf70bec9ae4cda33bba01c8f7f2194d32adf899d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/psr7/zipball/115753c36194d53abe5587d383810724ac3a782d", - "reference": "115753c36194d53abe5587d383810724ac3a782d", + "url": "https://api.github.com/repos/utopia-php/psr7/zipball/cf70bec9ae4cda33bba01c8f7f2194d32adf899d", + "reference": "cf70bec9ae4cda33bba01c8f7f2194d32adf899d", "shasum": "" }, "require": { @@ -2202,9 +2202,9 @@ ], "support": { "issues": "https://github.com/utopia-php/psr7/issues", - "source": "https://github.com/utopia-php/psr7/tree/0.2.0" + "source": "https://github.com/utopia-php/psr7/tree/0.2.2" }, - "time": "2026-07-06T12:40:23+00:00" + "time": "2026-09-02T15:57:19+00:00" }, { "name": "utopia-php/span", From 2a3c2b58cb7a9e0b5c9f518266026a423c9a0bf1 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Sun, 6 Sep 2026 20:40:36 +0100 Subject: [PATCH 4/4] chore: use caret range for utopia-php/client --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e47f338..0b5a454 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "psr/http-client": "^1.0", "psr/http-message": "^2.0", "utopia-php/cache": "4.* || 5.*", - "utopia-php/client": "0.4.*", + "utopia-php/client": "^0.4", "utopia-php/pools": "2.*", "utopia-php/psr7": "^0.2", "utopia-php/cloudevents": "0.1.*" diff --git a/composer.lock b/composer.lock index 68f38cc..9d154d3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "59b75a43ce2cddc6568d5b693a595591", + "content-hash": "f0c6a14ff41b13488bbbcc395bce5956", "packages": [ { "name": "brick/math",