Skip to content
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

feat(core): Deprecate configureScope #9887

Merged
merged 1 commit into from Dec 18, 2023
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 18, 2023

Instead, users should directly access the current scope via getCurrentScope().

@mydea mydea self-assigned this Dec 18, 2023
Copy link
Contributor

github-actions bot commented Dec 18, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.16 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.58 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.18 KB (0%)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.26 KB (0%)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 29.87 KB (0%)
@sentry/browser - Webpack (gzipped) 21.56 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.6 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.31 KB (0%)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.57 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped) 22.63 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.28 KB (0%)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.4 KB (0%)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.45 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.47 KB (0%)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.94 KB (0%)
@sentry/react - Webpack (gzipped) 21.6 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.72 KB (0%)
@sentry/nextjs Client - Webpack (gzipped) 48.41 KB (0%)
@sentry-internal/feedback - Webpack (gzipped) 16.18 KB (0%)

Instead, users should directly access the current scope via `getCurrentScope()`.
@mydea mydea force-pushed the fn/deprecate-configureScope branch from a2670a3 to 5f52d9c Compare December 18, 2023 11:37
@mydea mydea merged commit 0efdb21 into develop Dec 18, 2023
94 checks passed
@mydea mydea deleted the fn/deprecate-configureScope branch December 18, 2023 13:46
AbhiPrasad added a commit that referenced this pull request Feb 9, 2024
Removes `configureScope`, deprecated in #9887
Turbo87 added a commit to Turbo87/crates.io that referenced this pull request May 14, 2024
`configureScope()` has apparently been deprecated a while ago and was recently removed in getsentry/sentry-javascript#9887. Since we are mocking Sentry in our test suite we unfortunately didn't notice the issue before it popped up on our staging environment.
Turbo87 added a commit to rust-lang/crates.io that referenced this pull request May 14, 2024
`configureScope()` has apparently been deprecated a while ago and was recently removed in getsentry/sentry-javascript#9887. Since we are mocking Sentry in our test suite we unfortunately didn't notice the issue before it popped up on our staging environment.
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.

None yet

2 participants