From 1117a5f3f0f44bcb041635f73b4039ef4cf037f7 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 16:08:15 +0100 Subject: [PATCH 1/2] chore(deps)!: upgrade to utopia-php/domains 3.x Co-Authored-By: Claude Opus 5 (1M context) --- composer.json | 4 +-- composer.lock | 75 +++++++++++++++++++++++++-------------------------- 2 files changed, 39 insertions(+), 40 deletions(-) diff --git a/composer.json b/composer.json index 3185cff..1748c3d 100644 --- a/composer.json +++ b/composer.json @@ -25,9 +25,9 @@ "import:stats": "php import.php stats" }, "require": { - "php": ">=8.0", + "php": ">=8.4", "utopia-php/validators": "0.*", - "utopia-php/domains": "^2.0" + "utopia-php/domains": "^3.0" }, "require-dev": { "laravel/pint": "1.25.*", diff --git a/composer.lock b/composer.lock index 14c9cdf..39a5431 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": "f6d557783bac7bf5ba6fd5550ce784e0", + "content-hash": "2552af5e0eafff89bc7bac32880d986c", "packages": [ { "name": "brick/math", @@ -1877,16 +1877,16 @@ }, { "name": "utopia-php/cache", - "version": "3.0.2", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/utopia-php/cache.git", - "reference": "086687d7ae23dd1dae67b943161e8cef143539e1" + "reference": "2ab50440114a7699b8a017ee2ecd8bcd9d54ac5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cache/zipball/086687d7ae23dd1dae67b943161e8cef143539e1", - "reference": "086687d7ae23dd1dae67b943161e8cef143539e1", + "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.2" + "source": "https://github.com/utopia-php/cache/tree/4.0.0" }, - "time": "2026-05-19T22:38:16+00:00" + "time": "2026-07-31T13:04:45+00:00" }, { "name": "utopia-php/circuit-breaker", @@ -1993,21 +1993,21 @@ }, { "name": "utopia-php/domains", - "version": "2.1.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/utopia-php/domains.git", - "reference": "1b1fea8674e8712e0344d3abb5a7acd558dede50" + "reference": "ccab34eb8aa00bec953980388d0608595880928f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/domains/zipball/1b1fea8674e8712e0344d3abb5a7acd558dede50", - "reference": "1b1fea8674e8712e0344d3abb5a7acd558dede50", + "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": { @@ -2049,34 +2049,37 @@ ], "support": { "issues": "https://github.com/utopia-php/domains/issues", - "source": "https://github.com/utopia-php/domains/tree/2.1.0" + "source": "https://github.com/utopia-php/domains/tree/3.0.0" }, - "time": "2026-05-14T14:33:46+00:00" + "time": "2026-07-31T14:54:52+00:00" }, { "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": { @@ -2102,26 +2105,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.*", @@ -2130,10 +2132,6 @@ "symfony/http-client": "7.*" }, "require-dev": { - "laravel/pint": "1.*", - "phpbench/phpbench": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*", "swoole/ide-helper": "6.*" }, "suggest": { @@ -2150,6 +2148,7 @@ "license": [ "MIT" ], + "description": "A lite & fast telemetry library, with adapters for OpenTelemetry", "keywords": [ "framework", "php", @@ -2157,9 +2156,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", @@ -4372,7 +4371,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.0" + "php": ">=8.4" }, "platform-dev": {}, "plugin-api-version": "2.9.0" From b49aee373f05c4253961a7ed9ba97cfcfdb60d5f Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jul 2026 16:10:33 +0100 Subject: [PATCH 2/2] ci: test on PHP 8.4 and 8.5 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 488d148..6bd74d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.1', '8.2', '8.3', 'nightly'] + php-versions: ['8.4', '8.5', 'nightly'] steps: - name: Checkout repository