Skip to content

chore(deps): bump utopia-php/user-agent to 0.1.2 - #13739

Merged
HarshMN2345 merged 1 commit into
mainfrom
chore/user-agent-0-1-2
Sep 17, 2026
Merged

HarshMN2345 merged 1 commit into
mainfrom
chore/user-agent-0-1-2

Conversation

@HarshMN2345

Copy link
Copy Markdown
Member

What does this PR do?

Bumps utopia-php/user-agent from 0.1.1 to 0.1.2. 0.1.2 (utopia-php/monorepo#289) recognizes the native Flutter iOS header, <bundle identifier>/<version> <machine> iOS/<version>, as a mobile app. Before this, 0.1.1 returned no client for that header, so sessions and the OTP/magic URL emails had no app name for Flutter iOS logins.

Test Plan

Ran Appwrite\Detector\Detector from this branch against both releases with the header from the issue, com.example.myapp/1.0.0 iPhone17,1 iOS/18.1:

0.1.1  client {"clientType":"","clientName":"","clientVersion":""}
0.1.2  client {"clientType":"mobile app","clientName":"com.example.myapp","clientVersion":"1.0"}

OS (IOS / iOS / 18) and device (smartphone / Apple / iPhone) are the same on both.

The lock diff is the utopia-php/user-agent entry only; composer.json is unchanged since it already allows 0.1.*.

Related PRs and Issues

Checklist

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → chore/user-agent-0-1-2 (after).

Metric Before After Change
🚀 Requests/sec 221.82 222.87 ⚪ +0.5%
⏱️ Latency P50 78.72 ms 78.45 ms ⚪ -0.3%
⏱️ Latency P95 186.77 ms 186.93 ms ⚪ +0.1%
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 78.45 186.93 13,908 222.87 +0.16
Account 149.59 274.71 732 12.14 -13.31
TablesDB 75.77 145.64 7,564 122.96 +5.37
Storage 71.27 159.36 3,660 61.67 -6.61
Functions 113.65 223.22 1,952 33.55 -8.76

Top API waits (after)

API request Max wait (ms)
account.name.update 432.53
functions.variables.get 405.58
functions.variables.update 374.13
functions.create 370.96
account.prefs.update 343.83

@HarshMN2345
HarshMN2345 merged commit 12c6a2f into main Sep 17, 2026
48 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: Email OTP Login Misclassifies Flutter App as Mobile Browser

2 participants