Skip to content

Bump validators dependency to 0.2#4

Merged
TorstenDittmann merged 4 commits intomainfrom
feat/command-validation
Apr 20, 2026
Merged

Bump validators dependency to 0.2#4
TorstenDittmann merged 4 commits intomainfrom
feat/command-validation

Conversation

@TorstenDittmann
Copy link
Copy Markdown
Contributor

No description provided.

@TorstenDittmann TorstenDittmann merged commit 97e3de4 into main Apr 20, 2026
6 checks passed
@TorstenDittmann TorstenDittmann deleted the feat/command-validation branch April 20, 2026 10:53
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 20, 2026

Greptile Summary

This PR bumps the utopia-php/validators dependency from ^0.1.0 to ^0.2.0 and regenerates the lock file. The production code in Command.php uses Utopia\Validator\Text and the Validator interface, which should be unaffected assuming no breaking API changes in 0.2.0.

Confidence Score: 5/5

Safe to merge; only concern is a dev-only PHP version mismatch that does not affect production.

All findings are P2. The doctrine/instantiator PHP 8.4 requirement only impacts dev/CI environments, not production consumers of the library. No production code changes were made.

composer.lock — transitive dev dependency doctrine/instantiator 2.2.x-dev now requires PHP ^8.4.

Important Files Changed

Filename Overview
composer.json Bumps utopia-php/validators constraint from ^0.1.0 to ^0.2.0; no other changes.
composer.lock Lock file regenerated for the validators bump; transitive dev dependency doctrine/instantiator moved to 2.2.x-dev which requires PHP ^8.4, conflicting with the project's stated >=8.0 support.

Comments Outside Diff (1)

  1. composer.lock, line 74-75 (link)

    P2 Dev dependency now requires PHP 8.4+

    doctrine/instantiator was bumped from 2.0.x-dev (php: "^8.1") to 2.2.x-dev (php: "^8.4") as a transitive dev dependency. This project's composer.json declares php: ">=8.0", so any developer or CI pipeline running composer install on PHP 8.0–8.3 will fail to resolve dev dependencies. The production install (--no-dev) is unaffected, but it's worth aligning the minimum supported PHP version in composer.json or pinning doctrine/instantiator to a compatible release.

Reviews (1): Last reviewed commit: "Merge branch 'main' into feat/command-va..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant