chore: allow utopia-php/validators 0.5 - #15
Merged
Merged
Conversation
0.5.0 only adds an optional $requireNonBlank parameter to Text, defaulting to false, so nothing this library relies on changes.
ArnabChatterjee20k
approved these changes
Aug 14, 2026
Greptile SummaryUpdates
Confidence Score: 5/5The PR appears safe to merge, with no concrete compatibility, security, or lockfile consistency issue identified. The dependency update is internally consistent, and the repository only subclasses the validator base class while the described 0.5.0 change is confined to an unused optional Important Files Changed
Reviews (1): Last reviewed commit: "chore: allow utopia-php/validators 0.5" | Re-trigger Greptile |
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.
appwrite/server-cenow requiresutopia-php/validators ^0.5, and this library is the last thing holding Appwrite Cloud on^0.4.utopia-php/http(2.0.0-rc23),queue(1.2.1),storage(4.0.4) andaudit(3.0.2) have all shipped^0.5already, so with this in place Cloud can resolve again.Why this is safe
The only change between
0.4.2and0.5.0is insrc/Validator/Text.php: a new optional constructor parameter$requireNonBlank, defaulting tofalse, plus the matching branch inisValid()and a sentence ingetDescription(). Existing behaviour is unchanged unless a caller opts in.This library never constructs
Text— the single validator import is the baseUtopia\Validatorclass insrc/Validator/Conditions.php— so nothing here is affected either way.Verification
A tagged release is needed after this merges before Cloud can pick it up.