-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(core): Deprecate integration classes & Integrations.X
#10198
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
Conversation
Lms24
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
packages/bun/src/index.ts
Outdated
| moduleMetadataIntegration, | ||
| requestDataIntegration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to export these here? Previously, these were not accessible directly from @sentry/bun.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not moduleMetadataIntegration, but we might want requestDataIntegration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I guess we may move the moduleMetadatIntegation to browser in v8? 🤔 if this is browser-only, no need to have & export it from core. But we can see!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or actually, maybe I move it there right away 🤔
packages/deno/src/index.ts
Outdated
| metrics, | ||
| inboundFiltersIntegration, | ||
| linkedErrorsIntegration, | ||
| moduleMetadataIntegration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to export this * requestDataIntegration here? Previously, these were not accessible directly from @sentry/deno.
packages/node/src/index.ts
Outdated
| functionToStringIntegration, | ||
| inboundFiltersIntegration, | ||
| linkedErrorsIntegration, | ||
| moduleMetadataIntegration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to export this here? Previously, this was not accessible directly from @sentry/node.
packages/vercel-edge/src/index.ts
Outdated
| moduleMetadataIntegration, | ||
| requestDataIntegration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to export these here? Previously, these were not accessible directly from `@sentry/vercel-edge.
f4cbdea to
55d14e6
Compare
size-limit report 📦
|
55d14e6 to
3593de1
Compare
Instead, export the functional components from core, which users should directly use.
3593de1 to
6659c7f
Compare
Instead, export the functional components from core, which users should directly use.
This also adds a tiny
defineIntegrationutility which takes care of obscuring the actual integration implementation for external use, so this remains private and we can refactor this if we need to.