Merge pull request #13062 from appwrite/feat/upgrade-to-pools-2

chore(deps)!: upgrade to utopia-php/pools 2.x
This commit is contained in:
Luke B. Silver authored and GitHub committed 2026-07-31 18:02:18 +01:00
commit 09decbdfda
5 files changed
+184 -193

No files matched your search

+3 -7
View File
@@ -250,6 +250,8 @@ $register->set('pools', function () {
// job may hold a connection, so pools must cover the coroutine count.
$poolSize = max($poolSize, (int) System::getEnv('_APP_WORKER_MAX_COROUTINES', 1));
$poolTimeout = (float) System::getEnv('_APP_CONNECTIONS_TIMEOUT', 10);
foreach ($connections as $key => $connection) {
$type = $connection['type'];
$multiple = $connection['multiple'];
@@ -384,7 +386,7 @@ $register->set('pools', function () {
default:
throw new Exception(Exception::GENERAL_SERVER_ERROR, "Server error: Missing adapter implementation.");
}
});
}, $poolTimeout);
$group->add($pool);
}
@@ -392,12 +394,6 @@ $register->set('pools', function () {
Config::setParam('pools-' . $key, $config);
}
$reconnectAttempts = (int) System::getEnv('_APP_CONNECTIONS_RECONNECT_ATTEMPTS', 5);
$reconnectSleep = (int) System::getEnv('_APP_CONNECTIONS_RECONNECT_SLEEP', 2);
$group->setReconnectAttempts($reconnectAttempts);
$group->setReconnectSleep($reconnectSleep);
return $group;
});
+13 -13
View File
@@ -63,21 +63,21 @@
"ext-sockets": "*",
"appwrite/php-runtimes": "0.20.*",
"appwrite/php-clamav": "2.0.*",
"utopia-php/abuse": "1.4.*",
"utopia-php/abuse": "2.0.*",
"utopia-php/agents": "2.*",
"utopia-php/analytics": "0.15.*",
"utopia-php/audit": "2.9.*",
"utopia-php/audit": "3.0.*",
"utopia-php/auth": "^0.10",
"utopia-php/cache": "^3.0.0",
"utopia-php/cache": "^4.0.0",
"utopia-php/cli": "^0.24",
"utopia-php/compression": "0.1.*",
"utopia-php/config": "1.*",
"utopia-php/console": "0.1.*",
"utopia-php/database": "^6.0.0",
"utopia-php/database": "^7.0.0",
"utopia-php/detector": "0.2.*",
"utopia-php/domains": "^2.2",
"utopia-php/emails": "0.7.*",
"utopia-php/dns": "^1.8",
"utopia-php/domains": "^3.0",
"utopia-php/emails": "0.8.*",
"utopia-php/dns": "^3.0",
"utopia-php/dsn": "0.2.1",
"utopia-php/http": "^2.0@RC",
"utopia-php/fetch": "^1.1",
@@ -87,12 +87,12 @@
"utopia-php/lock": "0.2.*",
"utopia-php/logger": "0.8.*",
"utopia-php/messaging": "^2.0",
"utopia-php/migration": "^1.21.0",
"utopia-php/migration": "^2.0.0",
"utopia-php/platform": "^1.0@RC",
"utopia-php/pools": "1.*",
"utopia-php/pools": "2.*",
"utopia-php/span": "3.0.*",
"utopia-php/preloader": "0.2.*",
"utopia-php/queue": "^0.22",
"utopia-php/queue": "^0.24",
"utopia-php/servers": "0.4.*",
"utopia-php/registry": "0.5.*",
"utopia-php/storage": "^4.0",
@@ -100,7 +100,7 @@
"utopia-php/telemetry": "^0.4",
"utopia-php/user-agent": "0.1.*",
"mustangostang/spyc": "0.6.*",
"utopia-php/vcs": "4.*.*",
"utopia-php/vcs": "5.*.*",
"utopia-php/websocket": "1.0.*",
"dragonmantank/cron-expression": "3.4.*",
"phpmailer/phpmailer": "6.9.*",
@@ -110,8 +110,8 @@
"webonyx/graphql-php": "15.32.*",
"league/csv": "9.14.*",
"enshrined/svg-sanitize": "0.22.*",
"utopia-php/client": "^0.2.2",
"open-runtimes/sdk-for-php": "0.6.* || 0.7.*"
"utopia-php/client": "^0.3.0",
"open-runtimes/sdk-for-php": "0.10.*"
},
"require-dev": {
"ext-fileinfo": "*",
Generated
+150 -150
View File
@@ -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": "dd9294ec6748886d8819aa3c8ae438f8",
"content-hash": "d1bdfa80653b02ca0006815cf5f7e163",
"packages": [
{
"name": "adhocore/jwt",
@@ -1077,23 +1077,23 @@
},
{
"name": "open-runtimes/sdk-for-php",
"version": "0.7.0",
"version": "0.10.1",
"source": {
"type": "git",
"url": "https://github.com/open-runtimes/sdk-for-php.git",
"reference": "ad80f366bdb0ec79ff22a58efc657d8f1a4154a2"
"reference": "2a83df23a377d846a6a57e2146c485c4be706512"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/open-runtimes/sdk-for-php/zipball/ad80f366bdb0ec79ff22a58efc657d8f1a4154a2",
"reference": "ad80f366bdb0ec79ff22a58efc657d8f1a4154a2",
"url": "https://api.github.com/repos/open-runtimes/sdk-for-php/zipball/2a83df23a377d846a6a57e2146c485c4be706512",
"reference": "2a83df23a377d846a6a57e2146c485c4be706512",
"shasum": ""
},
"require": {
"ext-curl": "*",
"ext-json": "*",
"php": ">=8.4",
"utopia-php/client": "^0.2.2"
"utopia-php/client": "^0.2.2 || ^0.3.0"
},
"require-dev": {
"laravel/pint": "^1.22",
@@ -1114,9 +1114,9 @@
"description": "PHP SDK for the Open Runtimes orchestrator Jobs API.",
"support": {
"issues": "https://github.com/open-runtimes/sdk-for-php/issues",
"source": "https://github.com/open-runtimes/sdk-for-php/tree/0.7.0"
"source": "https://github.com/open-runtimes/sdk-for-php/tree/0.10.1"
},
"time": "2026-07-20T14:46:08+00:00"
"time": "2026-07-31T13:09:22+00:00"
},
{
"name": "open-telemetry/api",
@@ -2368,16 +2368,16 @@
},
{
"name": "symfony/http-client",
"version": "v7.4.14",
"version": "v7.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-client.git",
"reference": "f6bc6b5a54ff5afac4725cacec9bf2f52eb15920"
"reference": "817bb83ef06717f67ab72a3f03e3b63fbe138de1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-client/zipball/f6bc6b5a54ff5afac4725cacec9bf2f52eb15920",
"reference": "f6bc6b5a54ff5afac4725cacec9bf2f52eb15920",
"url": "https://api.github.com/repos/symfony/http-client/zipball/817bb83ef06717f67ab72a3f03e3b63fbe138de1",
"reference": "817bb83ef06717f67ab72a3f03e3b63fbe138de1",
"shasum": ""
},
"require": {
@@ -2445,7 +2445,7 @@
"http"
],
"support": {
"source": "https://github.com/symfony/http-client/tree/v7.4.14"
"source": "https://github.com/symfony/http-client/tree/v7.4.15"
},
"funding": [
{
@@ -2465,7 +2465,7 @@
"type": "tidelift"
}
],
"time": "2026-06-16T11:50:14+00:00"
"time": "2026-07-29T07:12:33+00:00"
},
{
"name": "symfony/http-client-contracts",
@@ -2716,16 +2716,16 @@
},
{
"name": "symfony/polyfill-php83",
"version": "v1.38.2",
"version": "v1.41.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php83.git",
"reference": "796a26abb75ce49f3a84433cd81bf1009d73d5f8"
"reference": "5ea99087fb99c273a9b9236ed4c31e78b16103c6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/796a26abb75ce49f3a84433cd81bf1009d73d5f8",
"reference": "796a26abb75ce49f3a84433cd81bf1009d73d5f8",
"url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/5ea99087fb99c273a9b9236ed4c31e78b16103c6",
"reference": "5ea99087fb99c273a9b9236ed4c31e78b16103c6",
"shasum": ""
},
"require": {
@@ -2772,7 +2772,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php83/tree/v1.38.2"
"source": "https://github.com/symfony/polyfill-php83/tree/v1.41.0"
},
"funding": [
{
@@ -2792,20 +2792,20 @@
"type": "tidelift"
}
],
"time": "2026-05-27T06:51:48+00:00"
"time": "2026-07-01T12:47:55+00:00"
},
{
"name": "symfony/polyfill-php85",
"version": "v1.38.1",
"version": "v1.41.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php85.git",
"reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1"
"reference": "255fab485aaa1006ed411040c42aecd7b5302d7a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1",
"reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1",
"url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/255fab485aaa1006ed411040c42aecd7b5302d7a",
"reference": "255fab485aaa1006ed411040c42aecd7b5302d7a",
"shasum": ""
},
"require": {
@@ -2852,7 +2852,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php85/tree/v1.38.1"
"source": "https://github.com/symfony/polyfill-php85/tree/v1.41.0"
},
"funding": [
{
@@ -2872,7 +2872,7 @@
"type": "tidelift"
}
],
"time": "2026-05-26T02:25:22+00:00"
"time": "2026-07-01T12:47:55+00:00"
},
{
"name": "symfony/service-contracts",
@@ -3015,16 +3015,16 @@
},
{
"name": "utopia-php/abuse",
"version": "1.4.2",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/abuse.git",
"reference": "3b527181546d6191ac2d028a2fd1e500ca90f999"
"reference": "460d94199e4068c92364298f493583631afebb7a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/3b527181546d6191ac2d028a2fd1e500ca90f999",
"reference": "3b527181546d6191ac2d028a2fd1e500ca90f999",
"url": "https://api.github.com/repos/utopia-php/abuse/zipball/460d94199e4068c92364298f493583631afebb7a",
"reference": "460d94199e4068c92364298f493583631afebb7a",
"shasum": ""
},
"require": {
@@ -3033,8 +3033,8 @@
"ext-pdo": "*",
"ext-redis": "*",
"php": ">=8.4.1",
"utopia-php/database": "^6.0.0",
"utopia-php/pools": "1.*"
"utopia-php/database": "^7.0.0",
"utopia-php/pools": "2.*"
},
"require-dev": {
"laravel/pint": "1.*",
@@ -3062,9 +3062,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/abuse/issues",
"source": "https://github.com/utopia-php/abuse/tree/1.4.2"
"source": "https://github.com/utopia-php/abuse/tree/2.0.0"
},
"time": "2026-06-19T07:18:23+00:00"
"time": "2026-07-31T14:21:55+00:00"
},
{
"name": "utopia-php/agents",
@@ -3167,21 +3167,21 @@
},
{
"name": "utopia-php/audit",
"version": "2.9.1",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/audit.git",
"reference": "322fd475836be6aa20f8e7ec017299ac55b3c8f4"
"reference": "065b1dc5da8e7eabde4b8bfb4217d0a78d1bf9bd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/322fd475836be6aa20f8e7ec017299ac55b3c8f4",
"reference": "322fd475836be6aa20f8e7ec017299ac55b3c8f4",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/065b1dc5da8e7eabde4b8bfb4217d0a78d1bf9bd",
"reference": "065b1dc5da8e7eabde4b8bfb4217d0a78d1bf9bd",
"shasum": ""
},
"require": {
"php": ">=8.5",
"utopia-php/database": "^6.0.0",
"utopia-php/database": "^7.0.0",
"utopia-php/fetch": "^1.1",
"utopia-php/query": "0.1.*",
"utopia-php/validators": "0.3.*"
@@ -3206,9 +3206,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/audit/issues",
"source": "https://github.com/utopia-php/audit/tree/2.9.1"
"source": "https://github.com/utopia-php/audit/tree/3.0.0"
},
"time": "2026-07-15T10:27:51+00:00"
"time": "2026-07-31T14:52:39+00:00"
},
{
"name": "utopia-php/auth",
@@ -3271,16 +3271,16 @@
},
{
"name": "utopia-php/cache",
"version": "3.4.0",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/cache.git",
"reference": "5c292d4df156f8b008f29fa6b033834b906bf328"
"reference": "2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/cache/zipball/5c292d4df156f8b008f29fa6b033834b906bf328",
"reference": "5c292d4df156f8b008f29fa6b033834b906bf328",
"url": "https://api.github.com/repos/utopia-php/cache/zipball/2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e",
"reference": "2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e",
"shasum": ""
},
"require": {
@@ -3289,7 +3289,7 @@
"ext-redis": "*",
"php": ">=8.3",
"utopia-php/circuit-breaker": "0.3.*",
"utopia-php/pools": "1.*",
"utopia-php/pools": "2.*",
"utopia-php/telemetry": "*"
},
"require-dev": {
@@ -3319,9 +3319,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/cache/issues",
"source": "https://github.com/utopia-php/cache/tree/3.4.0"
"source": "https://github.com/utopia-php/cache/tree/4.0.0"
},
"time": "2026-07-01T15:44:35+00:00"
"time": "2026-07-31T13:04:45+00:00"
},
{
"name": "utopia-php/circuit-breaker",
@@ -3434,16 +3434,16 @@
},
{
"name": "utopia-php/client",
"version": "0.2.3",
"version": "0.3.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/client.git",
"reference": "377dc1f79441ac1584f25dba57904ee1cf0f626b"
"reference": "ee4c3429634f84c175e45f2a0c1836eaf78c2528"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/client/zipball/377dc1f79441ac1584f25dba57904ee1cf0f626b",
"reference": "377dc1f79441ac1584f25dba57904ee1cf0f626b",
"url": "https://api.github.com/repos/utopia-php/client/zipball/ee4c3429634f84c175e45f2a0c1836eaf78c2528",
"reference": "ee4c3429634f84c175e45f2a0c1836eaf78c2528",
"shasum": ""
},
"require": {
@@ -3451,7 +3451,7 @@
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"utopia-php/pools": "^1.0",
"utopia-php/pools": "^2.0",
"utopia-php/psr7": "^0.2",
"utopia-php/span": "^1.1 || ^3.0 || ^4.0"
},
@@ -3485,9 +3485,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/client/issues",
"source": "https://github.com/utopia-php/client/tree/0.2.3"
"source": "https://github.com/utopia-php/client/tree/0.3.0"
},
"time": "2026-07-13T15:29:09+00:00"
"time": "2026-07-31T08:38:16+00:00"
},
{
"name": "utopia-php/compression",
@@ -3635,16 +3635,16 @@
},
{
"name": "utopia-php/database",
"version": "6.5.1",
"version": "7.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "7fd133e99698feb300a689be8767efa975c2cf13"
"reference": "40185b100f92c402a189d6f4f0962c63bbe5726b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/7fd133e99698feb300a689be8767efa975c2cf13",
"reference": "7fd133e99698feb300a689be8767efa975c2cf13",
"url": "https://api.github.com/repos/utopia-php/database/zipball/40185b100f92c402a189d6f4f0962c63bbe5726b",
"reference": "40185b100f92c402a189d6f4f0962c63bbe5726b",
"shasum": ""
},
"require": {
@@ -3653,10 +3653,10 @@
"ext-pdo": "*",
"ext-redis": "*",
"php": ">=8.5",
"utopia-php/cache": "^3.1.0",
"utopia-php/cache": "^4.0.0",
"utopia-php/console": "0.1.*",
"utopia-php/mongo": "1.*",
"utopia-php/pools": "1.*",
"utopia-php/pools": "2.*",
"utopia-php/validators": "0.3.*"
},
"require-dev": {
@@ -3689,9 +3689,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/6.5.1"
"source": "https://github.com/utopia-php/database/tree/7.0.0"
},
"time": "2026-07-27T09:40:21+00:00"
"time": "2026-07-31T13:33:10+00:00"
},
{
"name": "utopia-php/detector",
@@ -3788,35 +3788,35 @@
},
{
"name": "utopia-php/dns",
"version": "1.8.0",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/dns.git",
"reference": "c09469c396c6f95888789151a3157fd0928e740b"
"reference": "1de89cfe0c616159b8af94cfcfd8b2f12e42784c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/dns/zipball/c09469c396c6f95888789151a3157fd0928e740b",
"reference": "c09469c396c6f95888789151a3157fd0928e740b",
"url": "https://api.github.com/repos/utopia-php/dns/zipball/1de89cfe0c616159b8af94cfcfd8b2f12e42784c",
"reference": "1de89cfe0c616159b8af94cfcfd8b2f12e42784c",
"shasum": ""
},
"require": {
"php": ">=8.3",
"utopia-php/domains": "^2.0",
"utopia-php/span": "3.0.*",
"utopia-php/telemetry": "*",
"utopia-php/validators": "0.*"
"ext-sockets": "*",
"php": ">=8.5",
"utopia-php/domains": "^3.0",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "0.3.*"
},
"require-dev": {
"laravel/pint": "1.29.*",
"phpstan/phpstan": "2.0.*",
"phpunit/phpunit": "12.5.*",
"swoole/ide-helper": "5.1.8"
},
"suggest": {
"ext-swoole": "Required by the Swoole adapter"
},
"type": "library",
"autoload": {
"psr-4": {
"Utopia\\DNS\\": "src/DNS"
"Utopia\\DNS\\": "src/DNS/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -3839,27 +3839,27 @@
],
"support": {
"issues": "https://github.com/utopia-php/dns/issues",
"source": "https://github.com/utopia-php/dns/tree/1.8.0"
"source": "https://github.com/utopia-php/dns/tree/3.0.0"
},
"time": "2026-06-12T04:44:06+00:00"
"time": "2026-07-31T15:11:37+00:00"
},
{
"name": "utopia-php/domains",
"version": "2.3.0",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/domains.git",
"reference": "73bb46ec7c7522c8a0a1e7311144bdea1a7480cd"
"reference": "ccab34eb8aa00bec953980388d0608595880928f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/domains/zipball/73bb46ec7c7522c8a0a1e7311144bdea1a7480cd",
"reference": "73bb46ec7c7522c8a0a1e7311144bdea1a7480cd",
"url": "https://api.github.com/repos/utopia-php/domains/zipball/ccab34eb8aa00bec953980388d0608595880928f",
"reference": "ccab34eb8aa00bec953980388d0608595880928f",
"shasum": ""
},
"require": {
"php": ">=8.3",
"utopia-php/cache": "^3.0",
"php": ">=8.4",
"utopia-php/cache": "^4.0",
"utopia-php/validators": "0.*"
},
"require-dev": {
@@ -3901,9 +3901,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/domains/issues",
"source": "https://github.com/utopia-php/domains/tree/2.3.0"
"source": "https://github.com/utopia-php/domains/tree/3.0.0"
},
"time": "2026-07-06T03:50:24+00:00"
"time": "2026-07-31T14:54:52+00:00"
},
{
"name": "utopia-php/dsn",
@@ -3954,21 +3954,21 @@
},
{
"name": "utopia-php/emails",
"version": "0.7.1",
"version": "0.8.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/emails.git",
"reference": "a5f1d111e5023918731f2de96d348f5b6a0de143"
"reference": "ae7baeb3045c3709cd1002e157d5dcbed38de2ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/emails/zipball/a5f1d111e5023918731f2de96d348f5b6a0de143",
"reference": "a5f1d111e5023918731f2de96d348f5b6a0de143",
"url": "https://api.github.com/repos/utopia-php/emails/zipball/ae7baeb3045c3709cd1002e157d5dcbed38de2ea",
"reference": "ae7baeb3045c3709cd1002e157d5dcbed38de2ea",
"shasum": ""
},
"require": {
"php": ">=8.0",
"utopia-php/domains": "^2.0",
"php": ">=8.4",
"utopia-php/domains": "^3.0",
"utopia-php/validators": "0.*"
},
"require-dev": {
@@ -4009,9 +4009,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/emails/issues",
"source": "https://github.com/utopia-php/emails/tree/0.7.1"
"source": "https://github.com/utopia-php/emails/tree/0.8.0"
},
"time": "2026-05-20T13:05:30+00:00"
"time": "2026-07-31T15:11:54+00:00"
},
{
"name": "utopia-php/fetch",
@@ -4304,16 +4304,16 @@
},
{
"name": "utopia-php/messaging",
"version": "2.0.1",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/messaging.git",
"reference": "eaec0ed4dc2f7576a603a3e800a192cba9aa7a2c"
"reference": "f2a476d5872c71b67ee92543863fdb827620e516"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/messaging/zipball/eaec0ed4dc2f7576a603a3e800a192cba9aa7a2c",
"reference": "eaec0ed4dc2f7576a603a3e800a192cba9aa7a2c",
"url": "https://api.github.com/repos/utopia-php/messaging/zipball/f2a476d5872c71b67ee92543863fdb827620e516",
"reference": "f2a476d5872c71b67ee92543863fdb827620e516",
"shasum": ""
},
"require": {
@@ -4324,8 +4324,8 @@
"phpmailer/phpmailer": "^6.9",
"psr/http-client": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"utopia-php/client": "^0.2",
"utopia-php/pools": "^1.0",
"utopia-php/client": "^0.3",
"utopia-php/pools": "^2.0",
"utopia-php/telemetry": "^0.4"
},
"require-dev": {
@@ -4352,22 +4352,22 @@
],
"support": {
"issues": "https://github.com/utopia-php/messaging/issues",
"source": "https://github.com/utopia-php/messaging/tree/2.0.1"
"source": "https://github.com/utopia-php/messaging/tree/2.0.2"
},
"time": "2026-07-14T11:32:29+00:00"
"time": "2026-07-31T09:20:57+00:00"
},
{
"name": "utopia-php/migration",
"version": "1.21.0",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/migration.git",
"reference": "4806dce18d6793b1cfd1b513b425245761933670"
"reference": "5e6ec71b467803dd65df2c558efd5c2b487512ba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/4806dce18d6793b1cfd1b513b425245761933670",
"reference": "4806dce18d6793b1cfd1b513b425245761933670",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/5e6ec71b467803dd65df2c558efd5c2b487512ba",
"reference": "5e6ec71b467803dd65df2c558efd5c2b487512ba",
"shasum": ""
},
"require": {
@@ -4376,7 +4376,7 @@
"ext-openssl": "*",
"halaxa/json-machine": "^1.2",
"php": ">=8.5",
"utopia-php/database": "^6.0.0",
"utopia-php/database": "^7.0.0",
"utopia-php/dsn": "0.2.*",
"utopia-php/storage": "4.*"
},
@@ -4407,22 +4407,22 @@
],
"support": {
"issues": "https://github.com/utopia-php/migration/issues",
"source": "https://github.com/utopia-php/migration/tree/1.21.0"
"source": "https://github.com/utopia-php/migration/tree/2.0.0"
},
"time": "2026-07-31T09:11:04+00:00"
"time": "2026-07-31T14:52:24+00:00"
},
{
"name": "utopia-php/mongo",
"version": "1.3.2",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/mongo.git",
"reference": "34d9ab406a87d2006b0e108796fdb6b5397853d3"
"reference": "78818fd295f2829aaad5b74c9094e8c6f603550d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/mongo/zipball/34d9ab406a87d2006b0e108796fdb6b5397853d3",
"reference": "34d9ab406a87d2006b0e108796fdb6b5397853d3",
"url": "https://api.github.com/repos/utopia-php/mongo/zipball/78818fd295f2829aaad5b74c9094e8c6f603550d",
"reference": "78818fd295f2829aaad5b74c9094e8c6f603550d",
"shasum": ""
},
"require": {
@@ -4468,22 +4468,22 @@
],
"support": {
"issues": "https://github.com/utopia-php/mongo/issues",
"source": "https://github.com/utopia-php/mongo/tree/1.3.2"
"source": "https://github.com/utopia-php/mongo/tree/1.4.0"
},
"time": "2026-07-20T09:02:13+00:00"
"time": "2026-07-30T05:24:58+00:00"
},
{
"name": "utopia-php/platform",
"version": "1.0.0-rc14",
"version": "1.0.0-rc15",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/platform.git",
"reference": "bf3f1266de7da2e9ce00d923df054057c1b2fbb4"
"reference": "e71b97e247d9fcdc07bb350b63aaaf35acad21ff"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/platform/zipball/bf3f1266de7da2e9ce00d923df054057c1b2fbb4",
"reference": "bf3f1266de7da2e9ce00d923df054057c1b2fbb4",
"url": "https://api.github.com/repos/utopia-php/platform/zipball/e71b97e247d9fcdc07bb350b63aaaf35acad21ff",
"reference": "e71b97e247d9fcdc07bb350b63aaaf35acad21ff",
"shasum": ""
},
"require": {
@@ -4492,7 +4492,7 @@
"php": ">=8.5",
"utopia-php/cli": "^0.24",
"utopia-php/http": "^2.0@RC",
"utopia-php/queue": "^0.22",
"utopia-php/queue": "^0.23 || ^0.24",
"utopia-php/servers": "^0.4"
},
"type": "library",
@@ -4515,22 +4515,22 @@
],
"support": {
"issues": "https://github.com/utopia-php/platform/issues",
"source": "https://github.com/utopia-php/platform/tree/1.0.0-rc14"
"source": "https://github.com/utopia-php/platform/tree/1.0.0-rc15"
},
"time": "2026-07-13T15:07:08+00:00"
"time": "2026-07-31T09:20:57+00:00"
},
{
"name": "utopia-php/pools",
"version": "1.1.0",
"version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/pools.git",
"reference": "fd5aa7e89685ffc74f9dff3d23c270ef30c7bbf3"
"reference": "48905dac1b8f8050c2e07bdda32a018ca33982fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/pools/zipball/fd5aa7e89685ffc74f9dff3d23c270ef30c7bbf3",
"reference": "fd5aa7e89685ffc74f9dff3d23c270ef30c7bbf3",
"url": "https://api.github.com/repos/utopia-php/pools/zipball/48905dac1b8f8050c2e07bdda32a018ca33982fc",
"reference": "48905dac1b8f8050c2e07bdda32a018ca33982fc",
"shasum": ""
},
"require": {
@@ -4571,9 +4571,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/pools/issues",
"source": "https://github.com/utopia-php/pools/tree/1.1.0"
"source": "https://github.com/utopia-php/pools/tree/2.0.1"
},
"time": "2026-07-17T10:19:09+00:00"
"time": "2026-07-31T12:19:18+00:00"
},
{
"name": "utopia-php/preloader",
@@ -4722,23 +4722,23 @@
},
{
"name": "utopia-php/queue",
"version": "0.22.2",
"version": "0.24.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/queue.git",
"reference": "3081a1cd464e9bc92443e91e08d653bfdf45b54d"
"reference": "9ac210fb516307b114db1d8972b057206d47257a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/queue/zipball/3081a1cd464e9bc92443e91e08d653bfdf45b54d",
"reference": "3081a1cd464e9bc92443e91e08d653bfdf45b54d",
"url": "https://api.github.com/repos/utopia-php/queue/zipball/9ac210fb516307b114db1d8972b057206d47257a",
"reference": "9ac210fb516307b114db1d8972b057206d47257a",
"shasum": ""
},
"require": {
"php": ">=8.5",
"utopia-php/di": "^0.3",
"utopia-php/lock": "^0.2",
"utopia-php/pools": "^1.0",
"utopia-php/pools": "^2.0",
"utopia-php/servers": "^0.4",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "0.3.*"
@@ -4779,9 +4779,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/queue/issues",
"source": "https://github.com/utopia-php/queue/tree/0.22.2"
"source": "https://github.com/utopia-php/queue/tree/0.24.0"
},
"time": "2026-07-13T11:15:40+00:00"
"time": "2026-07-31T08:38:16+00:00"
},
{
"name": "utopia-php/registry",
@@ -4926,16 +4926,16 @@
},
{
"name": "utopia-php/storage",
"version": "4.0.0",
"version": "4.0.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/storage.git",
"reference": "ad05f341a9a62a4de73c5312f4ab6fe69f7d0051"
"reference": "9684da5ab161ae9375d4f47541ef825451d69f2a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/storage/zipball/ad05f341a9a62a4de73c5312f4ab6fe69f7d0051",
"reference": "ad05f341a9a62a4de73c5312f4ab6fe69f7d0051",
"url": "https://api.github.com/repos/utopia-php/storage/zipball/9684da5ab161ae9375d4f47541ef825451d69f2a",
"reference": "9684da5ab161ae9375d4f47541ef825451d69f2a",
"shasum": ""
},
"require": {
@@ -4945,7 +4945,7 @@
"php": ">=8.5",
"psr/http-client": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"utopia-php/client": "0.2.*",
"utopia-php/client": "0.2.* || 0.3.*",
"utopia-php/psr7": "0.2.*",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "0.3.*"
@@ -4970,9 +4970,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/storage/issues",
"source": "https://github.com/utopia-php/storage/tree/4.0.0"
"source": "https://github.com/utopia-php/storage/tree/4.0.1"
},
"time": "2026-07-23T20:37:10+00:00"
"time": "2026-07-31T09:20:57+00:00"
},
{
"name": "utopia-php/system",
@@ -5160,22 +5160,22 @@
},
{
"name": "utopia-php/vcs",
"version": "4.4.5",
"version": "5.0.0",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/vcs.git",
"reference": "4abcc51d113697fb45ad7fab83851bc4162c6bd4"
"reference": "de39bfdfaa8880b8c4370812cf837e98cf7b0fcf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/vcs/zipball/4abcc51d113697fb45ad7fab83851bc4162c6bd4",
"reference": "4abcc51d113697fb45ad7fab83851bc4162c6bd4",
"url": "https://api.github.com/repos/utopia-php/vcs/zipball/de39bfdfaa8880b8c4370812cf837e98cf7b0fcf",
"reference": "de39bfdfaa8880b8c4370812cf837e98cf7b0fcf",
"shasum": ""
},
"require": {
"adhocore/jwt": "^1.1",
"php": ">=8.2",
"utopia-php/cache": "^3.0",
"php": ">=8.4",
"utopia-php/cache": "^4.0",
"utopia-php/fetch": "^1.1"
},
"require-dev": {
@@ -5220,10 +5220,10 @@
"vcs"
],
"support": {
"source": "https://github.com/utopia-php/vcs/tree/4.4.5",
"source": "https://github.com/utopia-php/vcs/tree/5.0.0",
"issues": "https://github.com/utopia-php/vcs/issues"
},
"time": "2026-07-23T13:01:07+00:00"
"time": "2026-07-31T15:03:38+00:00"
},
{
"name": "utopia-php/websocket",
+10
View File
@@ -500,6 +500,16 @@ services:
redis:
ports:
- "9513:6379"
# Test suites spike well past the 512mb default, and eviction cannot keep up,
# so writes get refused with OOM and queued jobs are silently dropped.
command:
- redis-server
- --maxmemory
- 1gb
- --maxmemory-policy
- allkeys-lru
- --maxmemory-samples
- "5"
appwrite-embedding:
ports:
- "9505:3000"
@@ -97,30 +97,15 @@ class XList extends Action
$page = ($offset / $limit) + 1;
if (\method_exists($vcs, 'listNamespaces')) {
['items' => $namespaces, 'total' => $total] = $vcs->listNamespaces($page, $limit, $search);
$namespaces = \array_map(fn ($namespace) => [
'$id' => $namespace['id'] ?? '',
'name' => $namespace['name'] ?? '',
'path' => $namespace['path'] ?? '',
'type' => ($namespace['kind'] ?? '') === 'user' ? 'user' : 'organization',
'avatarUrl' => $namespace['avatarUrl'] ?? '',
], $namespaces);
} else {
$providerInstallationId = $installation->getAttribute('providerInstallationId', '');
$owner = $vcs->getOwnerName($providerInstallationId);
$matches = empty($search) || \stripos($owner, $search) !== false;
$namespaces = $matches ? [[
'$id' => $providerInstallationId,
'name' => $owner,
'path' => $owner,
'type' => $installation->getAttribute('personal', false) ? 'user' : 'organization',
'avatarUrl' => '',
]] : [];
$total = \count($namespaces);
}
['items' => $namespaces, 'total' => $total] = $vcs->listNamespaces($page, $limit, $search);
$namespaces = \array_map(fn ($namespace) => new Document($namespace), $namespaces);
$namespaces = \array_map(fn ($namespace) => new Document([
'$id' => $namespace['id'] ?? '',
'name' => $namespace['name'] ?? '',
'path' => $namespace['path'] ?? '',
'type' => ($namespace['kind'] ?? '') === 'user' ? 'user' : 'organization',
'avatarUrl' => $namespace['avatarUrl'] ?? '',
]), $namespaces);
$response->dynamic(new Document([
'namespaces' => $namespaces,