From 5d61bea0becdb41e3f57c233ac68888f70cb1a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 13 Jul 2026 13:26:36 +0200 Subject: [PATCH 1/4] Upgrade PHP to 8.5 and validators to 0.3.* --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 04ff828c..c41ac80b 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,14 @@ "format": "./vendor/bin/pint" }, "require": { - "php": ">=8.1", + "php": ">=8.5", "ext-fileinfo": "*", "ext-zlib": "*", "ext-curl": "*", "ext-simplexml": "*", "utopia-php/system": "0.*.*", "utopia-php/telemetry": "^0.4", - "utopia-php/validators": "0.2.*" + "utopia-php/validators": "0.3.*" }, "require-dev": { "laravel/pint": "^1.21", From ce68d1f1d942eae96c28a0503fbf70075bccddac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 13 Jul 2026 13:28:28 +0200 Subject: [PATCH 2/4] Update composer.lock for validators 0.3.* --- composer.lock | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/composer.lock b/composer.lock index 42618148..5f2aad9a 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": "a1bf5e40fce160a496dea63e8e2463cc", + "content-hash": "de1a1100af46e2f10250606ba21d2609", "packages": [ { "name": "brick/math", @@ -1980,25 +1980,20 @@ }, { "name": "utopia-php/validators", - "version": "0.2.0", + "version": "0.3.0", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "30b6030a5b100fc1dff34506e5053759594b2a20" + "reference": "5a3ef67ce17c2e148da7895e8de699614f0afdfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/30b6030a5b100fc1dff34506e5053759594b2a20", - "reference": "30b6030a5b100fc1dff34506e5053759594b2a20", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/5a3ef67ce17c2e148da7895e8de699614f0afdfa", + "reference": "5a3ef67ce17c2e148da7895e8de699614f0afdfa", "shasum": "" }, "require": { - "php": ">=8.0" - }, - "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*" + "php": ">=8.5" }, "type": "library", "autoload": { @@ -2019,9 +2014,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.2.0" + "source": "https://github.com/utopia-php/validators/tree/0.3.0" }, - "time": "2026-01-13T09:16:51+00:00" + "time": "2026-07-13T09:46:33+00:00" } ], "packages-dev": [ @@ -3896,7 +3891,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.1", + "php": ">=8.5", "ext-fileinfo": "*", "ext-zlib": "*", "ext-curl": "*", From 7c8fdec375c40f5abaa13c475ee04a269e3d57a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 13 Jul 2026 13:31:59 +0200 Subject: [PATCH 3/4] Update Dockerfile to PHP 8.5 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f19e93b5..7a1a4a44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN composer install \ --no-scripts \ --prefer-dist -FROM php:8.3-cli-alpine AS compile +FROM php:8.5-cli-alpine AS compile ENV PHP_ZSTD_VERSION="master" ENV PHP_BROTLI_VERSION="7ae4fcd8b81a65d7521c298cae49af386d1ea4e3" From 8fd8f9d47400357e365c79706451e3615a87fb65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 13 Jul 2026 13:43:56 +0200 Subject: [PATCH 4/4] Update extension versions for PHP 8.5 compatibility --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a1a4a44..fb8fdc1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,10 +17,10 @@ RUN composer install \ FROM php:8.5-cli-alpine AS compile -ENV PHP_ZSTD_VERSION="master" -ENV PHP_BROTLI_VERSION="7ae4fcd8b81a65d7521c298cae49af386d1ea4e3" -ENV PHP_SNAPPY_VERSION="bfefe4906e0abb1f6cc19005b35f9af5240d9025" -ENV PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" +ENV PHP_ZSTD_VERSION="0.17.0" +ENV PHP_BROTLI_VERSION="45faa7966ddc" +ENV PHP_SNAPPY_VERSION="ddc8b58d8892" +ENV PHP_LZ4_VERSION="fba8715d999c" ENV PHP_XZ_VERSION=5.2.7 ENV PHP_EXT_XZ_VERSION=1.1.2