Skip to content

fix(deps): update dependency @sentry/react-native to v7 - autoclosed#1187

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-react-native-7.x
Closed

fix(deps): update dependency @sentry/react-native to v7 - autoclosed#1187
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-react-native-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 9, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@sentry/react-native ^5.36.0^7.12.1 age confidence

Release Notes

getsentry/sentry-react-native (@​sentry/react-native)

v7.12.1

Compare Source

Fixes
  • Revert inputPaths to fix circular dependency build errors on iOS (#​5644)

v7.12.0

Compare Source

[!WARNING]
This release contains an issue that can cause iOS builds to fail with circular dependency errors.
See issue #​5641 for more details.

Features
  • Extends the experimental support of UI profiling to iOS (#​5611)
    Sentry.init({
      _experiments: {
        profilingOptions: {
          profileSessionSampleRate: 1.0,
          lifecycle: 'trace', // or 'manual'
          startOnAppStart: true,
        },
      },
    });
    • Note that the androidProfilingOptions key is now deprecated, and profilingOptions should be used instead
  • Add performance tracking for Expo Router route prefetching (#​5606)
    • New wrapExpoRouter utility to instrument manual prefetch() calls with performance spans
    • New enablePrefetchTracking option for reactNavigationIntegration to automatically track PRELOAD actions
    // Option 1: Wrap the router for manual prefetch tracking
    import { wrapExpoRouter } from '@​sentry/react-native';
    import { useRouter } from 'expo-router';
    
    const router = wrapExpoRouter(useRouter());
    router.prefetch('/details'); // Creates a span measuring prefetch performance
    
    // Option 2: Enable automatic prefetch tracking in the integration
    Sentry.init({
      integrations: [
        Sentry.reactNavigationIntegration({
          enablePrefetchTracking: true,
        }),
      ],
    });
Fixes
  • Fix SENTRY_ALLOW_FAILURE environment variable not being respected in Xcode build scripts (#​5616)
  • Fix iOS dSYM upload for main app in Expo EAS builds by adding inputPaths to build phase (#​5617)
Dependencies

v7.11.0

Compare Source

Features
  • Add support for applying scope attributes to JS logs (#​5579)
  • Add experimental sentry-span-attributes prop to attach custom attributes to user interaction spans (#​5569)
    <Pressable
      sentry-label="checkout"
      sentry-span-attributes={{
        'user.type': 'premium',
        'cart.value': 150
      }}
      onPress={handleCheckout}>
      <Text>Checkout</Text>
    </Pressable>
Dependencies

v7.10.0

Compare Source

Fixes
  • Fixes Android incompatibility with Firebase dependencies (#​5563)
Dependencies

v7.9.0

Compare Source

Features
  • Experimental support of UI profiling on Android (#​5518)
  • Expose iOS options to ignore views from subtree traversal (#​5545)
    • Use includedViewClasses to only traverse specific view classes, or excludedViewClasses to skip problematic view classes during session replay and screenshot capture
    import * as Sentry from '@&#8203;sentry/react-native';
    
    Sentry.init({
      replaysSessionSampleRate: 1.0,
      integrations: [
        Sentry.mobileReplayIntegration({
          includedViewClasses: ['UILabel', 'UIView', 'MyCustomView'],
          excludedViewClasses: ['WKWebView', 'UIWebView'],
        }),
      ],
    });
Fixes
  • Fix duplicate error reporting on iOS with New Architecture (#​5532)
  • Fix for missing replay_id from metrics (#​5483)
  • Skip span ID check when standalone mode is enabled (#​5493)
  • Fix traces not always being attached to replays with errors (#​5538)
Dependencies

v7.8.0

Compare Source

Features
  • Adds Metrics Beta (#​5402)
  • Improves Expo Router integration to optionally include full paths to components instead of just component names (#​5414)
  • Report slow and frozen frames as TTID/TTFD span data (#​5419)
  • Report slow and frozen frames on spans created through the API (#​5420)
  • Improve performance by adding caching to getReplayId (#​5449)
Fixes
  • Fix Object.freeze type pollution from @sentry-internal/replay (#​5408)
Dependencies

v7.7.0

Compare Source

Features
  • Added logsOrigin to Sentry Options (#​5354)
    • You can now choose which logs are captured: 'native' for logs from native code only, 'js' for logs from the JavaScript layer only, or 'all' for both layers.
    • Takes effect only if enableLogs is true and defaults to 'all', preserving previous behavior.
  • Add beforeErrorSampling callback to mobileReplayIntegration (#​5393)
Fixes
  • Preserves interaction span context during app restart to allow proper replay capture (#​5386)
  • Discard empty Route Change transactions (#​5387)
Dependencies

v7.6.0

Compare Source

Fixes
  • Android SDK not being disabled when options.enabled is set to false (#​5334)
  • Fixes how bundle IDs are getting defined for individual bundles (#​5342)
Dependencies

v7.5.0

Compare Source

Features
  • Adds GraphQL integration (#​5299)
  • Adds Supabase integration (#​5296)
  • Add new experimental Canvas Capture Strategy for Session Replay (#​5301)
    • A new screenshot capture strategy that uses Android's Canvas API for more accurate and reliable text and image masking
    • Any .drawText() or .drawBitmap() calls are replaced by rectangles, ensuring no text or images are present in the resulting output
    • Note: If this strategy is used, all text and images will be masked, regardless of any masking configuration
    • To enable this feature, set the screenshotStrategy to canvas:
      import * as Sentry from '@&#8203;sentry/react-native';
      
      Sentry.init({
        integrations: [
          Sentry.mobileReplayIntegration({
            screenshotStrategy: 'canvas',
          }),
        ],
      });
Fixes
  • Fixes orientation change misalignment for session replay on Android (#​5321)
  • Sync user.geo from SetUser to the native layer (#​5302)
Dependencies

v7.4.0

Compare Source

Features
  • Adds Console logs as Sentry Logs. (#​5261)
  • Adds support for propagateTraceparent (#​5277)
Fixes
  • Fix compatibility with react-native-legal (#​5253)
    • The licenses json file is correctly generated and placed into the res/ folder now
  • Handle missing shouldAddToIgnoreList callback in Metro (#​5260)
  • Overrides the default Cocoa SDK behavior that disables Session Replay on iOS 26.0 (#​5268)
Dependencies

v7.3.0

Compare Source

Features
Fixes
  • Updates sentry-xcode.sh and the default settings for the project.pbxproj to fix the issue with escape patterns in Xcode that leaded to errors during "Bundle React Native code and images" stage (#​5221)
  • Fixes .env file loading in Expo sourcemap uploads (#​5210)
  • Fixes the issue with changing immutable metadata structure in the contructor of ReactNativeClient. This structure is getting re-created instead of being modified to ensure IP address is only inferred by Relay if sendDefaultPii is true (#​5202)
  • Removes usage of deprecated SafeAreaView (#​5241)
  • Fixes session replay recording for uncaught errors (#​5243)
  • Fixes TypeScript errors when using custom Metro configurations with Expo SDK 54 (#​5246)
Dependencies

v7.2.0

Compare Source

Features
  • Enable logs on native side of iOS (#​5190)
  • Add mobile replay attributes to logs (#​5165)
Fixes
  • Vendor metro/countLines function to avoid issues with the private import (#​5185)
  • Fix baseJSBundle and bundleToString TypeErrors with Metro 0.83.2 (#​5206)
Dependencies

v7.1.0

Compare Source

Fixes
  • Session Replay: Allow excluding sentry-android-replay from android targets (#​5174)

    • If you are not interested in using Session Replay, you can exclude the sentry-android-replay module from your Android targets as follows (saves nearly 40KB compressed and 80KB uncompressed off the bundle size):
    // from the android's root build.gradle file
    subprojects {
      configurations.all {
        exclude group: 'io.sentry', module: 'sentry-android-replay'
      }
    }
Dependencies

v7.0.1

Compare 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 sendDefaultPii was set to true.

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: true in your Sentry.init options.

We apologize for any inconvenience caused!

Fixes
  • Ensure IP address is only inferred by Relay if sendDefaultPii is true (#​5138)
Dependencies

v7.0.0

Compare 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 sendDefaultPii is true (#​5111)

  • Set {{auto}} if user.ip_address is undefined and sendDefaultPii: true (#​4466)

  • Sentry.captureUserFeedback removed, use Sentry.captureFeedback instead (#​4855)

  • Exceptions from captureConsoleIntegration are now marked as handled: true by default

  • shutdownTimeout moved from core to @sentry/react-native

  • hasTracingEnabled was renamed to hasSpansEnabled

  • You can no longer drop spans or return null on beforeSendSpan hook

  • Tags 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
  • TransactionNamingScheme
  • Request
  • Scope (prefer using the Scope class)
Other removed items.
  • autoSessionTracking from options.
    To enable session tracking, ensure that enableAutoSessionTracking is enabled.
  • enableTracing. Instead, set tracesSampleRate to a value greater than zero to enable tracing, 0 to keep tracing integrations active without sampling, or undefined to disable the performance integration.
  • getCurrentHub(), Hub, and getCurrentHubShim()
  • spanId from propagation context
  • metrics API
  • transactionContext from samplingContext
  • @sentry/utils package, the exports were moved to @sentry/core
  • Standalone Client interface & deprecate BaseClient
Changes
  • Expose featureFlagsIntegration (#​4984)
  • Expose logger and consoleLoggingIntegration (#​4930)
  • Remove deprecated appOwnership constant use in Expo Go detection (#​4893)
  • Disable AppStart and NativeFrames in unsupported environments (web, Expo Go) (#​4897)
  • Use Replay interface for browserReplayIntegration return type (#​4858)
  • Allow using browserReplayIntegration without isWeb guard (#​4858)
    • The integration returns noop in non-browser environments
  • Use single encodeUTF8 implementation through the SDK (#​4885)
  • Use global TextEncoder (available with Hermes in React Native 0.74 or higher) to improve envelope encoding performance. (#​4874)
  • breadcrumbsIntegration disables React Native incompatible options automatically (#​4886)
  • Fork scope if custom scope is passed to startSpanManual or startSpan
  • On React Native Web, browserSessionIntegration is added when enableAutoSessionTracking is set to True (#​4732)
  • Change Cold/Warm App Start span description to Cold/Warm Start (#​4636)
Features

To enable it add the following code to your Sentry Options:

Sentry.init({
  enableLogs: true,
});

You can also filter the logs being collected by adding beforeSendLogs

Sentry.init({
  enableLogs: true,
  beforeSendLog: log => {
    return log;
  },
});
  • Automatically detect Release name and version for Expo Web (#​4967)
Fixes

You can use strings to filter errors or RegEx for filtering with a pattern.

example:

  ignoreErrors: [
    '1234', // Will filter any error message that contains 1234.
    '.*1234', // Will not filter as regex, instead will filter messages that contains '.*1234"
    /.*1234/, // Regex will filter any error message that ends with 1234
    /.*1234.*/ // Regex will filter any error message that contains 1234.
  ]
  • Expo Updates Context is passed to native after native init to be available for crashes (#​4808)
  • Expo Updates Context values should all be lowercase (#​4809)
  • Avoid duplicate network requests (fetch, xhr) by default (#​4816)
    • traceFetch is disabled by default on mobile as RN uses a polyfill which will be traced by traceXHR
Dependencies

v6.22.0

Compare Source

Fixes
  • Vendor metro/countLines function to avoid issues with the private import (#​5185)
  • Fix baseJSBundle and bundleToString TypeErrors with Metro 0.83.2 (#​5206)
  • Fixes .env file loading in Expo sourcemap uploads (#​5210)
Dependencies

v6.21.0

Compare Source

Important Changes
  • fix(browser): Ensure IP address is only inferred by Relay if sendDefaultPii is true (#​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 sendDefaultPii was set to true.

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: true in your Sentry.init options.

We apologize for any inconvenience caused!

Fixes
  • Fix Expo prebuild failed on cached builds (#​5098)
  • Remove the warning that used to indicate that Time To Initial Display and Time To Full Display are not supported (#​5081)
Dependencies

v6.20.0

Compare Source

Features
  • Support for React Native 0.81 (#​5051)
  • Support New Hermes Runtime Access Pattern (#​5051)
  • Support Metro 0.83 (#​5035)
Fixes
  • Correct detection of whether turbo modules are available (#​5064)
Dependencies

v6.19.0

Compare Source

Fixes
  • Warnings when .env.sentry-build-plugin is not set on Sentry/CLI (#​5029)
  • Fix for sentry-cli path discovery not working on Android (#​5009)
  • Export addIntegration from @sentry/core (#​5020)
Features
  • Adds replaysSessionQuality Session Replay option to control replay quality and performance overhead on mobile (#​5001)

    import * as Sentry from '@&#8203;sentry/react-native';
    
    Sentry.init({
      replaysSessionSampleRate: 1.0,
      replaysSessionQuality: 'low', // possible values: low, medium (default), high
      integrations: [Sentry.mobileReplayIntegration()],
    });
Dependencies

v6.18.1

Compare Source

Fixes
  • Fixed Sentry CLI executable path resolution that was causing iOS build script failures (#​5003)

v6.18.0

Compare Source

[!WARNING]
This release contains an issue where Sentry-CLI may not be found on iOS builds if not defined by environment variable.
See PR #​5003 for more details.

Fixes
  • SDK now Builds when using PnPM (#​4977)
  • Skip idle span creation when app is in background (#​4995)
Dependencies

v6.17.0

Compare Source

Features
  • Add experimental flag enableUnhandledCPPExceptionsV2 on iOS (#​4975)

    import * as Sentry from '@&#8203;sentry/react-native';
    
    Sentry.init({
      _experiments: {
        enableUnhandledCPPExceptionsV2: true,
      },
    });
Dependencies

v6.16.1

Compare Source

Fixes
  • Fixes Replay Custom Masking issue on Android (#​4957)
Dependencies

v6.16.0

Compare Source

Features
  • Introducing @sentry/react-native/playground (#​4916)

    The new withSentryPlayground component allows developers to verify
    that the SDK is properly configured and reports errors as expected.

    import * as Sentry from '@&#8203;sentry/react-native';
    import { withSentryPlayground } from '@&#8203;sentry/react-native/playground';
    
    function App() {
      return <View>...</View>;
    }
    
    export default withSentryPlayground(
      Sentry.wrap(App)
    );
Fixes
  • Adds support for React Native 0.80 (#​4938)
  • Report slow and frozen frames as app start span data (#​4865)
  • User set by Sentry.setUser is prefilled in Feedback Widget (#​4901)
    • User data are considered from all scopes in the following order current, isolation and global.

v6.15.1

Compare Source

Dependencies

v6.15.0

Compare Source

Features
  • User Feedback Widget Updates

    • FeedbackButton for easy access to the widget (#​4378)
    • ScreenshotButton for capturing the application visuals (#​4714)
    • Theming support to better align with the application styles (#​4677)
    Sentry.init({
      integrations: [
        Sentry.feedbackIntegration({
          enableTakeScreenshot: true, // Enables `ScreenshotButton`
          themeDark: {
            // Add dark theme styles here
          },
          themeLight: {
            // Add light theme styles here
          },
        }),
      ],
    });
    
    Sentry.showFeedbackButton();
    Sentry.hideFeedbackButton();

    To learn more visit the documentation.

  • Re-export ErrorEvent and TransactionEvent types (#​4859)

Fixes
  • crashedLastRun now returns the correct value (#​4829)
  • Use engine-specific promise rejection tracking (#​4826)
  • Fixes Feedback Widget accessibility issue on iOS (#​4739)
  • Measuring TTID or TTFD could cause a crash when parentSpanId was 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 5 times, most recently from 1e638bc to 1bef5b5 Compare October 14, 2025 16:16
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 5 times, most recently from 0d1748d to b2aa0b1 Compare October 26, 2025 20:37
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 3 times, most recently from 230e1e5 to 68dfdbf Compare November 7, 2025 17:01
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from e7c81ed to 55a634e Compare November 21, 2025 06:08
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 3 times, most recently from 2b31fb5 to e426bbc Compare November 27, 2025 14:50
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from 5377585 to 96f5f33 Compare December 11, 2025 09:51
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch from 96f5f33 to da8a47a Compare December 24, 2025 17:41
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch from da8a47a to aad9da8 Compare December 31, 2025 22:50
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from b02b4d8 to 84737e2 Compare January 15, 2026 13:59
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from 937da9b to 7d0d1f2 Compare January 23, 2026 18:00
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch from 7d0d1f2 to 0879b50 Compare February 2, 2026 17:33
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch from 0879b50 to 710d91d Compare February 12, 2026 02:53
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from 69241eb to c71810e Compare February 21, 2026 12:56
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 3 times, most recently from 4a890e9 to 590bcab Compare March 7, 2026 13:57
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch 2 times, most recently from fa1add7 to 25cf5dc Compare March 12, 2026 18:02
@renovate renovate Bot force-pushed the renovate/sentry-react-native-7.x branch from 25cf5dc to 94a44e9 Compare March 14, 2026 01:32
@renovate renovate Bot changed the title fix(deps): update dependency @sentry/react-native to v7 fix(deps): update dependency @sentry/react-native to v7 - autoclosed Mar 15, 2026
@renovate renovate Bot closed this Mar 15, 2026
@renovate renovate Bot deleted the renovate/sentry-react-native-7.x branch March 15, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants