@@ -10,16 +10,6 @@ npx @sentry/migr8@latest
1010This will let you select which updates to run, and automatically update your code. Make sure to still review all code
1111changes!
1212
13- ## Deprecate transaction-related options to ` BrowserTracing `
14-
15- When configuring the ` BrowserTracing ` integration, some options have been renamed:
16-
17- - ` startTransactionOnPageLoad ` --> ` spanOnPageLoad `
18- - ` startTransactionOnLocationChange ` --> ` spanOnLocationChange `
19- - ` markBackgroundTransactions ` --> ` markBackgroundSpan `
20-
21- Also, ` beforeNavigate ` is replaced with a ` beforeStartSpan ` callback, which receives ` StartSpanOptions ` .
22-
2313## Deprecate using ` getClient() ` to check if the SDK was initialized
2414
2515In v8, ` getClient() ` will stop returning ` undefined ` if ` Sentry.init() ` was not called. For cases where this may be used
@@ -46,7 +36,6 @@ The following list shows how integrations should be migrated:
4636
4737| Old | New | Packages |
4838| ------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------- |
49- | ` new BrowserTracing() ` | ` browserTracingIntegration() ` | ` @sentry/browser ` |
5039| ` new InboundFilters() ` | ` inboundFiltersIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
5140| ` new FunctionToString() ` | ` functionToStringIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
5241| ` new LinkedErrors() ` | ` linkedErrorsIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
0 commit comments