Skip to content

Commit

Permalink
Release 3.0.0 (#94)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Add changelog entry
  • Loading branch information
markmur authored May 20, 2024
1 parent 73782fa commit 718cada
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 14 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 3.0.0 - May 20, 2024

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

- [`checkout-sheet-kit-swift@3.0.0`](https://github.com/Shopify/checkout-sheet-kit-swift/releases)
- [`checkout-sheet-kit-android@3.0.0`](https://github.com/Shopify/checkout-sheet-kit-android/releases)



## 2.0.1 - April 4, 2024

- Fixes an issue where opening `mailto` links externally causes the application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.source_files = "ios/*.{h,m,mm,swift}"

s.dependency "React-Core"
s.dependency "ShopifyCheckoutSheetKit", "~> 3.0.0-beta.5"
s.dependency "ShopifyCheckoutSheetKit", "~> 3.0.0"

if fabric_enabled
install_modules_dependencies(s)
Expand Down
6 changes: 1 addition & 5 deletions modules/@shopify/checkout-sheet-kit/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,11 @@ if (isNewArchitectureEnabled()) {
apply plugin: "com.facebook.react"
}

def getExtOrDefault(name) {
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties[name]
}

def getExtOrIntegerDefault(name) {
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties[name]).toInteger()
}

def supportsNamespace() {
static def supportsNamespace() {
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
def major = parsed[0].toInteger()
def minor = parsed[1].toInteger()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ndkVersion=23.1.7779620
buildToolsVersion = "33.0.0"

# Version of Shopify Checkout SDK to use with React Native
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0-beta.2
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0
2 changes: 1 addition & 1 deletion modules/@shopify/checkout-sheet-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@shopify/checkout-sheet-kit",
"license": "MIT",
"version": "3.0.0-beta.1",
"version": "3.0.0",
"main": "lib/commonjs/index.js",
"types": "src/index.ts",
"source": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion sample/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ newArchEnabled=false
hermesEnabled=true

# Note: only used here for testing
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0-beta.2
SHOPIFY_CHECKOUT_SDK_VERSION=3.0.0
10 changes: 5 additions & 5 deletions sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1235,9 +1235,9 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNShopifyCheckoutSheetKit (3.0.0-beta.1):
- RNShopifyCheckoutSheetKit (3.0.0):
- React-Core
- ShopifyCheckoutSheetKit (~> 3.0.0-beta.5)
- ShopifyCheckoutSheetKit (~> 3.0.0)
- RNVectorIcons (10.0.3):
- DoubleConversion
- glog
Expand All @@ -1259,7 +1259,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- ShopifyCheckoutSheetKit (3.0.0-beta.5)
- ShopifyCheckoutSheetKit (3.0.0)
- SocketRocket (0.7.0)
- SwiftLint (0.55.1)
- Yoga (0.0.0)
Expand Down Expand Up @@ -1524,9 +1524,9 @@ SPEC CHECKSUMS:
RNGestureHandler: 9b113eb9b7a4cbe66e1dbf4d9914281863ee0703
RNReanimated: d534e0114e2c3e7011550a78ecf2d0b431435a60
RNScreens: 23dad53fc9db1da2c93e647ae33fd7ce2bd49d60
RNShopifyCheckoutSheetKit: 01e0bcb6c46f9f4d7fc65ca945f6e0898dbb07c1
RNShopifyCheckoutSheetKit: 55cca593c33c0bfb9e28cbf040c74a727207453c
RNVectorIcons: 50ea777efffdd991a22e968aa312d75da7ff46c3
ShopifyCheckoutSheetKit: f06e3030b5987aa3815501128a5f9567977267d0
ShopifyCheckoutSheetKit: a922cba4fc3de89b691dc380342ab0c05affc33e
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
SwiftLint: 3fe909719babe5537c552ee8181c0031392be933
Yoga: 348f8b538c3ed4423eb58a8e5730feec50bce372
Expand Down

0 comments on commit 718cada

Please sign in to comment.