Releases: Shopify/checkout-sheet-kit-swift
Releases · Shopify/checkout-sheet-kit-swift
0.9.0 - ShopifyCheckoutSheetKit
- Breaking Changes: The library has been rebranded from Shopify Checkout Kit to Shopify Checkout Sheet Kit. Apologies for any inconvenience caused. Here are the steps to upgrade:
- Update the imports throughout your codebase:
- import ShopifyCheckoutKit
+ import ShopifyCheckoutSheetKit
- Update the
present|preload|configure()
calls throughout your codebase:
- ShopifyCheckoutKit.present|preload|configure()
+ ShopifyCheckoutSheetKit.present|preload|configure()
- (Optional) Update your Podfile (if you're using cocoapods):
- pod "ShopifyCheckoutKit", "~> 0.8"
+ pod "ShopifyCheckoutSheetKit", "~> 0.9"
0.8.1
0.8.0
- Adds support for SwiftUI (@cianbuckley)
- CheckoutViewController is now public for SwiftUI compatibility and to support UI modification requests (@cianbuckley)
- Telemetry improvements (@cianbuckley)
- Improved documentation (@cianbuckley)
0.7.0
0.6.0
0.5.0
0.4.2
We in fact do want to invalidate cache on didCancel events. This is to prevent the following scenario:
merchant dev does not call preload, but preload is enabled by default
user of merchant app adds item to cart
user views checkout
user closes checkout to return to cart
user adds new item
user returns to cart, but preload was never called in merchant side code therefore never refreshes cached checkout
0.4.1
no longer invalidates cache on checkout close events
0.4.0
API changes in CheckoutError enum
- Remove support of httpError in favour of checkoutUnavailable and checkoutExpired.
0.3.0
- BREAKING CHANGE: Replace 'checkoutDidFail' delegate parameters. Now accepts a single 'CheckoutError' rather than a list of errors.