Skip to content

Commit 006dc5b

Browse files
committed
add migration guide entry
1 parent 1b8c372 commit 006dc5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎MIGRATION.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2133,6 +2133,7 @@ The main entry re-exported the build plugin statically, which pulled the whole b
21332133
`any`.
21342134
- Attribute typing and serialization were unified across the SDK.
21352135
- The `attributes` field on the `ScopeData` type is now required. `Scope.getScopeData()` always returned it, so this only affects code that constructs `ScopeData` objects manually — add `attributes: {}` there.
2136+
- The `attributes` field on the `SamplingContext` passed to `tracesSampler` is now required (previously optional); it is always provided by the SDK, so this only affects code that narrows or constructs `SamplingContext` objects by hand.
21362137
- The `endTimestamp` property was removed from the `SentrySpanArguments` interface. It was never part of
21372138
`StartSpanOptions`, so it could only be passed by ignoring TypeScript, in which case the span ended itself
21382139
during construction. Call `span.end(timestamp)` instead.

0 commit comments

Comments
 (0)