Skip to content

[Breaking Change] Replay options unblock and unmask will require explicit opt-in #8887

Closed

Description

@billyvg

Currently, we have default selectors configured for unblock and unmask options for Replay. This means we have to perform additional DOM queries even if you do not use the unmasking features. In version 8.0 of the Replay SDK, we will change these options to default to false and you will need to specify selectors to be used for the respective unmasking options.

If you currently use the default Sentry selectors for unblock and unmask, then we recommend you to explicitly specify them in your configuration:

Sentry.init({
  integrations: [
    Sentry.Replay({
      unblock: '.sentry-unblock, [data-sentry-unblock]',
      unmask: '.sentry-unmask, [data-sentry-unmask]',
    }),
  ]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions