Repository navigation
chore(expo): clean up the native sync bridge API - #11050
wobsoriano wants to merge 2 commits into
Conversation
…used sync engine exports
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
🦋 Changeset detectedLatest commit: 76546dc The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
… bump the bridge version to 2
|
API Changes Report
Summary
@clerk/expoCurrent version: 4.17.8 Subpath
|
swolfand
left a comment
There was a problem hiding this comment.
LGTM. Verified no remaining references to configureNative, __experimental_disableNativeClientSync, or pullFromNative, bridge version 2 matches across JS/iOS/Android, and nativeContract.test.ts still validates current specs against current native modules while skipping pre-v2 tags.


Description
Settles the native sync bridge API before
@clerk/expo-native-components1.0.__experimental_disableNativeClientSyncprop fromClerkProvider. Native client sync only runs when@clerk/expo-native-componentsis installed, so apps without native components never needed it, and apps with them would break their components by turning sync off.idle()andpullFromNative()exports from the sync engine, and the engine handle that only they used.configureNativemethod toconfigureand bumps the native bridge version to 2. A native build from an older@clerk/expo-native-componentsnow gets the version mismatch error from fix(expo): show a clear error when the native build doesn't match @clerk/expo #11011 instead of a failed configure, and the@clerk/expo-native-componentspeer range moves to>=0.5.0.The native contract test now skips shipped releases whose bridge version differs from the one
@clerk/expoexpects, since the loader refuses them. Without that, it flagsconfigurebecause 0.1.0 to 0.3.0 shipped a legacyconfigurewith a different signature. Those builds have no bridge version, so JS never calls it.Fixes MOBILE-730
🤖 Generated with Claude under Rob's supervision.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change