Skip to content

publish: getsentry/sentry-react-native@7.12.0 #7071

@sentry-release-bot

Description

@sentry-release-bot

Requested by: @antonis

Merge target: (default)

Quick links:

Assign the accepted label to this issue to approve the release.
To retract the release, the person requesting it must leave a comment containing #retract on a line by itself under this issue.

Targets

  • npm
  • github
  • registry

Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.


📋 Changelog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAdd to approve the deploy
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions