Skip to content

feat(v8/replay): Opt-in options for unmask and unblock #11049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Mar 12, 2024

closes #8887
docs changes: getsentry/sentry-docs#9422

@s1gr1d s1gr1d requested review from mydea, lforst and Lms24 March 12, 2024 13:32
MIGRATION.md Outdated
Comment on lines 752 to 753
unblock: '.sentry-unblock, [data-sentry-unblock]',
unmask: '.sentry-unmask, [data-sentry-unmask]',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unblock: '.sentry-unblock, [data-sentry-unblock]',
unmask: '.sentry-unmask, [data-sentry-unmask]',
unblock: ['.sentry-unblock, [data-sentry-unblock]'],
unmask: ['.sentry-unmask, [data-sentry-unmask]'],

Comment on lines 3 to 4
Sentry Replay is now out of Beta. This means that the usual stability guarantees apply.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Sentry Replay is now out of Beta. This means that the usual stability guarantees apply.

Let's also remove this while we are here!

@s1gr1d s1gr1d self-assigned this Mar 12, 2024
@s1gr1d s1gr1d force-pushed the sig-opt-in-replay-options branch from 3a1760e to 359bcc6 Compare March 12, 2024 16:27
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw: I only changed the test snapshots in the privacyDefault folder. Thought this makes sense, as the default behavior is now "mask everything", even with the data attribute.

In the other tests, I added the unmask array to the options.

@s1gr1d s1gr1d force-pushed the sig-opt-in-replay-options branch from 359bcc6 to c695867 Compare March 13, 2024 09:26
@s1gr1d s1gr1d merged commit 2333b3f into develop Mar 13, 2024
@s1gr1d s1gr1d deleted the sig-opt-in-replay-options branch March 13, 2024 11:48
@billyvg
Copy link
Member

billyvg commented Mar 13, 2024

Thanks for making this change! This should help a bit with perf as it will have less selectors query when snapshotting DOM changes.

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.

[Breaking Change] Replay options unblock and unmask will require explicit opt-in
4 participants