Repository navigation
fix(storage): support Validators 0.6 alongside 1.x - #249
Closed
ChiragAgg5k wants to merge 1 commit into
Closed
ChiragAgg5k wants to merge 1 commit into
ChiragAgg5k wants to merge 1 commit into
Conversation
ChiragAgg5k
requested review from
Meldiron,
abnegate,
eldadfux and
loks0n
as code owners
September 10, 2026 08:05
Contributor
|
Member
Author
|
Superseded: the intended migration is Validators ^1.0 throughout the dependency graph, not a compatibility range. Storage already requires ^1.0; no Storage change or release is needed for this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow Validators
^0.6alongside the existing^1.0support. Storage uses the shared base Validator API, not theAssoctype change introduced in Validators 1.0. No runtime code changes or Client aliases.This supplies the missing Storage compatibility for appwrite/appwrite#13575 and https://github.com/appwrite-labs/cloud/pull/5734. Published Storage 4.1.0 requires Validators
^1.0, while CE and Domains 4.2 require^0.6. Storage 4.0.8 instead requires^0.5, so neither release resolves. A new Storage release is needed after merge; this PR does not publish one.Verification
PHP 8.5.10, released Client 0.4.4:
bin/monorepo test storagewith Validators 1.0.1: unit 81 tests / 275 assertions, local MinIO E2E 28 tests / 78 assertions, passed.composer update 'utopia-php/validators:0.6.0' --with-all-dependencies --minimal-changes --ignore-platform-reqs, thencomposer test: 81 tests / 275 assertions, passed.docker compose up -d --waitthencomposer test:e2e: 28 tests / 78 assertions, passed. An initial direct E2E attempt failed because the preceding monorepo runner had torn down MinIO; the rerun explicitly started it. Container removed after verification.bin/monorepo check storage: Pint, PHPStan, Rector passed against Validators 0.6.0.bin/monorepo validateandgit diff --check: passed.^0.6; its lockfile cannot be regenerated until this compatibility is released.No live S3 services or credentials used. Backend-only change; no screenshots apply. Package lockfiles are not committed.