Releases: Shopify/checkout-sheet-kit-react-native
Releases · Shopify/checkout-sheet-kit-react-native
3.1.1
3.1.0
What's Changed
Updates
Both platforms
- New
invalidate()function to manually clear the preload cache - Prevent recovery flow for multipass URLs containing one-time tokens
- Open deep links externally
iOS
- Ignore cancelled redirects, add OS debug logging
Android
- Implement
onShowFileChooser, calling delegate - Ensure no existing parent is present before adding to container
Full Changelog: 3.0.4...3.1.0
3.0.4
What's Changed
- Bump micromatch from 4.0.5 to 4.0.8 in the npm_and_yarn group across 1 directory by @dependabot in #119
- Enable verbatimModuleSyntax and related eslint rule, fix imports by @moimael in #125
- Bump serve-static from 1.15.0 to 1.16.2 in the npm_and_yarn group across 1 directory by @dependabot in #127
New Contributors
Full Changelog: 3.0.3...3.0.4
3.0.3
3.0.2
What's Changed
- Bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot in #99
- replace relative with absolute links by @kiftio in #104
- Bump fast-xml-parser from 4.3.2 to 4.4.1 in the npm_and_yarn group by @dependabot in #107
- Upgrade Android/Swift dependencies to 3.0.3 by @markmur in #110
Full Changelog: 3.0.1...3.0.2
3.0.1
3.0.0
This version of the Checkout Sheet Kit ships with improvements to error handling. Error messages will now contain message, code and recoverable attributes.
In the event of a HTTP error, internal SDK error or mid-experience crash, the Checkout Sheet Kit will now automatically invoke a recovery mechanism in an effort to degrade gracefully.
Offering a world-class user experience is paramount, so please note that when the recovery state occurs, there are caveats to the developer experience:
- Checkout theming may fallback to the default checkout theme.
- Web pixels lifecycle events will not fire.
completedevents will contain anorderIdonly.
Updated dependencies
Also included
- Bump rexml from 3.2.6 to 3.2.8 in /sample in the bundler group across 1 directory by @dependabot in #91
- Bump tar from 6.2.0 to 6.2.1 by @dependabot in #79
- Improved error handling + graceful recovery by @markmur in #86
- React Native - 0.73.6 → 0.74.1 by @markmur in #87
Full Changelog: 2.0.1...3.0.0
3.0.0-beta.1
What's Changed
- Bump rexml from 3.2.6 to 3.2.8 in /sample in the bundler group across 1 directory by @dependabot in #91
- Bump tar from 6.2.0 to 6.2.1 by @dependabot in #79
- 3.0.0-beta.1 - Improved error handling + graceful recovery by @markmur in #86
Full Changelog: 2.0.1...3.0.0-beta.1
2.0.1
2.0.0
What's Changed
Updated dependencies
New features
- The loading spinner has been replaced by a progress bar. This will result in a faster perceived load time since the SDK will no longer wait for full page load to show the DOM content.
- The "title" of the webview is now configurable via a
Localizable.xcstringsfile on iOS, ares/values/strings.xmlon Android or using thetitleattribute on theShopifyCheckoutSheetKitconfiguration object.
Important
The title configuration attribute will affect iOS only.
ShopifyCheckoutSheetKit.setConfig({
+ title: "Localized value"
})- The
completedevent now returns details about the order, including the
order ID:
- const checkoutCompletedSubscription = shopify.addEventListener('completed', () => {
+ const checkoutCompletedSubscription = shopify.addEventListener('completed', (event: CheckoutCompletedEvent) => {
+ console.log('[CheckoutCompletedEvent]', event.orderDetails.id);
});Full Changelog: 1.0.5...2.0.0