@@ -10,16 +10,6 @@ npx @sentry/migr8@latest
10
10
This will let you select which updates to run, and automatically update your code. Make sure to still review all code
11
11
changes!
12
12
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
-
23
13
## Deprecate using ` getClient() ` to check if the SDK was initialized
24
14
25
15
In 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:
46
36
47
37
| Old | New | Packages |
48
38
| ------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------- |
49
- | ` new BrowserTracing() ` | ` browserTracingIntegration() ` | ` @sentry/browser ` |
50
39
| ` new InboundFilters() ` | ` inboundFiltersIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
51
40
| ` new FunctionToString() ` | ` functionToStringIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
52
41
| ` new LinkedErrors() ` | ` linkedErrorsIntegration() ` | ` @sentry/core ` , ` @sentry/browser ` , ` @sentry/node ` , ` @sentry/deno ` , ` @sentry/bun ` , ` @sentry/vercel-edge ` |
0 commit comments