Repository navigation
chore(release): bump clerk-android to 1.2.0 and telemetry to 1.1.0 - #1104
Merged
Merged
Conversation
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
clerk-android-apiandclerk-android-uifrom 1.1.11 to 1.2.0, andclerk-android-telemetryfrom 1.0.6 to 1.1.0. 86 commits since v1.1.11.It's a minor bump, not a patch, because some changes affect apps (listed below). The 20 composables become internal without a deprecation cycle, as decided in #1024.
Release notes (draft)
Requires compileSdk 37 (
clerk-android-ui)clerk-android-uinow depends on androidx.lifecycle 2.11.0 (#1077). Itslifecycle-runtime-compose,lifecycle-viewmodel-composeandlifecycle-viewmodel-navigation3artifacts declareminCompileSdk=37, so apps must compile against API 37.targetSdkandminSdk(24) are unchanged.clerk-android-apionly needs compileSdk 34.Breaking changes
AuthStartView,SignInFactorOneView,SignInFactorTwoView,SignInFactorAlternativeMethodsView,SignInFactorTwoBackupCodeView,SignInClientTrustView,SignInFactorCodeView,SignInFactorOneEmailLinkView,SignInGetHelpView,SignInFactorOnePasskeyView,SignInFactorTwoPasskeyView,SignInFactorOneForgotPasswordView,SignInSetNewPasswordView,SignInFactorOnePasswordView,SignUpCodeView,SignUpCollectFieldView,SignUpCompleteProfileView,SignUpEmailLinkView,UserProfileDetailView,UserProfileVerifyView. UseAuthView/UserProfileViewinstead.AuthViewhas a new parameter (feat(ui): opt-in Restore Credentials in AuthView #1097). Code compiled against 1.1.x must be recompiled.Deprecations
ClerkLogandOrganizationApi(fix(ui): hide step composables that crash outside their host view; deprecate accidental public API #1024), and the oldSignIn/SignUpauth entry points in favour ofClerk.auth(refactor(api): deprecate the old SignIn/SignUp auth entry points #1039). They still work in 1.2.0.New
AuthView(feat(ui): opt-in Restore Credentials in AuthView #1097):AuthView(enableRestoreCredentials = true), opt-in, for Google Play's sign-in restoration requirement. It tries a silent restore on the first launch after install/restore and creates a restore key after sign-in. It needs passkeys enabled as a first factor.Clerk.authfacade covers everything the prebuilt UI needs (feat(api): fill the Clerk.auth gaps the prebuilt UI needs #1035), typedStrategy(feat(api): add typed Strategy and migrate strategy comparisons #1025), sealedOAuthResult.Outcome(feat(api): add sealed OAuthResult.Outcome and drop UI force-unwraps #1030), stable test tags on the prebuilt views (feat(ui): add stable test tags to the prebuilt Compose views #1040), framework device token compare-and-set (feat(api): add framework device token compare-and-set #964).Fixes
RedirectCoordinatorfor all redirect flows, with callback state checks against forged deep links (refactor(api): one RedirectCoordinator for all redirect flows, with callback state checks #1033). Transfer to sign-up on a bare OAuth callback (fix(sso): transfer to sign-up on a bare OAuth callback #1078). Fixes for recreated activities, cancellation and log redaction (fix(sso): finish the bridge activity when it's recreated mid-completion #1008, fix(signout): propagate cancellation and always finish local cleanup #1009, fix(sso): redact callback URI in no-pending-auth warning #1044).ClerkResultfunctions no longer throw (fix(api): stop ClerkResult functions from throwing #1031). Unknown server enum values decode toUNKNOWN(fix(api): decode unknown server enum values to UNKNOWN everywhere #1027), and 3xx responses with a body return a failure (fix(api): return a failure for 3xx responses with a body #1028).initializecaller thread (fix(api): move keystore setup and cache hydration off the initialize caller thread #1013), and the decrypted device token is cached (fix(api): cache the decrypted device token in memory #1014).deleteSelfEnabled(fix(ui): show Delete account based on the user's deleteSelfEnabled flag #1058), the email code screen is kept when email link is supported (fix(ui): keep the email code screen when email link is supported #1043), and the top bar trailing action is aligned (fix(ui): align top bar trailing action with content padding #1076).Telemetry 1.1.0
A plain Android library without Ktor (#1019). The instance type's wire name is now read correctly (#1060).
To publish after merge
Run Manual Publish (
manual-release.yml) onmainwithpublish_api,publish_uiandpublish_telemetryall checked. It waits for theverifyandverify-e2ejobs, tagsv1.2.0, and creates the GitHub release with generated notes. Paste the notes above into it.Then bump the pins in clerk/javascript#10233 to 1.2.0 and mark it ready. Expo apps will need compileSdk 37 too.
Summary by CodeRabbit