Skip to content

4.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 17 Nov 14:34

Fixes

  • Don't add WinUI exception integration on mobile platforms (#2821)
  • Transactions are now getting enriched by the client instead of the hub (#2838)

API breaking Changes

Removed APIs

  • A number of [Obsolete] options have been removed (#2841)
    • BeforeSend - use SetBeforeSend instead.
    • BeforeSendTransaction - use SetBeforeSendTransaction instead.
    • BeforeBreadcrumb - use SetBeforeBreadcrumb instead.
    • CreateHttpClientHandler - use CreateHttpMessageHandler instead.
    • ReportAssemblies - use ReportAssembliesMode instead.
    • KeepAggregateException - this property is no longer used and has no replacement.
    • DisableTaskUnobservedTaskExceptionCapture method has been renamed to DisableUnobservedTaskExceptionCapture.
    • DebugDiagnosticLogger - use TraceDiagnosticLogger instead.
  • A number of iOS/Android-specific [Obsolete] options have been removed (#2856)
    • Distribution - use SentryOptions.Distribution instead.
    • EnableAutoPerformanceTracking - use SetBeforeSendTransaction instead.
    • EnableCoreDataTracking - use EnableCoreDataTracing instead.
    • EnableFileIOTracking - use EnableFileIOTracing instead.
    • EnableOutOfMemoryTracking - use EnableWatchdogTerminationTracking instead.
    • EnableUIViewControllerTracking - use EnableUIViewControllerTracing instead.
    • StitchAsyncCode - no longer available.
    • ProfilingTracesInterval - no longer available.
    • ProfilingEnabled - use ProfilesSampleRate instead.
  • Obsolete SystemClock constructor removed, use SystemClock.Clock instead. (#2856)
  • Obsolete Runtime.Clone() removed, this shouldn't have been public in the past and has no replacement. (#2856)
  • Obsolete SentryException.Data removed, use SentryException.Mechanism.Data instead. (#2856)
  • Obsolete AssemblyExtensions removed, this shouldn't have been public in the past and has no replacement. (#2856)
  • Obsolete SentryDatabaseLogging.UseBreadcrumbs() removed, it is called automatically and has no replacement. (#2856)
  • Obsolete Scope.GetSpan() removed, use Span property instead. (#2856)
  • Obsolete IUserFactory removed, use ISentryUserFactory instead. (#2856, #2840)

Changed APIs

  • DebugImage and DebugMeta moved to Sentry.Protocol namespace. (#2815)
  • SentryClient.Dispose is no longer obsolete (#2842)