From c8786d250fad0a335b0eb2e4e82127373f7542bb Mon Sep 17 00:00:00 2001 From: Kieran Osgood Date: Thu, 16 Apr 2026 14:45:06 +0100 Subject: [PATCH 1/3] feat!: bump to v4.0.0 for New Architecture clean break BREAKING CHANGE: This library now requires React Native New Architecture. Consumers must have newArchEnabled=true (Android) and new_arch_enabled: true (iOS Podfile). Old architecture is no longer supported. - Bump version to 4.0.0 - Update test mocks to use TurboModuleRegistry instead of NativeModules Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/@shopify/checkout-sheet-kit/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@shopify/checkout-sheet-kit/package.json b/modules/@shopify/checkout-sheet-kit/package.json index 522d60d2..c1347ba8 100644 --- a/modules/@shopify/checkout-sheet-kit/package.json +++ b/modules/@shopify/checkout-sheet-kit/package.json @@ -1,7 +1,7 @@ { "name": "@shopify/checkout-sheet-kit", "license": "MIT", - "version": "3.8.0", + "version": "4.0.0", "main": "lib/commonjs/index.js", "types": "src/index.ts", "source": "src/index.ts", From 6a02a9997fe0f4b253659ef19bc26141d5fe3f8b Mon Sep 17 00:00:00 2001 From: Kieran Osgood Date: Thu, 16 Apr 2026 17:26:20 +0100 Subject: [PATCH 2/3] docs: document New Architecture requirement for v4 Add a Version Compatibility table so consumers can see at a glance which package line targets which React Native architecture, and include setup steps for enabling the New Architecture on both platforms. Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b09bc76b..afcd2440 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ which enables developers to delivery best-in-class iOS and Android commerce experiences. - [Platform Requirements](#platform-requirements) +- [Version Compatibility](#version-compatibility) - [Getting Started](#getting-started) - [1. Installation](#1-installation) - [2. Minimum Android requirements](#2-minimum-android-requirements) @@ -64,10 +65,24 @@ experiences. ## Platform Requirements -- **React Native** - Minimum version `0.70` +- **React Native** - Minimum version `0.76` (v4+) / `0.70` (v3 and earlier) - **iOS** - Minimum version iOS 13 - **Android** - Minimum Java 11 & Android SDK version `23` +## Version Compatibility + +Starting with **v4.0.0**, `@shopify/checkout-sheet-kit` requires the React Native +**New Architecture** (TurboModules + Fabric). Apps on the old architecture must +stay on the `v3.x` line until they migrate. + +| Package version | React Native | Architecture | +| --------------- | -------------- | ------------------ | +| `4.x` | `>= 0.76` | New Architecture | +| `3.x` | `>= 0.70` | Old Architecture | + +See the [React Native upgrade guide](https://reactnative.dev/docs/the-new-architecture/use-the-new-architecture) +for help enabling the New Architecture in your app. + ## Getting Started Shopify Checkout Kit is an open-source NPM package. From 98c974aeaf4d1285ab725197398a30a585173d8c Mon Sep 17 00:00:00 2001 From: Kieran Osgood Date: Fri, 17 Apr 2026 10:29:18 +0100 Subject: [PATCH 3/3] chore: regenerate Podfile.lock for v4.0.0 Co-Authored-By: Claude Opus 4.6 (1M context) --- dev.yml | 2 +- sample/ios/Podfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev.yml b/dev.yml index fdd13738..1abbf7d5 100644 --- a/dev.yml +++ b/dev.yml @@ -10,7 +10,7 @@ up: - sccache - ruby - xcode: - version: "26.2" + version: '26.2' runtimes: ios: - version: 23C54 # 26.2 diff --git a/sample/ios/Podfile.lock b/sample/ios/Podfile.lock index e730f3a9..07faf199 100644 --- a/sample/ios/Podfile.lock +++ b/sample/ios/Podfile.lock @@ -2578,7 +2578,7 @@ PODS: - ReactCommon/turbomodule/core - SocketRocket - Yoga - - RNShopifyCheckoutSheetKit (3.8.0): + - RNShopifyCheckoutSheetKit (4.0.0): - boost - DoubleConversion - fast_float @@ -2996,7 +2996,7 @@ SPEC CHECKSUMS: RNGestureHandler: eeb622199ef1fb3a076243131095df1c797072f0 RNReanimated: 237d420b7bb4378ef1dacc7d7a5c674fddb4b5d2 RNScreens: 3fc29af06302e1f1c18a7829fe57cbc2c0259912 - RNShopifyCheckoutSheetKit: 0da44f403a7176465fd25aa58c6fe9edfc95353b + RNShopifyCheckoutSheetKit: 2a8c97d7780466538843d4cb1368c7ed76a33689 RNVectorIcons: be4d047a76ad307ffe54732208fb0498fcb8477f ShopifyCheckoutSheetKit: 5253ca4da4c4f31069286509693930d02b4150d8 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748