Skip to content

Releases: getsentry/sentry-dotnet

5.7.0-beta.0

02 May 23:34

Choose a tag to compare

5.7.0-beta.0 Pre-release
Pre-release

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

24 Apr 00:41
d86fe28

Choose a tag to compare

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

08 Apr 12:48

Choose a tag to compare

Fixes

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

5.5.0

02 Apr 12:32

Choose a tag to compare

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

15 Mar 18:32

Choose a tag to compare

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

07 Mar 20:03

Choose a tag to compare

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

26 Feb 21:14

Choose a tag to compare

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

13 Feb 18:54

Choose a tag to compare

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

03 Feb 04:11

Choose a tag to compare

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

08 Jan 19:27

Choose a tag to compare

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