From 36ab95f1c843f7bda38299c370a9e1b511331db0 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 11 Jun 2026 17:38:45 +0530 Subject: [PATCH] Update Utopia platform and HTTP RCs (#12570) --- composer.json | 6 +- composer.lock | 248 ++++++++++++++++++++++---------------------------- 2 files changed, 112 insertions(+), 142 deletions(-) diff --git a/composer.json b/composer.json index de5a1ba601..73224761c4 100644 --- a/composer.json +++ b/composer.json @@ -59,7 +59,7 @@ "utopia-php/audit": "^2.4", "utopia-php/auth": "0.5.*", "utopia-php/cache": "^3.0", - "utopia-php/cli": "0.23.*", + "utopia-php/cli": "^0.24", "utopia-php/compression": "0.1.*", "utopia-php/config": "1.*", "utopia-php/console": "0.1.*", @@ -78,11 +78,11 @@ "utopia-php/logger": "0.8.*", "utopia-php/messaging": "1.0.*", "utopia-php/migration": "1.*", - "utopia-php/platform": "1.0.0-rc5", + "utopia-php/platform": "^1.0@RC", "utopia-php/pools": "1.*", "utopia-php/span": "3.0.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.20.*", + "utopia-php/queue": "^0.21", "utopia-php/servers": "0.4.*", "utopia-php/registry": "0.5.*", "utopia-php/storage": "2.*", diff --git a/composer.lock b/composer.lock index 1e57ede67b..3d198418c9 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": "1842adc3102a8d4af14a013751acd366", + "content-hash": "c8e8a31556be2ad12d15a25969c4d59f", "packages": [ { "name": "adhocore/jwt", @@ -2654,16 +2654,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.38.1", + "version": "v1.38.2", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92" + "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/14c5439eec4ccff081ac14eca2dc57feb2a66d92", - "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6", + "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6", "shasum": "" }, "require": { @@ -2715,7 +2715,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.2" }, "funding": [ { @@ -2735,7 +2735,7 @@ "type": "tidelift" } ], - "time": "2026-05-26T12:51:13+00:00" + "time": "2026-05-27T06:59:30+00:00" }, { "name": "symfony/polyfill-php82", @@ -2819,16 +2819,16 @@ }, { "name": "symfony/polyfill-php83", - "version": "v1.38.1", + "version": "v1.38.2", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "8339098cae28673c15cce00d80734af0453054e2" + "reference": "796a26abb75ce49f3a84433cd81bf1009d73d5f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/8339098cae28673c15cce00d80734af0453054e2", - "reference": "8339098cae28673c15cce00d80734af0453054e2", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/796a26abb75ce49f3a84433cd81bf1009d73d5f8", + "reference": "796a26abb75ce49f3a84433cd81bf1009d73d5f8", "shasum": "" }, "require": { @@ -2875,7 +2875,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.38.1" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.38.2" }, "funding": [ { @@ -2895,7 +2895,7 @@ "type": "tidelift" } ], - "time": "2026-05-26T12:51:13+00:00" + "time": "2026-05-27T06:51:48+00:00" }, { "name": "symfony/polyfill-php85", @@ -3491,27 +3491,23 @@ }, { "name": "utopia-php/cli", - "version": "0.23.4", + "version": "0.24.1", "source": { "type": "git", "url": "https://github.com/utopia-php/cli.git", - "reference": "59f66e72ec1f8350968d8b95c0039faaac7a6d6d" + "reference": "ba1eabbbfa56f0936de7455a26dcd1afc3246636" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cli/zipball/59f66e72ec1f8350968d8b95c0039faaac7a6d6d", - "reference": "59f66e72ec1f8350968d8b95c0039faaac7a6d6d", + "url": "https://api.github.com/repos/utopia-php/cli/zipball/ba1eabbbfa56f0936de7455a26dcd1afc3246636", + "reference": "ba1eabbbfa56f0936de7455a26dcd1afc3246636", "shasum": "" }, "require": { "php": ">=7.4", - "utopia-php/servers": "0.4.*" + "utopia-php/servers": "^0.4" }, "require-dev": { - "laravel/pint": "1.2.*", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.3", - "squizlabs/php_codesniffer": "^3.6", "swoole/ide-helper": "4.8.8", "utopia-php/console": "0.0.*" }, @@ -3536,31 +3532,34 @@ ], "support": { "issues": "https://github.com/utopia-php/cli/issues", - "source": "https://github.com/utopia-php/cli/tree/0.23.4" + "source": "https://github.com/utopia-php/cli/tree/0.24.1" }, - "time": "2026-05-21T14:42:15+00:00" + "time": "2026-06-10T16:25:51+00:00" }, { "name": "utopia-php/compression", - "version": "0.1.4", + "version": "0.1.5", "source": { "type": "git", "url": "https://github.com/utopia-php/compression.git", - "reference": "68045cb9d714c1259582d2dfd0e76bd34f83e713" + "reference": "d39208e3f0f3ad0a793e8023046eb2e69b57bae3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/compression/zipball/68045cb9d714c1259582d2dfd0e76bd34f83e713", - "reference": "68045cb9d714c1259582d2dfd0e76bd34f83e713", + "url": "https://api.github.com/repos/utopia-php/compression/zipball/d39208e3f0f3ad0a793e8023046eb2e69b57bae3", + "reference": "d39208e3f0f3ad0a793e8023046eb2e69b57bae3", "shasum": "" }, "require": { "php": ">=8.1" }, - "require-dev": { - "laravel/pint": "1.2.*", - "phpunit/phpunit": "^9.3", - "vimeo/psalm": "4.0.1" + "suggest": { + "ext-brotli": "Required for the Brotli algorithm", + "ext-lz4": "Required for the LZ4 algorithm", + "ext-snappy": "Required for the Snappy algorithm", + "ext-xz": "Required for the XZ algorithm", + "ext-zlib": "Required for the GZIP and Deflate algorithms", + "ext-zstd": "Required for the Zstd algorithm" }, "type": "library", "autoload": { @@ -3582,9 +3581,9 @@ ], "support": { "issues": "https://github.com/utopia-php/compression/issues", - "source": "https://github.com/utopia-php/compression/tree/0.1.4" + "source": "https://github.com/utopia-php/compression/tree/0.1.5" }, - "time": "2026-02-17T05:53:40+00:00" + "time": "2026-06-10T15:38:47+00:00" }, { "name": "utopia-php/config", @@ -3788,16 +3787,16 @@ }, { "name": "utopia-php/di", - "version": "0.3.2", + "version": "0.3.3", "source": { "type": "git", "url": "https://github.com/utopia-php/di.git", - "reference": "07025d721ed5d9be27932e8e640acf1467fc4b9d" + "reference": "a0cee7ff9976bb6b596619aeac524948a8ee3dfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/di/zipball/07025d721ed5d9be27932e8e640acf1467fc4b9d", - "reference": "07025d721ed5d9be27932e8e640acf1467fc4b9d", + "url": "https://api.github.com/repos/utopia-php/di/zipball/a0cee7ff9976bb6b596619aeac524948a8ee3dfb", + "reference": "a0cee7ff9976bb6b596619aeac524948a8ee3dfb", "shasum": "" }, "require": { @@ -3805,10 +3804,7 @@ "psr/container": "^2.0" }, "require-dev": { - "laravel/pint": "^1.27", "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^9.5.25", "swoole/ide-helper": "4.8.3" }, "type": "library", @@ -3833,9 +3829,9 @@ ], "support": { "issues": "https://github.com/utopia-php/di/issues", - "source": "https://github.com/utopia-php/di/tree/0.3.2" + "source": "https://github.com/utopia-php/di/tree/0.3.3" }, - "time": "2026-03-21T07:42:10+00:00" + "time": "2026-06-10T14:22:41+00:00" }, { "name": "utopia-php/dns", @@ -4106,32 +4102,27 @@ }, { "name": "utopia-php/http", - "version": "2.0.0-rc5", + "version": "2.0.0-rc9", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "ec968c1fd7a4281d8febb3ed771207be0b852b14" + "reference": "e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/ec968c1fd7a4281d8febb3ed771207be0b852b14", - "reference": "ec968c1fd7a4281d8febb3ed771207be0b852b14", + "url": "https://api.github.com/repos/utopia-php/http/zipball/e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9", + "reference": "e4fdbc57ac6dc7cad1604eb904d3c95a31226ba9", "shasum": "" }, "require": { "php": ">=8.3", - "utopia-php/compression": "0.1.*", - "utopia-php/di": "0.3.*", - "utopia-php/servers": "0.4.*", + "utopia-php/compression": "^0.1", + "utopia-php/di": "^0.3", + "utopia-php/servers": "^0.4", "utopia-php/telemetry": "^0.4", - "utopia-php/validators": "0.2.*" + "utopia-php/validators": "^0.2" }, "require-dev": { - "doctrine/instantiator": "^1.5", - "laravel/pint": "1.*", - "phpstan/phpstan": "^2.1", - "phpunit/phpunit": "^12.0", - "rector/rector": "^2.4", "swoole/ide-helper": "4.8.3" }, "suggest": { @@ -4156,9 +4147,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/2.0.0-rc5" + "source": "https://github.com/utopia-php/http/tree/2.0.0-rc9" }, - "time": "2026-06-04T13:35:09+00:00" + "time": "2026-06-10T16:25:51+00:00" }, { "name": "utopia-php/image", @@ -4260,25 +4251,22 @@ }, { "name": "utopia-php/lock", - "version": "0.2.0", + "version": "0.2.1", "source": { "type": "git", "url": "https://github.com/utopia-php/lock.git", - "reference": "49317c9493d8f747e4299aa24c22862aa5f6e106" + "reference": "9ef48d7094f5c68d1736f664f6e9b4b1ec656f21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/lock/zipball/49317c9493d8f747e4299aa24c22862aa5f6e106", - "reference": "49317c9493d8f747e4299aa24c22862aa5f6e106", + "url": "https://api.github.com/repos/utopia-php/lock/zipball/9ef48d7094f5c68d1736f664f6e9b4b1ec656f21", + "reference": "9ef48d7094f5c68d1736f664f6e9b4b1ec656f21", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "*" }, "suggest": { @@ -4302,12 +4290,12 @@ "email": "team@appwrite.io" } ], - "description": "Mutex, semaphore, file and distributed locks for PHP — one interface, four backends.", + "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.0" + "source": "https://github.com/utopia-php/lock/tree/0.2.1" }, - "time": "2026-04-24T10:47:56+00:00" + "time": "2026-06-10T15:55:36+00:00" }, { "name": "utopia-php/logger", @@ -4533,30 +4521,26 @@ }, { "name": "utopia-php/platform", - "version": "1.0.0-rc5", + "version": "1.0.0-rc9", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "edf46c6e9c62af1cec1cbd1386a84c730d76a9f8" + "reference": "5ae1fba6d797ba617816a1a582d9c1b1d188a1bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/edf46c6e9c62af1cec1cbd1386a84c730d76a9f8", - "reference": "edf46c6e9c62af1cec1cbd1386a84c730d76a9f8", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/5ae1fba6d797ba617816a1a582d9c1b1d188a1bc", + "reference": "5ae1fba6d797ba617816a1a582d9c1b1d188a1bc", "shasum": "" }, "require": { "ext-json": "*", "ext-redis": "*", "php": ">=8.3", - "utopia-php/cli": "0.23.*", + "utopia-php/cli": "^0.24", "utopia-php/http": "^2.0@RC", - "utopia-php/queue": "^0.20", - "utopia-php/servers": "0.4.*" - }, - "require-dev": { - "laravel/pint": "1.2.*", - "phpunit/phpunit": "^9.3" + "utopia-php/queue": "^0.21", + "utopia-php/servers": "^0.4" }, "type": "library", "autoload": { @@ -4578,22 +4562,22 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/1.0.0-rc5" + "source": "https://github.com/utopia-php/platform/tree/1.0.0-rc9" }, - "time": "2026-06-04T13:00:46+00:00" + "time": "2026-06-11T10:36:26+00:00" }, { "name": "utopia-php/pools", - "version": "1.0.4", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "19d8b82f6772a901eb1e16aa7c0e7dfba0ba711b" + "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/19d8b82f6772a901eb1e16aa7c0e7dfba0ba711b", - "reference": "19d8b82f6772a901eb1e16aa7c0e7dfba0ba711b", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", + "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", "shasum": "" }, "require": { @@ -4601,11 +4585,11 @@ "utopia-php/telemetry": "^0.4" }, "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "1.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "6.*" }, + "suggest": { + "ext-swoole": "Required to use the Swoole pool adapter" + }, "type": "library", "autoload": { "psr-4": { @@ -4631,9 +4615,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/1.0.4" + "source": "https://github.com/utopia-php/pools/tree/1.0.5" }, - "time": "2026-06-03T05:20:57+00:00" + "time": "2026-06-10T15:14:31+00:00" }, { "name": "utopia-php/preloader", @@ -4736,32 +4720,29 @@ }, { "name": "utopia-php/queue", - "version": "0.20.0", + "version": "0.21.1", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "d4da9e8d4a8879eb529ec1cda6b93cad2cf8d940" + "reference": "abc5173ff7079118ebf5a22cb8008e8cf0a150e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/d4da9e8d4a8879eb529ec1cda6b93cad2cf8d940", - "reference": "d4da9e8d4a8879eb529ec1cda6b93cad2cf8d940", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/abc5173ff7079118ebf5a22cb8008e8cf0a150e4", + "reference": "abc5173ff7079118ebf5a22cb8008e8cf0a150e4", "shasum": "" }, "require": { "php": ">=8.4", - "utopia-php/di": "0.3.*", - "utopia-php/lock": "0.2.*", - "utopia-php/pools": "1.*", - "utopia-php/servers": "0.4.*", - "utopia-php/telemetry": "0.4.*", - "utopia-php/validators": "0.2.*" + "utopia-php/di": "^0.3", + "utopia-php/lock": "^0.2", + "utopia-php/pools": "^1.0", + "utopia-php/servers": "^0.4", + "utopia-php/telemetry": "^0.4", + "utopia-php/validators": "^0.2" }, "require-dev": { "ext-redis": "*", - "laravel/pint": "^1.0", - "phpstan/phpstan": "^1.8", - "phpunit/phpunit": "^11.0", "swoole/ide-helper": "4.8.8", "workerman/workerman": "^4.0" }, @@ -4796,9 +4777,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.20.0" + "source": "https://github.com/utopia-php/queue/tree/0.21.1" }, - "time": "2026-06-04T12:33:31+00:00" + "time": "2026-06-10T16:25:51+00:00" }, { "name": "utopia-php/registry", @@ -4854,27 +4835,22 @@ }, { "name": "utopia-php/servers", - "version": "0.4.1", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/utopia-php/servers.git", - "reference": "6e9241f587a19c0e9e7a3587fe3b15ffb2d4c2a4" + "reference": "a160268a804ae1a6d8a6ee41aed8dda1d2553da8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/servers/zipball/6e9241f587a19c0e9e7a3587fe3b15ffb2d4c2a4", - "reference": "6e9241f587a19c0e9e7a3587fe3b15ffb2d4c2a4", + "url": "https://api.github.com/repos/utopia-php/servers/zipball/a160268a804ae1a6d8a6ee41aed8dda1d2553da8", + "reference": "a160268a804ae1a6d8a6ee41aed8dda1d2553da8", "shasum": "" }, "require": { "php": ">=8.2", - "utopia-php/di": "0.3.*", - "utopia-php/validators": "0.*" - }, - "require-dev": { - "laravel/pint": "^0.2.3", - "phpstan/phpstan": "^1.8", - "phpunit/phpunit": "^9.5.5" + "utopia-php/di": "^0.3", + "utopia-php/validators": "^0.2" }, "type": "library", "autoload": { @@ -4902,9 +4878,9 @@ ], "support": { "issues": "https://github.com/utopia-php/servers/issues", - "source": "https://github.com/utopia-php/servers/tree/0.4.1" + "source": "https://github.com/utopia-php/servers/tree/0.4.3" }, - "time": "2026-05-21T13:08:45+00:00" + "time": "2026-06-10T16:25:51+00:00" }, { "name": "utopia-php/span", @@ -5060,16 +5036,16 @@ }, { "name": "utopia-php/telemetry", - "version": "0.4.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/telemetry.git", - "reference": "e0630df7d8176833cd4882f78814a5b893dcb0e0" + "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/e0630df7d8176833cd4882f78814a5b893dcb0e0", - "reference": "e0630df7d8176833cd4882f78814a5b893dcb0e0", + "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/028f3a85bb987b1e9357fb1632aa40f020d1b86e", + "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e", "shasum": "" }, "require": { @@ -5082,10 +5058,7 @@ "symfony/http-client": "7.*" }, "require-dev": { - "laravel/pint": "1.*", "phpbench/phpbench": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "6.*" }, "suggest": { @@ -5102,6 +5075,7 @@ "license": [ "MIT" ], + "description": "A lite & fast telemetry library, with adapters for OpenTelemetry", "keywords": [ "framework", "php", @@ -5109,32 +5083,27 @@ ], "support": { "issues": "https://github.com/utopia-php/telemetry/issues", - "source": "https://github.com/utopia-php/telemetry/tree/0.4.0" + "source": "https://github.com/utopia-php/telemetry/tree/0.4.1" }, - "time": "2026-05-29T11:57:04+00:00" + "time": "2026-06-10T15:48:26+00:00" }, { "name": "utopia-php/validators", - "version": "0.2.4", + "version": "0.2.6", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "b4ee60db4dbae5ffbe53968d01f69b6941251576" + "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/b4ee60db4dbae5ffbe53968d01f69b6941251576", - "reference": "b4ee60db4dbae5ffbe53968d01f69b6941251576", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", + "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", "shasum": "" }, "require": { "php": ">=8.0" }, - "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*" - }, "type": "library", "autoload": { "psr-4": { @@ -5154,9 +5123,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.2.4" + "source": "https://github.com/utopia-php/validators/tree/0.2.6" }, - "time": "2026-05-21T12:47:43+00:00" + "time": "2026-06-10T14:45:13+00:00" }, { "name": "utopia-php/vcs", @@ -8393,7 +8362,8 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "utopia-php/http": 5 + "utopia-php/http": 5, + "utopia-php/platform": 5 }, "prefer-stable": true, "prefer-lowest": false,