Skip to content

Releases: Shopify/checkout-sheet-kit-react-native

3.1.1

01 Nov 12:39
f0cc289

Choose a tag to compare

What's Changed

  • Log invalid data when JSON parse fails by @markmur in #136

Full Changelog: 3.1.0...3.1.1

3.1.0

25 Oct 14:15
1c47bd6

Choose a tag to compare

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

14 Oct 14:33
46595e7

Choose a tag to compare

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

09 Aug 15:28
f81b619

Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

3.0.2

07 Aug 08:35
3bf1a95

Choose a tag to compare

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

20 Jun 09:28
99bb837

Choose a tag to compare

What's Changed

  • Fixes an issue where pixel events do not fire after checkout completion. by @markmur in #98

Full Changelog: 3.0.0...3.0.1

3.0.0

20 May 13:10
718cada

Choose a tag to compare

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:

  1. Checkout theming may fallback to the default checkout theme.
  2. Web pixels lifecycle events will not fire.
  3. completed events will contain an orderId only.

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

17 May 14:22
fa4b16e

Choose a tag to compare

3.0.0-beta.1 Pre-release
Pre-release

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

04 Apr 10:20
25d4098

Choose a tag to compare

What's Changed

  • Fix issue with external links causing a crash by @markmur in #78

Full Changelog: 2.0.0...2.0.1

2.0.0

21 Mar 10:25
f4e9308

Choose a tag to compare

What's Changed

Updated dependencies

New features

  1. 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.
  2. The "title" of the webview is now configurable via a Localizable.xcstrings file on iOS, a res/values/strings.xml on Android or using the title attribute on the ShopifyCheckoutSheetKit configuration object.

Important

The title configuration attribute will affect iOS only.

ShopifyCheckoutSheetKit.setConfig({
+ title: "Localized value"
})
  1. The completed event 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