Skip to content

chore(deps): require utopia-php/database ^7.3.11 and utopia-php/vcs 5.5 - #13738

Merged
HarshMN2345 merged 2 commits into
mainfrom
chore/database-7-3-11
Sep 17, 2026
Merged

HarshMN2345 merged 2 commits into
mainfrom
chore/database-7-3-11

Conversation

@HarshMN2345

@HarshMN2345 HarshMN2345 commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Requires utopia-php/database ^7.3.11 (from 7.3.9) and utopia-php/vcs 5.5 (from 5.4.0).

composer update utopia-php/database -W also moves ramsey/uuid 4.9.4, brick/math 1.0.0 (used only by ramsey/uuid, whose 4.9.4 declares ^1.0), utopia-php/cache 5.1.1, utopia-php/circuit-breaker 0.4.1 and utopia-php/telemetry 0.4.11. The vcs update changes nothing else.

Test Plan

On a local Appwrite, with a one-way oneToOne relationship from currency to user, creating a user document with currency set to the object from the issue, an ID list, an object list or [] returned "array given". With the #975 change in the vendored library, all four return the one-way error, matching what an ID string or {"$id": ...} already returned.

Deployment unit tests pass on this lock (14 tests).

Related PRs and Issues

@greptile-apps

greptile-apps Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The dependency-only update appears safe to merge, with no outstanding findings or concrete compatibility failures identified.

Summary

Updates two Utopia dependencies and refreshes the Composer lockfile:

  • Requires utopia-php/database 7.3.11 or newer within the 7.x-compatible range, correcting one-way relationship validation and empty-ID document mapping.
  • Requires utopia-php/vcs 5.5.x, correcting clone root-directory normalization and handling of a top-level directory named 0.
  • Refreshes compatible transitive dependencies including Ramsey UUID, Brick Math, Cache, Circuit Breaker, and Telemetry.

Reviews (2) · Last reviewed commit: "chore(deps): require utopia-php/vcs 5.5"

Comment thread composer.json Resolved
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → chore/database-7-3-11 (after).

Metric Before After Change
🚀 Requests/sec 262.3 281.17 🟢 +7.2%
⏱️ Latency P50 65.82 ms 62.12 ms 🟢 -5.6%
⏱️ Latency P95 157.66 ms 145 ms 🟢 -8%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 62.12 145 17,271 281.17 -12.66
Account 111.66 220.94 909 15.1 -40.12
TablesDB 59.56 114.94 9,393 154.81 -8.79
Storage 58.39 131.38 4,545 77.02 -14.16
Functions 88.45 170.27 2,424 41.68 -15.87

Top API waits (after)

API request Max wait (ms)
storage.files.create 339.73
account.name.update 322.73
storage.files.update 319.75
account.prefs.update 291.36
functions.variables.update 281.6

@HarshMN2345 HarshMN2345 changed the title chore(deps): require utopia-php/database ^7.3.11 chore(deps): require utopia-php/database ^7.3.11 and utopia-php/vcs 5.5 Sep 17, 2026
@HarshMN2345
HarshMN2345 merged commit 75dbd44 into main Sep 17, 2026
206 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.

🐛 Bug Report: incorrect error message when trying to create a document with oneway relationship the wrong way round

2 participants