Update dependency @sentry/react-native to v6 - autoclosed #7256
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.1.0
Release Notes
getsentry/sentry-react-native (@sentry/react-native)
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.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 by default, reducing the code in 130KB. (#4006)
includeWebReplay
totrue
in your metro config as shown in the snippet:Changes
new ReactNativeTracing
toreactNativeTracingIntegration()
new ReactNavigationInstrumentation
toreactNavigationIntegration()
.new ReactNativeNavigationInstrumentation
toreactNativeNavigationIntegration()
.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
Features
Automatic tracing of time to initial display for
react-navigation
(#3588)When enabled the instrumentation will create TTID spans and measurements.
The TTID timestamp represent moment when the
react-navigation
screenwas rendered by the native code.
Tracing of full display using manual API (#3654)
In combination with the
react-navigation
automatic instrumentation you can record whenthe application screen is fully rendered.
For more examples and manual time to initial display see the documentation.
Fixes
sentryUrl
for Expo updates source maps uploads (#3664)v5.19.3
Compare Source
Fixes
Dependencies
v5.19.2
Compare Source
Fixes
enabled: false
ensures no events are sent (#3606)TurboModuleRegistry
should not be imported in web applications (#3610)Dependencies
v5.19.1
Compare Source
Fixes
authToken
to application bundle (#3630)SENTRY_AUTH_TOKEN
env variable, as pointed out in our docs.authToken
from the plugin config if it was set.v5.19.0
Compare Source
This release contains upgrade of
sentry-android
dependency to major version 7. There are no breaking changes in the JS API. If you are using the Android API please check the migration guide.Features
Add Android profiles to React Native Profiling (#3397)
Add
Sentry.metrics
(#3590)To learn more, see the Set Up Metrics guide.
Fixes
node
not found inWITH_ENVIRONMENT
(#3573)proguardUuid
loading on Android (#3591)Dependencies
v5.18.0
Compare Source
Features
Add
@spotlightjs/spotlight
support (#3550)Download the
Spotlight
desktop application and add the integration to yourSentry.init
.Only upload Expo artifact if source map exists (#3568)
Read
.env
file insentry-expo-upload-sourcemaps
(#3571)Fixes
@sentry/react-native/expo
config when uploading artifacts (#3557)v5.17.0
Compare Source
Features
New Sentry Metro configuration function
withSentryConfig
(#3478)createSentryMetroSerializer
Add experimental visionOS support (#3467)
react-native-visionos
with the Sentry React Native SDK follow the standardiOS
guides.visionos
folder instead ofios
.Fixes
WITH_ENVIRONMENT
overwrite insentry-xcode-debug-files.sh
(#3525)$NODE_BINARY
to execute Sentry CLI in Xcode scripts (#3493)Dependencies
v5.16.0
Compare Source
This release ships with a beta version of our new built-in Expo SDK 50 support,
which replaces the deprecated
sentry-expo
package. To learn more,see the Expo guide.
Features
New
@sentry/react-native/expo
Expo config plugin (#3429)Sentry.init
inApp.js
New
getSentryExpoConfig
for simple Metro configuration (#3454, #3501, #3514)getDefaultConfig
fromexpo/metro-config
New
npx sentry-expo-upload-sourcemaps
for simple EAS Update (npx expo export
) source maps upload (#3491, #3510, #3515, #3507)Others
sentry-xcode.sh
scripts with Node modules resolution (#3450)sentry-xcode-debug-files.sh
(#3523)v5.15.2
Compare Source
Fixes
v5.15.1
Compare Source
Fixes
Dependencies
v5.15.0
Compare Source
Features
New simplified Sentry Metro Serializer export (#3450)
Fixes
Dependencies
v5.14.1
Compare Source
Fixes
use_frameworks
(#3416)v5.14.0
Compare Source
Features
Fixes
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.