Skip to content

Commit 561536e

Browse files
committed
add migration docs
1 parent 880854d commit 561536e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MIGRATION.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ npx @sentry/migr8@latest
88

99
This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes!
1010

11+
## Deprecated fields on `Span` and `Transaction`
12+
13+
In v8, the Span class is heavily reworked. The following properties & methods are thus deprecated:
14+
15+
* `span.setName(newName)`: Use `span.updateName(newName)` instead.
16+
1117
## Deprecate `pushScope` & `popScope` in favor of `withScope`
1218

1319
Instead of manually pushing/popping a scope, you should use `Sentry.withScope(callback: (scope: Scope))` instead.

0 commit comments

Comments
 (0)