Support utopia-php/http 2.x#62
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR bumps
Confidence Score: 3/5Not safe to merge until the downstream installability impact of the RC constraint is addressed or a stable 2.0.0 ships. A P1 finding is present: as a library, shipping a ^2.0@RC require constraint actively breaks installation for any downstream consumer with the default minimum-stability: stable, since no stable 2.x release exists yet. composer.json — the RC stability constraint on a library dependency Important Files Changed
Reviews (1): Last reviewed commit: "Bump utopia-php/http to 2.0.0-rc1" | Re-trigger Greptile |
| "ext-redis": "*", | ||
| "utopia-php/cli": "0.23.3", | ||
| "utopia-php/http": "0.34.25", | ||
| "utopia-php/http": "^2.0@RC", |
There was a problem hiding this comment.
RC constraint in a library breaks downstream consumers
Because utopia-php/platform is a "type": "library", the ^2.0@RC constraint gets evaluated in the context of each downstream consumer's root package. A consumer with "minimum-stability": "stable" (the default) will fail to resolve this dependency entirely until a stable 2.0.0 release exists — Composer won't install 2.0.0-rc1 for them even though this library explicitly allows it, because stability flags in a library's own composer.json are ignored at dependency-resolution time for root packages with stricter stability settings.
Summary
utopia-php/httpconstraint to^2.0@RCso 2.0.0-rc1 (and future RCs / stable 2.x) resolve.composer.lockaccordingly.Test plan
composer installresolves cleanlycomposer testpasses against http 2.0.0-rc1🤖 Generated with Claude Code