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-2
Original file line number
Diff line number
Diff line change
@@ -167,8 +167,9 @@ Sentry.init({
167
167
- The `getDomElement` method has been removed. There is no replacement.
168
168
- The `memoBuilder` method has been removed. There is no replacement.
169
169
- The `extractRequestData` method has been removed. Manually extract relevant data off request instead.
170
-
- The `addRequestDataToEvent` method has been removed. Use `addNormalizedRequestDataToEvent` instead.
170
+
- The `addRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
171
171
- The `extractPathForTransaction` method has been removed. There is no replacement.
172
+
- The `addNormalizedRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
172
173
173
174
#### Other/Internal Changes
174
175
@@ -245,6 +246,7 @@ Since v9, the types have been merged into `@sentry/core`, which removed some of
245
246
- The `samplingContext.request` attribute in the `tracesSampler` has been removed. Use `samplingContext.normalizedRequest` instead. Note that the type of `normalizedRequest` differs from `request`.
246
247
-`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`.
247
248
-`ReportDialogOptions` now extends `Record<string, unknown>` instead of `Record<string, any>` - this should not affect most users.
249
+
- The `RequestDataIntegrationOptions` type has been removed. There is no replacement.
248
250
249
251
# No Version Support Timeline
250
252
@@ -298,7 +300,7 @@ The Sentry metrics beta has ended and the metrics API has been removed from the
298
300
- Deprecated `TransactionNamingScheme` type.
299
301
- Deprecated `validSeverityLevels`. Will not be replaced.
300
302
- Deprecated `urlEncode`. No replacements.
301
-
- Deprecated `addRequestDataToEvent`. Use `addNormalizedRequestDataToEvent` instead.
303
+
- Deprecated `addRequestDataToEvent`. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
302
304
- Deprecated `extractRequestData`. Instead manually extract relevant data off request.
0 commit comments