Skip to content

chore: require utopia-php/validators ^1.0 - #16

Merged
levivannoort merged 1 commit into
mainfrom
chore/validators-1.0
Sep 3, 2026
Merged

levivannoort merged 1 commit into
mainfrom
chore/validators-1.0

Conversation

@levivannoort

@levivannoort levivannoort commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

What

utopia-php/validators ^0.5 → ^1.0, lock updated (0.5.0 → 1.0.1).

Why

waf is the last package pinning validators below ^0.6, which forces appwrite/cloud to hold utopia-php/queue at 1.5.x through a version alias. This is the single release standing between cloud and queue 1.6 (enqueue deduplication, ack extension, connection-death detection).

Risk

The validators 0.6 → 1.0 diff is two lines in Validator/Assoc.php (isArray() → false, getType() → TYPE_OBJECT); waf's code references neither. Full waf suite passes unchanged against 1.0.1: 52 tests, 188 assertions.

Verified downstream

appwrite/cloud resolves cleanly against this constraint with queue 1.6.1 / validators 1.0.1, and the queue NATS acceptance suite passes 7/7 on the resulting tree against a replicated 3-node JetStream cluster.

After merge: please tag 0.1.2.

@greptile-apps

greptile-apps Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Greptile Summary

Updates utopia-php/validators from the 0.5 release line to 1.0 and refreshes the lockfile accordingly.

  • Changes the Composer constraint from ^0.5 to ^1.0.
  • Locks utopia-php/validators at version 1.0.1.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
composer.json Raises the direct validators dependency constraint to ^1.0; no eligible follow-up issue was identified.
composer.lock Consistently updates the locked validators package from 0.5.0 to 1.0.1 and refreshes its source metadata.

Reviews (2): Last reviewed commit: "chore: require utopia-php/validators ^1...." | Re-trigger Greptile

The 0.6 -> 1.0 diff is two lines in Validator/Assoc.php (isArray()
false, getType() TYPE_OBJECT) and waf's own code does not touch either;
the full suite passes unchanged against 1.0.1 (52 tests, 188 assertions).

waf was the last package pinning validators below ^0.6, which forces
appwrite/cloud to hold utopia-php/queue at 1.5.x via a version alias.
Requiring ^1.0 lets consumers resolve validators 1.0 and take queue 1.6
(enqueue deduplication, ack extension, connection-death detection).
Verified downstream: appwrite/cloud resolves cleanly against this
constraint with queue 1.6.1 / validators 1.0.1, and the queue acceptance
checks pass 7/7 on the resulting tree.
@levivannoort levivannoort changed the title chore: accept utopia-php/validators ^1.0 chore: require utopia-php/validators ^1.0 Sep 3, 2026
@levivannoort
levivannoort merged commit 1342b1b into main Sep 3, 2026
5 checks passed
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.

2 participants