Skip to content

feat(core): Streamline integration function results to be compatible #10135

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 1 commit into from
Jan 10, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 10, 2024

For the v7 cycle, in order to make this easier to handle. in v8, we need to remove the unused setupOnce() calls again.

It would be nicer if we could do away with this, but it is pretty hard as the options for a client currently are types as Integration[], and we use these both for setting & getting, making it hard to change this without breaking anything. Now, this is much easier (it basically just works), with the small downsides of shipping a few more bytes - but we can simply remove this in v8 then.

For the v7 cycle, in order to make this easier to handle.
in v8, we need to remove the unused `setupOnce()` calls again.
@mydea mydea requested review from lforst, Lms24 and AbhiPrasad January 10, 2024 12:37
@mydea mydea self-assigned this Jan 10, 2024
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.98 KB (+0.12% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.36 KB (+0.17% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.99 KB (+0.19% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.38 KB (+0.3% 🔺)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 30.98 KB (+0.78% 🔺)
@sentry/browser - Webpack (gzipped) 22.31 KB (+0.96% 🔺)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 74.61 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.26 KB (+0.09% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.07 KB (+0.12% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 23.9 KB (+0.67% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 208.77 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 96.83 KB (+0.1% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.42 KB (+0.67% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.05 KB (+0.14% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.73 KB (+0.15% 🔺)
@sentry/react - Webpack (gzipped) 22.35 KB (+0.98% 🔺)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.38 KB (+0.02% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 49.5 KB (+0.05% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 17.01 KB (+1.53% 🔺)

@mydea mydea merged commit 281d77c into develop Jan 10, 2024
@mydea mydea deleted the fn/integration-functions branch January 10, 2024 16:28
c298lee pushed a commit that referenced this pull request Jan 10, 2024
…10135)

For the v7 cycle, in order to make this easier to handle. in v8, we need
to remove the unused `setupOnce()` calls again.

It would be nicer if we could do away with this, but it is pretty hard
as the options for a client currently are types as `Integration[]`, and
we use these both for setting & getting, making it hard to change this
without breaking anything. Now, this is much easier (it basically just
works), with the small downsides of shipping a few more bytes - but we
can simply remove this in v8 then.
c298lee pushed a commit that referenced this pull request Jan 10, 2024
…10135)

For the v7 cycle, in order to make this easier to handle. in v8, we need
to remove the unused `setupOnce()` calls again.

It would be nicer if we could do away with this, but it is pretty hard
as the options for a client currently are types as `Integration[]`, and
we use these both for setting & getting, making it hard to change this
without breaking anything. Now, this is much easier (it basically just
works), with the small downsides of shipping a few more bytes - but we
can simply remove this in v8 then.
billyvg pushed a commit that referenced this pull request Jan 10, 2024
…10135)

For the v7 cycle, in order to make this easier to handle. in v8, we need
to remove the unused `setupOnce()` calls again.

It would be nicer if we could do away with this, but it is pretty hard
as the options for a client currently are types as `Integration[]`, and
we use these both for setting & getting, making it hard to change this
without breaking anything. Now, this is much easier (it basically just
works), with the small downsides of shipping a few more bytes - but we
can simply remove this in v8 then.
c298lee pushed a commit that referenced this pull request Jan 10, 2024
…10135)

For the v7 cycle, in order to make this easier to handle. in v8, we need
to remove the unused `setupOnce()` calls again.

It would be nicer if we could do away with this, but it is pretty hard
as the options for a client currently are types as `Integration[]`, and
we use these both for setting & getting, making it hard to change this
without breaking anything. Now, this is much easier (it basically just
works), with the small downsides of shipping a few more bytes - but we
can simply remove this in v8 then.
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