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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -169,8 +169,9 @@ Sentry.init({
169
169
- The `getDomElement` method has been removed. There is no replacement.
170
170
- The `memoBuilder` method has been removed. There is no replacement.
171
171
- The `extractRequestData` method has been removed. Manually extract relevant data off request instead.
172
-
- The `addRequestDataToEvent` method has been removed. Use `addNormalizedRequestDataToEvent` instead.
172
+
- The `addRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
173
173
- The `extractPathForTransaction` method has been removed. There is no replacement.
174
+
- The `addNormalizedRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
174
175
175
176
#### Other/Internal Changes
176
177
@@ -250,6 +251,7 @@ Since v9, the types have been merged into `@sentry/core`, which removed some of
250
251
- The `samplingContext.request` attribute in the `tracesSampler` has been removed. Use `samplingContext.normalizedRequest` instead. Note that the type of `normalizedRequest` differs from `request`.
251
252
-`Client` now always expects the `BaseClient` class - there is no more abstract `Client` that can be implemented! Any `Client` class has to extend from `BaseClient`.
252
253
-`ReportDialogOptions` now extends `Record<string, unknown>` instead of `Record<string, any>` - this should not affect most users.
254
+
- The `RequestDataIntegrationOptions` type has been removed. There is no replacement.
253
255
254
256
# No Version Support Timeline
255
257
@@ -303,7 +305,7 @@ The Sentry metrics beta has ended and the metrics API has been removed from the
303
305
- Deprecated `TransactionNamingScheme` type.
304
306
- Deprecated `validSeverityLevels`. Will not be replaced.
305
307
- Deprecated `urlEncode`. No replacements.
306
-
- Deprecated `addRequestDataToEvent`. Use `addNormalizedRequestDataToEvent` instead.
308
+
- Deprecated `addRequestDataToEvent`. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
307
309
- Deprecated `extractRequestData`. Instead manually extract relevant data off request.
0 commit comments