From 281a4b23168f4fb680aef237a14921c6a5f23b4d Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:33:56 +0100 Subject: [PATCH 1/4] chore(deps)!: upgrade to utopia-php/cache 4.x Co-Authored-By: Claude Opus 5 (1M context) --- composer.json | 2 +- composer.lock | 57 +++++++++++++++++++++++++-------------------------- 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/composer.json b/composer.json index dc6c517..17ff175 100755 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "php": ">=8.3", "utopia-php/validators": "0.*", - "utopia-php/cache": "^3.0" + "utopia-php/cache": "^4.0" }, "require-dev": { "phpunit/phpunit": "^9.3", diff --git a/composer.lock b/composer.lock index e582430..4e95f44 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": "e5b8339bc7491b894ae81a0590a3e4ad", + "content-hash": "ddcca1deaffafb7d86b8201011a9e211", "packages": [ { "name": "brick/math", @@ -1877,16 +1877,16 @@ }, { "name": "utopia-php/cache", - "version": "3.0.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/utopia-php/cache.git", - "reference": "ece1f4d11ec2804cd7e05b9717dc7a2bc66e4176" + "reference": "2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cache/zipball/ece1f4d11ec2804cd7e05b9717dc7a2bc66e4176", - "reference": "ece1f4d11ec2804cd7e05b9717dc7a2bc66e4176", + "url": "https://api.github.com/repos/utopia-php/cache/zipball/2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e", + "reference": "2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e", "shasum": "" }, "require": { @@ -1895,7 +1895,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": { @@ -1925,9 +1925,9 @@ ], "support": { "issues": "https://github.com/utopia-php/cache/issues", - "source": "https://github.com/utopia-php/cache/tree/3.0.0" + "source": "https://github.com/utopia-php/cache/tree/4.0.0" }, - "time": "2026-05-14T14:13:17+00:00" + "time": "2026-07-31T13:04:45+00:00" }, { "name": "utopia-php/circuit-breaker", @@ -1993,28 +1993,31 @@ }, { "name": "utopia-php/pools", - "version": "1.0.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "74de7c5457a2c447f27e7ec4d72e8412a7d68c10" + "reference": "48905dac1b8f8050c2e07bdda32a018ca33982fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/74de7c5457a2c447f27e7ec4d72e8412a7d68c10", - "reference": "74de7c5457a2c447f27e7ec4d72e8412a7d68c10", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/48905dac1b8f8050c2e07bdda32a018ca33982fc", + "reference": "48905dac1b8f8050c2e07bdda32a018ca33982fc", "shasum": "" }, "require": { "php": ">=8.4", - "utopia-php/telemetry": "*" + "utopia-php/telemetry": "^0.4" }, "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "1.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "6.*" }, + "suggest": { + "ext-mongodb": "Needed to support MongoDB database pools", + "ext-pdo": "Needed to support MariaDB, MySQL or SQLite database pools", + "ext-redis": "Needed to support Redis cache pools", + "ext-swoole": "Needed to support Swoole based pool adapter" + }, "type": "library", "autoload": { "psr-4": { @@ -2040,26 +2043,25 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/1.0.3" + "source": "https://github.com/utopia-php/pools/tree/2.0.1" }, - "time": "2026-02-26T08:42:40+00:00" + "time": "2026-07-31T12:19:18+00:00" }, { "name": "utopia-php/telemetry", - "version": "0.3.0", + "version": "0.4.5", "source": { "type": "git", "url": "https://github.com/utopia-php/telemetry.git", - "reference": "62bbadad03e593b071b8ca63fac2c117c1900991" + "reference": "139943bffcd4f6dd8fb9ed247f946a1d151b006a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/62bbadad03e593b071b8ca63fac2c117c1900991", - "reference": "62bbadad03e593b071b8ca63fac2c117c1900991", + "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/139943bffcd4f6dd8fb9ed247f946a1d151b006a", + "reference": "139943bffcd4f6dd8fb9ed247f946a1d151b006a", "shasum": "" }, "require": { - "ext-opentelemetry": "*", "ext-protobuf": "*", "nyholm/psr7": "1.*", "open-telemetry/exporter-otlp": "1.*", @@ -2068,10 +2070,6 @@ "symfony/http-client": "7.*" }, "require-dev": { - "laravel/pint": "1.*", - "phpbench/phpbench": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "6.*" }, "suggest": { @@ -2088,6 +2086,7 @@ "license": [ "MIT" ], + "description": "A lite & fast telemetry library, with adapters for OpenTelemetry", "keywords": [ "framework", "php", @@ -2095,9 +2094,9 @@ ], "support": { "issues": "https://github.com/utopia-php/telemetry/issues", - "source": "https://github.com/utopia-php/telemetry/tree/0.3.0" + "source": "https://github.com/utopia-php/telemetry/tree/0.4.5" }, - "time": "2026-04-01T13:52:56+00:00" + "time": "2026-07-08T11:07:25+00:00" }, { "name": "utopia-php/validators", From 5cc3a0c58cff863c01a5ba78d019ef4bbc37ed43 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:45:46 +0100 Subject: [PATCH 2/4] chore!: require PHP 8.4 Co-Authored-By: Claude Opus 5 (1M context) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 17ff175..830530f 100755 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "check": "./vendor/bin/phpstan analyse --level 4 src tests" }, "require": { - "php": ">=8.3", + "php": ">=8.4", "utopia-php/validators": "0.*", "utopia-php/cache": "^4.0" }, From e9243a377b2108dcb00b3e56756412709a1a43c1 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:49:54 +0100 Subject: [PATCH 3/4] ci: drop PHP 8.3 from the test matrix Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b40389..7fd2fec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 1 matrix: - php-versions: ['8.3', '8.4', '8.5'] + php-versions: ['8.4', '8.5'] steps: - name: Checkout repository From 5e0495504a6f915aa1b3293331718586e1789c05 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:52:19 +0100 Subject: [PATCH 4/4] chore: refresh lock content-hash after PHP requirement bump Co-Authored-By: Claude Opus 5 (1M context) --- composer.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index 4e95f44..137012b 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": "ddcca1deaffafb7d86b8201011a9e211", + "content-hash": "75b79fa576a92fe2ad09f695457ce24e", "packages": [ { "name": "brick/math", @@ -4069,7 +4069,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.3" + "php": ">=8.4" }, "platform-dev": {}, "plugin-api-version": "2.9.0"