Title: astro: Remove deprecated `sourceMapsUploadOptions` build option · Issue #23624 · getsentry/sentry-javascript · GitHub
Open Graph Title: astro: Remove deprecated `sourceMapsUploadOptions` build option · Issue #23624 · getsentry/sentry-javascript
X Title: astro: Remove deprecated `sourceMapsUploadOptions` build option · Issue #23624 · getsentry/sentry-javascript
Description: @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 ...
Open Graph Description: @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/a...
X Description: @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/a...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23624
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"astro: Remove deprecated `sourceMapsUploadOptions` build option","articleBody":"`@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.\n\n## Current state\n\n* `packages/astro/src/integration/types.ts:163` still declares `sourceMapsUploadOptions?: SourceMapsOptions`, marked `@deprecated` with \"Please move the options to the top-level configuration\".\n* The deprecation landed in #17396 (`feat(astro): Align options with shared build time options type`), which was v10-era work.\n* The v11 removal sweep covered sveltekit (#22874) and nuxt (#22875) but skipped astro.\n\nAstro's other v11 build-option cleanup was done piecemeal, which is likely how this slipped: `unstable_sentryVitePluginOptions` was handled in getsentry/sentry-javascript#23342 and `release` / `debug` in getsentry/sentry-javascript#22248, but nothing covered this option.\n\n## What to do\n\nRemove `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.\n\n## Migration guide\n\n`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.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-08-26T08:52:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/23624"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:15d59a84-7597-3ea1-de74-33d73e03297b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE5E:3AACE0:90BFD5:C64C32:6B048209 |
| html-safe-nonce | ea4f870922cfd2f40bde302dbcb8d951a22920fcad51c786e23f44428a3f146c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTVFOjNBQUNFMDo5MEJGRDU6QzY0QzMyOjZCMDQ4MjA5IiwidmlzaXRvcl9pZCI6IjYxNTg4MTYyMDc3ODE5NDAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 29c793a250436889af0dad2ad967bb68617650545043d4c1960b3eaa2bcef6dd |
| hovercard-subject-tag | issue:5255154054 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23624/issue_layout |
| twitter:image | https://opengraph.githubassets.com/951d6ade2fb0d5650432f2c3bbb7fbbbd50cac58f29bf2f3e537f7798202f7fb/getsentry/sentry-javascript/issues/23624 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/951d6ade2fb0d5650432f2c3bbb7fbbbd50cac58f29bf2f3e537f7798202f7fb/getsentry/sentry-javascript/issues/23624 |
| og:image:alt | @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/a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width