chore(deps): bump the Clerk stack to current releases #11764
main fromrefs/pull/11764/head·merged by juliusmarminge View on GitHubBumps every Clerk package in the catalog to its latest stable release so mobile can use the custom profile pages added in `@clerk/expo` 4.3.0.
| Package | Before | After |
|---|---|---|
| @clerk/backend | 3.14.0 | 3.17.2 |
| @clerk/clerk-js | 6.30.1 | 6.31.1 |
| @clerk/electron | 0.0.37 | 0.0.42 |
| @clerk/expo | 4.2.0 | 4.6.6 |
| @clerk/react | 6.14.7 | 6.15.2 |
| @clerk/shared | 4.30.1 | 4.31.1 |
`@clerk/electron-passkeys` stays at 0.0.3, which is still the latest stable. The iOS host-back patch for `@clerk/expo` was renamed for the new version and applies unchanged.
Verification#
- Mobile, web, desktop, and relay typecheck cleanly.
- Web `src/components/clerk` tests and mobile `src/features/cloud` tests pass.
- No UI change, so no screenshots.
Second layer, #11765, adds the mobile T3 Connect profile page on top of this.
Claude Fable 5.1 via Claude Code in T3 Code.
Summary by CodeRabbit#
- Bug Fixes
- Improved back navigation on iOS authentication and profile screens. Back actions now return through the active navigation route when available, with a fallback behavior when no route can be closed.
- Prevented duplicate navigation attempts to provide more reliable transitions and reduce unexpected back-navigation behavior.
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
juliusmarminge changed the title
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labels📱 Native Change
Approvability#
Verdict: Not approved
Macroscope's review found this PR not approvable — This update replaces the Clerk authentication implementations used by web, desktop, mobile, and relay token verification, while applying the existing native patch to a newer Expo release. Because authentication behavior and native packaging can change across these production paths, the dependency refresh warrants human review despite the small source diff.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Team
Run ID:
50ea6ec3-c33f-434d-9bf9-ca4c51df423a📥 Commits
Reviewing files that changed from the base of the PR and between ec5ede5e6a1f2f9d564a5834462f47d1b7e5f0ec and a94161c4e378255db6feb3383a0dcbaa805b3520.
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (2)
patches/@clerk__expo@4.6.6.patchpnpm-workspace.yaml
Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review.
📝 Walkthrough
Walkthrough#
Clerk Expo auth and user-profile back actions now attempt native React Navigation route dismissal before JavaScript fallback handling. The workspace updates Clerk package versions and applies the patch to
@clerk/expo@4.6.6.Changes#
Clerk Expo navigation behavior
Layer / File(s) Summary Native back handling
patches/@clerk__expo@4.6.6.patchClerkNativeViewHosttraverses responder-linked view controllers and pops an enclosing navigation route when possible. Auth and user-profile views call this logic beforeonHostBack.Package version and patch wiring
pnpm-workspace.yamlThe workspace updates Clerk catalog versions, matching release-age exclusions, and the patched dependency target from @clerk/expo@4.2.0to@clerk/expo@4.6.6.Priority: ⬇️ Low
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Other
Merge Risk: ⚪ Minimal · up to
a9416The dependency and patch wiring changes have no identified merge-blocking risk.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation Title check ✅ Passed The title clearly and concisely describes the primary change: updating the Clerk dependency stack. Description check ✅ Passed The description explains what changed, why it changed, package versions, verification results, and that no UI changes are included. It does not reproduce the template headings or checklist, but the re… Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request. ✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch `clerk/deps`
Comment `@coderabbitai help` to get the list of available commands.juliusmarminge merged thisbcc2024
juliusmarminge closed this
Sign in to join this conversation.
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline:
ec5ede5· PR result:a94161c· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.