Repository navigation
Conversation
size-limit report 📦Compared: 5db1a5d (PR test merge using develop at f6987be) Against: 71f41ed (develop) · base run #68183
|
Optional E2E testsSome optional checks were not successful. They do not block the merge. 7 not successful, 58 successful. See the run.
Successful checks
|
d6a9601 to
7e5147d
Compare
…apsAfterUpload` and `filesToDeleteAfterUpload` The three options keep working and log a deprecation warning when the user sets them. `sourcemaps.upload`, `sourcemaps.injectDebugIds` and `sourcemaps.delete` replace them. They will be removed in v12.
Gatsby read the option for its `devtool` decision only, so the plugin still injected debug IDs and uploaded the source maps that existed.
7e5147d to
8fc5c0e
Compare
s1gr1d
left a comment
There was a problem hiding this comment.
nothing blocking, just a few docs suggestions
There was a problem hiding this comment.
this is the migration guide for v11, and I am not sure how many people will still read this. It was mostly used for transferring the content here to the docs.
It's most important that the change and migration is pointed out in the changelog.
| | `sourcemaps: { disable: 'disable-upload' }` | `sourcemaps: { upload: false }` | | ||
| | `sourcemaps: { disable: true }` | `sourcemaps: { upload: false, injectDebugIds: false }` | | ||
| | `sourcemaps.deleteSourcemapsAfterUpload` | `sourcemaps.delete` | | ||
| | `sourcemaps.filesToDeleteAfterUpload` | `sourcemaps.delete`, or a script that runs after the build | | ||
| | `deleteSourcemapsAfterUpload` (Gatsby plugin option) | `sourcemaps.delete` | |
There was a problem hiding this comment.
Make sure this stays aligned with what's in the docs: https://github.com/getsentry/sentry-docs/pull/20971/changes#diff-7ec4cf3ed3e2a5b3212d382c61ce5e930d3fff6bdb8a6745d7f289877ec6e8d2R263-R266
But ideally we just have one source of truth and we just add the link to the docs.
| -}); | ||
| ``` | ||
|
|
||
| ### `sourcemaps.disable`, `deleteSourcemapsAfterUpload` and `filesToDeleteAfterUpload` are deprecated |
There was a problem hiding this comment.
This is currently in "Behavior changes" that happened in v11. In case we want to keep the content in this file, I would add another heading "Deprecations in 11.x" (but also see other comments regarding this)
Stacked on #26906. Don't merge before getsentry/sentry-docs#20971, which documents the replacements.
sourcemaps.upload,sourcemaps.injectDebugIdsandsourcemaps.deletereplace these options. They keep working until v12 and now log a warning when the user sets them.sourcemaps.disable→upload: falsefor'disable-upload',upload: false, injectDebugIds: falsefortrue.sourcemaps.deleteSourcemapsAfterUpload(shared, Next.js, and Gatsby's flat option) →sourcemaps.delete.delete: trueremoves more: every source map of the build, not only those of uploaded chunks.sourcemaps.filesToDeleteAfterUpload→sourcemaps.delete, or a script after the build for other files.sourcemaps.disableto the plugin. Before, Gatsby only read it for itsdevtooldecision, sodisable: truestill injected debug IDs and uploaded the source maps that existed.MIGRATION.mdgets a section with the replacements, including how to turn off the release steps thatdisable: truealso stopped in Astro, Nuxt, SolidStart and Nitro. The older v11 entries that pointed tosourcemaps.disablenow name the new options.