From 6230dc9c5cf9237b0b0906b725bea025d488f38a Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Thu, 10 Sep 2026 14:41:55 +0800 Subject: [PATCH] docs: graduate v2 to stable releases --- MIGRATION.md | 9 ++++----- README.md | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 8eb1771..0efb4c6 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -210,9 +210,8 @@ button. Browser sign-in and browser sign-out are currently available on iOS. On non-iOS platforms, use `clearCredentials()` for local credential clearing. -## Installing the beta +## Installing v2 -v2 is released through Git tags. For the first beta, use the prerelease tag -`v2.0.0-beta.1` when it is published. Swift Package Manager and Xcode can resolve -SemVer prerelease tags, but callers should select the prerelease explicitly instead -of relying on a normal version range to pick it automatically. +v2 is released through Git tags. Select `2.0.0` or a later `2.x` version when adding +the package in Swift Package Manager or Xcode. The `2.0.0-beta.x` prereleases are +superseded by the stable release. diff --git a/README.md b/README.md index dd3ddd1..df3c2f1 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ The monorepo for [Logto](https://github.com/logto-io) SDKs written in Swift. Che | Version | Branch | Status | |---|---|---| -| v2 (beta) | [`master`](https://github.com/logto-io/swift/tree/master) | In development - released as `2.0.0-beta.x` prereleases until GA | -| v1 (stable) | [`v1.x`](https://github.com/logto-io/swift/tree/v1.x) | Maintenance - bug fixes only | +| v2 (stable) | [`master`](https://github.com/logto-io/swift/tree/master) | Active development - new features and fixes | +| v1 (maintenance) | [`v1.x`](https://github.com/logto-io/swift/tree/v1.x) | Bug fixes only | v2 moves the iOS sign-in experience from an embedded WebView to `ASWebAuthenticationSession` (the system browser), unlocks WebAuthn/passkeys and shared browser sessions, removes native social plugin targets, and revamps the sign-out API. @@ -34,7 +34,7 @@ Since Xcode 11, you can [directly import a swift package](https://developer.appl https://github.com/logto-io/swift.git ``` -v2 is in beta: use `2.0.0-beta.1` for the first beta, or the latest `2.0.0-beta.x` prerelease when selecting a package version. For the stable v1 line, see [Versions](#versions). +Select `2.0.0` or a later `2.x` version when adding the package. For the v1 maintenance line, see [Versions](#versions). ### Carthage