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
Copy file name to clipboardExpand all lines: docs/migration/v8-to-v9.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Version 9 of the Sentry JavaScript SDK concerns API cleanup and version support changes.
4
4
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.
5
5
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).
7
7
Lower versions may continue to work, but may not support all features.
8
8
9
9
## 1. Version Support Changes:
@@ -29,7 +29,7 @@ If your runtime does not support ES2020, we recommend transpiling the SDK using
29
29
- Opera 67
30
30
- Samsung Internet 13.0
31
31
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.
33
33
34
34
**Deno:** The minimum supported Deno version is now **2.0.0**.
35
35
@@ -156,7 +156,7 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
156
156
This means that places where you previously saw IP addresses in Sentry may now be grouped to anonymous users.
157
157
Set the `sendDefaultPii` option in`Sentry.init()` to true to instruct the Sentry backend to infer IP addresses.
158
158
- 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`.
160
160
161
161
### `@sentry/nextjs`
162
162
@@ -207,8 +207,7 @@ All exports and APIs of `@sentry/utils` and `@sentry/types` (except for the ones
207
207
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).
208
208
209
209
- 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`.
212
211
213
212
- The `autoSessionTracking` option was removed.
214
213
@@ -367,7 +366,7 @@ All exports and APIs of `@sentry/utils` and `@sentry/types` (except for the ones
367
366
### `@sentry/remix`
368
367
369
368
- 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`.
0 commit comments