Skip to content

ref(v8): Remove pushScope, popScope, isOlderThan, shouldSendDefaultPii from hub #11404

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 2 commits into from
Apr 3, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Apr 3, 2024

These are the things that will be fully removed in v8 as they do not work anymore at all. The other stuff will remain shimmed for the v8 cycle.

I think it is OK to remove isOlderThan and shouldSendDefaultPii even though they can technically be shimmed as they are not really "main" APIs - but happy to leave this in if we think they are important...?

…faultPii` from hub

These are the things that will be fully removed in v8 as they do not work anymore at all. The other stuff will remain shimmed for the v8 cycle.
@mydea mydea requested review from lforst, Lms24 and AbhiPrasad April 3, 2024 14:36
@mydea mydea self-assigned this Apr 3, 2024
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

I think it’s fine to remove all of these!

Copy link
Contributor

github-actions bot commented Apr 3, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) 76.12 KB (-0.07% 🔽)
@sentry/browser (incl. Tracing, Replay) 67.39 KB (-0.08% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 71.23 KB (-0.08% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.95 KB (-0.09% 🔽)
@sentry/browser (incl. Tracing) 32.05 KB (-0.17% 🔽)
@sentry/browser (incl. browserTracingIntegration) 32.05 KB (-0.17% 🔽)
@sentry/browser (incl. feedbackIntegration) 31.27 KB (-0.18% 🔽)
@sentry/browser (incl. feedbackModalIntegration) 31.39 KB (-0.19% 🔽)
@sentry/browser (incl. feedbackScreenshotIntegration) 31.39 KB (-0.19% 🔽)
@sentry/browser (incl. sendFeedback) 27.36 KB (-0.21% 🔽)
@sentry/browser 22.51 KB (-0.26% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 71.12 KB (-0.09% 🔽)
CDN Bundle (incl. Tracing, Replay) 65.86 KB (-0.08% 🔽)
CDN Bundle (incl. Tracing) 32.19 KB (-0.19% 🔽)
CDN Bundle 23.75 KB (-0.26% 🔽)
CDN Bundle (incl. Tracing, Replay) - uncompressed 205.28 KB (-0.08% 🔽)
CDN Bundle (incl. Tracing) - uncompressed 95.93 KB (-0.17% 🔽)
CDN Bundle - uncompressed 70.07 KB (-0.24% 🔽)
@sentry/react (incl. Tracing, Replay) 67.38 KB (-0.08% 🔽)
@sentry/react 22.54 KB (-0.25% 🔽)

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Whatever brings down those bytes again, I'm fine with it

@mydea mydea merged commit 4bb4b62 into develop Apr 3, 2024
@mydea mydea deleted the fn/removePushScope branch April 3, 2024 15:12
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
…faultPii` from hub (getsentry#11404)

These are the things that will be fully removed in v8 as they do not
work anymore at all. The other stuff will remain shimmed for the v8
cycle.

I think it is OK to remove `isOlderThan` and `shouldSendDefaultPii` even
though they can technically be shimmed as they are not really "main"
APIs - but happy to leave this in if we think they are important...?
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.

3 participants