fix(deps): update dependency @sentry/react-native to v7 - autoclosed#1187
Closed
renovate[bot] wants to merge 1 commit into
Closed
fix(deps): update dependency @sentry/react-native to v7 - autoclosed#1187renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
1e638bc to
1bef5b5
Compare
0d1748d to
b2aa0b1
Compare
230e1e5 to
68dfdbf
Compare
e7c81ed to
55a634e
Compare
2b31fb5 to
e426bbc
Compare
5377585 to
96f5f33
Compare
96f5f33 to
da8a47a
Compare
da8a47a to
aad9da8
Compare
b02b4d8 to
84737e2
Compare
937da9b to
7d0d1f2
Compare
7d0d1f2 to
0879b50
Compare
0879b50 to
710d91d
Compare
69241eb to
c71810e
Compare
4a890e9 to
590bcab
Compare
fa1add7 to
25cf5dc
Compare
25cf5dc to
94a44e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.36.0→^7.12.1Release Notes
getsentry/sentry-react-native (@sentry/react-native)
v7.12.1Compare Source
Fixes
v7.12.0Compare Source
Features
androidProfilingOptionskey is now deprecated, andprofilingOptionsshould be used insteadwrapExpoRouterutility to instrument manualprefetch()calls with performance spansenablePrefetchTrackingoption forreactNavigationIntegrationto automatically track PRELOAD actionsFixes
SENTRY_ALLOW_FAILUREenvironment variable not being respected in Xcode build scripts (#5616)Dependencies
v7.11.0Compare Source
Features
sentry-span-attributesprop to attach custom attributes to user interaction spans (#5569)Dependencies
v7.10.0Compare Source
Fixes
Dependencies
v7.9.0Compare Source
Features
includedViewClassesto only traverse specific view classes, orexcludedViewClassesto skip problematic view classes during session replay and screenshot captureFixes
replay_idfrom metrics (#5483)Dependencies
v7.8.0Compare Source
Features
getReplayId(#5449)Fixes
Object.freezetype pollution from@sentry-internal/replay(#5408)Dependencies
v7.7.0Compare Source
Features
logsOriginto Sentry Options (#5354)enableLogsistrueand defaults to 'all', preserving previous behavior.beforeErrorSamplingcallback tomobileReplayIntegration(#5393)Fixes
Dependencies
v7.6.0Compare Source
Fixes
options.enabledis set tofalse(#5334)Dependencies
v7.5.0Compare Source
Features
.drawText()or.drawBitmap()calls are replaced by rectangles, ensuring no text or images are present in the resulting outputscreenshotStrategytocanvas:Fixes
user.geofromSetUserto the native layer (#5302)Dependencies
v7.4.0Compare Source
Features
propagateTraceparent(#5277)Fixes
react-native-legal(#5253)res/folder nowDependencies
v7.3.0Compare Source
Features
Fixes
sentry-xcode.shand the default settings for theproject.pbxprojto fix the issue with escape patterns in Xcode that leaded to errors during "Bundle React Native code and images" stage (#5221)ReactNativeClient. This structure is getting re-created instead of being modified to ensure IP address is only inferred by Relay ifsendDefaultPiiistrue(#5202)SafeAreaView(#5241)Dependencies
v7.2.0Compare Source
Features
Fixes
metro/countLinesfunction to avoid issues with the private import (#5185)Dependencies
v7.1.0Compare Source
Fixes
Session Replay: Allow excluding
sentry-android-replayfrom android targets (#5174)sentry-android-replaymodule from your Android targets as follows (saves nearly 40KB compressed and 80KB uncompressed off the bundle size):Dependencies
v7.0.1Compare Source
Important Changes
This release includes a fix for a behaviour change
that was originally fixed on version 6.21.0 of the React Native SDK: User IP Addresses should only be added to Sentry events automatically,
if
sendDefaultPiiwas set totrue.To avoid making a major bump, the fix was patched on the current version and not by bumping to V8.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set
sendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
Fixes
sendDefaultPiiistrue(#5138)Dependencies
v7.0.0Compare Source
Upgrading from 6.x to 7.0
Version 7 of the Sentry React Native SDK primarily introduces API cleanup and version support changes based on the Sentry Javascript SDK versions 9 and 10. This update contains behavioral changes that will not be caught by type checkers, linters, or tests, so we recommend carefully reading through the entire migration guide instead of relying on automatic tooling.
Version 7 of the SDK is compatible with Sentry self-hosted versions 25.2.0 or higher (up from 24.4.2 for v6). Lower versions may continue to work, but may not support all features.
See our migration docs for more information.
Major Changes
Ensure IP address is only inferred by Relay if
sendDefaultPiiistrue(#5111)Set
{{auto}}ifuser.ip_addressisundefinedandsendDefaultPii: true(#4466)Sentry.captureUserFeedbackremoved, useSentry.captureFeedbackinstead (#4855)Exceptions from
captureConsoleIntegrationare now marked as handled: true by defaultshutdownTimeoutmoved fromcoreto@sentry/react-nativehasTracingEnabledwas renamed tohasSpansEnabledYou can no longer drop spans or return null on
beforeSendSpanhookTags formatting logic updated (#4965)
Here are the altered/unaltered types, make sure to update your UI filters and alerts.
Unaltered: string, null, number, and undefined values remain unchanged.
Altered: Boolean values are now capitalized: true -> True, false -> False.
Removed types
Other removed items.
autoSessionTrackingfrom options.To enable session tracking, ensure that
enableAutoSessionTrackingis enabled.enableTracing. Instead, settracesSampleRateto a value greater thanzerotoenable tracing,0to keep tracing integrations active without sampling, orundefinedto disable the performance integration.getCurrentHub(),Hub, andgetCurrentHubShim()spanIdfrom propagationcontexttransactionContextfromsamplingContext@sentry/utilspackage, the exports were moved to@sentry/coreClientinterface & deprecateBaseClientChanges
featureFlagsIntegration(#4984)loggerandconsoleLoggingIntegration(#4930)appOwnershipconstant use in Expo Go detection (#4893)Replayinterface forbrowserReplayIntegrationreturn type (#4858)browserReplayIntegrationwithoutisWebguard (#4858)encodeUTF8implementation through the SDK (#4885)TextEncoder(available with Hermes in React Native 0.74 or higher) to improve envelope encoding performance. (#4874)breadcrumbsIntegrationdisables React Native incompatible options automatically (#4886)scopeif custom scope is passed tostartSpanManualorstartSpanbrowserSessionIntegrationis added whenenableAutoSessionTrackingis set toTrue(#4732)Cold/Warm App Startspan description toCold/Warm Start(#4636)Features
To enable it add the following code to your Sentry Options:
You can also filter the logs being collected by adding
beforeSendLogsFixes
You can use strings to filter errors or RegEx for filtering with a pattern.
example:
traceFetchis disabled by default on mobile as RN uses a polyfill which will be traced bytraceXHRDependencies
v6.22.0Compare Source
Fixes
metro/countLinesfunction to avoid issues with the private import (#5185)Dependencies
v6.21.0Compare Source
Important Changes
sendDefaultPiiistrue(#5092)This release includes a fix for a behaviour change
that was originally introduced with v9 of the JavaScript SDK: User IP Addresses should only be added to Sentry events automatically,
if
sendDefaultPiiwas set totrue.However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
To avoid making a major bump, the fix was patched on the current version and not by bumping to V10.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set
sendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
Fixes
Dependencies
v6.20.0Compare Source
Features
Fixes
Dependencies
v6.19.0Compare Source
Fixes
sentry-clipath discovery not working on Android (#5009)addIntegrationfrom@sentry/core(#5020)Features
Adds
replaysSessionQualitySession Replay option to control replay quality and performance overhead on mobile (#5001)Dependencies
v6.18.1Compare Source
Fixes
v6.18.0Compare Source
Fixes
Dependencies
v6.17.0Compare Source
Features
Add experimental flag
enableUnhandledCPPExceptionsV2on iOS (#4975)Dependencies
v6.16.1Compare Source
Fixes
Dependencies
v6.16.0Compare Source
Features
Introducing
@sentry/react-native/playground(#4916)The new
withSentryPlaygroundcomponent allows developers to verifythat the SDK is properly configured and reports errors as expected.
Fixes
Sentry.setUseris prefilled in Feedback Widget (#4901)v6.15.1Compare Source
Dependencies
v6.15.0Compare Source
Features
User Feedback Widget Updates
FeedbackButtonfor easy access to the widget (#4378)ScreenshotButtonfor capturing the application visuals (#4714)To learn more visit the documentation.
Re-export
ErrorEventandTransactionEventtypes (#4859)Fixes
parentSpanIdwas removed (#4881)Dependencies
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.