Update dependency @sentry/react-native to v6 #7267
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.9.1
->6.6.0
Release Notes
getsentry/sentry-react-native (@sentry/react-native)
v6.6.0
Compare Source
Features
Fixes
makeDsn
fromcore
to extract the URL from DSN avoiding unimplementedURL.protocol
errors (#4395)Changes
navigation.processing
span to more expressiveNavigation dispatch to screen A mounted/navigation cancelled
(#4423)sdk.packages
for Cocoa (#4381)Internal
RNSentryTimeToDisplay
during native moduleinit
on iOS (#4443)Dependencies
v6.5.0
Compare Source
Features
Mobile Session Replay is now generally available and ready for production use (#4384)
To learn about privacy, custom masking or performance overhead visit the documentation.
Adds new
captureFeedback
and deprecates thecaptureUserFeedback
API (#4320)To learn how to attach context data to the feedback visit the documentation.
Export
Span
type from@sentry/types
(#4345)Add RN SDK package to
sdk.packages
on Android (#4380)Fixes
lastEventId
export from@sentry/core
(#4315)sentry-expo-upload-sourcemaps
(#4332)Changes
options.environment
(empty string, undefined...) default toproduction
_experiments.replaysSessionSampleRate
and_experiments.replaysOnErrorSampleRate
usereplaysSessionSampleRate
andreplaysOnErrorSampleRate
(#4384)Dependencies
v6.4.0
Compare Source
Features
Add Replay Custom Masking for iOS, Android and Web (#4224, #4265, #4272, #4314)
v6.3.0
Compare Source
Features
Add support for
.env.sentry-build-plugin
(#4281)Don't commit the file to your repository. Use it to set your Sentry Auth Token.
Add Sentry Metro Server Source Context middleware (#4287)
This enables the SDK to add source context to locally symbolicated events using the Metro Development Server.
The middleware can be disabled in
metro.config.js
using theenableSourceContextInDevelopment
option.Fixes
DebugSymbolicator
afterRewriteFrames
to avoid overwrites by default (#4285)RewriteFrames
is provided the order changesbrowserReplayIntegration
is no longer included by default on React Native Web (#4270).sentry
tmp directory and use environmental variables instead to save default Babel transformer path (#4298)Dependencies
v6.2.0
Compare Source
Features
Enables Spotlight in Android and iOS SDKs (#4211)
Add env flag
SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD
to allow disabling the debug file upload (#4223)How to use in Android project? It works by default, just set
export SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD=true
in your build environment. For Sentry Android Gradle Plugin add the following to yourandroid/app/build.gradle
.How to use in Xcode? Make sure you are using
scripts/sentry-xcode.sh
andscripts/sentry-xcode-debug-files.sh
in yourbuild phases. And add the following to your
ios/.xcode.env.local
file.export SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD=true
Fixes
maskAll*
set tofalse
on iOS kept all masked (#4257)getRootSpan
,withActiveSpan
andsuppressTracing
exports from@sentry/core
, andSeverityLevel
export from@sentry/types
(#4254, #4260)Dependencies
v6.1.0
Compare Source
Dependencies
v6.0.0
Compare Source
This is a new major version 6.0.0 of the Sentry React Native SDK.
To upgrade from the SDK version 5, please follow our migration guide.
Major Changes
React Native Tracing options were moved to the root options
New React Navigation Integration interface (#4003)
Removed
beforeNavigate
usebeforeStartSpan
instead (#3998)beforeStartSpan
is executed before the span start, compared tobeforeNavigate
which was executed before the navigation ended (after the span was created)Other Changes
Add
sentry.origin
to SDK spans to indicated if spans are created by a part of the SDK or manually (#4066)Xcode Debug Files upload completes in foreground by default (#4090)
Set
parentSpanIsAlwaysRootSpan
totrue
to make parent of network requests predictable (#4084)Remove deprecated
enableSpotlight
andspotlightSidecarUrl
(#4086)tracePropagationTargets
defaults to all targets on mobile and same origin on the web (#4083)Move
_experiments.profilesSampleRate
toprofilesSampleRate
root options object #3851)Native Frames uses
spanId
to attach frames replacingtraceId
(#4030)Removed deprecated ReactNativeTracing option
idleTimeout
useidleTimeoutMs
instead (#3998)Removed deprecated ReactNativeTracing option
maxTransactionDuration
usefinalTimeoutMs
instead (#3998)New Native Frames Integration (#3996)
New Stall Tracking Integration (#3997)
New User Interaction Tracing Integration (#3999)
New App Start Integration (#3852)
New React Native Navigation Integration interface (#4003)
Fixes
setContext
ensures only values convertible to NativeMap are passed (#4168)setExtra
ensures only stringified values are passed (#4168)setContext('key', null)
removes the key value also from platform context (#4168)Dependencies
Dependencies
v5.36.0
Compare Source
Fixes
maskAll*
set tofalse
on iOS kept all masked (#4257, #4309)browserReplayIntegration
is no longer included by default on React Native Web (#4270, #4308)Dependencies
v5.35.0
Compare Source
Fixes
setContext
ensures only values convertible to NativeMap are passed (#4168)setExtra
ensures only stringified values are passed (#4168)setContext('key', null)
removes the key value also from platform context (#4168)v5.34.0
Compare Source
Fixes
Handles error with string cause (#4163)
Use
appLaunchedInForeground
to determine invalid app start data on Android (#4146)Bump Cocoa SDK from v8.36.0 to v8.37.0 (#4156)
Bump Android SDK from v7.14.0 to v7.15.0 (#4161)
v5.33.2
Compare Source
Fixes
spanName
fromTimeToDisplayProps
(#4150)Dependencies
v5.33.1
Compare Source
Internal
This is re-release of 5.33.0 with no changes to ensure that 5.33.1 is tagged as latest release on npmjs.com
v5.33.0
Compare Source
Features
Add an option to disable native (iOS and Android) profiling for the
HermesProfiling
integration (#4094)To disable native profilers add the
hermesProfilingIntegration
.v5.32.0
Compare Source
Features
Exclude Sentry Web Replay, reducing the code in 130KB. (#4006)
includeWebReplay
totrue
in your metro config as shown in the snippet:Changes
new ReactNativeTracing
toreactNativeTracingIntegration()
new ReactNavigationInstrumentation
toreactNativeTracingIntegration()
.new ReactNativeNavigationInstrumentation
toreactNativeTracingIntegration()
.ReactNavigationV4Instrumentation
won't be supported in the next major SDK version, upgrade toreact-navigation@5
or newer.RoutingInstrumentation
andRoutingInstrumentationInstance
replace byIntegration
interface from@sentry/types
.enableAppStartTracking
,enableNativeFramesTracking
,enableStallTracking
,enableUserInteractionTracing
moved toSentry.init({})
root options.Dependencies
v5.31.1
Compare Source
Fixes
Dependencies
v5.31.0
Compare Source
Features
Sentry.crashedLastRun()
(#4014)Fixes
install_modules_dependencies
for React iOS dependencies (#4040)Replay.maskAllText
masksRCTParagraphComponentView
(#4048)Dependencies
v5.30.0
Compare Source
Features
spotlight
option (#4023)enableSpotlight
andspotlightSidecarUrl
Dependencies
v5.29.0
Compare Source
Features
TimeToInitialDisplay
andTimeToFullDisplay
start the time to display spans on mount (#4020)Fixes
Sentry.addBreadcrumb({ data: [] })
(#4021)data
type is plain JS object, otherwise the data might be lost.requireNativeComponent
missing inreact-native-web
(#3958)Dependencies
v5.28.0
Compare Source
Fixes
[email protected]
newsourceMapString
export (#4004)Sentry.captureMessage
stack trace is inevent.exception
(moved fromevent.threads
) (#3635, #3988)useThreadsForMessageStack
optionDependencies
v5.27.0
Compare Source
Fixes
sampleRate
option to the Android SDK (#3979)Platform.constants.reactNativeVersion
instead ofreact-native
internal export (#3949)Dependencies
v5.26.0
Compare Source
Features
Session Replay Public Beta (#3830)
To enable Replay use the
replaysSessionSampleRate
orreplaysOnErrorSampleRate
options.To add React Component Names use
annotateReactComponents
inmetro.config.js
.To change default redaction behavior add the
mobileReplayIntegration
.To learn more visit Sentry's Mobile Session Replay documentation page.
Dependencies
v5.25.0
Compare Source
Features
currentScreen
on native scope (#3927)Fixes
error.cause
chain is locally symbolicated in development builds (#3920)sentry-expo-upload-sourcemaps
no longer requires Sentry url when uploading sourcemaps tosentry.io
(#3915)SENTRY_AUTH_TOKEN
env as fallback when token not found insentry-flavor-type.properties
. (#3917)mechanism.handled:false
should crash current session (#3900)Dependencies
v5.24.3
Compare Source
Fixes
[email protected]
newsourceMapString
export (#4004)Dependencies
v5.24.2
Compare Source
Features
Add an option to disable native (iOS and Android) profiling for the
HermesProfiling
integration (#4094)To disable native profilers add the
hermesProfilingIntegration
.v5.24.1
Compare Source
Fixes
Dependencies
v5.24.0
Compare Source
Features
Fixes
client.init()
(#3882)sentry-cli
doesn't trigger Xcodeerror:
prefix (#3887)--allow-failure
failing Xcode buildsDependencies
v5.23.1
Compare Source
Fixes
startTimeToInitialDisplaySpan
optional (#3867)v5.23.0
Compare Source
This release does not build on iOS. Please use
5.23.1
or newer.Features
Functional integrations (#3814)
Instead of installing
@sentry/integrations
and creating integrations using thenew
keyword, you can use direct imports of the functional integrations.Note that the
Sentry.BrowserIntegrations
,Sentry.Integration
and the Class style integrations will be removed in the next major version of the SDK.Fixes
rnpm
config (#3811)Dependencies
v5.22.3
Compare Source
Fixes
RNSentryOnDrawReporterView
on iOS (#3832)Dependencies
v5.22.2
Compare Source
Fixes
tunnel
from SDK Options (#3787)Dependencies
v5.22.1
Compare Source
Dependencies
v5.22.0
Compare Source
Features
@sentry/core
(#11519)sentry-cocoa
andsentry-android
Dependencies
v5.21.0
Compare Source
Features
getDefaultConfig
option togetSentryExpoConfig
(#3690)beforeScreenshot
option toReactNativeOptions
(#3715)Fixes
expo-router
static routes generation (#3730).end()
span API (#3737)Dependencies
v5.20.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.