diff --git a/README.md b/README.md index 7257d5b7a..2ee868590 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ This repository contains the Checkout Kit implementations, samples, and protocol | Package | Checkout Kit release | Install channel | Status | Description | README | | --- | --- | --- | --- | --- | --- | -| `ShopifyCheckoutKit` | `4.0.0-alpha.4` | Swift Package Manager, CocoaPods | Alpha | iOS checkout presentation SDK. | [Swift](platforms/swift/README.md) | -| `ShopifyAcceleratedCheckouts` | `4.0.0-alpha.4` | Swift Package Manager, CocoaPods subspec | Alpha | SwiftUI Shop Pay and Apple Pay accelerated checkout buttons for iOS 16+. | [Swift](platforms/swift/README.md#accelerated-checkouts) | +| `ShopifyCheckoutKit` | `4.0.0-alpha.5` | Swift Package Manager, CocoaPods | Alpha | iOS checkout presentation SDK. | [Swift](platforms/swift/README.md) | +| `ShopifyAcceleratedCheckouts` | `4.0.0-alpha.5` | Swift Package Manager, CocoaPods subspec | Alpha | SwiftUI Shop Pay and Apple Pay accelerated checkout buttons for iOS 16+. | [Swift](platforms/swift/README.md#accelerated-checkouts) | | `com.shopify:checkout-kit` | `4.0.0-alpha.4` | Maven Central | Alpha | Android checkout presentation SDK. | [Android](platforms/android/README.md) | | `@shopify/checkout-kit-react-native` | `4.0.0-alpha.3` | npm `next` dist-tag | Alpha | React Native wrapper for the iOS and Android native SDKs. | [React Native](platforms/react-native/README.md) | | `@shopify/checkout-kit` | `4.0.0-alpha.3` | npm `next` dist-tag | Alpha | Web component for opening Shopify checkout from a web page. | [Web](platforms/web/README.md) | @@ -81,7 +81,7 @@ Use the Shopify.dev guides for broader product workflows: Checkout Kit is the current home for the SDKs that were previously published as Checkout Sheet Kit. The renamed packages use a shared `4.0.0-alpha.X` version format while the new package line settles: -- Swift and Android are currently `4.0.0-alpha.4`; React Native is currently `4.0.0-alpha.3`. +- Swift is currently `4.0.0-alpha.5`; Android is currently `4.0.0-alpha.4`; React Native is currently `4.0.0-alpha.3`. - Web prereleases use the npm `next` dist-tag. - React Native requires React Native New Architecture. - Stable releases will continue on the same `4.x` package line after the alpha period. diff --git a/ShopifyCheckoutKit.podspec b/ShopifyCheckoutKit.podspec index d27980899..86de6289f 100644 --- a/ShopifyCheckoutKit.podspec +++ b/ShopifyCheckoutKit.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.version = "4.0.0-alpha.4" + s.version = "4.0.0-alpha.5" s.name = "ShopifyCheckoutKit" s.summary = "Enables Swift apps to embed the Shopify's highest converting, customizable, one-page checkout." diff --git a/platforms/swift/README.md b/platforms/swift/README.md index df173d7a3..081a6ab24 100644 --- a/platforms/swift/README.md +++ b/platforms/swift/README.md @@ -7,7 +7,7 @@ > [!WARNING] > **Alpha - early preview.** This software is an early preview and is **not** -> production-ready. The current Checkout Kit for Swift alpha is `4.0.0-alpha.4`. +> production-ready. The current Checkout Kit for Swift alpha is `4.0.0-alpha.5`. > Stability is not guaranteed, and breaking changes may occur in any release. **Checkout Kit for Swift** lets iOS apps present Shopify checkout in a native sheet while preserving store checkout customizations such as Checkout UI extensions, Shopify Functions, branding, and supported payment methods. The Swift package also includes `ShopifyAcceleratedCheckouts`, a SwiftUI library for rendering Shop Pay and Apple Pay buttons on iOS 16+. @@ -47,7 +47,7 @@ ## Install -The current Checkout Kit for Swift alpha is `4.0.0-alpha.4`. For alpha testing, use that exact version until a stable `4.x` release is available. +The current Checkout Kit for Swift alpha is `4.0.0-alpha.5`. For alpha testing, use that exact version until a stable `4.x` release is available. ### Swift Package Manager @@ -61,7 +61,7 @@ Or add it to `Package.swift`: ```swift dependencies: [ - .package(url: "https://github.com/Shopify/checkout-kit", exact: "4.0.0-alpha.4") + .package(url: "https://github.com/Shopify/checkout-kit", exact: "4.0.0-alpha.5") ] ``` @@ -81,10 +81,10 @@ Then add the products you need to your app target: ### CocoaPods ```ruby -pod "ShopifyCheckoutKit", "4.0.0-alpha.4" +pod "ShopifyCheckoutKit", "4.0.0-alpha.5" # Optional: Shop Pay and Apple Pay accelerated checkout buttons. -pod "ShopifyCheckoutKit/AcceleratedCheckouts", "4.0.0-alpha.4" +pod "ShopifyCheckoutKit/AcceleratedCheckouts", "4.0.0-alpha.5" ``` ## Get a checkout URL diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/MetaData.swift b/platforms/swift/Sources/ShopifyCheckoutKit/MetaData.swift index 0412cf495..509c78771 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/MetaData.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/MetaData.swift @@ -2,7 +2,7 @@ import Foundation package enum MetaData { /// The version of the `ShopifyCheckoutKit` library. - package static let version = "4.0.0-alpha.4" + package static let version = "4.0.0-alpha.5" /// The schema version of the CheckoutSheetProtocol. package static let schemaVersion = "8.1" diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift b/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift index c02196eff..a3eae5bfe 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift @@ -4,7 +4,7 @@ import UIKit /// The version of the `ShopifyCheckoutKit` library. -public let version = "4.0.0-alpha.4" +public let version = "4.0.0-alpha.5" private let lockedCheckoutKitConfiguration = LockedValue(Configuration()) diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/UserAgentTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/UserAgentTests.swift index 61d732233..9854e2801 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/UserAgentTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/UserAgentTests.swift @@ -8,7 +8,7 @@ class UserAgentTests: XCTestCase { ) XCTAssertEqual( acceleratedCheckoutsUA, - "ShopifyCheckoutKit/4.0.0-alpha.4 (iOS;Swift \(SwiftVersion.current!)) AcceleratedCheckouts" + "ShopifyCheckoutKit/4.0.0-alpha.5 (iOS;Swift \(SwiftVersion.current!)) AcceleratedCheckouts" ) } @@ -19,7 +19,7 @@ class UserAgentTests: XCTestCase { ) XCTAssertEqual( acceleratedCheckoutsUA, - "ShopifyCheckoutKit/4.0.0-alpha.4 (iOS;Swift \(SwiftVersion.current!)) ReactNative AcceleratedCheckouts" + "ShopifyCheckoutKit/4.0.0-alpha.5 (iOS;Swift \(SwiftVersion.current!)) ReactNative AcceleratedCheckouts" ) } @@ -30,14 +30,14 @@ class UserAgentTests: XCTestCase { ) XCTAssertEqual( acceleratedCheckoutsUA, - "ShopifyCheckoutKit/4.0.0-alpha.4 (iOS;Swift \(SwiftVersion.current!)) ReactNative/0.74.5 AcceleratedCheckouts" + "ShopifyCheckoutKit/4.0.0-alpha.5 (iOS;Swift \(SwiftVersion.current!)) ReactNative/0.74.5 AcceleratedCheckouts" ) } func test_string_withoutEntryPoint_shouldReturnBasicUserAgent() { let checkoutKitUA = UserAgent.string() XCTAssertEqual( - checkoutKitUA, "ShopifyCheckoutKit/4.0.0-alpha.4 (iOS;Swift \(SwiftVersion.current!))" + checkoutKitUA, "ShopifyCheckoutKit/4.0.0-alpha.5 (iOS;Swift \(SwiftVersion.current!))" ) } }