Skip to content

Commit 573cfbd

Browse files
committed
move section
1 parent 5c46211 commit 573cfbd

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/migration/v8-to-v9.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,20 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
157157
You no longer have to specify this manually.
158158
With this change, no spans are emitted once `skipOpenTelemetrySetup: true` is configured, without any further configuration being needed.
159159

160+
### All Meta-Framework SDKs (`@sentry/nextjs`, `@sentry/nuxt`, `@sentry/sveltekit`, `@sentry/astro`, `@sentry/solidstart`)
161+
162+
- SDKs no longer transform user-provided values for source map generation in build configurations (like Vite config, Rollup config, or `next.config.js`).
163+
164+
If source maps are explicitly disabled, the SDK will not enable them. If source maps are explicitly enabled, the SDK will not change how they are emitted. **However,** the SDK will also _not_ delete source maps after uploading them. If source map generation is not configured, the SDK will turn it on and delete them after the upload.
165+
166+
To customize which files are deleted after upload, define the `filesToDeleteAfterUpload` array with globs.
167+
168+
### `@sentry/react`
169+
170+
- The `componentStack` field in the `ErrorBoundary` component is now typed as `string` instead of `string | null | undefined` for the `onError` and `onReset` lifecycle methods. This more closely matches the actual behavior of React, which always returns a `string` whenever a component stack is available.
171+
172+
In the `onUnmount` lifecycle method, the `componentStack` field is now typed as `string | null`. The `componentStack` is `null` when no error has been thrown at time of unmount.
173+
160174
### `@sentry/nextjs`
161175

162176
- By default, client-side source maps will now be automatically deleted after being uploaded to Sentry during the build.
@@ -174,20 +188,6 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
174188
- The `sentry` property on the Next.js config object has officially been discontinued.
175189
Pass options to `withSentryConfig` directly.
176190

177-
### All Meta-Framework SDKs (`@sentry/astro`, `@sentry/nextjs`, `@sentry/nuxt`, `@sentry/sveltekit`, `@sentry/solidstart`)
178-
179-
- SDKs no longer transform user-provided values for source map generation in build configurations (like Vite config, Rollup config, or `next.config.js`).
180-
181-
If source maps are explicitly disabled, the SDK will not enable them. If source maps are explicitly enabled, the SDK will not change how they are emitted. **However,** the SDK will also _not_ delete source maps after uploading them. If source map generation is not configured, the SDK will turn it on and delete them after the upload.
182-
183-
To customize which files are deleted after upload, define the `filesToDeleteAfterUpload` array with globs.
184-
185-
### `@sentry/react`
186-
187-
- The `componentStack` field in the `ErrorBoundary` component is now typed as `string` instead of `string | null | undefined` for the `onError` and `onReset` lifecycle methods. This more closely matches the actual behavior of React, which always returns a `string` whenever a component stack is available.
188-
189-
In the `onUnmount` lifecycle method, the `componentStack` field is now typed as `string | null`. The `componentStack` is `null` when no error has been thrown at time of unmount.
190-
191191
## 3. Package Removals
192192

193193
The `@sentry/utils` package will no longer be published.

0 commit comments

Comments
 (0)