From decf7e2dc4aefcc6b56215c0739b6c06c97a4e6c Mon Sep 17 00:00:00 2001 From: Loren Posen Date: Thu, 10 Apr 2025 16:37:04 -0700 Subject: [PATCH 1/4] chore: update CHANGELOG for 2.0.0-beta.1 release with new features and fixes --- CHANGELOG.md | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 743d251a..dac6ebb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,18 @@ +## 2.0.0-beta.1 + +- Added disclaimer to README to alert users that we do not yet support React + Native New Architecture [`#630`](https://github.com/Iterable/react-native-sdk/pull/630) +- Resolved circular dependencies which were making the SDK incompatible with Expo [`#629`](https://github.com/Iterable/react-native-sdk/pull/629) +- Removed beta disclaimer link + [`#625`](https://github.com/Iterable/react-native-sdk/pull/625) +- Added extra troubleshooting steps to example app README +- Added safe concurrent Ruby version to Gemfile + + ## 2.0.0-beta **NOTE**: This is a beta release of the SDK. Please contact Iterable support if you have any questions or issues. -## Fixes +### Fixes - Updated React Native to [7.3.1](https://reactnative.dev/docs/0.73/getting-started). See the version [CHANGELOG](https://github.com/facebook/react-native/releases/tag/v0.73.1) for @@ -26,32 +37,32 @@ you have any questions or issues. - Made lint rules stricter ## 1.3.21 -## Fixes +### Fixes - Fixes an issue where react native components that use safe-area-context or react-navigation throw an error because the sdk's components try and use its own local node_modules instead of the consumer's project. #### Added - Added a new configuration in IterableConfig, `IterablePushPlatform`, allowing developers to manually register a device as either sandbox or production. This provides greater control over push notification environments. ## 1.3.20 -## Fixes +### Fixes - Fixes an issue where the iOS SDK incorrectly targeted the latest minor version instead of a fixed version, potentially causing breaking changes. ## 1.3.19 -## Updates +### Updates - updates to RN version 0.68.0 to address various security vulnerabilities ## 1.3.18 -## Updates +### Updates - adds user id login for sample apps - version mapping to newest native SDK versions - updates versions of various package dependencies ## 1.3.17 -## Fixed +### Fixed - Fixes a specific Android issue where apps could crash due to EncryptedSharedPreference being null. ## 1.3.16 -## Updates +### Updates This release allows you to use projects hosted on Iterable's EU data center. If your project is hosted on Iterable's [European data center (EUDC)](https://support.iterable.com/hc/articles/17572750887444), configure the SDK to use Iterable's EU-based API endpoints: @@ -67,14 +78,14 @@ Iterable.initialize('', config); - Resolves an additional push notification problem on Android wherein the customActionHandler and urlHandler were not being invoked in specific scenarios, as documented in issue #470. (Credit to @tnortman-jabra for the report and the fix) ## 1.3.15 -## Updates +### Updates - Resolves Android build issues caused in 1.3.14 - Fixes a specific Android issue where custom action handlers were not invoked when tapping on push notification when the app is in background. ## 1.3.14 > **Warning** > This version causes build failure on Android. Please use 1.3.15 which fixes this issue. -## updates +### Updates - updates `Iterable.setEmail` and `Iterable.setUserId` to take in null parameter type - fixes `Iterable.updateUser` on the Android side to merge nested objects in the user profile when `mergeNestedObjects` is set to true From 6e088b8b534cda762567974e9db9a0bbb53803d3 Mon Sep 17 00:00:00 2001 From: Loren Posen Date: Thu, 10 Apr 2025 16:42:43 -0700 Subject: [PATCH 2/4] chore: bump version to 2.0.0-beta.1 in package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bbd255b4..fb42dc80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@iterable/react-native-sdk", - "version": "2.0.0-beta", + "version": "2.0.0-beta.1", "description": "Iterable SDK for React Native.", "source": "./src/index.tsx", "main": "./lib/module/index.js", @@ -8,8 +8,8 @@ "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", - "default": "./lib/module/index.js" - }, + "default": "./lib/module/index.js" + }, "./package.json": "./package.json" }, "files": [ From 4942ce26e659de85a67ab8f88f8564fee5189a76 Mon Sep 17 00:00:00 2001 From: Loren Posen Date: Thu, 10 Apr 2025 16:43:24 -0700 Subject: [PATCH 3/4] chore: update build version to 2.0.0-beta.1 in itblBuildInfo.ts --- src/itblBuildInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itblBuildInfo.ts b/src/itblBuildInfo.ts index e3e489cd..a14a1a9c 100644 --- a/src/itblBuildInfo.ts +++ b/src/itblBuildInfo.ts @@ -3,5 +3,5 @@ * It contains the version of the package */ export const buildInfo = { - version: '2.0.0-beta', + version: '2.0.0-beta.1', }; From 2151c18ebbfb4d54242aa7e4271ce20c89a34c35 Mon Sep 17 00:00:00 2001 From: Loren Posen Date: Thu, 10 Apr 2025 16:45:49 -0700 Subject: [PATCH 4/4] docs: add link for RN SDK version 2.0.0-beta.1 in README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index deeab4ea..a0ccacae 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ For quick reference, the following table lists the versions of the [Android SDK] | RN SDK Version | Android SDK Version | iOS SDK Version | | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------- | +| [2.0.0-beta.1](https://www.npmjs.com/package/@iterable/react-native-sdk/v/2.0.0-beta.1) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4) | [2.0.0-beta](https://www.npmjs.com/package/@iterable/react-native-sdk/v/2.0.0-beta) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4) | [1.3.21](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.20) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4) | [1.3.20](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.20) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4)