Skip to content

Commit cddb7b6

Browse files
Luca Forstnermydea
andauthored
Apply suggestions from code review
Co-authored-by: Francesco Gringl-Novy <[email protected]>
1 parent fe2e0ab commit cddb7b6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/migration/v8-to-v9.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Version 9 of the Sentry JavaScript SDK concerns API cleanup and version support changes.
44
This update contains behavioral changes that will not be caught by type checkers, linters or tests, so we recommend carefully reading through the entire migration guide instead of purely relying on automatic tooling.
55

6-
`v9` of the SDK is compatible with Sentry self-hosted versions 24.4.2 or higher (unchanged from last major).
6+
`v9` of the SDK is compatible with Sentry self-hosted versions 24.4.2 or higher (unchanged from v8).
77
Lower versions may continue to work, but may not support all features.
88

99
## 1. Version Support Changes:
@@ -29,7 +29,7 @@ If your runtime does not support ES2020, we recommend transpiling the SDK using
2929
- Opera 67
3030
- Samsung Internet 13.0
3131

32-
If you need to support older browsers, we recommend transpiling your code using, SWC, Babel or similar tooling.
32+
If you need to support older browsers, we recommend transpiling your code using SWC, Babel or similar tooling.
3333

3434
**Deno:** The minimum supported Deno version is now **2.0.0**.
3535

@@ -156,7 +156,7 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
156156
This means that places where you previously saw IP addresses in Sentry may now be grouped to anonymous users.
157157
Set the `sendDefaultPii` option in `Sentry.init()` to true to instruct the Sentry backend to infer IP addresses.
158158
- The `captureUserFeedback` method has been removed.
159-
Use the `captureFeedback` method instead and update the `comments` field to `message`.
159+
Use the `captureFeedback` method instead and set the `message` property instead of `comments`.
160160

161161
### `@sentry/nextjs`
162162

@@ -207,8 +207,7 @@ All exports and APIs of `@sentry/utils` and `@sentry/types` (except for the ones
207207
The Sentry metrics beta has ended and the metrics API has been removed from the SDK. Learn more in the Sentry [help center docs](https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th).
208208

209209
- The `enableTracing` option was removed.
210-
In v9, to emulate `enableTracing: true`, set `tracesSampleRate: 1`.
211-
To emulate `enableTracing: false`, remove the `tracesSampleRate` and `tracesSampler` options (if configured).
210+
Instead, set `tracesSampleRate: 1` or `tracesSampleRate: 0`.
212211

213212
- The `autoSessionTracking` option was removed.
214213

@@ -367,7 +366,7 @@ All exports and APIs of `@sentry/utils` and `@sentry/types` (except for the ones
367366
### `@sentry/remix`
368367

369368
- The `autoInstrumentRemix` option was removed.
370-
The SDK now behaves as if the option were set to `true` as the only and default behavior.
369+
The SDK now always behaves as if the option were set to `true`.
371370

372371
### `@sentry/sveltekit`
373372

0 commit comments

Comments
 (0)