You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sentry/astro still accepts the deprecated sourceMapsUploadOptions build option. The other meta-framework SDKs dropped theirs for v11, so astro is the last one carrying it.
Current state
packages/astro/src/integration/types.ts:163 still declares sourceMapsUploadOptions?: SourceMapsOptions, marked @deprecated with "Please move the options to the top-level configuration".
Astro's other v11 build-option cleanup was done piecemeal, which is likely how this slipped: unstable_sentryVitePluginOptions was handled in #23342 and release / debug in #22248, but nothing covered this option.
What to do
Remove sourceMapsUploadOptions from sentryAstro() and have users move its fields to the top level, matching solidstart, react-router, nuxt and sveltekit. Note that enabled is replaced by sourcemaps.disable (inverted) in the other SDKs, so astro should follow the same shape.
Migration guide
MIGRATION.md currently scopes the "Meta-framework build options" entry to nuxt and sveltekit, which is accurate today. Add astro to that entry as part of this change.
Activity
linear-code commentedon Aug 26, 2026
JS-3440
feat(astro)!: Remove deprecated `sourceMapsUploadOptions` build option (
github-actions commentedon Sep 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #23630, which was included in the 11.0.0 release.