Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ShopifyCheckoutKit.podspec
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
10 changes: 5 additions & 5 deletions platforms/swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+.
Expand Down Expand Up @@ -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

Expand All @@ -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")
]
```

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}

Expand All @@ -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"
)
}

Expand All @@ -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!))"
)
}
}
Loading