Sentry Dotnet Versions Save

Sentry SDK for .NET

4.0.0-beta.6

6 months ago

Feature

  • Support for Spotlight. Debug tool for local development. (#2961)
    • Enable it with option EnableSpotlight
    • Optionally configure the URL to connect via SpotlightUrl. Defaults to http://localhost:8969/stream.

4.0.0-beta.5

6 months ago

Features

  • iOS profiling support (alpha). (#2930)

Fixes

  • Stop Sentry for MacCatalyst from creating default.profraw in the app bundle using xcodebuild archive to build sentry-cocoa (#2960)

Dependencies

4.0.0-beta.4

6 months ago

Fixes

  • Workaround a .NET 8 NativeAOT crash on transaction finish. (#2943)

API breaking Changes

Changed APIs

  • Rename iOS and MacCatalyst platform specific options from Cocoa to Native (#2940)
  • Rename iOS platform specific options EnableCocoaSdkTracing to EnableTracing (#2940)
  • Rename Android platform specific options from Android to Native (#2940)
  • Rename Android platform specific options EnableAndroidSdkTracing and EnableAndroidSdkBeforeSend to EnableTracing and EnableBeforeSend respectively (#2940)

Dependencies

4.0.0-beta.3

6 months ago

Fixes

  • Reworked automatic breadcrumb creation for MAUI. (#2900)
    • The SDK no longer uses on reflection to bind to all public element events. This also fixes issues where the SDK would consume third-party events.
    • Added CreateElementEventsBreadcrumbs to the SentryMauiOptions to allow users to opt-in automatic breadcrumb creation for BindingContextChanged, ChildAdded, ChildRemoved and ParentChanged on Element.
    • Reduced amount of automatic breadcrumbs by limiting the amount of bindings created in VisualElement, Window, Shell, Page and Button.
  • Fixed Sentry SDK has not been initialised when using ASP.NET Core, Serilog and OpenTelemetry (#2911)

Features

  • Native crash reporting on NativeAOT published apps (Windows, Linux, macOS). (#2887)
  • Android: By default attaches LogCat logs to unhandled exceptions. Configurable via SentryOptions.Android.LogCatIntegration and SentryOptions.Android.LogCatMaxLines. Available when targeting net7.0-android or later, on API level 23 or later. (#2926)

API breaking Changes

Removed APIs

  • SentrySinkExtensions.ConfigureSentrySerilogOptions is now internal. If you were using this method, please use one of the SentrySinkExtensions.Sentry extension methods instead. (#2902)

Changed APIs

  • AssemblyExtensions have been made public again. (#2917)
  • Rename iOS and MacCatalyst platform specific options from iOS to Cocoa (#2929)

Dependencies

3.41.3

6 months ago

Fixes

  • Fixed Sentry SDK has not been initialised when using ASP.NET Core, Serilog and OpenTelemetry (#2918)

3.41.2

6 months ago

Fixes

Dependencies

4.0.0-beta.2

6 months ago

Various fixes & improvements

Fixes

  • Android native symbol upload (#2876)
  • Sentry.Serilog no longer throws if a disabled DSN is provided when initializing Sentry via the Serilog integration (#2883)

.NET target frameworks changes

Dropped netstandard2.0 support for Sentry.AspNetCore (#2807)

API breaking Changes

Changed APIs

  • ISpanTracer has been renamed back again to ISpan, to make it easier to upgrade from v3.x to v4.x (#2870)

  • release: 3.41.1 (b40818b1) by @getsentry-bot

  • chore(deps): update Cocoa SDK to v8.16.0 (#2882) by @github-actions

  • Add SentryOptions.AutoRegisterTracing (#2871) by @jamescrosswell

  • chore: update scripts/update-java.ps1 to 6.34.0 (#2874) by @github-actions

3.41.1

6 months ago

Fixes

  • CaptureFailedRequests and FailedRequestStatusCodes are now getting respected by the Cocoa SDK. This is relevant for MAUI apps where requests are getting handled natively. (#2826)
  • Added SentryOptions.AutoRegisterTracing for users who need to control registration of Sentry's tracing middleware (#2871)

Dependencies

4.0.0-beta.1

6 months ago

Features

  • Sentry.Profiling is now packaged to be uploaded to nuget.org (#2800)

4.0.0-beta.0

6 months ago

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)