- fix: Do not crash if androidx.core isn't available on Android #1981
- fix: App start measurement on Android #1985
- Bump: Sentry Android to 5.5.2 #1985
- Deprecate initialScope in favor of configureScope #1963
- Bump: Sentry Android to 5.5.1 and Sentry Cocoa to 7.7.0 #1965
- replace usage of master to main (30b44232) by @marandaneto
- fix: ReactNavigationV4Instrumentation null when evaluating 'state.routes' #1940
- fix: ConcurrentModification exception for frameMetricsAggregator #1939
- feat(android): Support monorepo in gradle plugin #1917
- fix: Remove dependency on promiseRejectionTrackingOptions #1928
- fix: Fix dynamic require for promise options bypassing try catch block and crashing apps #1923
- fix: Warn when promise rejections won't be caught #1886
- Bump: Sentry Android to 5.4.3 and Sentry Cocoa to 7.5.4 #1920
- fix(ios): tracesSampler becomes NSNull in iOS and the app cannot be started (#1872) by @marandaneto
- Bump Sentry Android SDK to 5.3.0 #1860
- feat(ios): Missing config
enableOutOfMemoryTrackingon iOS/Mac (#1858) by @marandaneto
-
feat: Routing instrumentation will emit breadcrumbs on route change and set route tag #1837
-
Bump Sentry Android SDK to 5.2.4 (#1844)
-
Bump Sentry Cocoa SDK to 7.4.8 (#1856)
- fix: Type React Native Navigation instrumentation constructor argument as unknown to avoid typescript errors #1817
- feat: Routing instrumentation for React Native Navigation #1774
- Feat: Allow custom release for source map upload scripts #1548
- ref: Remove v5 prefix from react navigation instrumentation to support v6 #1768
- Fix: Set Java 8 for source and target compatibility if not using AGP >= 4.2.x (#1763)
- Bump: Android tooling API 30 (#1761)
- fix: Add sentry-cli as a dependency #1755
- feat: Align
event.origin,event.environmentwith other hybrid sdks #1749 - feat: Add native sdk package info onto events #1749
- build(js): Bump sentry-javascript dependencies to 6.12.0 #1750
- fix: Fix native frames not being added to transactions #1752
- build(android): Bump sentry-android to 5.1.2 #1753
- build(ios): Bump sentry-cocoa to 7.2.6 #1753
- fix: Move @sentry/wizard dependency to devDependencies #1751
- feat: Add
wrapwrapper method with profiler and touch event boundary #1728 - feat: App-start measurements, if using the
wrapwrapper, will now finish on the root component mount #1728
- feat: Native slow/frozen frames measurements #1711
- build(ios): Bump sentry-cocoa to 7.2.0-beta.9 #1704
- build(android): Bump sentry-android to 5.1.0-beta.9 #1704
- feat: Add app start measurements to the first transaction #1704
- feat: Create an initial initial ui.load transaction by default #1704
- feat: Add
enableAutoPerformanceTrackingflag that enables auto performance when tracing is enabled #1704
- feat: Track stalls in the JavaScript event loop as measurements #1542
- fix: Fix the error handler (error dialog) not called in dev #1712
- build(ios): Bump sentry-cocoa to 7.1.4 #1700
- feat: Support the
sendDefaultPiioption. #1634 - build(android): Bump sentry-android to 5.1.0-beta.2 #1645
- fix: Fix transactions on Android having clock drift and missing span data #1645
- fix: Fix
Sentry.close()not correctly resolving the promise on iOS. #1617 - build(js): Bump sentry-javascript dependencies to 6.7.1 #1618
- fix: Fatal uncaught events should be tagged handled:false #1597
- fix: Fix duplicate breadcrumbs on Android #1598
- build(js): Bump sentry-javascript dependencies to 6.5.1 #1588
- build(ios): Bump sentry-cocoa to 7.0.0 and remove setLogLevel #1459
- build(android): Bump sentry-android to 5.0.1 #1576
- feat:
Sentry.flush()to flush events to disk and returns a promise #1547 - feat:
Sentry.close()method to fully disable the SDK on all layers and returns a promise #1457
- fix: Process "log" levels in breadcrumbs before sending to native #1565
- build(ios): Bump sentry-cocoa to 7.0.0 and remove setLogLevel #1459
- feat: Close method to fully disable the SDK on all layers #1457
- build(android): Bump Android SDK to 5.0.0-beta.1 #1476
- fix: Use the latest outbox path from hub options instead of private options #1529
- fix: enableNative: false should take precedence over autoInitializeNativeSdk: false #1462
- fix: Type navigation container ref arguments as any to avoid TypeScript errors #1453
- fix: Don't call
NATIVE.fetchReleaseif release and dist already exists on the event #1388 - feat: Add onReady callback that gets called after Native SDK init is called #1406
- feat: Re-export Profiler and useProfiler from @sentry/react #1372
- fix(performance): Handle edge cases in React Navigation routing instrumentation. #1365
- build(android): Bump sentry-android to 4.3.0 #1373
- build(devtools): Bump @sentry/wizard to 1.2.2 #1383
- build(js): Bump sentry-javascript dependencies to 6.2.1 #1384
- feat(performance): Option to set route change timeout in routing instrumentation #1370
- fix: Fix unhandled promise rejections not being tracked #1367
- build(js): Bump @sentry/* dependencies on javascript to 6.2.0 #1354
- fix: Fix react-dom dependency issue. #1354
- build(android): Bump sentry-android to 4.1.0 #1334
- Bump: sentry-android to v4.0.0 #1309
- build(ios): Bump sentry-cocoa to 6.1.4 #1308
- fix: Handle auto session tracking start on iOS #1308
- feat: Use beforeNavigate in routing instrumentation to match behavior on JS #1313
- fix: React Navigation Instrumentation starts initial transaction before navigator mount #1315
- build(ios): Bump sentry-cocoa to 6.1.3 #1293
- fix: pass maxBreadcrumbs to Android init
- feat: Allow disabling native SDK initialization but still use it #1259
- ref: Rename shouldInitializeNativeSdk to autoInitializeNativeSdk #1275
- fix: Fix parseErrorStack that only takes string in DebugSymbolicator event processor #1274
- fix: Only set "event" type in envelope item and not the payload #1271
- build: Bump JS dependencies to 5.30.0 #1282
- fix: Add fallback envelope item type to iOS. #1283
- feat: Auto performance tracing with XHR/fetch, and routing instrumentation #1230
- build(android): Bump
sentry-androidto 3.2.1 #1296
- feat: Include @sentry/tracing and expose startTransaction #1167
- feat: A better sample app to showcase the SDK and especially tracing #1168
- build(js): Bump @sentry/javascript dependencies to 5.28.0. #1228
- build(android): Bump
sentry-androidto 3.2.0 #1208
- build(ios): Bump
sentry-cocoato 6.0.9 #1200
- build(ios): Bump
sentry-cocoato 6.0.8. #1188 - fix(ios): Remove private imports and call
storeEnvelopeon the client. #1188 - fix(ios): Lock specific version in podspec. #1188
- build(android): Bump
sentry-androidto 3.1.3. #1177 - build(deps): Bump @sentry/javascript deps to version-locked 5.27.4 #1199
- build(android): Changes android package name from
io.sentry.RNSentryPackagetoio.sentry.react.RNSentryPackage(Breaking). #1131 - fix: As auto session tracking is now on by default, allow user to pass
falseto disable it. #1131 - build: Bump
sentry-androidto 3.1.0. #1131 - build: Bump
sentry-cocoato 6.0.3. #1131 - feat(ios): Use
captureEnvelopeon iOS/Mac. #1131 - feat: Support envelopes with type other than
event. #1131 - feat(android): Add enableNdkScopeSync property to ReactNativeOptions. #1131
- feat(android): Pass attachStacktrace option property down to android SDK. #1131
- build(js): Bump @sentry/javascript dependencies to 5.27.1. #1156
- fix: Only show the "Native Sentry SDK is disabled" warning when
enableNativeis false andenableNativeNaggeris true. #1084 - build: Bump @sentry/javascript dependencies to 5.25.0. #1118
- build: Bump @sentry/javascript dependencies to 5.24.2 #1091
- fix: Add a check that
performanceexists before using it. #1091
- build: Bump @sentry/javascript dependencies to 5.24.1 #1088
- fix: Fix timestamp offset issues due to issues with
performance.now()introduced in React Native 0.63. #1088
- feat: Support MacOS #1068
- build: Bump @sentry/javascript dependencies to 5.23.0 #1079
- fix: Only call native deviceContexts on iOS #1061
- fix: Don't send over Log and Critical levels over native bridge #1063
- meta: Move from Travis CI to Github Actions #1019
- ref: Drop TSLint in favor of ESLint #1023
- test: Add basic end-to-end tests workflow #945
- Bump: sentry-android to v2.3.1
- build: Bump sentry-cocoa to 5.2 #1011
- fix: App Store submission for Mac apps getsentry/sentry-cocoa#635
- fix: Use the release and dist set in init options over native release #1009
- fix: assign default options before enableNative check #1007
- fix: Use
LogBoxinstead ofYellowBoxif possible. #989 - fix: Don't add
DeviceContextdefault integration ifenableNativeis set tofalse. #993 - fix: Don't log "Native Sentry SDK is disabled" if
enableNativeNaggeris set tofalse. #993 - feat: Migrate to
@sentry/reactfrom@sentry/browserand exposeErrorBoundary& the redux enhancer. #1005
- feat: Touch events take Regex for ignoreNames & add tests #973
- fix: Don't prefix app:/// to "native" filename as well #957
- feat: Add sdk_info to envelope header on Android. #958
- Bump
sentry-cocoa5.1.8
- feat: Log component tree with all touch events #952
- fix: Fix appending app:/// prefix to [native code] #946
- Bump
@sentry/*to^5.19.0 - Bump
sentry-cocoa5.1.6
- feat: Track touch events as breadcrumbs #939
- fix: Serialize the default user keys in setUser #926
- Bump android 2.2.0 #942
- fix(android): Fix unmapped context keys being overwritten on Android.
- fix: Fix Native Wrapper not checking enableNative setting #919
- Bump cocoa 5.1.4
- fix(ios): We only store the event in release mode #917
- Extend Scope methods to set native scope too. #902
- Bump android 2.1.6
- Bump
@sentry/*to^5.16.1 - Bump cocoa 5.1.3
- Bump android 2.1.4 #891
- Expose session timeout. #887
- Added
event.originandevent.environmenttags to determine where events originate from. #890
- Filtered out
optionskeys passed toinitthat would crash native. #885
- Remove usages of RNSentry to a native wrapper (#857)
- Bump android 2.1.3 (#858)
- Bump cocoa 5.1.0 (#870)
- Accept enableAutoSessionTracking (#870)
- Don't attach Android Threads (#866)
- Refactored startWithDsnString to be startWithOptions. (#860)
- Bump
@sentry/wizardto1.1.4
- Fixes a bug in
DebugSymbolicator
- Bump
@sentry/wizardto1.1.2
- Bump
@sentry/*to^5.15.4
- Bump
@sentry/*to^5.15.2
- Bump
@sentry/*to^5.15.1 - Fix a bug in DebugSymbolicator to fetch the correct file
- Bump to
io.sentry:sentry-android:2.0.2
- Fix sourcemap path for Android and
react-nativeversion< 0.61 - Expose Android SDK in Java
- Bump
io.sentry:sentry-android:2.0.0 - Fixes a bug on Android when sending events with wrong envelope size
- Bump
@sentry/wizardto1.1.1fixing iOS release identifiers - console.warn und unhandled rejections in DEV
- Bump
io.sentry:sentry-android:2.0.0-rc04 - Added support for Hermes runtime!!
- Fixed a lot of issues on Android
- NDK support
- fix(android): Crash if stacktrace.frames is empty (#742)
- Bump
io.sentry:sentry-android:1.7.29
- Bump
@sentry/*to^5.10.0 - Allow overriding sentry.properties location (#722)
- Bump
@sentry/*to^5.9.0 - fix(android): Feedback not working (#706)
- fix(types): Fix type mismatch when copying breadcrumb
type(#693)
- Fixed an issue where breadcrumbs failed to be copied correctly
- Fix missing
type, miscaststatus_codeentries in Android breadcrumbs
- Store
environment,release&diston native iOS and Android clients in case of an native crash
- Fix error message to guide towards correct docs page
- Convert
messagein Java to string if it's a map (#653)
- Also catch
ClassCastExceptionto support react-native versions < 0.60 (#651)
- Expose
BrowserIntegrationsto change browser integrations (#639)
- Fixes
breadcrumb.datacast if it's not a hashmap (#651)
- Fixed typo in
RNSentry.m(#658)
This is a new major release of the Sentry's React Native SDK rewritten in TypeScript.
This SDK is now unified with the rest of our JavaScript SDKs and published under a new name @sentry/react-native.
It uses @sentry/browser and both sentry-cocoa and sentry-android for native handling.
This release is a breaking change an code changes are necessary.
New way to import and init the SDK:
import * as Sentry from "@sentry/react-native";
Sentry.init({
dsn: "DSN",
});- Add a check for an empty stacktrace on Android (#594)
- Bump
raven-js3.27.1
- Bump
sentry-wizard0.13.0
- Bump
sentry-cocoa4.2.1 - Fix a bug where environment was correctly set
- Only upload source maps in gradle if non debug build
- Fix bump version script
- Update android build tools and gradle scripts to be compatible with latest version
- Fix support to build on windows
- Bump
sentry-cocoa4.1.3
- Fix import for ArrayList and ReadableArray on Android, Fixes #511
- Use
buildToolsVersionin build.gradle
- Add fingerprint support for iOS/Android, Fixes #407
- Add support for tvOS
- Bump
@sentry/wizard0.12.1 - Add constructor for
RNSentryPackage.java, Fixes #490
react-native-sentry >= 0.39.0requiresreact-native >= 0.56.0- [Android] Bumping of gradle deps
compileSdkVersion 26
buildToolsVersion '26.0.3'
...
targetSdkVersion 26
- [Android] Use
sentry-android1.7.5 - Bump
@sentry/wizard0.11.0 - Bump
sentry-cocoa4.1.0 - Use new SDK identifier
sentry.javascript.react-native
- Bump
@sentry/wizard0.10.2
- [Android] Use
sentry-android1.7.4
- [Android] set empty message to prevent breadcrumb exception
- [Android] Remove requirement to pass in
MainApplicationnew RNSentryPackage(MainApplication.this)
- [Android] Call event callbacks even on failure to trigger crashes when device is offline
- Revert change to podspec file
- Add support for transaction instead of culprit
- Add equalsIgnoreCase to gradle release name compare
- Bump sentry-java to 1.7.3
- Bump raven-js to 3.24.2
- Fixed #391
- Bump sentry-cocoa to 3.12.4
- Fix wizard command
- Fixed #374
- Bump sentry-cocoa to 3.12.0
- Fixes an issue where error will not be reported to Sentry.
- Fixed #354
- Fixed #353
- Fixed #347
- Fixed #346
- Fixed #342
- Add pro guard default rule @kazy1991
- Exposed crashedLastLaunch for iOS @monotkate
- Fixed #337
- Fixed #333
- Fixed #331
- Fixed #322
- Update sentry-wizard
Since we now use @sentry/wizard for linking with out new @sentry/cli package, the old
sentry-cli-bin package has been deprecated.
You have to search your codebase for sentry-cli-binary and replace it with @sentry/cli.
There are few places where we put it during the link process:
- In both
sentry.propertiesfiles inios/androidfolder - In your Xcode build scripts once in
Bundle React Native code and imagesand once inUpload Debug Symbols to Sentry
So e.g.:
The Upload Debug Symbols to Sentry build script looks like this:
export SENTRY_PROPERTIES=sentry.properties
../node_modules/sentry-cli-binary/bin/sentry-cli upload-dsym
should be changed to this:
export SENTRY_PROPERTIES=sentry.properties
../node_modules/@sentry/cli/bin/sentry-cli upload-dsym
- Bump
@sentry/wizardto0.7.3 - Bump
sentry-cocoato3.10.0 - Fixed #169
- Use https://github.com/getsentry/sentry-wizard for setup process
- Fix podspec file
- Fix gradle regex to allow number in projectname
Updated npm dependencies
Deploy and release over Probot
Refactored iOS to use shared component from sentry-cocoa. Also squashed many little bugs on iOS.
- Fixed #281
- Fixed #280
- Fixed #275
- Fixed #274
- Fixed #272
- Fixed #253
We had to rename project.ext.sentry to project.ext.sentryCli because our own proguard gradle plugin was conflicting with the name.
The docs already reflect this change.
- #257
We now use the mainThread to report errors to RNSentry. This change is necessary in order for react-native to export constants.
This change shouldn't impact anyone using react-native-sentry since most of the "heavy" load was handled by sentry-cocoa in its own background queue anyway.
- #259
- #244
Bump sentry-cocoa to 3.8.3
We decided to deactivate stack trace merging by default on iOS since it seems to unstable right now. To activate it set:
Sentry.config("___DSN___", {
deactivateStacktraceMerging: false,
});We are looking into ways making this more stable and plan to re-enable it again in the future.
- Added
setShouldSendCallback#250
- Fix a bug in gradle script that trigged the sourcemap upload twice
- Fixed #245
- Fixed #234
- Fixed getsentry#241
- Bump
sentry-cliversion to1.20.0
- Fix frame urls when only using
raven-js - Upgrade
sentry-javato1.5.3 - Upgrade
sentry-cocoato3.8.1 - Added support for
sampleRateoption
- Fixed #228 again ¯\(ツ)/¯
- Fixed #228
- Add more event properties for
setEventSentSuccessfullycallback on Android
- Fixed #158
- Add
project.ext.sentry = [
logLevel: "debug",
flavorAware: true
]should be before:
apply from: "../../node_modules/react-native-sentry/sentry.gradle"
This enables sentry-cli debug output on android builds, also adds flavor aware sentry.properties files.
- Fixing device farm tests
- Store event on release and send on next startup.
- Fixed an issue where javascript error wasn't sent everytime
- Bump
sentry-cocoato3.6.0
- Make
userIdoptional for user context - Bump
sentry-cocoato3.5.0
- Bump
sentry-javato1.5.1 - Fix linking step
- Bump
raven-jsto3.17.0
- Fixed #190
- Fix
disableNativeIntegrationproptery to use right transport
- Remove send callback when native integration isn't available.
- Removed strange submodule
- Bump
sentry-javato1.4.0 - Bump
sentry-cocoato3.4.2 - Fixed #182
- Fixed path detection of sentry-cli
- Fixed last release
- Added compatiblity for react-native
0.47.0 - Fixed #169
- Fixed #106
- Bumped
sentry-cocoato3.3.3
Also added integration tests running on AWS Device Farm.
- Fixed #124
- Updated to
sentry-cocoa3.1.2 - Fixed #156
- Fixed #166
- Fixed #161
Fixed #163
- Fixed #159
- Fixes breadcrumb tracking on android
- Improve performance for
react-native >= 0.46
- Bump
sentry-cocoaandKSCrash
- Push Podspec to
sentry-cocoa3.1.2
- Removed example project from repo
- Make sure native client is only initialized once
- Revert to
23.0.1android build tools
- Fixes #131
- Bump
raven-js3.16.1 - Fixes #136
- Allowing calls to Sentry without calling
install() - Add internal logging if
logLevel >= SentryLog.Debug - Use
sentry-cocoa3.1.2
- Fixes #67
- Fixes #116
- Fixes #51
- Fixed Android version dependency
- Overhauled internal handling of exceptions
- Updated iOS and Android native dependencies
- Fixes #105
- Added option
disableNativeIntegration
- Use sentry-cocoa
3.0.9 - Fixes #100
- Update
raven-jsto3.16.0 - Update
sentry-cocoato3.0.8 - Fixes #64
- Fixes #57
- Fix typo
- Add support on iOS for stacktrace merging and
react-native 0.45
- Fixes #92
- Fixes #95
- Fixes #91 #87 #82 #63 #54 #48
- Fixed #90
- Fixed #90
- Fixed #94
- Use
3.0.7sentry-cocoain Podspec
- Removed
RSSwizzleuseSentrySwizzleinstead
Update Podspec to use Sentry/KSCrash
- Fix
duplicate symbolRSSwizzlewhen using CocoaPods
- Use
sentry-cocoa3.0.1
- Fix getsentry#77
- Use android buildToolsVersion 23.0.1
- Fix Xcode archive to not build generic archive
- Fix Xcode archiving
- Using latest version of
sentry-cocoa
This is a big release because we switched our internal iOS client from swift to objc which drastically improve the setup experience and compatibility.
We also added support for codepush, please check the docs https://docs.sentry.io/clients/react-native/codepush/ for more information.
After updating run react-native unlink react-native-sentry and react-native link react-native-sentry again in order to setup everything correctly.
- Greatly improved the linking process. Check out our docs for more information https://docs.sentry.io/clients/react-native/
- Update to sentry 2.1.11 which fixes a critical bug regarding sending requests on iOS
- Improve link and unlink scripts
- Fixed: bad operand types for binary operator
- Put execution on iOS into a background thread
- Add parameter checks on android
- Bump sentry version to 2.1.10 to fix releases
- Updated podspec thx @alloy
- Added command to package json to inject MainApplication.java into RNSentryPackage
- Added native android support
- raven-js is always used we use the native clients for sending events and add more context to them
- Bump KSCrash and Sentry version
Use raven-js internally instead switching between native and raven-js.
Native client will be used when available.
Alot of API changes to more like raven-js
- Fix import for
#if __has_include(<React/RNSentry.h>)
#import <React/RNSentry.h> // This is used for versions of react >= 0.40
#else
#import "RNSentry.h" // This is used for versions of react < 0.40
#endif- Prefix filepath with
app://if RavenClient is used
- Fix
npm test - Added
forceRavenClientoption which forces to use RavenClient instead of the NativeClient
- Added support for installation with cocoapods see https://docs.sentry.io/clients/react-native/#setup-with-cocoapods
- Lowered minimum version requirement for
react-nativeto0.38.0
- Added
ignoreModulesExcludeto exclude modules that are ignored by default for stacktrace merging - Added
ignoreModulesIncludeto add additional modules that should be ignored for stacktrace merging