chore(deps)!: upgrade to database 7.x, cache 4.x and client 0.3.x - #29
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR updates the package to the pools 2-compatible Utopia dependency generation.
Confidence Score: 4/5This PR should not be merged until the advertised PHP requirement is aligned with the PHP 8.5 minimum imposed by the upgraded direct dependencies. A normal Composer installation on PHP 8.4 is explicitly permitted by the root package but cannot satisfy the newly required client and database versions; the repository's use of --ignore-platform-reqs only masks this conflict in CI. Files Needing Attention: composer.json, composer.lock Important Files Changed
Prompt To Fix All With AI### Issue 1
composer.json:23-24
**PHP platform constraint is inconsistent**
When a consumer installs on PHP 8.4, the changed constraints resolve `utopia-php/client` 0.3.0 and `utopia-php/database` 7.0.0, which both require PHP 8.5 or newer, causing Composer to reject an environment the root package still declares supported.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (1): Last reviewed commit: "chore(deps)!: upgrade to database 7.x, c..." | Re-trigger Greptile |
| "utopia-php/client": "^0.3", | ||
| "utopia-php/database": "^7.0.0", |
There was a problem hiding this comment.
PHP platform constraint is inconsistent
When a consumer installs on PHP 8.4, the changed constraints resolve utopia-php/client 0.3.0 and utopia-php/database 7.0.0, which both require PHP 8.5 or newer, causing Composer to reject an environment the root package still declares supported.
Prompt To Fix With AI
This is a comment left during a code review.
Path: composer.json
Line: 23-24
Comment:
**PHP platform constraint is inconsistent**
When a consumer installs on PHP 8.4, the changed constraints resolve `utopia-php/client` 0.3.0 and `utopia-php/database` 7.0.0, which both require PHP 8.5 or newer, causing Composer to reject an environment the root package still declares supported.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Constraint-only bump so downstream consumers can move onto
utopia-php/pools2.x.utopia-php/database7.0.0,utopia-php/cache4.0.0 andutopia-php/client0.3.0 are themselves constraint-only releases — theirsrc/is byte-identical to the previous major (verified withdiff -rq) — and this package does not touch the pools API at all, so no code changes are needed here.utopia-php/usageis currently the last package blocking appwrite-labs/cloud from resolving pools 2: it pinsclient ^0.1|^0.2anddatabase ^6.0.0.🤖 Generated with Claude Code