Skip to content

Conversation

@premtsd-code
Copy link
Contributor

@premtsd-code premtsd-code commented Jan 30, 2026

Summary

  • Upgrade utopia-php/database from 4.* to 5.*

This upgrade is required for compatibility with appwrite/appwrite which is upgrading to utopia-php/cache 1.0.* (which depends on database 5.*).

Summary by CodeRabbit

  • Chores
    • Updated core dependencies to ensure compatibility and improve system stability.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 30, 2026

Walkthrough

The pull request updates the utopia-php/database dependency version constraint in composer.json from 4.* to 5.*. This is a single-line modification that changes the major version requirement for this dependency. No other files are affected, and no functional code changes are present in this diff.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Upgrade utopia-php/database to 5.' directly and clearly describes the main change in the changeset, which is updating the composer.json dependency from version 4. to 5.*.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-upgrade-database-5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@composer.json`:
- Line 25: The composer.json change upgrades "utopia-php/database" to "5.*" but
the package still declares "php": ">=8.0", causing an incompatibility because
Database v5 requires PHP >=8.4; either update the "php" requirement in
composer.json to ">=8.4" (and ensure all consumers can upgrade) or revert the
"utopia-php/database" version back to "4.*" to preserve PHP 8.0–8.3
support—locate the "utopia-php/database" entry and the top-level "php"
constraint in composer.json and make the corresponding change consistently.

@abnegate abnegate merged commit 20bee84 into main Feb 2, 2026
7 checks passed
@abnegate abnegate deleted the chore-upgrade-database-5 branch February 2, 2026 10:43
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.

3 participants