From 6f127bdc19dd2dde2583dc10989a62dc12bb9313 Mon Sep 17 00:00:00 2001 From: Youssef Raafat Date: Mon, 20 Feb 2023 16:07:36 +0200 Subject: [PATCH] [MOB-11949] Release v11.9.0 (#928) --- CHANGELOG.md | 32 ++++++++++++++++++++------------ android/build.gradle | 2 +- example/ios/Podfile.lock | 4 ++-- package.json | 2 +- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 429ace42b..517743724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,24 @@ -## Unreleased - -- Bumps Instabug Android SDK to v11.9.0 -- Bumps Instabug iOS SDK to v11.9.0 -- Adds monorepo support for source maps scripts +## 11.9.0 (2023-02-20) + +- Bumps Instabug Android SDK to v11.9.0. +- Bumps Instabug iOS SDK to v11.9.0. +- Adds the new `Instabug.init` API to start the SDK as follows: + ```js + Instabug.init({ + token: '', + invocationEvents: [InvocationEvent.floatingButton], + debugLogsLevel: LogLevel.verbose, + }); + ``` +- Adds monorepo support for source maps automatic upload scripts. - Adds gradle and ruby files to integrate native SDKs within exiting native apps. See [#919](https://github.com/Instabug/Instabug-React-Native/pull/919) for more info. -- Fixes global error handler not being called. -- Deprecates all module-enums (e.g. `Instabug.invocationEvent`) in favour of standalone-enums (e.g. `InvocationEvent`). See [#914](https://github.com/Instabug/Instabug-React-Native/pull/914) for more info and detailed list of Enums. -- Deprecates Instabug.start in favour of Instabug.init that takes a configuration object for SDK initialization. -- Deprecates Instabug.setDebugEnabled, Instabug.setSdkDebugLogsLevel, and APM.setLogLevel in favour of debugLogsLevel property, which can be passed to InstabugConfig while initializing the SDK using Instabug.init. -- Deprecates the enums: sdkDebugLogsLevel and logLevel in favour of a new enum LogLevel. -- Deprecates Instabug.isRunningLive API. -- Exports native Android SDK +- Deprecates all module-enums (e.g. `Instabug.invocationEvent`) in favour of standalone-enums (e.g. `InvocationEvent`). See [#914](https://github.com/Instabug/Instabug-React-Native/pull/914) for more info and the detailed list of Enums. +- Deprecates `Instabug.start` in favour of `Instabug.init`. +- Deprecates `Instabug.setDebugEnabled`, `Instabug.setSdkDebugLogsLevel`, and `APM.setLogLevel` in favour of `debugLogsLevel` property of `Instabug.init`. +- Deprecates `Instabug.isRunningLive` API. +- Fixes external global error handlers not being called after initializing Instabug. +- Fixes `BugReporting.setDidSelectPromptOptionHandler` on iOS. +- Exports native Android SDK using `api` instead of `implementation`. ## 11.6.0 (2022-12-29) diff --git a/android/build.gradle b/android/build.gradle index c3d2063cb..0d2d4fa5e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,7 +18,7 @@ android { minSdkVersion getExtOrDefault('minSdkVersion').toInteger() targetSdkVersion getExtOrDefault('targetSdkVersion').toInteger() versionCode 1 - versionName "11.6.0" + versionName "11.9.0" multiDexEnabled true ndk { abiFilters "armeabi-v7a", "x86" diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 9592b1331..1165df8d2 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -341,7 +341,7 @@ PODS: - React-jsi (= 0.66.0) - React-logger (= 0.66.0) - React-perflogger (= 0.66.0) - - RNInstabug (11.6.0): + - RNInstabug (11.9.0): - Instabug (= 11.9.0) - React-Core - RNScreens (3.17.0): @@ -553,7 +553,7 @@ SPEC CHECKSUMS: React-RCTVibration: 53b92d54b923283638cb0186da7a5c2d2b70a49b React-runtimeexecutor: 4bb657a97aa74568d9ed634c8bd478299bb8a3a6 ReactCommon: eb059748e842a1a86025ebbd4ac9d99e74492f88 - RNInstabug: 59478a0327edcc586133d7a3432de218b05fbfab + RNInstabug: d4e83885e5819e32e6d3afaad1ee45ff1b9efa6e RNScreens: 0df01424e9e0ed7827200d6ed1087ddd06c493f9 RNSVG: 551acb6562324b1d52a4e0758f7ca0ec234e278f RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8 diff --git a/package.json b/package.json index dc5248b37..df307f2df 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "instabug-reactnative", "description": "React Native plugin for integrating the Instabug SDK", - "version": "11.6.0", + "version": "11.9.0", "author": "Instabug (https://instabug.com)", "repository": "github:Instabug/Instabug-React-Native", "homepage": "https://www.instabug.com/platforms/react-native",