yarn @sentry/react-native 6.5.0-beta.1

4 days ago

Features

  • Adds new captureFeedback and deprecates the captureUserFeedback API (#4320)

    import * as Sentry from "@sentry/react-native";
    
    const eventId = Sentry.lastEventId();
    
    Sentry.captureFeedback({
      name: "John Doe",
      email: "john@doe.com",
      message: "Hello World!",
      associatedEventId: eventId, // optional
    }, {
      captureContext: {
        tags: { "tag-key": "tag-value" },
      },
      attachments: [
        {
          filename: 'hello.txt',
          data: 'Hello, World!',
        },
      ],
    });

Fixes

  • Return lastEventId export from @sentry/core (#4315)
  • Don't log file not found errors when loading envs in sentry-expo-upload-sourcemaps (#4332)
  • Navigation Span should have no parent by default (#4326)

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.