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
@@ -149,8 +149,9 @@ Sentry.init({
149
149
- The `getDomElement` method has been removed. There is no replacement.
150
150
- The `memoBuilder` method has been removed. There is no replacement.
151
151
- The `extractRequestData` method has been removed. Manually extract relevant data off request instead.
152
-
- The `addRequestDataToEvent` method has been removed. Use `addNormalizedRequestDataToEvent` instead.
152
+
- The `addRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
153
153
- The `extractPathForTransaction` method has been removed. There is no replacement.
154
+
- The `addNormalizedRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
154
155
155
156
#### Other/Internal Changes
156
157
@@ -226,6 +227,7 @@ Since v9, the types have been merged into `@sentry/core`, which removed some of
226
227
- The `IntegrationClass` type is no longer exported - it was not used anymore. Instead, use `Integration` or `IntegrationFn`.
227
228
- The `samplingContext.request` attribute in the `tracesSampler` has been removed. Use `samplingContext.normalizedRequest` instead. Note that the type of `normalizedRequest` differs from `request`.
228
229
-`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`.
230
+
- The `RequestDataIntegrationOptions` type has been removed. There is no replacement.
229
231
230
232
# No Version Support Timeline
231
233
@@ -275,7 +277,7 @@ The Sentry metrics beta has ended and the metrics API has been removed from the
275
277
- Deprecated `TransactionNamingScheme` type.
276
278
- Deprecated `validSeverityLevels`. Will not be replaced.
277
279
- Deprecated `urlEncode`. No replacements.
278
-
- Deprecated `addRequestDataToEvent`. Use `addNormalizedRequestDataToEvent` instead.
280
+
- Deprecated `addRequestDataToEvent`. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
279
281
- Deprecated `extractRequestData`. Instead manually extract relevant data off request.
0 commit comments