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
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.7"
s.version = "4.0.0-alpha.8"

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.7`.
> production-ready. The current Checkout Kit for Swift alpha is `4.0.0-alpha.8`.
> 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.7`. 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.8`. 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.7")
.package(url: "https://github.com/Shopify/checkout-kit", exact: "4.0.0-alpha.8")
]
```

Expand All @@ -80,10 +80,10 @@ Then add the products you need to your app target:
### CocoaPods

```ruby
pod "ShopifyCheckoutKit", "4.0.0-alpha.7"
pod "ShopifyCheckoutKit", "4.0.0-alpha.8"

# Optional: Shop Pay and Apple Pay accelerated checkout buttons.
pod "ShopifyCheckoutKit/AcceleratedCheckouts", "4.0.0-alpha.7"
pod "ShopifyCheckoutKit/AcceleratedCheckouts", "4.0.0-alpha.8"
```

## 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.7"
package static let version = "4.0.0-alpha.8"

/// In time this will be used to track the top level package that is
/// making API calls or is the initiator of Checkout Kit.
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.7"
public let version = "4.0.0-alpha.8"

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.7 (iOS;Swift \(SwiftVersion.current!)) AcceleratedCheckouts"
"ShopifyCheckoutKit/4.0.0-alpha.8 (iOS;Swift \(SwiftVersion.current!)) AcceleratedCheckouts"
)
}

Expand All @@ -19,7 +19,7 @@ class UserAgentTests: XCTestCase {
)
XCTAssertEqual(
acceleratedCheckoutsUA,
"ShopifyCheckoutKit/4.0.0-alpha.7 (iOS;Swift \(SwiftVersion.current!)) ReactNative AcceleratedCheckouts"
"ShopifyCheckoutKit/4.0.0-alpha.8 (iOS;Swift \(SwiftVersion.current!)) ReactNative AcceleratedCheckouts"
)
}

Expand All @@ -30,14 +30,14 @@ class UserAgentTests: XCTestCase {
)
XCTAssertEqual(
acceleratedCheckoutsUA,
"ShopifyCheckoutKit/4.0.0-alpha.7 (iOS;Swift \(SwiftVersion.current!)) ReactNative/0.74.5 AcceleratedCheckouts"
"ShopifyCheckoutKit/4.0.0-alpha.8 (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.7 (iOS;Swift \(SwiftVersion.current!))"
checkoutKitUA, "ShopifyCheckoutKit/4.0.0-alpha.8 (iOS;Swift \(SwiftVersion.current!))"
)
}
}
Loading