Skip to content

[Gitflow] MANUALLY merge master into develop #6996

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 13 commits into from
Jan 31, 2023
Merged

[Gitflow] MANUALLY merge master into develop #6996

merged 13 commits into from
Jan 31, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 31, 2023

Just to verify if this works.

Lms24 and others added 11 commits January 30, 2023 12:40
`Scope.getLastBreadcrumb` was introduced quite recently for replay and it generally works fine. Just in the few edge cases, where the base SDK version can't be changed or multiple hubs cause conflicts, Replay will crash when the method is not available on the passed scope. This patch lets `handleScope` early-return `null` in case the `getLastBreadcrumb` method does not exist. This will lead to missing breadcrumbs in the replay but at least it will avoid a crash.
… some recording options (#6645)

* Deprecate `maskTextSelector`, `maskTextClass`, `blockClass`, `blockSelector`, `ignoreClass` in favor of new API: `mask`, `block`, `ignore` which accepts an array of CSS selectors.
* Adds new API for unmasking and unblocking elements: `unmask`, `unblock`. This can be used in conjunction with `maskAllText`, `blockAllMedia` to have privacy by default and selectively unmask elements.
Since we decided to set both replay sample rates to 0 by default, we should log a warning that replay will be disabled if no sample rates were passed to Sentry.init. Since we're still supporting the deprecated sample rates in the integration options, this warning will only be emitted if these rates aren't set either.
@mydea mydea requested review from lforst, Lms24 and AbhiPrasad January 31, 2023 14:36
@mydea mydea self-assigned this Jan 31, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jan 31, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.87 KB (added)
@sentry/browser - ES5 CDN Bundle (minified) 61.57 KB (added)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.54 KB (added)
@sentry/browser - ES6 CDN Bundle (minified) 54.88 KB (added)
@sentry/browser - Webpack (gzipped + minified) 20.29 KB (added)
@sentry/browser - Webpack (minified) 66.37 KB (added)
@sentry/react - Webpack (gzipped + minified) 20.31 KB (added)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.6 KB (added)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.79 KB (added)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.08 KB (added)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 44.17 KB (added)
@sentry/replay - Webpack (gzipped + minified) 38.92 KB (added)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.52 KB (added)

Move sample rate from tags into context as that is the more appropriate location for this type of data. This data is more for us to collect to debug rather than having as a top level field on the replay event.
@mydea mydea merged commit c91e1fd into develop Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants