Skip to content

Commit

Permalink
unified obsoletion/removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Feb 12, 2024
1 parent dddb2c8 commit 9e5ace2
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions docs/platforms/dotnet/migration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,19 @@ This SDK version is compatible with a self-hosted version of Sentry `22.12.0` or
- `StitchAsyncCode` - no longer available.
- `ProfilingTracesInterval` - no longer available.
- `ProfilingEnabled` - use `ProfilesSampleRate` instead.
- Obsolete `SystemClock` constructor removed, use `SystemClock.Clock` instead.
- Obsolete `Runtime.Clone()` removed, this shouldn't have been public in the past and has no replacement.
- Obsolete `SentryException.Data` removed, use `SentryException.Mechanism.Data` instead.
- Obsolete `AssemblyExtensions` removed, this shouldn't have been public in the past and has no replacement.
- Obsolete `SentryDatabaseLogging.UseBreadcrumbs()` removed, it is called automatically and has no replacement.
- Obsolete `Scope.GetSpan()` removed, use `Span` property instead.
- Obsolete `IUserFactory` removed, use `ISentryUserFactory` instead.
- `IHasMeasurements` has been removed. Use `ISpanData` instead.
- `IHasBreadcrumbs` has been removed. Use `IEventLike` instead.
- `ISpanContext` has been removed. Use `ITraceContext` instead.
- `IHasTransactionNameSource` has been removed. Use `ITransactionContext` instead.
- A number of obsolete types have been removed:
- `SystemClock` - use `SystemClock.Clock` instead.
- `Scope.GetSpan()` - use `Span` property instead.
- `IUserFactory` - use `ISentryUserFactory` instead.
- `SentryException.Data` - use `SentryException.Mechanism.Data` instead.
- `Runtime.Clone()` - this shouldn't have been public in the past and has no replacement.
- `AssemblyExtensions` - this shouldn't have been public in the past and has no replacement.
- `SentryDatabaseLogging.UseBreadcrumbs()` - it is called automatically and has no replacement.
- A number of interfaces have removed:
- `IHasMeasurements` - use `ISpanData` instead.
- `IHasBreadcrumbs` - use `IEventLike` instead.
- `ISpanContext` - use `ITraceContext` instead.
- `IHasTransactionNameSource` - use `ITransactionContext` instead.
- The unused `StackFrame.InstructionOffset` has been removed.
- The unused `Scope.Platform` property has been removed.
- The obsolete setter `Sentry.PlatformAbstractions.Runtime.Identifier` has been removed.
Expand Down

0 comments on commit 9e5ace2

Please sign in to comment.