Skip to content

Commit 718cada

Browse files
authored
Release 3.0.0 (#94)
* Upgrade dependencies * Add changelog entry
1 parent 73782fa commit 718cada

File tree

7 files changed

+29
-14
lines changed

7 files changed

+29
-14
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## 3.0.0 - May 20, 2024
4+
5+
This version of the Checkout Sheet Kit ships with improvements to error handling. Error messages will now contain `message`, `code` and `recoverable` attributes.
6+
7+
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.
8+
9+
Offering a world-class user experience is paramount, so please note that when the recovery state occurs, there are caveats to the developer experience:
10+
11+
1. Checkout theming may fallback to the default checkout theme.
12+
2. **Web pixels lifecycle events will not fire.**
13+
3. `completed` events will contain an `orderId` _only_.
14+
15+
### Updated dependencies
16+
17+
- [`[email protected]`](https://github.com/Shopify/checkout-sheet-kit-swift/releases)
18+
- [`[email protected]`](https://github.com/Shopify/checkout-sheet-kit-android/releases)
19+
20+
21+
322
## 2.0.1 - April 4, 2024
423

524
- Fixes an issue where opening `mailto` links externally causes the application

modules/@shopify/checkout-sheet-kit/RNShopifyCheckoutSheetKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
2020
s.source_files = "ios/*.{h,m,mm,swift}"
2121

2222
s.dependency "React-Core"
23-
s.dependency "ShopifyCheckoutSheetKit", "~> 3.0.0-beta.5"
23+
s.dependency "ShopifyCheckoutSheetKit", "~> 3.0.0"
2424

2525
if fabric_enabled
2626
install_modules_dependencies(s)

modules/@shopify/checkout-sheet-kit/android/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@ if (isNewArchitectureEnabled()) {
1919
apply plugin: "com.facebook.react"
2020
}
2121

22-
def getExtOrDefault(name) {
23-
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties[name]
24-
}
25-
2622
def getExtOrIntegerDefault(name) {
2723
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties[name]).toInteger()
2824
}
2925

30-
def supportsNamespace() {
26+
static def supportsNamespace() {
3127
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
3228
def major = parsed[0].toInteger()
3329
def minor = parsed[1].toInteger()

modules/@shopify/checkout-sheet-kit/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ ndkVersion=23.1.7779620
55
buildToolsVersion = "33.0.0"
66

77
# Version of Shopify Checkout SDK to use with React Native
8-
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0-beta.2
8+
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0

modules/@shopify/checkout-sheet-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@shopify/checkout-sheet-kit",
33
"license": "MIT",
4-
"version": "3.0.0-beta.1",
4+
"version": "3.0.0",
55
"main": "lib/commonjs/index.js",
66
"types": "src/index.ts",
77
"source": "src/index.ts",

sample/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ newArchEnabled=false
4141
hermesEnabled=true
4242

4343
# Note: only used here for testing
44-
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0-beta.2
44+
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0

sample/ios/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,9 +1235,9 @@ PODS:
12351235
- ReactCommon/turbomodule/bridging
12361236
- ReactCommon/turbomodule/core
12371237
- Yoga
1238-
- RNShopifyCheckoutSheetKit (3.0.0-beta.1):
1238+
- RNShopifyCheckoutSheetKit (3.0.0):
12391239
- React-Core
1240-
- ShopifyCheckoutSheetKit (~> 3.0.0-beta.5)
1240+
- ShopifyCheckoutSheetKit (~> 3.0.0)
12411241
- RNVectorIcons (10.0.3):
12421242
- DoubleConversion
12431243
- glog
@@ -1259,7 +1259,7 @@ PODS:
12591259
- ReactCommon/turbomodule/bridging
12601260
- ReactCommon/turbomodule/core
12611261
- Yoga
1262-
- ShopifyCheckoutSheetKit (3.0.0-beta.5)
1262+
- ShopifyCheckoutSheetKit (3.0.0)
12631263
- SocketRocket (0.7.0)
12641264
- SwiftLint (0.55.1)
12651265
- Yoga (0.0.0)
@@ -1524,9 +1524,9 @@ SPEC CHECKSUMS:
15241524
RNGestureHandler: 9b113eb9b7a4cbe66e1dbf4d9914281863ee0703
15251525
RNReanimated: d534e0114e2c3e7011550a78ecf2d0b431435a60
15261526
RNScreens: 23dad53fc9db1da2c93e647ae33fd7ce2bd49d60
1527-
RNShopifyCheckoutSheetKit: 01e0bcb6c46f9f4d7fc65ca945f6e0898dbb07c1
1527+
RNShopifyCheckoutSheetKit: 55cca593c33c0bfb9e28cbf040c74a727207453c
15281528
RNVectorIcons: 50ea777efffdd991a22e968aa312d75da7ff46c3
1529-
ShopifyCheckoutSheetKit: f06e3030b5987aa3815501128a5f9567977267d0
1529+
ShopifyCheckoutSheetKit: a922cba4fc3de89b691dc380342ab0c05affc33e
15301530
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
15311531
SwiftLint: 3fe909719babe5537c552ee8181c0031392be933
15321532
Yoga: 348f8b538c3ed4423eb58a8e5730feec50bce372

0 commit comments

Comments
 (0)