Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 9, 2024

This adds a new client.init() method to be called instead of client.setupIntegrations().

Note that this method simply initializes the integrations always, and depends on the check that we don't add integrations multiple times.

This also has a bit of a different semantic, dropping the force argument in favor of just calling addIntegration() again - this depends on #10116 to really work. cc @HazAT for Spotlight.

@mydea mydea requested review from HazAT, lforst, Lms24 and AbhiPrasad January 9, 2024 13:43
@mydea mydea self-assigned this Jan 9, 2024
@mydea mydea force-pushed the fn/clientInit branch 2 times, most recently from f19b81f to ffb33f9 Compare January 9, 2024 14:54
Copy link
Contributor

github-actions bot commented Jan 9, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.86 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.23 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.85 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.26 KB (+0.08% 🔺)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 30.75 KB (+0.09% 🔺)
@sentry/browser - Webpack (gzipped) 22.11 KB (+0.09% 🔺)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 74.55 KB (+0.02% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.18 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.01 KB (+0.05% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 23.75 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 208.66 KB (+0.02% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 96.72 KB (+0.05% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 70.97 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.98 KB (+0.05% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.6 KB (+0.03% 🔺)
@sentry/react - Webpack (gzipped) 22.14 KB (+0.08% 🔺)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.34 KB (+0.03% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 49.45 KB (+0.04% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 16.74 KB (0%)

@AbhiPrasad AbhiPrasad merged commit 7ab0fe8 into develop Jan 11, 2024
@AbhiPrasad AbhiPrasad deleted the fn/clientInit branch January 11, 2024 18:43
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