Skip to content

chore: upgrade utopia-php/auth to ^0.11 - #13583

Merged
ChiragAgg5k merged 1 commit into
mainfrom
chore/upgrade-auth-0-11
Sep 9, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
chore/upgrade-auth-0-11

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Summary

Upgrade the utopia-php/auth requirement from ^0.10 to ^0.11 (installed 0.11.1).

Why it is safe

The 0.10.2..0.11.1 range is additive only. It adds the OAuth2 AuthorizationDetails reader and the AuthorizationDetail enum (utopia-php/monorepo #242, #243); no existing class changed:

docs/oauth2.md
src/Auth/Enums/AuthorizationDetail.php
src/Auth/OAuth2/AuthorizationDetails.php
tests/Auth/OAuth2/AuthorizationDetailsTest.php

So no server-ce source needs updating, and the lock change is limited to utopia-php/auth (0.10.1 → 0.11.1), regenerated with --minimal-changes.

Why now

Unblocks consumers that read a token's RFC 9396 authorization_details through the new reader — in particular the Appwrite Cloud OAuth2 access-token authorization path, which currently reimplements that grant matching inline.

Verification

  • composer update utopia-php/auth --minimal-changes: lock diff is auth-only.
  • Auth unit suite passes against 0.11.1: _APP_OPENSSL_KEY_V1=... vendor/bin/phpunit tests/unit/Auth → 85 tests, 582 assertions, OK.
  • No source changes in this PR (manifest + lock only), so lint/static analysis are unaffected.

@greptile-apps

greptile-apps Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge because the isolated dependency update introduces no identified compatibility, security, or repository-rule issue.

Summary

  • Updates the Composer requirement.
  • Refreshes only the corresponding package metadata and content hash in the lockfile.
  • Introduces no application source or implementation-coupled test changes.

Bumps the requirement from ^0.10 to ^0.11 (installed 0.11.1). The 0.10.2..0.11.1
range is additive only — it adds the OAuth2 AuthorizationDetails reader and its
AuthorizationDetail enum (utopia-php/monorepo #242, #243); no existing class
changed — so nothing in server-ce needs updating. The lock change is limited to
utopia-php/auth.

Unblocks consumers that read a token's RFC 9396 authorization_details through the
new reader, in particular the Cloud OAuth2 access-token authorization path.
@ChiragAgg5k
ChiragAgg5k force-pushed the chore/upgrade-auth-0-11 branch from 4dfcd82 to 526f201 Compare September 9, 2026 16:18
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → chore/upgrade-auth-0-11 (after).

Metric Before After Change
🚀 Requests/sec 202.22 197.73 ⚪ -2.2%
⏱️ Latency P50 85.95 ms 87.4 ms ⚪ +1.7%
⏱️ Latency P95 205.29 ms 209.55 ms ⚪ +2.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 87.4 209.55 12,540 197.73 +4.26
Account 176.31 322.59 660 11.02 -3.07
TablesDB 83.19 152.03 6,820 109.71 +1.74
Storage 82.75 169.57 3,300 54.95 +4.19
Functions 133.29 258.58 1,760 29.97 +7.21

Top API waits (after)

API request Max wait (ms)
account.name.update 583.18
account.prefs.update 466.29
functions.create 451.07
functions.variables.update 448.27
functions.delete 423.17

@ChiragAgg5k
ChiragAgg5k merged commit ba02695 into main Sep 9, 2026
87 of 88 checks passed
@ChiragAgg5k ChiragAgg5k mentioned this pull request Sep 10, 2026
2 of 4 tasks
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