diff --git a/composer.json b/composer.json index e2f37dba2..bedf0a71a 100755 --- a/composer.json +++ b/composer.json @@ -49,7 +49,7 @@ "ext-mongodb": "*", "ext-mbstring": "*", "ext-redis": "*", - "utopia-php/validators": "^1.0", + "utopia-php/validators": "^1.0 || ^2.0", "utopia-php/console": "^0.1 || ^0.2", "utopia-php/cache": "^4.0 || ^5.0", "utopia-php/pools": "^2.0", diff --git a/composer.lock b/composer.lock index daa69325a..2ecf01fdb 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": "c1b0fe62abab5df150159dba20b7ebfc", + "content-hash": "45b5cf01aef6a3cd2ad9b296d965edfb", "packages": [ { "name": "brick/math", @@ -2373,16 +2373,16 @@ }, { "name": "utopia-php/validators", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "f0a08bd888d035b68c463d22b47ef385984da73d" + "reference": "4c6e421fb84333eec58d28595e645a77d4ed8ac5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/f0a08bd888d035b68c463d22b47ef385984da73d", - "reference": "f0a08bd888d035b68c463d22b47ef385984da73d", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/4c6e421fb84333eec58d28595e645a77d4ed8ac5", + "reference": "4c6e421fb84333eec58d28595e645a77d4ed8ac5", "shasum": "" }, "require": { @@ -2390,8 +2390,11 @@ }, "type": "library", "autoload": { + "files": [ + "src/compat.php" + ], "psr-4": { - "Utopia\\": "src/" + "Utopia\\Validator\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2407,9 +2410,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/1.0.1" + "source": "https://github.com/utopia-php/validators/tree/2.0.0" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-10-08T14:16:57+00:00" } ], "packages-dev": [ @@ -5161,27 +5164,27 @@ }, { "name": "utopia-php/servers", - "version": "0.4.11", + "version": "0.4.12", "source": { "type": "git", "url": "https://github.com/utopia-php/servers.git", - "reference": "060da7b356fc9ffecd30d5c3849e8465892e8615" + "reference": "9c78e4ebd594a95f6187212f2a575dc7a7593d57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/servers/zipball/060da7b356fc9ffecd30d5c3849e8465892e8615", - "reference": "060da7b356fc9ffecd30d5c3849e8465892e8615", + "url": "https://api.github.com/repos/utopia-php/servers/zipball/9c78e4ebd594a95f6187212f2a575dc7a7593d57", + "reference": "9c78e4ebd594a95f6187212f2a575dc7a7593d57", "shasum": "" }, "require": { "php": ">=8.5", "utopia-php/di": "^0.3", - "utopia-php/validators": "^1.0" + "utopia-php/validators": "^2.0" }, "type": "library", "autoload": { "psr-4": { - "Utopia\\Servers\\": "src/Servers" + "Utopia\\Servers\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5204,9 +5207,9 @@ ], "support": { "issues": "https://github.com/utopia-php/servers/issues", - "source": "https://github.com/utopia-php/servers/tree/0.4.11" + "source": "https://github.com/utopia-php/servers/tree/0.4.12" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-10-08T14:16:57+00:00" } ], "aliases": [],