chore(deps): require utopia-php/database ^6.0.0#125
Conversation
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>
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 Summary
Confidence Score: 4/5The 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.
What T-Rex did
Reviews (1): Last reviewed commit: "fix: use global \Exception instead of re..." | Re-trigger Greptile |
| "ext-memcached": "*", | ||
| "ext-redis": "*", |
There was a problem hiding this comment.
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.
Bumps
utopia-php/databaseto^6.0.0— the release that drops the SwoolePDOProxydependency. Database 6.0 requiresutopia-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
DatabaseAPI, notPDO::prepare()(6.0's only breaking change). For release2.5.0.