Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 15, 2025

Updated Sentry from 5.1.0 to 6.0.0.

Release notes

Sourced from Sentry's releases.

6.0.0

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)
  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)
  • Remove SentryLoggingOptions.ExperimentalLogging.MinimumLogLevel. Structured Logs can now be configured via the "Sentry" logging provider (e.g. in appsettings.json and appsettings.{HostEnvironment}.json) (#​4700)
  • All logging provider types are internal now in order to ensure configuration as intended (#​4700)
  • Rename SentryLog.ParentSpanId to SentryLog.SpanId reflecting the protocol change (#​4778)
  • QOL improvement: Spans and Transactions now implement IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#​4627)
  • SpanTracer and TransactionTracer are still public but these are now sealed (see also #​4627)
  • The Structured Logs APIs are now stable: removed Experimental from SentryOptions (#​4699)
  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)
  • CaptureFeedback now returns a SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#​4613)
  • Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#​4693)
  • UWP support has been dropped. Future efforts will likely focus on WinUI 3, in line with Microsoft's recommendations for building Windows UI apps. (#​4686)
  • BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#​4605)
  • SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device (#​4606)
  • Removed obsolete APIs (#​4619)
    • Removed the unusual constructor from Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.
    • Removed SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.
  • ScopeExtensions.Populate is now internal (#​4611)

Features

  • Support for .NET 10 (#​4461)
  • Added a new SDK Sentry.Extensions.AI which allows LLM usage instrumentation via Microsoft.Extensions.AI (#​4657)
  • Added experimental support for Session Replay on iOS (#​4664)
  • Add support for Structured Logs in Sentry.Google.Cloud.Functions (#​4700)
  • QOL features for Unity
    • The SDK now provides a IsSessionActive to allow checking the session state (#​4662)
    • The SDK now makes use of the new SessionEndStatus Unhandled when capturing an unhandled but non-terminal exception, i.e. through the UnobservedTaskExceptionIntegration (#​4633, #​4653)
  • Extended the App context by app_memory that can hold the amount of memory used by the application in bytes. (#​4707)
  • Add support for W3C traceparent header for outgoing requests (#​4661)

Fixes

  • Memory leak when finishing an unsampled Transaction that has started unsampled Spans (#​4717)
  • Sentry Tracing middleware crashed ASP.NET Core in .NET 10 in 6.0.0-rc.1 and earlier (#​4747)
  • Captured Http Client Errors on .NET 5+ now include a full stack trace in order to improve Issue grouping (#​4724)
  • Deliver system breadcrumbs in the main thread on Android (#​4671)
  • The Serilog integration captures Structured Logs (when enabled) independently of captured Events and added Breadcrumbs (#​4691)
  • Minimum Log-Level for Structured Logs, Breadcrumbs and Events in all Logging-Integrations (#​4700)
    • for Sentry.Extensions.Logging, Sentry.AspNetCore, Sentry.Maui and Sentry.Google.Cloud.Functions
    • the Logger-Provider for Breadcrumbs and Events ignores Logging-Configuration (e.g. via appsettings.json)
      • use the intended SentryLoggingOptions.MinimumBreadcrumbLevel, SentryLoggingOptions.MinimumEventLevel, or add filter functions via SentryLoggingOptionsExtensions.AddLogEntryFilter
    • the Logger-Provider for Structured Logs respects Logging-Configuration (e.g. via appsettings.json)
      • when enabled by SentryOptions.EnableLogs
  • Avoid appending /NODEFAULTLIB:MSVCRT to NativeAOT linker arguments on Windows when targetting non-Windows platforms (Android, Browser) (#​4760)
  • The SDK avoids redundant scope sync after transaction finish (#​4623)
    ... (truncated)

6.0.0-rc.2

Fixes

  • Captured Http Client Errors on .NET 5+ now include a full stack trace in order to improve Issue grouping (#​4724)
  • Sentry Tracing middleware crashed ASP.NET Core in .NET 10 in 6.0.0-rc.1 and earlier (#​4747)

Dependencies

6.0.0-rc.1

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)

  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)

  • QOL improvement: Spans and Transactions now implement IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#​4627)

  • Add support for W3C traceparent header for outgoing requests (#​4661)
    This feature is disabled by default. Set PropagateTraceparent = true when initializing the SDK if to include the W3C traceparent header on outgoing requests.

  • The Structured Logs APIs are now stable: removed Experimental from SentryOptions (#​4699)

  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)

  • CaptureFeedback now returns a SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#​4613)

  • Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#​4693)

  • UWP support has been dropped. Future efforts will likely focus on WinUI 3, in line with Microsoft's recommendations for building Windows UI apps. (#​4686)

  • BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#​4605)

  • SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device (#​4606)

  • Remove unnecessary files from SentryCocoaFramework before packing (#​4602)

  • Removed obsolete APIs (#​4619)

    • Removed the unusual constructor from Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.
    • Removed SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.
  • SpanTracer and TransactionTracer are still public but these are now sealed (see also #​4627)

  • ScopeExtensions.Populate is now internal (#​4611)

    See https://develop.sentry.dev/sdk/telemetry/traces/distributed-tracing/#w3c-trace-context-header for more details.

Features

  • Support for .NET 10 (#​4461)
  • Added experimental support for Session Replay on iOS (#​4664)
  • QOL features for Unity
    • The SDK now provides a IsSessionActive to allow checking the session state (#​4662)
    • The SDK now makes use of the new SessionEndStatus Unhandled when capturing an unhandled but non-terminal exception, i.e. through the UnobservedTaskExceptionIntegration (#​4633, #​4653)
  • Implemented instance isolation so that multiple instances of the Sentry SDK can be instantiated inside the same process when using the Caching Transport (#​4498)
  • Extended the App context by app_memory that can hold the amount of memory used by the application in bytes. (#​4707)

Fixes

  • Memory leak when finishing an unsampled Transaction that has started unsampled Spans (#​4717)
  • Deliver system breadcrumbs in the main thread on Android (#​4671)
  • The Serilog integration captures Structured Logs (when enabled) independently of captured Events and added Breadcrumbs (#​4691)
  • The SDK avoids redundant scope sync after transaction finish (#​4623)
  • sentry-native is now automatically disabled for WASM applications (#​4631)

Dependencies

6.0.0-preview.2

BREAKING CHANGES

  • BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#​4605)

  • SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device (#​4606)

  • Remove unnecessary files from SentryCocoaFramework before packing (#​4602)

  • Removed obsolete APIs (#​4619)

    • Removed the unusual constructor from Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.
    • Removed SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.
  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)

  • ScopeExtensions.Populate is now internal (#​4611)

  • Add support for W3C traceparent header for outgoing requests (#​4661)
    This feature is disabled by default. When enabled, outgoing requests will include the W3C traceparent header.

    SentrySdk.Init(options =>
    {
        // ...
        options.PropagateTraceparent = true;
    });

    See https://develop.sentry.dev/sdk/telemetry/traces/distributed-tracing/#w3c-trace-context-header for more details.

Fixes

  • The SDK avoids redundant scope sync after transaction finish (#​4623)
  • sentry-native is now automatically disabled for WASM applications (#​4631)

6.0.0-preview.1

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)
  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)

5.16.2

Fixes

  • Do not allow multiple sentry.proguard-uuid metadata to be set in Android manifest (#​4647)

Dependencies

5.16.1

Fixes

  • Structured Logs now have a sentry.origin attribute to so it's clearer where these come from (#​4566)

Dependencies

5.16.0

Features

  • Added EnableBackpressureHandling option for Automatic backpressure handling. When enabled this automatically reduces the sample rate when the SDK detects events being dropped. (#​4452)
  • Add (experimental) Structured Logs integration for Serilog (#​4462)

Fixes

  • Templates are no longer sent with Structured Logs that have no parameters (#​4544)
  • Parent-Span-IDs are no longer sent with Structured Logs when recorded without an active Span (#​4565)
  • Upload linked PDBs to fix non-IL-stripped symbolication for iOS (#​4527)
  • In MAUI Android apps, generate and inject UUID to APK and upload ProGuard mapping to Sentry with the UUID (#​4532)
  • Fixed WASM0001 warning when building Blazor WebAssembly projects (#​4519)

API Changes

  • Remove ExperimentalAttribute from all Structured Logs APIs, and remove Experimental property from SentrySdk, but keep Experimental property on SentryOptions (#​4567)

Dependencies

5.15.1

Fixes

  • Fail when building Blazor WASM with Profiling. We don't support profiling in Blazor WebAssembly projects. (#​4512)
  • Do not overwrite user IP if it is set manually in ASP.NET sdk (#​4513)
  • Fix SentryOptions.Native.SuppressSignalAborts and SuppressExcBadAccess on iOS (#​4521)

Dependencies

5.15.1-maxpath.1

Fixes

  • Fail when building Blazor WASM with Profiling. We don't support profiling in Blazor WebAssembly projects. (#​4512)
  • Do not overwrite user IP if it is set manually in ASP.NET sdk (#​4513)
  • Fix SentryOptions.Native.SuppressSignalAborts and SuppressExcBadAccess on iOS (#​4521)
  • Partial workaround for MAX_PATH issues when building iOS applications from Windows (#​4533)

Dependencies

5.15.0

Features

  • Experimental Structured Logs:
    • Redesign SDK Logger APIs to allow usage of params (#​4451)
    • Shorten the key names of Microsoft.Extensions.Logging attributes (#​4450)

Fixes

  • Experimental Structured Logs:
    • Remove IDisposable from SentryStructuredLogger. Disposal is intended through the owning IHub instance (#​4424)
    • Ensure all buffered logs are sent to Sentry when the application terminates unexpectedly (#​4425)
    • InvalidOperationException potentially thrown during a race condition, especially in concurrent high-volume logging scenarios (#​4428)
  • Blocking calls are no longer treated as unhandled crashes (#​4458)
  • Only apply Session Replay masks to specific control types when necessary to avoid performance issues in MAUI apps with complex UIs (#​4445)
  • De-duplicate Java.Lang.RuntimeException on Android (#​4509)
  • Upload linked PDB to fix symbolication for Mac Catalyst (#​4503)

Dependencies

5.14.1

Fixes

  • Crontabs now support day names (MON-SUN) and allow step values and ranges to be combined (#​4407)
  • Ensure the correct Sentry Cocoa SDK framework version is used on iOS (#​4411)

Dependencies

5.14.0

Features

Fixes

  • Update sample_rate of Dynamic Sampling Context (DSC) when making sampling decisions (#​4374)

5.14.0-alpha.1

Dependencies

5.14.0-alpha.0

Fixes

  • Update sample_rate of Dynamic Sampling Context (DSC) when making sampling decisions (#​4374)
  • Ensure the correct Sentry Cocoa SDK framework version is used on iOS (#​4411)

5.13.0

Features

  • Sentry now includes an EXPERIMENTAL StringStackTraceFactory. This factory isn't as feature rich as the full SentryStackTraceFactory. However, it may provide better results if you are compiling your application AOT and not getting useful stack traces from the full stack trace factory. (#​4362)

Fixes

  • Source context for class libraries when running on Android in Release mode (#​4294)
  • Native AOT: don't load SentryNative on unsupported platforms (#​4347)
  • Fixed issue introduced in release 5.12.0 that might prevent other middleware or user code from reading request bodies (#​4373)
  • SentryTunnelMiddleware overwrites the X-Forwarded-For header (#​4375)
  • Native AOT support for linux-musl-arm64 (#​4365)

Dependencies

5.12.0

API changes

  • App Hang Tracking for iOS is now disabled by default, until this functionality is more stable. If you want to use it in your applications then you'll need to enable this manually. (#​4320)

Features

  • Added StartSpan and GetTransaction methods to the SentrySdk (#​4303)

Fixes

  • Avoid double reporting sessions on iOS and Android apps (#​4341)
  • Sentry now decompresses Request bodies in ASP.NET Core when RequestDecompression middleware is enabled (#​4315)
  • Custom ISentryEventProcessors are now run for native iOS events (#​4318)
  • Crontab validation when capturing checkins (#​4314)
  • Fixed an issue with the way Sentry detects build settings. This was causing Sentry to produce code that could fail at runtime in AOT compiled applications. (#​4333)
  • Native AOT: link to static lzma on Linux/MUSL (#​4326)
  • AppDomain.CurrentDomain.ProcessExit hook is now removed on shutdown (#​4323)

Dependencies

5.12.0-alpha.0

Features

  • Add experimental support for Sentry Structured Logging via SentrySdk.Experimental.Logger (#​4158)
  • Add experimental integrations of Sentry Structured Logging (#​4193)
    • Sentry.AspNetCore, enabled via SentryAspNetCoreOptions.Experimental.EnableLogs
    • Sentry.Extensions.Logging, enabled via SentryLoggingOptions.Experimental.EnableLogs
    • Sentry.Maui, enabled via SentryMauiOptions.Experimental.EnableLogs

API changes

  • App Hang Tracking for iOS is now disabled by default, until this functionality is more stable. If you want to use it in your applications then you'll need to enable this manually. (#​4320)

Features

Fixes

  • Sentry now decompresses Request bodies in ASP.NET Core when RequestDecompression middleware is enabled (#​4315)
  • Custom ISentryEventProcessors are now run for native iOS events (#​4318)
  • Crontab validation when capturing checkins (#​4314)
  • Native AOT: link to static lzma on Linux/MUSL (#​4326)
  • AppDomain.CurrentDomain.ProcessExit hook is now removed on shutdown (#​4323)

Dependencies

5.11.2

Fixes

  • Unsampled spans no longer propagate empty trace headers (#​4302)

5.11.1

Fixes

  • Fix linking of libsentry-native to avoid DllNotFoundException in Native AOT applications (#​4298)

5.11.0

Features

  • Added non-allocating ConfigureScope and ConfigureScopeAsync overloads (#​4244)
  • Add .NET MAUI AutomationId element information to breadcrumbs (#​4248)
  • The HTTP Response Status Code for spans instrumented using OpenTelemetry is now searchable (#​4283)

Fixes

  • The HTTP instrumentation uses the span created for the outgoing request in the sentry-trace header, fixing the parent-child relationship between client and server (#​4264)
  • ExtraData not captured for Breadcrumbs in MauiEventsBinder (#​4254)
    • NOTE: Required breaking changes to the public API of Sentry.Maui.BreadcrumbEvent, while keeping an Obsolete constructor for backward compatibility.
  • InvalidOperationException sending attachments on Android with LLVM enabled (#​4276)
  • When CaptureFeedback methods are called with invalid email addresses, the email address will be removed and, if Debug mode is enabled, a warning will be logged. This is done to avoid losing the Feedback altogether (Sentry would reject Feedback that has an invalid email address) (#​4284)

Dependencies

5.11.0-alpha.3

Features

  • Added non-allocating ConfigureScope and ConfigureScopeAsync overloads (#​4244)
  • Add .NET MAUI AutomationId element information to breadcrumbs (#​4248)

Fixes

  • The HTTP instrumentation uses the span created for the outgoing request in the sentry-trace header, fixing the parent-child relationship between client and server (#​4264)
  • InvalidOperationException sending attachments on Android with LLVM enabled (#​4276)

Dependencies

5.11.0-alpha.1

Fixes

  • The HTTP instrumentation uses the span created for the outgoing request in the sentry-trace header, fixing the parent-child relationship between client and server (#​4264)

Dependencies

5.10.0

Features

  • Rename MemoryInfo.AllocatedBytes to MemoryInfo.TotalAllocatedBytes (#​4243)
  • Replace libcurl with .NET HttpClient for sentry-native (#​4222)

Fixes

  • InvalidCastException in SentrySpanProcessor when using the Sentry.OpenTelemetry integration (#​4245)
  • Fix InApp Exclude for frames without Module by checking against frame's Package (#​4236)

5.9.0

Features

  • Reduced memory pressure when sampling less than 100% of traces/transactions (#​4212)
  • Add SentrySdk.SetTag (#​4232)

Fixes

  • Fixed symbolication for net9.0-android applications in Release config (#​4221)
  • Support Linux arm64 on Native AOT (#​3700)
  • Revert W3C traceparent support (#​4204)

Dependencies

5.8.2-beta.1

Fixes

  • Fixed symbolication for net9.0-android applications in Release config (#​4221)
  • Support Linux arm64 on Native AOT (#​3700)
  • Revert W3C traceparent support (#​4204)

Dependencies

5.8.1

Fixes

  • Support musl on Linux (#​4188)
  • Support for Windows ARM64 with Native AOT (#​4187)
  • Addressed potential performance issue with Sentry.Maui (#​4219)
  • Respect SentryNative=false at runtime (#​4220)

5.8.0

Features

  • .NET MAUI integration with CommunityToolkit.Mvvm Async Relay Commands can now be auto spanned with the new package Sentry.Maui.CommunityToolkit.Mvvm (#​4125)

Fixes

  • Revert "Bump Cocoa SDK from v8.39.0 to v8.46.0 (#​4103)" (#​4202)
    • IMPORTANT: Fixes multiple issues running versions 5.6.x and 5.7.x of the Sentry SDK for .NET on iOS (initialising the SDK and sending data to Sentry)

Dependencies

5.8.0-alpha.0

Features

  • Add experimental support for Sentry Structured Logging via SentrySdk.Logger (#​4158)
  • Add experimental integrations of Sentry Structured Logging (#​4193)
    • Sentry.AspNetCore, enabled via SentryAspNetCoreOptions.EnableLogs
    • Sentry.Extensions.Logging, enabled via SentryLoggingOptions.EnableLogs
    • Sentry.Maui, enabled via SentryMauiOptions.EnableLogs

5.7.0

Features

  • New source generator allows Sentry to see true build variables like PublishAot and PublishTrimmed to properly adapt checks in the Sentry SDK (#​4101)
  • Auto breadcrumbs now include all .NET MAUI gesture recognizer events (#​4124)
  • Associate replays with errors and traces on Android (#​4133)

Fixes

  • Redact Authorization headers before sending events to Sentry (#​4164)
  • Remove Strong Naming from Sentry.Hangfire (#​4099)
  • Increase RequestSize.Small threshold from 1 kB to 4 kB to match other SDKs (#​4177)

Dependencies

5.7.0-beta.0

Features

  • When setting a transaction on the scope, the SDK will attempt to sync the transaction's trace context with the SDK on the native layer. Finishing a transaction will now also start a new trace (#​4153)
  • Added CaptureFeedback overload with configureScope parameter (#​4073)
  • Custom SessionReplay masks in MAUI Android apps (#​4121)

Fixes

  • Work around iOS SHA1 bug (#​4143)
  • Prevent Auto Breadcrumbs Event Binder from leaking and rebinding events (#​4159)
  • Fixes build error when building .NET Framework applications using Sentry 5.6.0: MSB4185 :The function "IsWindows" on type "System.OperatingSystem" is not available (#​4160)
  • Added a SentrySetCommitReleaseOptions build property that can be specified separately from SentryReleaseOptions (#​4109)

Dependencies

5.6.0

5.6.0

Features

  • Option to disable the SentryNative integration (#​4107, #​4134)
  • Reintroduced experimental support for Session Replay on Android (#​4097)

Fixes

  • Ensure user exception data is not removed by AspNetCoreExceptionProcessor (#​4016)
  • Prevent users from disabling AndroidEnableAssemblyCompression which leads to untrappable crash (#​4089)
  • Fixed MSVCRT build warning on Windows (#​4111)

Features

  • If an incoming HTTP request has the traceparent header, it is now parsed and interpreted like the sentry-trace header. Outgoing requests now contain the traceparent header to facilitate integration with servesr that only support the W3C Trace Context. (#​4084)

Dependencies

5.5.1

Fixes

  • Fix UWP Net Native compilation (#​4085)
  • Sentry Java SDK dependencies are now detected and included in the Android bindings (#​4079)

5.5.0

Features

  • The IScopeObserver now has an SetTrace that allows observing changes to the scope's trace context. The SDK uses this to propagate the trace ID to sentry-native. This allows Sentry to connect errors coming from all layers of your application (#​4026)
  • Exception.HResult is now included in the mechanism data for all exceptions (#​4029)

Fixes

  • Fixed symbolication and source context for net9.0-android (#​4033)
  • Single quotes added to the release name when using MS Build to create Sentry releases on Windows (#​4015)
  • Target net9.0 on Sentry.Google.Cloud.Functions to avoid conflict with Sentry.AspNetCore (#​4039)
  • Changed default value for SentryOptions.EnableAppHangTrackingV2 to false (#​4042)
  • Missing MAUI Shell navigation breadcrumbs on iOS (#​4006)
  • Prevent application crashes when capturing screenshots on iOS (#​4069)

Dependencies

5.4.0

Enhancements

  • Profiling: improve performance by subscribing only to necessary CLR events (#​3970)

Fixes

  • Unknown stack frames in profiles on .NET 8+ (#​3967)

5.3.0

Features

  • User Feedback can now be captured without errors/exceptions. Note that these APIs replace the older UserFeedback APIs, which have now been marked as obsolete (and will be removed in a future major version bump) (#​3981)

Fixes

  • Using SentryOptions.Native.SuppressExcBadAccess and SentryOptions.Native.SuppressSignalAborts, users can now block duplicate errors from native due to dotnet NullReferenceExceptions - Defaults to false (#​3998)
  • Native iOS events are now exposed to the dotnet layer for users to hook through SentryOptions.BeforeSend and SentryOptions.OnCrashedLastRun (#​2102)
  • Prevent crashes from occurring on Android during OnBeforeSend (#​4022)

Dependencies

5.2.0

Features

  • Serilog scope properties are now sent with Sentry events (#​3976)
  • The sample seed used for sampling decisions is now propagated, for use in downstream custom trace samplers (#​3951)
  • Add Azure Function UseSentry overloads for easier wire ups (#​3971)

Fixes

  • Fix mismapped breadcrumb levels coming in from native to dotnet SDK (#​3993)

Dependencies

5.1.1

Fixes

  • Emit transaction.data inside contexts.trace.data (#​3936)
  • Native SIGSEGV errors resulting from managed NullReferenceExceptions are now suppressed on Android (#​3903)
  • OTel activities that are marked as not recorded are no longer sent to Sentry (#​3890)
  • Fixed envelopes with oversized attachments getting stuck in __processing (#​3938)
  • OperatingSystem will now return macOS as OS name instead of 'Darwin' as well as the proper version. (#​2710)
  • Ignore null value on CocoaScopeObserver.SetTag (#​3948)

Commits viewable in compare view.

Updated Sentry.Profiling from 5.1.0 to 6.0.0.

Release notes

Sourced from Sentry.Profiling's releases.

6.0.0

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)
  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)
  • Remove SentryLoggingOptions.ExperimentalLogging.MinimumLogLevel. Structured Logs can now be configured via the "Sentry" logging provider (e.g. in appsettings.json and appsettings.{HostEnvironment}.json) (#​4700)
  • All logging provider types are internal now in order to ensure configuration as intended (#​4700)
  • Rename SentryLog.ParentSpanId to SentryLog.SpanId reflecting the protocol change (#​4778)
  • QOL improvement: Spans and Transactions now implement IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#​4627)
  • SpanTracer and TransactionTracer are still public but these are now sealed (see also #​4627)
  • The Structured Logs APIs are now stable: removed Experimental from SentryOptions (#​4699)
  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)
  • CaptureFeedback now returns a SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#​4613)
  • Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#​4693)
  • UWP support has been dropped. Future efforts will likely focus on WinUI 3, in line with Microsoft's recommendations for building Windows UI apps. (#​4686)
  • BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#​4605)
  • SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device (#​4606)
  • Removed obsolete APIs (#​4619)
    • Removed the unusual constructor from Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.
    • Removed SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.
  • ScopeExtensions.Populate is now internal (#​4611)

Features

  • Support for .NET 10 (#​4461)
  • Added a new SDK Sentry.Extensions.AI which allows LLM usage instrumentation via Microsoft.Extensions.AI (#​4657)
  • Added experimental support for Session Replay on iOS (#​4664)
  • Add support for Structured Logs in Sentry.Google.Cloud.Functions (#​4700)
  • QOL features for Unity
    • The SDK now provides a IsSessionActive to allow checking the session state (#​4662)
    • The SDK now makes use of the new SessionEndStatus Unhandled when capturing an unhandled but non-terminal exception, i.e. through the UnobservedTaskExceptionIntegration (#​4633, #​4653)
  • Extended the App context by app_memory that can hold the amount of memory used by the application in bytes. (#​4707)
  • Add support for W3C traceparent header for outgoing requests (#​4661)

Fixes

  • Memory leak when finishing an unsampled Transaction that has started unsampled Spans (#​4717)
  • Sentry Tracing middleware crashed ASP.NET Core in .NET 10 in 6.0.0-rc.1 and earlier (#​4747)
  • Captured Http Client Errors on .NET 5+ now include a full stack trace in order to improve Issue grouping (#​4724)
  • Deliver system breadcrumbs in the main thread on Android (#​4671)
  • The Serilog integration captures Structured Logs (when enabled) independently of captured Events and added Breadcrumbs (#​4691)
  • Minimum Log-Level for Structured Logs, Breadcrumbs and Events in all Logging-Integrations (#​4700)
    • for Sentry.Extensions.Logging, Sentry.AspNetCore, Sentry.Maui and Sentry.Google.Cloud.Functions
    • the Logger-Provider for Breadcrumbs and Events ignores Logging-Configuration (e.g. via appsettings.json)
      • use the intended SentryLoggingOptions.MinimumBreadcrumbLevel, SentryLoggingOptions.MinimumEventLevel, or add filter functions via SentryLoggingOptionsExtensions.AddLogEntryFilter
    • the Logger-Provider for Structured Logs respects Logging-Configuration (e.g. via appsettings.json)
      • when enabled by SentryOptions.EnableLogs
  • Avoid appending /NODEFAULTLIB:MSVCRT to NativeAOT linker arguments on Windows when targetting non-Windows platforms (Android, Browser) (#​4760)
  • The SDK avoids redundant scope sync after transaction finish (#​4623)
    ... (truncated)

6.0.0-rc.2

Fixes

  • Captured Http Client Errors on .NET 5+ now include a full stack trace in order to improve Issue grouping (#​4724)
  • Sentry Tracing middleware crashed ASP.NET Core in .NET 10 in 6.0.0-rc.1 and earlier (#​4747)

Dependencies

6.0.0-rc.1

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)
  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)
  • QOL improvement: Spans and Transactions now implement IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#​4627)
  • Add support for W3C traceparent header for outgoing requests (#​4661)
    This feature is disabled by default. Set PropagateTraceparent = true when initializing the SDK if to include the W3C traceparent header on outgoing requests.
  • The Structured Logs APIs are now stable: removed Experimental from SentryOptions (#​4699)
  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)
  • CaptureFeedback now returns a SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#​4613)
  • Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#​4693)
  • UWP support has been dropped. Future efforts...

Description has been truncated

Bumps Sentry from 5.1.0 to 6.0.0
Bumps Sentry.Profiling from 5.1.0 to 6.0.0

---
updated-dependencies:
- dependency-name: Sentry
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Sentry.Profiling
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant