Releases: Instabug/Instabug-React-Native
Releases · Instabug/Instabug-React-Native
Release v11.14.0
Added
- Add support for automatic capturing of unhandled Promise rejection crashes (#1014).
- Add new strings (
StringKey.discardAlertStay
andStringKey.discardAlertDiscard
) for overriding the discard alert buttons for consistency between iOS and Android (#1001). - Add a new string (
StringKey.reproStepsListItemNumberingTitle
) for overriding the repro steps list item (screen) title for consistency between iOS and Android (#1002). - Add support for RN version 0.73 by updating the
build.gradle
file with thenamespace
(#1004) - Add native-side init API which can be used to catch and report startup crashes on android. (#1012)
- Add the new repro steps configuration API
Instabug.setReproStepsConfig
(#1024).
Changed
- Bump Instabug iOS SDK to v11.14.0 (#1020). See release notes.
- Bump Instabug Android SDK to v11.14.0 (#1019). See release notes.
Deprecated
- Deprecate the old
StringKey.discardAlertCancel
andStringKey.discardAlertAction
string keys for overriding the discard alert buttons as they had incosistent behavior between iOS and Android (#1001). - Deprecate the old
StringKey.reproStepsListItemNumberingTitle
string key for overriding the repro steps list item (screen) title as it had incosistent behavior between iOS and Android (#1002). - Deprecate
Instabug.setReproStepsMode
in favor of the newInstabug.setReproStepsConfig
(#1024). - Deprecate the old
StringKey.invalidCommentMessage
andStringKey.invalidCommentTitle
in favor ofStringKey.insufficientContentMessage
andStringKey.insufficientContentTitle
(#1026).
Release v11.13.0
Changed
- Bump Instabug iOS SDK to v11.13.3 (#997). See release notes.
- Bump Instabug Android SDK to v11.13.0 (#996). See release notes.
Fixed
- Fix an issue with the Android sourcemaps upload Gradle task getting recreated when both
bundleReleaseJsAndAssets
andcreateBundleReleaseJsAndAssets
tasks exist in the same Android project (#991), closes #989. - Fix an issue with JaCoCo gradle plugin replacing the
enabled
method withrequired
prop to prevent gradle scripts breaking on version0.72
(#995), closes #994.
Release v11.12.0
Changed
- Bump Instabug Android SDK to v11.12.0 (#985). See release notes.
- Bump Instabug iOS SDK to v11.12.0 (#986). See release notes.
Deprecated
- Deprecate
instabugUploadEnable
gradle property to disable Android sourcemaps auto upload in favor ofINSTABUG_SOURCEMAPS_UPLOAD_DISABLE
env variable (#983).
Fixed
- Fix an issue with unhandled JavaScript crashes being reported as native Android crashes (#980).
- Fix an issue with the Android sourcemaps upload script, causing the build to fail on older versions of Gradle (#970), closes #969.
- Fix an issue with the Android sourcemaps upload script, causing the build to fail when using product flavors (#975), closes #974.
- Fix an issue with the network interceptor reverting the user's changes to
XMLHttpRequest
after disabling network logging (#984), closes #981.
Release v11.10.0
Added
- Add support for Android automatic source map file upload on Windows; this requires setting the
INSTABUG_APP_TOKEN
environment variable (#938).
Changed
- Bump Instabug Android SDK to v11.11.0 (#963). See release notes.
- Bump Instabug iOS SDK to v11.10.1 (#964). See release notes.
- Return a
Promise
from the below APIs (#948):Instabug.getTags
Instabug.getUserAttribute
Instabug.getAllUserAttributes
Replies.hasChats
Replies.getUnreadRepliesCount
Surveys.getAvailableSurveys
Surveys.hasRespondedToSurvey
You should not pass it a callback but use the returnedPromise
as follows:
const tags = await Instabug.getTags();
- Improve release variant's build time on Android, by using the react-native-generated source map file, instead of generating it within our scripts (#938).
- Improve debug variant's build time on iOS, by disabling automatic source map file uploads (#942).
Deprecated
- Deprecate the callback parameter in the aforementioned methods (#948).
Release v11.9.1
Release v11.9.0
- 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:Instabug.init({ token: '<APP_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 for more info.
- Deprecates all module-enums (e.g.
Instabug.invocationEvent
) in favour of standalone-enums (e.g.InvocationEvent
). See #914 for more info and the detailed list of Enums. - Deprecates
Instabug.start
in favour ofInstabug.init
. - Deprecates
Instabug.setDebugEnabled
,Instabug.setSdkDebugLogsLevel
, andAPM.setLogLevel
in favour ofdebugLogsLevel
property ofInstabug.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 ofimplementation
.
Release v11.6.0
- Bumps Instabug Android SDK to 11.7.0.
- Bumps Instabug iOS SDK to 11.6.0.
- Adds new string keys:
insufficientContentMessage
andinsufficientContentTitle
. - Adds missing mapping for some existing keys if relevant to the other platform.
- Removes the string key:
video
- Deprecates the legacy API
callPrivateApi
Release v11.5.1
- Deprecates
CrashReporting.reportJSException
in favour of the new strongly-typedCrashReporting.reportError
. - Fixes
Survey
interface export causing a build error with certain babel versions.
Release v11.5.0
- Bumps Instabug Android SDK to 11.6.0.
- Bumps Instabug iOS SDK to 11.5.0.
- Adds first-class TypeScript support.
- Adds Romanian locale support.
- Adds
BugReporting.setDisclaimerText
API. - Adds
BugReporting.setCommentMinimumCharacterCount
API - Deprecates
Instabug.enable
andInstabug.disable
APIs in favour of a new APIInstabug.setEnabled
, which works on both platforms. - Fixes a compilation error on Android projects without
buildToolsVersion
property set. - Fixes an issue with Hermes source maps generation script on
react-native
versions prior to v0.65.0.
Release v11.3.0
- Bumps Instabug Android SDK to v11.5.1
- Bumps Instabug iOS SDK to v11.3.0
- Uses Cocoapods for Instabug iOS SDK
- Fixes a compilation error on projects with Java version prior to 8.