Skip to content

chore(expo): deprecate useLocalCredentials - #10104

Merged
wobsoriano merged 3 commits into
mainfrom
rob/deprecate-use-local-credentials
Oct 7, 2026
Merged

wobsoriano merged 3 commits into
mainfrom
rob/deprecate-use-local-credentials

Conversation

@wobsoriano

@wobsoriano wobsoriano commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Description

Deprecates useLocalCredentials() with a development warning and a @deprecated tag. Both point to expo-secure-store, which the hook wraps. Docs are updated in clerk/clerk#3540.

Resolves MOBILE-662

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other: deprecation

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Oct 7, 2026 2:24am UTC
swingset Ready Ready Preview Oct 7, 2026 2:24am UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b05442f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/expo Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 134ad0d0-65b5-4a7e-8adc-e07d46496f6a
📥 Commits

Reviewing files that changed from the base of the PR and between 0a939b3 and b05442f.

📒 Files selected for processing (3)
  • .changeset/expo-deprecate-use-local-credentials.md
  • packages/expo/src/local-credentials/useLocalCredentials/useLocalCredentials.ts
  • packages/expo/src/local-credentials/useLocalCredentials/useLocalCredentials.web.ts
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 9 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.


📝 Walkthrough

Walkthrough

The native and web implementations of useLocalCredentials now emit deprecation guidance. The hook documentation and guidance direct users to store credentials with expo-secure-store and sign in with the stored identifier and password. A changeset announces the deprecation and planned removal in the next major version.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Merge Risk: ⚪ Minimal · up to b0544

The change directs users to the suggested secure-store flow and announces the planned removal; no merge-blocking risk is identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: deprecating useLocalCredentials in @clerk/expo.
Description check ✅ Passed The description explains the deprecation, the warning and tag, and the recommended expo-secure-store alternative. It is directly related to the changeset.
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 2…
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.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10104

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10104

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10104

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10104

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10104

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10104

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10104

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10104

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10104

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10104

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10104

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10104

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10104

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10104

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10104

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10104

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10104

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10104

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10104

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10104

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10104

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10104

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10104

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10104

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10104

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10104

commit: b05442f

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

API Changes Report

Generated by Break Check on 2026-10-07T02:25:02.422Z

Summary

Metric Count
Packages analyzed 19
Packages with changes 0
🔴 Breaking changes 0
🟡 Non-breaking changes 0
🟢 Additions 0

No API Changes Detected

All packages have stable APIs with no detected changes.


Report generated by Break Check

Last ran on b05442f.

@wobsoriano
wobsoriano merged commit dacc149 into main Oct 7, 2026
59 checks passed
@wobsoriano
wobsoriano deleted the rob/deprecate-use-local-credentials branch October 7, 2026 03:19

This branch was successfully deployed

2 active deployments
Preview – swingset — b05442fb Deployed Oct 7, 2026 by vercel[bot]
Preview – clerk-js-sandbox — b05442fb Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants