Sentry SDK for .NET
Cocoa
to Native
(#2940)EnableCocoaSdkTracing
to EnableTracing
(#2940)Android
to Native
(#2940)EnableAndroidSdkTracing
and EnableAndroidSdkBeforeSend
to EnableTracing
and EnableBeforeSend
respectively (#2940)CreateElementEventsBreadcrumbs
to the SentryMauiOptions to allow users to opt-in automatic breadcrumb creation for BindingContextChanged
, ChildAdded
, ChildRemoved
and ParentChanged
on Element
.VisualElement
, Window
, Shell
, Page
and Button
.SentryOptions.Android.LogCatIntegration
and SentryOptions.Android.LogCatMaxLines
. Available when targeting net7.0-android
or later, on API level 23 or later. (#2926)SentrySinkExtensions.Sentry
extension methods instead. (#2902)AssemblyExtensions
have been made public again. (#2917)iOS
to Cocoa
(#2929)Dropped netstandard2.0 support for Sentry.AspNetCore (#2807)
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
CaptureFailedRequests
and FailedRequestStatusCodes
are now getting respected by the Cocoa SDK. This is relevant for MAUI apps where requests are getting handled natively. (#2826)SentryOptions.AutoRegisterTracing
for users who need to control registration of Sentry's tracing middleware (#2871)Transactions
are now getting enriched by the client instead of the hub (#2838)[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.[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.SystemClock
constructor removed, use SystemClock.Clock
instead. (#2856)Runtime.Clone()
removed, this shouldn't have been public in the past and has no replacement. (#2856)SentryException.Data
removed, use SentryException.Mechanism.Data
instead. (#2856)AssemblyExtensions
removed, this shouldn't have been public in the past and has no replacement. (#2856)SentryDatabaseLogging.UseBreadcrumbs()
removed, it is called automatically and has no replacement. (#2856)Scope.GetSpan()
removed, use Span
property instead. (#2856)IUserFactory
removed, use ISentryUserFactory
instead. (#2856, #2840)