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): Rename inboundFiltersIntegration to eventFiltersIntegration #15434

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Feb 17, 2025

Opening as a draft for now for feedback. Happy to close if folks have concerns.

See #15431 for reasons for the renaming

ref #15431

@Lms24 Lms24 self-assigned this Feb 17, 2025
Comment on lines +36 to 37
// TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
inboundFiltersIntegration(),
Copy link
Member Author

Choose a reason for hiding this comment

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

Wherever we currently add inboundFiltersIntegration as a default integration, we can't simply swap it out. This is because it would break people filtering out the integration by its name. IMHO it's perfectly fine to keep this until the next major (or whenever we decide to remove the old name export) and then make the swap.

Copy link
Contributor

github-actions bot commented Feb 17, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.08 KB +0.12% +27 B 🔺
@sentry/browser - with treeshaking flags 22.86 KB +0.11% +24 B 🔺
@sentry/browser (incl. Tracing) 36.09 KB +0.05% +15 B 🔺
@sentry/browser (incl. Tracing, Replay) 73.08 KB +0.04% +25 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.53 KB +0.01% +3 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 77.33 KB +0.03% +20 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 90.28 KB +0.04% +29 B 🔺
@sentry/browser (incl. Feedback) 40.23 KB +0.07% +27 B 🔺
@sentry/browser (incl. sendFeedback) 27.71 KB +0.11% +29 B 🔺
@sentry/browser (incl. FeedbackAsync) 32.51 KB +0.09% +28 B 🔺
@sentry/react 24.9 KB +0.11% +27 B 🔺
@sentry/react (incl. Tracing) 37.98 KB +0.06% +23 B 🔺
@sentry/vue 27.27 KB +0.14% +37 B 🔺
@sentry/vue (incl. Tracing) 37.78 KB +0.06% +20 B 🔺
@sentry/svelte 23.11 KB +0.09% +21 B 🔺
CDN Bundle 24.28 KB +0.13% +31 B 🔺
CDN Bundle (incl. Tracing) 36.12 KB +0.07% +25 B 🔺
CDN Bundle (incl. Tracing, Replay) 70.96 KB +0.05% +35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 76.11 KB +0.04% +25 B 🔺
CDN Bundle - uncompressed 70.98 KB +0.11% +73 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 107.25 KB +0.07% +73 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.46 KB +0.04% +73 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.03 KB +0.04% +73 B 🔺
@sentry/nextjs (client) 38.96 KB +0.05% +16 B 🔺
@sentry/sveltekit (client) 36.5 KB +0.07% +24 B 🔺
@sentry/node 127.76 KB +0.02% +15 B 🔺
@sentry/node - without tracing 98.04 KB +0.02% +13 B 🔺
@sentry/aws-serverless 107.48 KB +0.03% +24 B 🔺

View base workflow run

Copy link
Member

@s1gr1d s1gr1d 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 this is a valid case for renaming as this integration is different from the Inbound Filters in the UI.

@Lms24
Copy link
Member Author

Lms24 commented Feb 18, 2025

Yup, that's one of my two reasons as for why I think we should rename this integration. I updated the issue with some reasons as to why I think the current name is suboptimal.

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.

2 participants