Skip to content

chore(deps): require utopia-php/database ^6.0.0#125

Merged
abnegate merged 2 commits into
mainfrom
chore/bump-database-6
Jun 18, 2026
Merged

chore(deps): require utopia-php/database ^6.0.0#125
abnegate merged 2 commits into
mainfrom
chore/bump-database-6

Conversation

@abnegate

Copy link
Copy Markdown
Member

Bumps utopia-php/database to ^6.0.0 — the release that drops the Swoole PDOProxy dependency. Database 6.0 requires utopia-php/cache ^3.0, so the standalone lock (which was frozen at database 5.0.0 / cache 1.0.0) modernizes to match what audit already runs against transitively via appwrite.

No code changes: audit uses the high-level Database API, not PDO::prepare() (6.0's only breaking change). For release 2.5.0.

Bump utopia-php/database to ^6.0.0 (drops the Swoole PDOProxy
dependency). Database 6.0 requires utopia-php/cache ^3.0, so the lock
modernizes accordingly; audit already runs against this dep set via
appwrite. No code changes — audit uses the high-level Database API.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 18, 2026 11:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

database 6.0 modernizes deps off utopia-php/framework, which provided
Utopia\Exception. These are generic throws; use \Exception (as the rest
of this file already does).
@greptile-apps

greptile-apps Bot commented Jun 18, 2026

Copy link
Copy Markdown

Greptile Summary

  • Bumps utopia-php/database to ^6.0.0.
  • Refreshes composer.lock for the database upgrade and related transitive dependencies.
  • Updates the database adapter to use the global Exception type instead of Utopia\Exception.

Confidence Score: 4/5

The dependency bump is straightforward, but the lockfile now needs attention because platform requirements may no longer match the supported SQL-only runtime environment.

The changed files are narrow and the adapter code change is small, while the dependency graph change has a clear compatibility risk for installs and runtime images that do not include newly required native extensions.

composer.lock

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex attempted to widen platform requirements by verifying the runtime environment, but the run was blocked because PHP and Composer were not on PATH, apt-get access was blocked, and Docker was unavailable.
  • T-Rex compared the base commit to the head commit for the Database adapter, noting the composer requirement changed from utopia-php/database 5.* to ^6.0.0, and the locks updated to 6.0.0 and 3.0.2; composer install exited 0 and the audit adapter smoke passed.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (1): Last reviewed commit: "fix: use global \Exception instead of re..." | Re-trigger Greptile

Comment thread composer.lock
Comment on lines 2050 to 2051
"ext-memcached": "*",
"ext-redis": "*",

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 Widened platform requirements

The refreshed lock now pulls in hard native extension requirements for Redis and Memcached through utopia-php/cache, while utopia-php/database also requires Redis and the updated telemetry/protobuf stack adds further platform requirements. Because the repository build uses --ignore-platform-reqs and the runtime/test image only installs the existing SQL-related extensions, CI can produce a vendor tree that the actual runtime image does not satisfy. Consumers using audit with the SQL database adapter and NoCache can also now fail Composer install or lock verification unless these unused native extensions are present. Please either declare/install the newly required extensions in the supported runtime environment or adjust the dependency constraints so optional cache/telemetry adapters do not impose platform requirements on this package’s SQL-only path.

@abnegate abnegate merged commit d9e9bb5 into main Jun 18, 2026
4 checks passed
@abnegate abnegate deleted the chore/bump-database-6 branch June 18, 2026 11:19
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