From ad97dcc6f92e3a0688c5d94d980fb7a4cb629d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 29 Jun 2026 12:02:53 +0200 Subject: [PATCH 1/6] Add appwrite (cloud) as oauth provider --- app/config/oAuthProviders.php | 11 ++ app/init/models.php | 2 + src/Appwrite/Auth/OAuth2/Appwrite.php | 180 ++++++++++++++++++ .../Http/Project/OAuth2/Appwrite/Update.php | 55 ++++++ .../Project/Http/Project/OAuth2/Base.php | 1 + .../Modules/Project/Services/Http.php | 2 + src/Appwrite/Utopia/Response.php | 1 + .../Utopia/Response/Model/OAuth2Appwrite.php | 47 +++++ .../Response/Model/OAuth2ProviderList.php | 1 + .../Project/OAuth2/OAuth2ProviderTest.php | 17 +- 10 files changed, 310 insertions(+), 7 deletions(-) create mode 100644 src/Appwrite/Auth/OAuth2/Appwrite.php create mode 100644 src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Appwrite/Update.php create mode 100644 src/Appwrite/Utopia/Response/Model/OAuth2Appwrite.php diff --git a/app/config/oAuthProviders.php b/app/config/oAuthProviders.php index 3b492fd8bf..31f1585b5c 100644 --- a/app/config/oAuthProviders.php +++ b/app/config/oAuthProviders.php @@ -24,6 +24,17 @@ return [ 'mock' => false, 'class' => 'Appwrite\\Auth\\OAuth2\\Apple', ], + 'appwrite' => [ + 'name' => 'Appwrite', + 'developers' => 'https://appwrite.io/docs/products/auth', + 'icon' => 'icon-appwrite', + 'enabled' => true, + 'sandbox' => false, + 'form' => false, + 'beta' => false, + 'mock' => false, + 'class' => 'Appwrite\\Auth\\OAuth2\\Appwrite', + ], 'auth0' => [ 'name' => 'Auth0', 'developers' => 'https://auth0.com/developers', diff --git a/app/init/models.php b/app/init/models.php index cdb2a9b9b6..05136566d2 100644 --- a/app/init/models.php +++ b/app/init/models.php @@ -118,6 +118,7 @@ use Appwrite\Utopia\Response\Model\None; use Appwrite\Utopia\Response\Model\Notification; use Appwrite\Utopia\Response\Model\OAuth2Amazon; use Appwrite\Utopia\Response\Model\OAuth2Apple; +use Appwrite\Utopia\Response\Model\OAuth2Appwrite; use Appwrite\Utopia\Response\Model\OAuth2Auth0; use Appwrite\Utopia\Response\Model\OAuth2Authentik; use Appwrite\Utopia\Response\Model\OAuth2Autodesk; @@ -454,6 +455,7 @@ Response::setModel(new OAuth2Facebook()); Response::setModel(new OAuth2Tradeshift()); Response::setModel(new OAuth2Paypal()); Response::setModel(new OAuth2Gitlab()); +Response::setModel(new OAuth2Appwrite()); Response::setModel(new OAuth2Authentik()); Response::setModel(new OAuth2Auth0()); Response::setModel(new OAuth2FusionAuth()); diff --git a/src/Appwrite/Auth/OAuth2/Appwrite.php b/src/Appwrite/Auth/OAuth2/Appwrite.php new file mode 100644 index 0000000000..23fcc013af --- /dev/null +++ b/src/Appwrite/Auth/OAuth2/Appwrite.php @@ -0,0 +1,180 @@ +endpoint . '/authorize?' . \http_build_query([ + 'client_id' => $this->appID, + 'redirect_uri' => $this->callback, + 'state' => \json_encode($this->state), + 'scope' => \implode(' ', $this->getScopes()), + 'response_type' => 'code' + ]); + } + + /** + * @param string $code + * + * @return array + */ + protected function getTokens(string $code): array + { + if (empty($this->tokens)) { + $this->tokens = \json_decode($this->request( + 'POST', + $this->endpoint . '/token', + ['Content-Type: application/x-www-form-urlencoded'], + \http_build_query([ + 'code' => $code, + 'client_id' => $this->appID, + 'client_secret' => $this->appSecret, + 'redirect_uri' => $this->callback, + 'scope' => \implode(' ', $this->getScopes()), + 'grant_type' => 'authorization_code' + ]) + ), true); + } + + return $this->tokens; + } + + /** + * @param string $refreshToken + * + * @return array + */ + public function refreshTokens(string $refreshToken): array + { + $this->tokens = \json_decode($this->request( + 'POST', + $this->endpoint . '/token', + ['Content-Type: application/x-www-form-urlencoded'], + \http_build_query([ + 'refresh_token' => $refreshToken, + 'client_id' => $this->appID, + 'client_secret' => $this->appSecret, + 'grant_type' => 'refresh_token' + ]) + ), true); + + if (empty($this->tokens['refresh_token'])) { + $this->tokens['refresh_token'] = $refreshToken; + } + + return $this->tokens; + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserID(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['sub'] ?? ''; + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserEmail(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['email'] ?? ''; + } + + /** + * Check if the User email is verified + * + * @param string $accessToken + * + * @return bool + */ + public function isEmailVerified(string $accessToken): bool + { + $user = $this->getUser($accessToken); + + return $user['email_verified'] ?? false; + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserName(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['name'] ?? ''; + } + + /** + * @param string $accessToken + * + * @return array + */ + protected function getUser(string $accessToken): array + { + if (empty($this->user)) { + $user = $this->request( + 'GET', + $this->endpoint . '/userinfo', + ['Authorization: Bearer ' . \urlencode($accessToken)] + ); + $this->user = \json_decode($user, true); + } + + return $this->user; + } +} diff --git a/src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Appwrite/Update.php b/src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Appwrite/Update.php new file mode 100644 index 0000000000..3f043825fe --- /dev/null +++ b/src/Appwrite/Platform/Modules/Project/Http/Project/OAuth2/Appwrite/Update.php @@ -0,0 +1,55 @@ + Paypal\Update::class, 'paypalSandbox' => PaypalSandbox\Update::class, 'gitlab' => Gitlab\Update::class, + 'appwrite' => Appwrite\Update::class, 'authentik' => Authentik\Update::class, 'auth0' => Auth0\Update::class, 'fusionauth' => FusionAuth\Update::class, diff --git a/src/Appwrite/Platform/Modules/Project/Services/Http.php b/src/Appwrite/Platform/Modules/Project/Services/Http.php index a8eec3abd0..2ffa9eed8b 100644 --- a/src/Appwrite/Platform/Modules/Project/Services/Http.php +++ b/src/Appwrite/Platform/Modules/Project/Services/Http.php @@ -20,6 +20,7 @@ use Appwrite\Platform\Modules\Project\Http\Project\MockPhone\Update as UpdateMoc use Appwrite\Platform\Modules\Project\Http\Project\MockPhone\XList as ListMockPhones; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Amazon\Update as UpdateOAuth2Amazon; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Apple\Update as UpdateOAuth2Apple; +use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Appwrite\Update as UpdateOAuth2Appwrite; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Auth0\Update as UpdateOAuth2Auth0; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Authentik\Update as UpdateOAuth2Authentik; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Autodesk\Update as UpdateOAuth2Autodesk; @@ -216,6 +217,7 @@ class Http extends Service $this->addAction(UpdateOAuth2Paypal::getName(), new UpdateOAuth2Paypal()); $this->addAction(UpdateOAuth2PaypalSandbox::getName(), new UpdateOAuth2PaypalSandbox()); $this->addAction(UpdateOAuth2Gitlab::getName(), new UpdateOAuth2Gitlab()); + $this->addAction(UpdateOAuth2Appwrite::getName(), new UpdateOAuth2Appwrite()); $this->addAction(UpdateOAuth2Authentik::getName(), new UpdateOAuth2Authentik()); $this->addAction(UpdateOAuth2Auth0::getName(), new UpdateOAuth2Auth0()); $this->addAction(UpdateOAuth2FusionAuth::getName(), new UpdateOAuth2FusionAuth()); diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index e6b713d530..19b5f4d120 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -325,6 +325,7 @@ class Response extends SwooleResponse public const MODEL_OAUTH2_TRADESHIFT = 'oAuth2Tradeshift'; public const MODEL_OAUTH2_PAYPAL = 'oAuth2Paypal'; public const MODEL_OAUTH2_GITLAB = 'oAuth2Gitlab'; + public const MODEL_OAUTH2_APPWRITE = 'oAuth2Appwrite'; public const MODEL_OAUTH2_AUTHENTIK = 'oAuth2Authentik'; public const MODEL_OAUTH2_AUTH0 = 'oAuth2Auth0'; public const MODEL_OAUTH2_FUSIONAUTH = 'oAuth2FusionAuth'; diff --git a/src/Appwrite/Utopia/Response/Model/OAuth2Appwrite.php b/src/Appwrite/Utopia/Response/Model/OAuth2Appwrite.php new file mode 100644 index 0000000000..da6317036d --- /dev/null +++ b/src/Appwrite/Utopia/Response/Model/OAuth2Appwrite.php @@ -0,0 +1,47 @@ + 'appwrite', + ]; + + public function getProviderLabel(): string + { + return 'Appwrite'; + } + + public function getClientIdExample(): string + { + return '6a42000000000000b5a0'; + } + + public function getClientSecretExample(): string + { + return 'b86afd000000000000000000000000000000000000000000000000000ced5f93'; + } + + /** + * Get Name + * + * @return string + */ + public function getName(): string + { + return 'OAuth2Appwrite'; + } + + /** + * Get Type + * + * @return string + */ + public function getType(): string + { + return Response::MODEL_OAUTH2_APPWRITE; + } +} diff --git a/src/Appwrite/Utopia/Response/Model/OAuth2ProviderList.php b/src/Appwrite/Utopia/Response/Model/OAuth2ProviderList.php index 81c23c803c..733b03ba3b 100644 --- a/src/Appwrite/Utopia/Response/Model/OAuth2ProviderList.php +++ b/src/Appwrite/Utopia/Response/Model/OAuth2ProviderList.php @@ -49,6 +49,7 @@ class OAuth2ProviderList extends Model Response::MODEL_OAUTH2_TRADESHIFT, Response::MODEL_OAUTH2_PAYPAL, Response::MODEL_OAUTH2_GITLAB, + Response::MODEL_OAUTH2_APPWRITE, Response::MODEL_OAUTH2_AUTHENTIK, Response::MODEL_OAUTH2_AUTH0, Response::MODEL_OAUTH2_FUSIONAUTH, diff --git a/tests/unit/Platform/Modules/Project/OAuth2/OAuth2ProviderTest.php b/tests/unit/Platform/Modules/Project/OAuth2/OAuth2ProviderTest.php index b8eb48f748..7152006978 100644 --- a/tests/unit/Platform/Modules/Project/OAuth2/OAuth2ProviderTest.php +++ b/tests/unit/Platform/Modules/Project/OAuth2/OAuth2ProviderTest.php @@ -7,6 +7,7 @@ namespace Tests\Unit\Platform\Modules\Project\OAuth2; use Appwrite\Event\Event as QueueEvent; use Appwrite\Extend\Exception; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Apple\Update as AppleUpdate; +use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Appwrite\Update as AppwriteUpdate; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Auth0\Update as Auth0Update; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Authentik\Update as AuthentikUpdate; use Appwrite\Platform\Modules\Project\Http\Project\OAuth2\Base; @@ -36,13 +37,14 @@ final class OAuth2ProviderTest extends TestCase \sort($ids); $expected = [ - 'amazon', 'apple', 'auth0', 'authentik', 'autodesk', 'bitbucket', - 'bitly', 'box', 'dailymotion', 'discord', 'disqus', 'dropbox', - 'etsy', 'facebook', 'figma', 'fusionauth', 'github', 'gitlab', - 'google', 'keycloak', 'kick', 'linkedin', 'microsoft', 'notion', - 'oidc', 'okta', 'paypal', 'paypalSandbox', 'podio', 'salesforce', - 'slack', 'spotify', 'stripe', 'tradeshift', 'tradeshiftBox', - 'twitch', 'wordpress', 'x', 'yahoo', 'yandex', 'zoho', 'zoom', + 'amazon', 'apple', 'appwrite', 'auth0', 'authentik', 'autodesk', + 'bitbucket', 'bitly', 'box', 'dailymotion', 'discord', 'disqus', + 'dropbox', 'etsy', 'facebook', 'figma', 'fusionauth', 'github', + 'gitlab', 'google', 'keycloak', 'kick', 'linkedin', 'microsoft', + 'notion', 'oidc', 'okta', 'paypal', 'paypalSandbox', 'podio', + 'salesforce', 'slack', 'spotify', 'stripe', 'tradeshift', + 'tradeshiftBox', 'twitch', 'wordpress', 'x', 'yahoo', 'yandex', + 'zoho', 'zoom', ]; \sort($expected); @@ -84,6 +86,7 @@ final class OAuth2ProviderTest extends TestCase yield 'default provider' => [Base::getProviderActions()['amazon'], ['clientId', 'clientSecret']]; yield 'custom id and secret names' => [DropboxUpdate::class, ['appKey', 'appSecret']]; yield 'apple' => [AppleUpdate::class, ['serviceId', 'keyId', 'teamId', 'p8File']]; + yield 'appwrite' => [AppwriteUpdate::class, ['clientId', 'clientSecret']]; yield 'auth0' => [Auth0Update::class, ['clientId', 'clientSecret', 'endpoint']]; yield 'authentik' => [AuthentikUpdate::class, ['clientId', 'clientSecret', 'endpoint']]; yield 'fusionauth' => [FusionAuthUpdate::class, ['clientId', 'clientSecret', 'endpoint']]; From d8783af57ae858f0251813f87527b6f91e95be2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 29 Jun 2026 14:38:28 +0200 Subject: [PATCH 2/6] Add PKCE support since Cloud requires it --- src/Appwrite/Auth/OAuth2/Appwrite.php | 62 +++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Appwrite.php b/src/Appwrite/Auth/OAuth2/Appwrite.php index 23fcc013af..827b4da540 100644 --- a/src/Appwrite/Auth/OAuth2/Appwrite.php +++ b/src/Appwrite/Auth/OAuth2/Appwrite.php @@ -11,11 +11,18 @@ use Appwrite\Auth\OAuth2; class Appwrite extends OAuth2 { + private const PKCE_STATE_KEY = '_pkce'; + /** * @var string */ private string $endpoint = 'https://cloud.appwrite.io/v1/oauth2/console'; + /** + * @var string + */ + private string $pkceVerifier = ''; + /** * @var array */ @@ -48,12 +55,20 @@ class Appwrite extends OAuth2 */ public function getLoginURL(): string { + // The Appwrite OAuth2 provider requires PKCE. Stash the verifier in the + // state so it survives the redirect, since the adapter is reconstructed + // statelessly on the callback before the token exchange. + $state = $this->state; + $state[self::PKCE_STATE_KEY] = $this->getPKCEVerifier(); + return $this->endpoint . '/authorize?' . \http_build_query([ 'client_id' => $this->appID, 'redirect_uri' => $this->callback, - 'state' => \json_encode($this->state), + 'state' => \json_encode($state), 'scope' => \implode(' ', $this->getScopes()), - 'response_type' => 'code' + 'response_type' => 'code', + 'code_challenge' => $this->getPKCEChallenge(), + 'code_challenge_method' => 'S256', ]); } @@ -75,7 +90,8 @@ class Appwrite extends OAuth2 'client_secret' => $this->appSecret, 'redirect_uri' => $this->callback, 'scope' => \implode(' ', $this->getScopes()), - 'grant_type' => 'authorization_code' + 'grant_type' => 'authorization_code', + 'code_verifier' => $this->getPKCEVerifier(), ]) ), true); } @@ -177,4 +193,44 @@ class Appwrite extends OAuth2 return $this->user; } + + /** + * Extract the PKCE verifier from the state on the callback so the same + * value generated in getLoginURL() can be sent to the token endpoint. + * + * @param string $state + * + * @return array|null + */ + public function parseState(string $state): ?array + { + $parsed = \json_decode($state, true); + + if (!\is_array($parsed)) { + return null; + } + + $verifier = $parsed[self::PKCE_STATE_KEY] ?? null; + if (\is_string($verifier)) { + $this->pkceVerifier = $verifier; + } + + unset($parsed[self::PKCE_STATE_KEY]); + + return $parsed; + } + + private function getPKCEVerifier(): string + { + if ($this->pkceVerifier === '') { + $this->pkceVerifier = \rtrim(\strtr(\base64_encode(\random_bytes(64)), '+/', '-_'), '='); + } + + return $this->pkceVerifier; + } + + private function getPKCEChallenge(): string + { + return \rtrim(\strtr(\base64_encode(\hash('sha256', $this->getPKCEVerifier(), true)), '+/', '-_'), '='); + } } From 9d00c1ee639b15ad16a9386d0a0994116b0c8fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 29 Jun 2026 14:43:10 +0200 Subject: [PATCH 3/6] Fix createSession missing oauth2 tokens --- app/controllers/api/account.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 36ff0256a2..16144f4813 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -163,6 +163,24 @@ $createSession = function (string $userId, string $secret, Request $request, Res $detector->getDevice() )); + if ($verifiedToken->getAttribute('type') === TOKEN_TYPE_OAUTH2) { + $identity = $authorization->skip(fn () => $dbForProject->findOne('identities', [ + Query::equal('provider', [$oauthProvider]), + Query::equal('userInternalId', [$user->getSequence()]), + ])); + + if ($identity->isEmpty()) { + throw new Exception(Exception::USER_INVALID_TOKEN); + } + + $session + ->setAttribute('providerUid', $identity->getAttribute('providerUid')) + ->setAttribute('providerRefreshToken', $identity->getAttribute('providerRefreshToken')) + ->setAttribute('providerAccessToken', $identity->getAttribute('providerAccessToken')) + ->setAttribute('providerAccessTokenExpiry', $identity->getAttribute('providerAccessTokenExpiry')) + ->setAttribute('factors', \array_merge($secret->getAttribute('factors', []), ['oauth2'])); + } + $authorization->addRole(Role::user($user->getId())->toString()); $session = $dbForProject->createDocument('sessions', $session From d78c0d7bebf8c3785daf6937241b225b4ee320bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 29 Jun 2026 14:44:40 +0200 Subject: [PATCH 4/6] Bug fix --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 16144f4813..c0147a67e9 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -178,7 +178,7 @@ $createSession = function (string $userId, string $secret, Request $request, Res ->setAttribute('providerRefreshToken', $identity->getAttribute('providerRefreshToken')) ->setAttribute('providerAccessToken', $identity->getAttribute('providerAccessToken')) ->setAttribute('providerAccessTokenExpiry', $identity->getAttribute('providerAccessTokenExpiry')) - ->setAttribute('factors', \array_merge($secret->getAttribute('factors', []), ['oauth2'])); + ->setAttribute('factors', \array_merge($session->getAttribute('factors', []), ['oauth2'])); } $authorization->addRole(Role::user($user->getId())->toString()); From 7ba86370a6137ce4c8657fd64111deff89fd2029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 30 Jun 2026 15:21:06 +0200 Subject: [PATCH 5/6] Upgrade migration lib for appwrite oauth provider --- composer.lock | 425 ++++++++++++++++++++++++-------------------------- 1 file changed, 208 insertions(+), 217 deletions(-) diff --git a/composer.lock b/composer.lock index f719710677..a16f47af23 100644 --- a/composer.lock +++ b/composer.lock @@ -161,16 +161,16 @@ }, { "name": "appwrite/php-runtimes", - "version": "0.20.1", + "version": "0.20.2", "source": { "type": "git", "url": "https://github.com/appwrite/runtimes.git", - "reference": "e9213dfe9fff1b67de77aa61dbcae5f4ca10b6d6" + "reference": "ae3ab62c57ddc2a0127f3b288c3f035b272025b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/runtimes/zipball/e9213dfe9fff1b67de77aa61dbcae5f4ca10b6d6", - "reference": "e9213dfe9fff1b67de77aa61dbcae5f4ca10b6d6", + "url": "https://api.github.com/repos/appwrite/runtimes/zipball/ae3ab62c57ddc2a0127f3b288c3f035b272025b1", + "reference": "ae3ab62c57ddc2a0127f3b288c3f035b272025b1", "shasum": "" }, "require": { @@ -210,29 +210,28 @@ ], "support": { "issues": "https://github.com/appwrite/runtimes/issues", - "source": "https://github.com/appwrite/runtimes/tree/0.20.1" + "source": "https://github.com/appwrite/runtimes/tree/0.20.2" }, - "time": "2026-05-24T03:00:39+00:00" + "time": "2026-06-03T13:32:45+00:00" }, { "name": "brick/math", - "version": "0.14.8", + "version": "0.18.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629" + "reference": "82944324d1c1bdb2c2618e89978d4e2ad78d69ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/63422359a44b7f06cae63c3b429b59e8efcc0629", - "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629", + "url": "https://api.github.com/repos/brick/math/zipball/82944324d1c1bdb2c2618e89978d4e2ad78d69ad", + "reference": "82944324d1c1bdb2c2618e89978d4e2ad78d69ad", "shasum": "" }, "require": { "php": "^8.2" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.2", "phpstan/phpstan": "2.1.22", "phpunit/phpunit": "^11.5" }, @@ -264,7 +263,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.8" + "source": "https://github.com/brick/math/tree/0.18.0" }, "funding": [ { @@ -272,7 +271,7 @@ "type": "github" } ], - "time": "2026-02-10T14:33:43+00:00" + "time": "2026-06-14T18:21:03+00:00" }, { "name": "chillerlan/php-qrcode", @@ -2252,20 +2251,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.2", + "version": "4.9.3", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "8429c78ca35a09f27565311b98101e2826affde0" + "reference": "1df15849d00943a67d677dc9cfd80795f038c9f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", - "reference": "8429c78ca35a09f27565311b98101e2826affde0", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/1df15849d00943a67d677dc9cfd80795f038c9f8", + "reference": "1df15849d00943a67d677dc9cfd80795f038c9f8", "shasum": "" }, "require": { - "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", + "brick/math": ">=0.8.16 <=0.18", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -2324,22 +2323,22 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.2" + "source": "https://github.com/ramsey/uuid/tree/4.9.3" }, - "time": "2025-12-14T04:43:48+00:00" + "time": "2026-06-18T03:57:49+00:00" }, { "name": "spomky-labs/otphp", - "version": "11.4.3", + "version": "11.5.0", "source": { "type": "git", "url": "https://github.com/Spomky-Labs/otphp.git", - "reference": "46663316285bf1f001a31584213b327494b00ae7" + "reference": "877683d6352b80cdc7020fd43a725629c2524435" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Spomky-Labs/otphp/zipball/46663316285bf1f001a31584213b327494b00ae7", - "reference": "46663316285bf1f001a31584213b327494b00ae7", + "url": "https://api.github.com/repos/Spomky-Labs/otphp/zipball/877683d6352b80cdc7020fd43a725629c2524435", + "reference": "877683d6352b80cdc7020fd43a725629c2524435", "shasum": "" }, "require": { @@ -2384,7 +2383,7 @@ ], "support": { "issues": "https://github.com/Spomky-Labs/otphp/issues", - "source": "https://github.com/Spomky-Labs/otphp/tree/11.4.3" + "source": "https://github.com/Spomky-Labs/otphp/tree/11.5.0" }, "funding": [ { @@ -2396,20 +2395,20 @@ "type": "patreon" } ], - "time": "2026-05-31T12:42:43+00:00" + "time": "2026-06-06T23:41:24+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.7.0", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b" + "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/50f59d1f3ca46d41ac911f97a78626b6756af35b", - "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d", + "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d", "shasum": "" }, "require": { @@ -2447,7 +2446,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.1" }, "funding": [ { @@ -2467,20 +2466,20 @@ "type": "tidelift" } ], - "time": "2026-04-13T15:52:40+00:00" + "time": "2026-06-05T06:23:12+00:00" }, { "name": "symfony/http-client", - "version": "v7.4.13", + "version": "v7.4.14", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "e8a112b8415707265a7e614278136a9d92989a6a" + "reference": "f6bc6b5a54ff5afac4725cacec9bf2f52eb15920" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/e8a112b8415707265a7e614278136a9d92989a6a", - "reference": "e8a112b8415707265a7e614278136a9d92989a6a", + "url": "https://api.github.com/repos/symfony/http-client/zipball/f6bc6b5a54ff5afac4725cacec9bf2f52eb15920", + "reference": "f6bc6b5a54ff5afac4725cacec9bf2f52eb15920", "shasum": "" }, "require": { @@ -2548,7 +2547,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.13" + "source": "https://github.com/symfony/http-client/tree/v7.4.14" }, "funding": [ { @@ -2568,20 +2567,20 @@ "type": "tidelift" } ], - "time": "2026-05-24T09:57:54+00:00" + "time": "2026-06-16T11:50:14+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.7.0", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "4a2d00c37651c0bdc2b9e1c773487a8bf4edb12d" + "reference": "41fc42d276aeff21192465331ebbab7d83a743c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/4a2d00c37651c0bdc2b9e1c773487a8bf4edb12d", - "reference": "4a2d00c37651c0bdc2b9e1c773487a8bf4edb12d", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/41fc42d276aeff21192465331ebbab7d83a743c0", + "reference": "41fc42d276aeff21192465331ebbab7d83a743c0", "shasum": "" }, "require": { @@ -2630,7 +2629,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.7.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.7.1" }, "funding": [ { @@ -2650,7 +2649,7 @@ "type": "tidelift" } ], - "time": "2026-03-06T13:17:50+00:00" + "time": "2026-06-05T06:23:12+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2979,16 +2978,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.7.0", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a" + "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d25d82433a80eba6aa0e6c24b61d7370d99e444a", - "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/c0a284bab1ed8aa0417e3d69250ab437739563a0", + "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0", "shasum": "" }, "require": { @@ -3042,7 +3041,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.7.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.1" }, "funding": [ { @@ -3062,7 +3061,7 @@ "type": "tidelift" } ], - "time": "2026-03-28T09:44:51+00:00" + "time": "2026-06-16T09:55:08+00:00" }, { "name": "tbachert/spi", @@ -3118,16 +3117,16 @@ }, { "name": "utopia-php/abuse", - "version": "1.4.1", + "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/utopia-php/abuse.git", - "reference": "8f5df0274869cf9022eea7d8030ca1a0d458b3b2" + "reference": "3b527181546d6191ac2d028a2fd1e500ca90f999" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/abuse/zipball/8f5df0274869cf9022eea7d8030ca1a0d458b3b2", - "reference": "8f5df0274869cf9022eea7d8030ca1a0d458b3b2", + "url": "https://api.github.com/repos/utopia-php/abuse/zipball/3b527181546d6191ac2d028a2fd1e500ca90f999", + "reference": "3b527181546d6191ac2d028a2fd1e500ca90f999", "shasum": "" }, "require": { @@ -3135,8 +3134,9 @@ "ext-curl": "*", "ext-pdo": "*", "ext-redis": "*", - "php": ">=8.2", - "utopia-php/database": "^6.0.0" + "php": ">=8.4.1", + "utopia-php/database": "^6.0.0", + "utopia-php/pools": "1.*" }, "require-dev": { "laravel/pint": "1.*", @@ -3164,9 +3164,9 @@ ], "support": { "issues": "https://github.com/utopia-php/abuse/issues", - "source": "https://github.com/utopia-php/abuse/tree/1.4.1" + "source": "https://github.com/utopia-php/abuse/tree/1.4.2" }, - "time": "2026-06-18T11:18:52+00:00" + "time": "2026-06-19T07:18:23+00:00" }, { "name": "utopia-php/agents", @@ -3319,16 +3319,16 @@ }, { "name": "utopia-php/auth", - "version": "0.7.0", + "version": "0.7.1", "source": { "type": "git", "url": "https://github.com/utopia-php/auth.git", - "reference": "22a2cf6ca604e5cc6bf10f0f8240195f0baa063a" + "reference": "49beaa0512e5c5a02277f995eb309322e817f9a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/auth/zipball/22a2cf6ca604e5cc6bf10f0f8240195f0baa063a", - "reference": "22a2cf6ca604e5cc6bf10f0f8240195f0baa063a", + "url": "https://api.github.com/repos/utopia-php/auth/zipball/49beaa0512e5c5a02277f995eb309322e817f9a1", + "reference": "49beaa0512e5c5a02277f995eb309322e817f9a1", "shasum": "" }, "require": { @@ -3363,9 +3363,9 @@ ], "support": { "issues": "https://github.com/utopia-php/auth/issues", - "source": "https://github.com/utopia-php/auth/tree/0.7.0" + "source": "https://github.com/utopia-php/auth/tree/0.7.1" }, - "time": "2026-06-22T11:58:24+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/cache", @@ -3485,16 +3485,16 @@ }, { "name": "utopia-php/cli", - "version": "0.24.1", + "version": "0.24.3", "source": { "type": "git", "url": "https://github.com/utopia-php/cli.git", - "reference": "ba1eabbbfa56f0936de7455a26dcd1afc3246636" + "reference": "d6a27f2902e777c2985e834ffb3e662130fd7ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cli/zipball/ba1eabbbfa56f0936de7455a26dcd1afc3246636", - "reference": "ba1eabbbfa56f0936de7455a26dcd1afc3246636", + "url": "https://api.github.com/repos/utopia-php/cli/zipball/d6a27f2902e777c2985e834ffb3e662130fd7ecc", + "reference": "d6a27f2902e777c2985e834ffb3e662130fd7ecc", "shasum": "" }, "require": { @@ -3526,22 +3526,22 @@ ], "support": { "issues": "https://github.com/utopia-php/cli/issues", - "source": "https://github.com/utopia-php/cli/tree/0.24.1" + "source": "https://github.com/utopia-php/cli/tree/0.24.3" }, - "time": "2026-06-10T16:25:51+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/compression", - "version": "0.1.5", + "version": "0.1.7", "source": { "type": "git", "url": "https://github.com/utopia-php/compression.git", - "reference": "d39208e3f0f3ad0a793e8023046eb2e69b57bae3" + "reference": "655adbd2e42ba28f3148e0aaaf03a68dd6a1bd44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/compression/zipball/d39208e3f0f3ad0a793e8023046eb2e69b57bae3", - "reference": "d39208e3f0f3ad0a793e8023046eb2e69b57bae3", + "url": "https://api.github.com/repos/utopia-php/compression/zipball/655adbd2e42ba28f3148e0aaaf03a68dd6a1bd44", + "reference": "655adbd2e42ba28f3148e0aaaf03a68dd6a1bd44", "shasum": "" }, "require": { @@ -3575,9 +3575,9 @@ ], "support": { "issues": "https://github.com/utopia-php/compression/issues", - "source": "https://github.com/utopia-php/compression/tree/0.1.5" + "source": "https://github.com/utopia-php/compression/tree/0.1.7" }, - "time": "2026-06-10T15:38:47+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/config", @@ -3676,16 +3676,16 @@ }, { "name": "utopia-php/database", - "version": "6.1.0", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "18120ddf0bc656fc448e6c9407d2f16371d6f0a6" + "reference": "6d5a86b6f3c61fe31ac65a1fb5f3602f96a1202e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/18120ddf0bc656fc448e6c9407d2f16371d6f0a6", - "reference": "18120ddf0bc656fc448e6c9407d2f16371d6f0a6", + "url": "https://api.github.com/repos/utopia-php/database/zipball/6d5a86b6f3c61fe31ac65a1fb5f3602f96a1202e", + "reference": "6d5a86b6f3c61fe31ac65a1fb5f3602f96a1202e", "shasum": "" }, "require": { @@ -3730,22 +3730,22 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/6.1.0" + "source": "https://github.com/utopia-php/database/tree/6.3.0" }, - "time": "2026-06-23T11:28:30+00:00" + "time": "2026-06-30T06:47:34+00:00" }, { "name": "utopia-php/detector", - "version": "0.2.4", + "version": "0.2.5", "source": { "type": "git", "url": "https://github.com/utopia-php/detector.git", - "reference": "a564381108518ce6d18b6ab441f1448bd8355afd" + "reference": "20f7e2ea8084176fae88a473f82f410281978a3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/detector/zipball/a564381108518ce6d18b6ab441f1448bd8355afd", - "reference": "a564381108518ce6d18b6ab441f1448bd8355afd", + "url": "https://api.github.com/repos/utopia-php/detector/zipball/20f7e2ea8084176fae88a473f82f410281978a3b", + "reference": "20f7e2ea8084176fae88a473f82f410281978a3b", "shasum": "" }, "require": { @@ -3775,22 +3775,22 @@ ], "support": { "issues": "https://github.com/utopia-php/detector/issues", - "source": "https://github.com/utopia-php/detector/tree/0.2.4" + "source": "https://github.com/utopia-php/detector/tree/0.2.5" }, - "time": "2026-02-17T11:26:34+00:00" + "time": "2026-06-17T08:16:37+00:00" }, { "name": "utopia-php/di", - "version": "0.3.3", + "version": "0.3.5", "source": { "type": "git", "url": "https://github.com/utopia-php/di.git", - "reference": "a0cee7ff9976bb6b596619aeac524948a8ee3dfb" + "reference": "053ebd097963190c5b279d66c5b530acb584d8c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/di/zipball/a0cee7ff9976bb6b596619aeac524948a8ee3dfb", - "reference": "a0cee7ff9976bb6b596619aeac524948a8ee3dfb", + "url": "https://api.github.com/repos/utopia-php/di/zipball/053ebd097963190c5b279d66c5b530acb584d8c0", + "reference": "053ebd097963190c5b279d66c5b530acb584d8c0", "shasum": "" }, "require": { @@ -3823,9 +3823,9 @@ ], "support": { "issues": "https://github.com/utopia-php/di/issues", - "source": "https://github.com/utopia-php/di/tree/0.3.3" + "source": "https://github.com/utopia-php/di/tree/0.3.5" }, - "time": "2026-06-10T14:22:41+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/dns", @@ -4096,16 +4096,16 @@ }, { "name": "utopia-php/http", - "version": "2.0.0-rc9", + "version": "2.0.0-rc14", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9" + "reference": "a175afb710c5c451bb92f404fefade389701f5d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9", - "reference": "e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9", + "url": "https://api.github.com/repos/utopia-php/http/zipball/a175afb710c5c451bb92f404fefade389701f5d5", + "reference": "a175afb710c5c451bb92f404fefade389701f5d5", "shasum": "" }, "require": { @@ -4113,6 +4113,7 @@ "utopia-php/compression": "^0.1", "utopia-php/di": "^0.3", "utopia-php/servers": "^0.4", + "utopia-php/system": "^0.10", "utopia-php/telemetry": "^0.4", "utopia-php/validators": "^0.2" }, @@ -4141,9 +4142,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/2.0.0-rc9" + "source": "https://github.com/utopia-php/http/tree/2.0.0-rc14" }, - "time": "2026-06-10T16:25:51+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/image", @@ -4245,16 +4246,16 @@ }, { "name": "utopia-php/lock", - "version": "0.2.1", + "version": "0.2.3", "source": { "type": "git", "url": "https://github.com/utopia-php/lock.git", - "reference": "9ef48d7094f5c68d1736f664f6e9b4b1ec656f21" + "reference": "4eca3784d4c112655faf77adcf0fdbb186650487" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/lock/zipball/9ef48d7094f5c68d1736f664f6e9b4b1ec656f21", - "reference": "9ef48d7094f5c68d1736f664f6e9b4b1ec656f21", + "url": "https://api.github.com/repos/utopia-php/lock/zipball/4eca3784d4c112655faf77adcf0fdbb186650487", + "reference": "4eca3784d4c112655faf77adcf0fdbb186650487", "shasum": "" }, "require": { @@ -4287,9 +4288,9 @@ "description": "A simple lock library to coordinate access to shared resources across coroutines, processes and hosts", "support": { "issues": "https://github.com/utopia-php/lock/issues", - "source": "https://github.com/utopia-php/lock/tree/0.2.1" + "source": "https://github.com/utopia-php/lock/tree/0.2.3" }, - "time": "2026-06-10T15:55:36+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/logger", @@ -4400,16 +4401,16 @@ }, { "name": "utopia-php/migration", - "version": "1.14.0", + "version": "1.14.1", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "f70dba326f1499d1ff4dd18b218b26a858aff1dd" + "reference": "5b616a0bf6f60790004a7c995fc93298edaf6dbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/f70dba326f1499d1ff4dd18b218b26a858aff1dd", - "reference": "f70dba326f1499d1ff4dd18b218b26a858aff1dd", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/5b616a0bf6f60790004a7c995fc93298edaf6dbe", + "reference": "5b616a0bf6f60790004a7c995fc93298edaf6dbe", "shasum": "" }, "require": { @@ -4449,22 +4450,22 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/1.14.0" + "source": "https://github.com/utopia-php/migration/tree/1.14.1" }, - "time": "2026-06-18T11:19:06+00:00" + "time": "2026-06-19T11:01:20+00:00" }, { "name": "utopia-php/mongo", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/utopia-php/mongo.git", - "reference": "73593682deee4696525a04e26524c1c1226e1530" + "reference": "0b0aac1cd2772bcafed2d4540d74c15cac9a2d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/mongo/zipball/73593682deee4696525a04e26524c1c1226e1530", - "reference": "73593682deee4696525a04e26524c1c1226e1530", + "url": "https://api.github.com/repos/utopia-php/mongo/zipball/0b0aac1cd2772bcafed2d4540d74c15cac9a2d44", + "reference": "0b0aac1cd2772bcafed2d4540d74c15cac9a2d44", "shasum": "" }, "require": { @@ -4510,22 +4511,22 @@ ], "support": { "issues": "https://github.com/utopia-php/mongo/issues", - "source": "https://github.com/utopia-php/mongo/tree/1.1.0" + "source": "https://github.com/utopia-php/mongo/tree/1.2.0" }, - "time": "2026-04-24T06:15:10+00:00" + "time": "2026-06-07T13:02:18+00:00" }, { "name": "utopia-php/platform", - "version": "1.0.0-rc9", + "version": "1.0.0-rc12", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "5ae1fba6d797ba617816a1a582d9c1b1d188a1bc" + "reference": "fac519e5269ea7174b5814a3331b55a340eb8f7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/5ae1fba6d797ba617816a1a582d9c1b1d188a1bc", - "reference": "5ae1fba6d797ba617816a1a582d9c1b1d188a1bc", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/fac519e5269ea7174b5814a3331b55a340eb8f7d", + "reference": "fac519e5269ea7174b5814a3331b55a340eb8f7d", "shasum": "" }, "require": { @@ -4557,22 +4558,22 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/1.0.0-rc9" + "source": "https://github.com/utopia-php/platform/tree/1.0.0-rc12" }, - "time": "2026-06-11T10:36:26+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/pools", - "version": "1.0.5", + "version": "1.0.9", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b" + "reference": "13346168ca7097d9b220872a017c9ad8c5dac62f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", - "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/13346168ca7097d9b220872a017c9ad8c5dac62f", + "reference": "13346168ca7097d9b220872a017c9ad8c5dac62f", "shasum": "" }, "require": { @@ -4610,9 +4611,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/1.0.5" + "source": "https://github.com/utopia-php/pools/tree/1.0.9" }, - "time": "2026-06-10T15:14:31+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/preloader", @@ -4715,16 +4716,16 @@ }, { "name": "utopia-php/queue", - "version": "0.21.1", + "version": "0.21.2", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "abc5173ff7079118ebf5a22cb8008e8cf0a150e4" + "reference": "406381b3e6ee6add6cf84e4d4c9cb5ef6a947e7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/abc5173ff7079118ebf5a22cb8008e8cf0a150e4", - "reference": "abc5173ff7079118ebf5a22cb8008e8cf0a150e4", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/406381b3e6ee6add6cf84e4d4c9cb5ef6a947e7a", + "reference": "406381b3e6ee6add6cf84e4d4c9cb5ef6a947e7a", "shasum": "" }, "require": { @@ -4772,9 +4773,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.21.1" + "source": "https://github.com/utopia-php/queue/tree/0.21.2" }, - "time": "2026-06-10T16:25:51+00:00" + "time": "2026-06-20T09:45:06+00:00" }, { "name": "utopia-php/registry", @@ -4830,16 +4831,16 @@ }, { "name": "utopia-php/servers", - "version": "0.4.3", + "version": "0.4.5", "source": { "type": "git", "url": "https://github.com/utopia-php/servers.git", - "reference": "a160268a804ae1a6d8a6ee41aed8dda1d2553da8" + "reference": "34067d96124dcb8558bdc5169f1ca01214fc3f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/servers/zipball/a160268a804ae1a6d8a6ee41aed8dda1d2553da8", - "reference": "a160268a804ae1a6d8a6ee41aed8dda1d2553da8", + "url": "https://api.github.com/repos/utopia-php/servers/zipball/34067d96124dcb8558bdc5169f1ca01214fc3f54", + "reference": "34067d96124dcb8558bdc5169f1ca01214fc3f54", "shasum": "" }, "require": { @@ -4873,32 +4874,28 @@ ], "support": { "issues": "https://github.com/utopia-php/servers/issues", - "source": "https://github.com/utopia-php/servers/tree/0.4.3" + "source": "https://github.com/utopia-php/servers/tree/0.4.5" }, - "time": "2026-06-10T16:25:51+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/span", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/utopia-php/span.git", - "reference": "97f0ab6e9125c000262f8b5b007423d11fd1a9b3" + "reference": "6f9042c1ae1fa5a3e890b5c9a92cbf1388422945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/span/zipball/97f0ab6e9125c000262f8b5b007423d11fd1a9b3", - "reference": "97f0ab6e9125c000262f8b5b007423d11fd1a9b3", + "url": "https://api.github.com/repos/utopia-php/span/zipball/6f9042c1ae1fa5a3e890b5c9a92cbf1388422945", + "reference": "6f9042c1ae1fa5a3e890b5c9a92cbf1388422945", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "laravel/pint": "^1.0", - "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^10.0", - "rector/rector": "^2.3", "swoole/ide-helper": "^5.0" }, "suggest": { @@ -4917,9 +4914,9 @@ "description": "Simple span tracing library for PHP with coroutine support", "support": { "issues": "https://github.com/utopia-php/span/issues", - "source": "https://github.com/utopia-php/span/tree/3.0.1" + "source": "https://github.com/utopia-php/span/tree/3.0.2" }, - "time": "2026-05-13T11:53:06+00:00" + "time": "2026-06-10T14:42:53+00:00" }, { "name": "utopia-php/storage", @@ -4975,26 +4972,21 @@ }, { "name": "utopia-php/system", - "version": "0.10.2", + "version": "0.10.5", "source": { "type": "git", "url": "https://github.com/utopia-php/system.git", - "reference": "04229a822b147c1abaf1a92fb42c2d7aad4625df" + "reference": "57a2ab17f5346f171c796e29a6c2202bfaa21303" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/system/zipball/04229a822b147c1abaf1a92fb42c2d7aad4625df", - "reference": "04229a822b147c1abaf1a92fb42c2d7aad4625df", + "url": "https://api.github.com/repos/utopia-php/system/zipball/57a2ab17f5346f171c796e29a6c2202bfaa21303", + "reference": "57a2ab17f5346f171c796e29a6c2202bfaa21303", "shasum": "" }, "require": { "php": ">=8.0.0" }, - "require-dev": { - "laravel/pint": "1.13.*", - "phpstan/phpstan": "1.12.*", - "phpunit/phpunit": "9.6.*" - }, "type": "library", "autoload": { "psr-4": { @@ -5025,22 +5017,22 @@ ], "support": { "issues": "https://github.com/utopia-php/system/issues", - "source": "https://github.com/utopia-php/system/tree/0.10.2" + "source": "https://github.com/utopia-php/system/tree/0.10.5" }, - "time": "2026-05-05T14:33:41+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/telemetry", - "version": "0.4.1", + "version": "0.4.4", "source": { "type": "git", "url": "https://github.com/utopia-php/telemetry.git", - "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e" + "reference": "9f77bd273df1ffde78c1ff7d1ac53f9f21dafdb4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/028f3a85bb987b1e9357fb1632aa40f020d1b86e", - "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e", + "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/9f77bd273df1ffde78c1ff7d1ac53f9f21dafdb4", + "reference": "9f77bd273df1ffde78c1ff7d1ac53f9f21dafdb4", "shasum": "" }, "require": { @@ -5053,7 +5045,6 @@ "symfony/http-client": "7.*" }, "require-dev": { - "phpbench/phpbench": "1.*", "swoole/ide-helper": "6.*" }, "suggest": { @@ -5078,22 +5069,22 @@ ], "support": { "issues": "https://github.com/utopia-php/telemetry/issues", - "source": "https://github.com/utopia-php/telemetry/tree/0.4.1" + "source": "https://github.com/utopia-php/telemetry/tree/0.4.4" }, - "time": "2026-06-10T15:48:26+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/validators", - "version": "0.2.6", + "version": "0.2.8", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b" + "reference": "53c0cad30b4212627f5bce727af7b97d6ee05b5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", - "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/53c0cad30b4212627f5bce727af7b97d6ee05b5f", + "reference": "53c0cad30b4212627f5bce727af7b97d6ee05b5f", "shasum": "" }, "require": { @@ -5118,9 +5109,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.2.6" + "source": "https://github.com/utopia-php/validators/tree/0.2.8" }, - "time": "2026-06-10T14:45:13+00:00" + "time": "2026-06-26T10:48:18+00:00" }, { "name": "utopia-php/vcs", @@ -5362,16 +5353,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "2.0.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "60a2e804c1464494d763e5ff6bfff9b188502253" + "reference": "fa07d526a62124e9a3af40a56fc4282dbe792809" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/60a2e804c1464494d763e5ff6bfff9b188502253", - "reference": "60a2e804c1464494d763e5ff6bfff9b188502253", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/fa07d526a62124e9a3af40a56fc4282dbe792809", + "reference": "fa07d526a62124e9a3af40a56fc4282dbe792809", "shasum": "" }, "require": { @@ -5408,9 +5399,9 @@ "description": "SDK generator for Appwrite APIs across multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/2.0.0" + "source": "https://github.com/appwrite/sdk-generator/tree/2.3.0" }, - "time": "2026-06-11T05:54:24+00:00" + "time": "2026-06-30T11:07:12+00:00" }, { "name": "brianium/paratest", @@ -5692,16 +5683,16 @@ }, { "name": "laravel/pint", - "version": "v1.29.1", + "version": "v1.29.3", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80" + "reference": "da1d1111a6aa2e082d2a388b194afe1ba0a05d14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80", - "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80", + "url": "https://api.github.com/repos/laravel/pint/zipball/da1d1111a6aa2e082d2a388b194afe1ba0a05d14", + "reference": "da1d1111a6aa2e082d2a388b194afe1ba0a05d14", "shasum": "" }, "require": { @@ -5712,14 +5703,14 @@ "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.95.1", - "illuminate/view": "^12.56.0", - "larastan/larastan": "^3.9.6", + "friendsofphp/php-cs-fixer": "^3.95.8", + "illuminate/view": "^12.62.0", + "larastan/larastan": "^3.10.0", "laravel-zero/framework": "^12.1.0", + "laravel/agent-detector": "^2.0.2", "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^2.4.0", - "pestphp/pest": "^3.8.6", - "shipfastlabs/agent-detector": "^1.1.3" + "pestphp/pest": "^3.8.6" }, "bin": [ "builds/pint" @@ -5756,7 +5747,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2026-04-20T15:26:14+00:00" + "time": "2026-06-16T15:34:04+00:00" }, { "name": "matthiasmullie/minify", @@ -6119,11 +6110,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.2.1", + "version": "2.2.2", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dea9c8f2d25cc849391042b71e429c1a4bf82660", - "reference": "dea9c8f2d25cc849391042b71e429c1a4bf82660", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5cc34d491a90e79c216d824f60fe21fd4d93bd6", + "reference": "e5cc34d491a90e79c216d824f60fe21fd4d93bd6", "shasum": "" }, "require": { @@ -6179,7 +6170,7 @@ "type": "github" } ], - "time": "2026-05-28T14:44:12+00:00" + "time": "2026-06-05T09:00:01+00:00" }, { "name": "phpunit/php-code-coverage", @@ -6528,16 +6519,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.5.28", + "version": "12.5.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "5895d05f5bf421ed230fbd76e1277e4b8955def4" + "reference": "900400a5b616d6fb306f9549f6da33ba615d3fbb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5895d05f5bf421ed230fbd76e1277e4b8955def4", - "reference": "5895d05f5bf421ed230fbd76e1277e4b8955def4", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/900400a5b616d6fb306f9549f6da33ba615d3fbb", + "reference": "900400a5b616d6fb306f9549f6da33ba615d3fbb", "shasum": "" }, "require": { @@ -6551,7 +6542,7 @@ "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.3", - "phpunit/php-code-coverage": "^12.5.6", + "phpunit/php-code-coverage": "^12.5.7", "phpunit/php-file-iterator": "^6.0.1", "phpunit/php-invoker": "^6.0.0", "phpunit/php-text-template": "^5.0.0", @@ -6561,7 +6552,7 @@ "sebastian/diff": "^7.0.0", "sebastian/environment": "^8.1.2", "sebastian/exporter": "^7.0.3", - "sebastian/global-state": "^8.0.2", + "sebastian/global-state": "^8.0.3", "sebastian/object-enumerator": "^7.0.0", "sebastian/recursion-context": "^7.0.1", "sebastian/type": "^6.0.4", @@ -6606,7 +6597,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.28" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.30" }, "funding": [ { @@ -6614,25 +6605,25 @@ "type": "other" } ], - "time": "2026-05-27T14:01:10+00:00" + "time": "2026-06-15T13:12:30+00:00" }, { "name": "rector/rector", - "version": "2.4.5", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c" + "reference": "49ff6339174bdbdf50b0b35ecbcff14a05ac9e24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c", - "reference": "cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/49ff6339174bdbdf50b0b35ecbcff14a05ac9e24", + "reference": "49ff6339174bdbdf50b0b35ecbcff14a05ac9e24", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.56" + "phpstan/phpstan": "^2.2.2" }, "conflict": { "rector/rector-doctrine": "*", @@ -6666,7 +6657,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.4.5" + "source": "https://github.com/rectorphp/rector/tree/2.5.2" }, "funding": [ { @@ -6674,7 +6665,7 @@ "type": "github" } ], - "time": "2026-05-26T21:03:22+00:00" + "time": "2026-06-22T11:39:33+00:00" }, { "name": "sebastian/cli-parser", @@ -7671,16 +7662,16 @@ }, { "name": "symfony/console", - "version": "v8.1.0", + "version": "v8.1.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f5a856c6ecb56b3c21ed94a5b7bf940d857d110a" + "reference": "b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f5a856c6ecb56b3c21ed94a5b7bf940d857d110a", - "reference": "f5a856c6ecb56b3c21ed94a5b7bf940d857d110a", + "url": "https://api.github.com/repos/symfony/console/zipball/b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d", + "reference": "b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d", "shasum": "" }, "require": { @@ -7747,7 +7738,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.1.0" + "source": "https://github.com/symfony/console/tree/v8.1.1" }, "funding": [ { @@ -7767,7 +7758,7 @@ "type": "tidelift" } ], - "time": "2026-05-29T05:06:50+00:00" + "time": "2026-06-16T12:55:20+00:00" }, { "name": "symfony/polyfill-ctype", From a599830f053da269e7172d2ff55c99f10417c467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 9 Jul 2026 21:59:42 +0200 Subject: [PATCH 6/6] Upgrade migration lib for appwrite oauth adapter --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0439d13034..a9d1a8e6f1 100644 --- a/composer.json +++ b/composer.json @@ -83,7 +83,7 @@ "utopia-php/lock": "0.2.*", "utopia-php/logger": "0.8.*", "utopia-php/messaging": "^1.2", - "utopia-php/migration": "1.16.*", + "utopia-php/migration": "1.17.*", "utopia-php/platform": "^1.0@RC", "utopia-php/pools": "1.*", "utopia-php/span": "3.0.*", diff --git a/composer.lock b/composer.lock index d337d7e4ea..224a249486 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": "50b6e587a70f02a5896790012248f50f", + "content-hash": "d67184492e8ec8670d0e31f02d10b421", "packages": [ { "name": "adhocore/jwt", @@ -4409,16 +4409,16 @@ }, { "name": "utopia-php/migration", - "version": "1.16.0", + "version": "1.17.2", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "3bb4428e4fb7a29f120f73f87d0a2519a2a414a4" + "reference": "80f7f49e79ad57a0b5200b043e2b1bfeade8a190" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/3bb4428e4fb7a29f120f73f87d0a2519a2a414a4", - "reference": "3bb4428e4fb7a29f120f73f87d0a2519a2a414a4", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/80f7f49e79ad57a0b5200b043e2b1bfeade8a190", + "reference": "80f7f49e79ad57a0b5200b043e2b1bfeade8a190", "shasum": "" }, "require": { @@ -4458,9 +4458,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/1.16.0" + "source": "https://github.com/utopia-php/migration/tree/1.17.2" }, - "time": "2026-07-09T05:46:44+00:00" + "time": "2026-07-09T19:53:43+00:00" }, { "name": "utopia-php/mongo",