Skip to content

feat(sveltekit)!: Remove unstable_sentryVitePluginOptions - #23366

Merged
chargome merged 1 commit into
charlygomez/js-3356-nuxt-remove-unstable_sentrybundlerpluginoptionsfrom
charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions
Aug 13, 2026
Merged

feat(sveltekit)!: Remove unstable_sentryVitePluginOptions#23366
chargome merged 1 commit into
charlygomez/js-3356-nuxt-remove-unstable_sentrybundlerpluginoptionsfrom
charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions

Conversation

@chargome

@chargome chargome commented Aug 12, 2026

Copy link
Copy Markdown
Member

Removes unstable_sentryVitePluginOptions from the SvelteKit plugin options.

Everything it exposed is reachable as a top-level build option. Adds a build-time warning for plain JS configs, where TypeScript cannot catch the removed key.

closes #23345

@chargome chargome self-assigned this Aug 12, 2026
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

JS-3361

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.3 kB - -
@sentry/browser - with treeshaking flags 28.47 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.81 kB - -
@sentry/browser (incl. Tracing) 48.54 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.55 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.43 kB - -
@sentry/browser (incl. Tracing, Replay) 87.94 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.32 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.67 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.36 kB - -
@sentry/browser (incl. Feedback) 47.65 kB - -
@sentry/browser (incl. sendFeedback) 35.13 kB - -
@sentry/browser (incl. FeedbackAsync) 40.28 kB - -
@sentry/browser (incl. Metrics) 31.24 kB - -
@sentry/browser (incl. Logs) 31.52 kB - -
@sentry/browser (incl. Metrics & Logs) 32.15 kB - -
@sentry/react 32.09 kB - -
@sentry/react (incl. Tracing) 50.73 kB - -
@sentry/vue 35.31 kB - -
@sentry/vue (incl. Tracing) 50.5 kB - -
@sentry/svelte 30.33 kB - -
CDN Bundle 31.61 kB - -
CDN Bundle (incl. Tracing) 48.87 kB - -
CDN Bundle (incl. Logs, Metrics) 33.8 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.79 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.31 kB - -
CDN Bundle (incl. Tracing, Replay) 86.46 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.29 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.11 kB - -
CDN Bundle - uncompressed 93.84 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.72 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.41 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.08 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.98 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.65 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.68 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.34 kB - -
@sentry/nextjs (client) 53.26 kB - -
@sentry/sveltekit (client) 48.96 kB - -
@sentry/core/server 65.34 kB - -
@sentry/core/browser 51.69 kB - -
@sentry/node 117.67 kB +0.01% +1 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.06 kB -0.01% -1 B 🔽
@sentry/aws-serverless 91.47 kB - -
@sentry/cloudflare (withSentry) - minified 213.99 kB - -
@sentry/cloudflare (withSentry) 528.78 kB - -

View base workflow run

@chargome

Copy link
Copy Markdown
Member Author

bugbot run

Comment thread packages/sveltekit/test/vite/sentrySvelteKitPlugins.test.ts
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 825192d to 0b3080e Compare August 12, 2026 14:51
@chargome
chargome changed the base branch from charlygomez/js-3355-core-add-build-time-options-for-bundler-plugin-parity to charlygomez/js-3356-nuxt-remove-unstable_sentrybundlerpluginoptions August 12, 2026 14:51
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 0b3080e to f9fe508 Compare August 13, 2026 09:28
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from f9fe508 to 4354130 Compare August 13, 2026 09:44
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 4354130 to 537e649 Compare August 13, 2026 10:02
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 537e649 to 39db3cd Compare August 13, 2026 10:56
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 39db3cd to 55833f9 Compare August 13, 2026 12:26
@chargome

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 55833f9. Configure here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chargome
chargome force-pushed the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch from 55833f9 to e9dff26 Compare August 13, 2026 13:17
@chargome
chargome marked this pull request as ready for review August 13, 2026 13:44
@chargome
chargome requested a review from a team as a code owner August 13, 2026 13:44
@chargome
chargome requested review from andreiborza, mydea, nicohrubec and s1gr1d and removed request for a team August 13, 2026 13:44

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice!

@chargome
chargome merged commit fac89d6 into develop Aug 13, 2026
389 of 390 checks passed
@chargome
chargome deleted the charlygomez/js-3361-sveltekit-remove-unstable_sentryvitepluginoptions branch August 13, 2026 15:24
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.

sveltekit: Remove unstable_sentryVitePluginOptions

2 participants