Skip to content

chore(deps)!: upgrade to database 7.x, cache 4.x and client 0.3.x - #29

Merged
loks0n merged 1 commit into
mainfrom
chore/database-7
Jul 31, 2026
Merged

chore(deps)!: upgrade to database 7.x, cache 4.x and client 0.3.x#29
loks0n merged 1 commit into
mainfrom
chore/database-7

Conversation

@loks0n

@loks0n loks0n commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Constraint-only bump so downstream consumers can move onto utopia-php/pools 2.x.

utopia-php/database 7.0.0, utopia-php/cache 4.0.0 and utopia-php/client 0.3.0 are themselves constraint-only releases — their src/ is byte-identical to the previous major (verified with diff -rq) — and this package does not touch the pools API at all, so no code changes are needed here.

utopia-php/usage is currently the last package blocking appwrite-labs/cloud from resolving pools 2: it pins client ^0.1|^0.2 and database ^6.0.0.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Jul 31, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the package to the pools 2-compatible Utopia dependency generation.

  • Raises utopia-php/client from the 0.1/0.2 series to 0.3.
  • Raises utopia-php/database from 6.x to 7.x and the development cache dependency from 3.x to 4.x.
  • Regenerates the lock file with pools 2.0.1 and associated transitive dependency updates.

Confidence Score: 4/5

This 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

Filename Overview
composer.json Updates the three intended dependency constraints, but leaves PHP >=8.4 even though the new required client and database releases require PHP >=8.5.
composer.lock Resolves the new Utopia dependency generation and several transitive updates; its metadata confirms the direct dependencies' PHP 8.5 minimum.

Fix All in Claude Code Fix All in Codex

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

Comment thread composer.json
Comment on lines +23 to +24
"utopia-php/client": "^0.3",
"utopia-php/database": "^7.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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.

Fix in Claude Code Fix in Codex

@loks0n
loks0n merged commit df935bb into main Jul 31, 2026
4 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.

1 participant