Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Updated Sentry from 4.10.2 to 5.14.1.

Release notes

Sourced from Sentry's releases.

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)

5.1.0

Significant change in behavior

  • The User.IpAddress is now only set to {{auto}} when SendDefaultPii is enabled. This change gives you control over IP address collection directly on the client (#​3893)

Features

  • .NET on iOS: Add experimental EnableAppHangTrackingV2 configuration flag to the options binding SDK (#​3877)
  • Added SentryOptions.DisableSentryHttpMessageHandler. Useful if you're using OpenTelemetry.Instrumentation.Http and ending up with duplicate spans. (#​3879)

Fixes

  • Prevent Native EXC_BAD_ACCESS signal errors from being captured when managed NullRefrenceExceptions occur (#​3909)
  • Fixed duplicate SentryMauiEventProcessors (#​3905)
  • Fixed invalid string.Format index in Debug logs for the DiagnosticSource integration (#​3923)

Dependencies

5.0.1

Fixes

  • .NET Mobile: Disable and made obsolete the iOS Watchdog termination feature which is based on heuristics that don't work in .NET (#​3867)
  • .NET on Android: NullReferenceException handled by Mono cause the app to crash (PR #​3694) (#​3871)

Dependencies

5.0.0

API Changes

  • Removed net6.0 and net7.0 TFMs as Microsoft has stopped supporting both of these now. If you need to target net6.0 or net7.0 then we recommend using version 4.x of the .NET SDK for Sentry. (#​3807)
  • Sentry's Experimental Metrics feature has been deprecated and removed from the SDK. (#​3718)
  • SentryOptions.EnableTracing has been removed. Instead, tracing should be enabled or disabled by setting the SentryOptions.TracesSampleRate or by using SentryOptions.TracesSampler to configure a sampling function (#​3569)
  • Temporarily removed experimental Session Replay support (#​3827)
  • You should no longer pass AndroidContext as an argument to SentrySdk.Init (#​3562)
  • The SentryUser.Segment property has been deprecated. Consider sending this as a tag or additional data instead (#​3563)
  • The ITraceContext now includes an Origin, which is set automatically and is primarily used internally by the Sentry server (#​3564)
  • Device.BatteryLevel and Device.ProcessorFrequency are now stored as floats rather than ints, to align with the Cocoa and Java SDKs (#​3567)
  • The FailedRequestTargets, TagFilters and TracePropagationTargets options have all been changed from SubstringOrRegexPattern to IList<StringOrRegex> (#​3566)
  • Scope.Transaction is now always stored as an AsyncLocal also in Global Mode, to prevent auto-instrumented spans from the UI ending up parented to transactions from a background task (or vice versa). (#​3596)

Features

  • Added support for .NET 9 (#​3699)
  • Heap dumps can be captured automatically when memory usage exceeds a configurable threshold. Note that this API is still experimental and may change based on user feedback. (#​3667)
  • libsentrysupplemental.so now supports 16 KB page sizes on Android (#​3723)
  • Added SentryOptions extension for profiling: options.AddProfilingIntegration() (#​3660)

Fixes

  • Address Trim warnings to enable AOT support, including support for MAUI specifically. (#​3841)
  • Fixed JNI Error when accessing Android device data from multiple threads (#​3802)
  • Android - fix bug that prevents logcat.log from getting attached to unhandled events (SIGSEGV Segfault) (#​3694)
  • Fixed ArgumentNullException in FormRequestPayloadExtractor when handling invalid form data on ASP.NET (#​3734)
  • Fixed NullReferenceException in SentryTraceHeader when parsing null or empty values (#​3757)
  • Fix "System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'idData')" error propagating OpenTelemetry span ids (#​3850)
  • ArgumentNullException in FormRequestPayloadExtractor when handling invalid form data on ASP.NET (#​3734)
  • Fixed crash when using NLog with FailedRequestStatusCodes options in a Maui app with Trimming enabled (#​3743)

Dependencies

5.0.0-alpha.1

API Changes

  • You should no longer pass AndroidContext as an argument to SentrySdk.Init (#​3562)
  • The SentryUser.Segment property has been deprecated. Consider sending this as a tag or additional data instead (#​3563)
  • The ITraceContext now includes an Origin, which is set automatically and is primarily used internally by the Sentry server (#​3564)
  • Device.BatteryLevel and Device.ProcessorFrequency are now stored as floats rather than ints, to align with the Cocoa and Java SDKs (#​3567)
  • SentryOptions.EnableTracing has been removed. Instead, tracing should be enabled or disabled by setting the SentryOptions.TracesSampleRate or by using SentryOptions.TracesSampler to configure a sampling function (#​3569)
  • The FailedRequestTargets, TagFilters and TracePropagationTargets options have all been changed from SubstringOrRegexPattern to IList<StringOrRegex> (#​3566)
  • Scope.Transaction is now always stored as an AsyncLocal also in Global Mode, to prevent auto-instrumented spans from the UI ending up parented to transactions from a background task (or vice versa). (#​3596)
  • Heap dumps can be captured automatically when memory usage exceeds a configurable threshold (#​3667)
  • Sentry's Experimental Metrics feature has been deprecated and removed from the SDK. (#​3718)

Features

  • Added support for .NET 9 (preview) (#​3699)
  • libsentrysupplemental.so now supports 16 KB page sizes on Android (#​3723)
  • Added SentryOptions extension for profiling: options.AddProfilingIntegration() (#​3660)

Fixes

  • Fixed NullReferenceException in SentryTraceHeader when parsing null or empty values (#​3757)
  • ArgumentNullException in FormRequestPayloadExtractor when handling invalid form data on ASP.NET (#​3734)
  • Crash when using NLog with FailedRequestStatusCodes options in a Maui app with Trimming enabled (#​3743)

Dependencies

4.13.0

Features

  • Limited experimental support for Session Replay Recording on Android (#​3552)

Fixes

  • When using OTel and ASP.NET Core the SDK could try to process OTel spans after the SDK had been closed (#​3726)

Dependencies

4.12.2

Features

  • Android - allow logcat attachments to be previewed in Sentry (#​3711)
  • Added a SetBeforeScreenshotCapture callback to the options: allowing the user to set an action before the screenshot is taken (#​3661)
  • Make Sentry.AspNetCore.Blazor.WebAssembly generally available. (#​3674)

Fixes

  • Events from NDK on Android will report sdk.name sentry.native.android.dotnet (#​3682)

Dependencies

4.12.1

Fixes

  • Fixed "Failed to persist session" error on iOS (#​3655)

Dependencies

4.12.1-segv1

Fixes

  • Android - fix bug that prevents logcat.log from getting attached to unhandled event (SIGSEGV Segfault) (#​3694)
  • Events from NDK on Android will report sdk.name sentry.native.android.dotnet (#​3682)

Features

  • Added a SetBeforeScreenshotCapture callback to the options: allowing the user to set an action before the screenshot is taken (#​3661)
  • Make Sentry.AspNetCore.Blazor.WebAssembly generally available. (#​3674)

Dependencies

4.12.0

Support for Xcode 16.0 (BREAKING CHANGE)

If you are using Xcode 16.0, you will need to update the SDK to this version (4.12.0) or later.
If you are still using Xcode 15.4 or earlier, you need to continue to use the previous version (4.11.0) or earlier.

Using Xcode 16 to build .NET applications targeting iOS and Mac Catalyst requires .NET workload for iOS SDK version 18.0.8303. We built the SDK version 4.12.0 using Xcode 16 in order to support this scenario. That, unfortunately, breaks folks using older version of Xcode.

As such, if you are using SDK version 4.12.x and targeting iOS or Mac Catalyst, you will need to install and use Xcode 16 and workload iOS SDK 18.0.8303

Note that .NET 9 will also support Xcode 16, when it is released next month (Nov 2024).

API Changes

Fixes

  • Fixed duplicate key exception for Hangfire jobs with AutomaticRetry (#​3631)

Features

  • Added a flag to options DisableFileWrite to allow users to opt-out of all file writing operations. Note that toggling this will affect features such as offline caching and auto-session tracking and release health as these rely on some file persistency (#​3614, #​3641)

Dependencies

4.11.0

Features

  • All exceptions are now added as breadcrumbs on future events. Previously this was only the case for exceptions captured via the Sentry.SeriLog or Sentry.Extensions.Logging integrations. (#​3584)

Fixes

  • On mobile devices, the SDK no longer throws a FormatException for ProcessorFrequency when trying to report native events (#​3541)
  • Add missing org parameter to the CLI release operations (#​3600)

API Changes

  • When the Sentry SDK is disabled, SentrySdk.StartTransaction() now returns a NoOpTransaction, which avoids unnecessary memory allocations (#​3581)

Dependencies

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Sentry
  dependency-version: 5.14.1
  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 Aug 18, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 15, 2025

Superseded by #161.

@dependabot dependabot bot closed this Sep 15, 2025
@dependabot dependabot bot deleted the dependabot/nuget/ketchupbot-updater/Sentry-5.14.1 branch September 15, 2025 05:34
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.

0 participants