Skip to content

Releases: getsentry/sentry-dotnet

4.12.2

02 Nov 13:32
Compare
Choose a tag to compare

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-segv1

01 Nov 14:40
Compare
Choose a tag to compare

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.1

10 Oct 01:06
Compare
Choose a tag to compare

Fixes

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

Dependencies

4.12.0

02 Oct 18:42
Compare
Choose a tag to compare

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

22 Sep 22:01
Compare
Choose a tag to compare

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

4.10.2

21 Aug 11:05
Compare
Choose a tag to compare

Various fixes & improvements

4.10.1

16 Aug 13:42
Compare
Choose a tag to compare

Fixes

  • Unfinished spans are now correctly stored and retrieved by the CachingTransport (#3533)

Dependencies

4.10.0

14 Aug 10:08
Compare
Choose a tag to compare

Features

  • Users can now automatically create releases and associated commits via sentry-cli and MSBuild properties (#3462)
  • Sentry.AspNetCore.Blazor.WebAssembly now targets .NET 8 specifically, allowing for proper dependency resolution (#3501)

Fixes

  • When targeting WPF, WinForms or Avalonia with PublishAot enabled, the SDK no longers throws a DllNotFoundException trying to initialize sentry-native (#3411)
    Unable to load DLL sentry-native or one of its dependencies
  • On mobile devices, the SDK no longer throws a FormatException when trying to report native events (#3485)
  • Race condition in SentryMessageHandler (#3477)
  • Decrease runtime diagnostics circular buffer when profiling, reducing memory usage (#3491)
  • The InstallationId is now resolved only once per application execution and any issues are logged as warnings instead of errors (#3529)
  • DisplayInfo now captured correctly on iOS and Mac Catalyst on non-UI threads (#3521)

Dependencies

4.9.0-sync.collection.2

30 Jul 09:55
Compare
Choose a tag to compare

Experimental

  • This release includes experimental use of a SynchronizedCollection instead of a ConcurrentBag to see if this has any impact on high memory usage experienced by some SDK users.

Fixes

  • Race condition in SentryMessageHandler (#3477)

4.9.0

11 Jul 17:29
Compare
Choose a tag to compare

Fixes

  • Fixed envelopes getting stuck in processing when losing network connectivity (#3438)

Features

  • Client reports now include dropped spans (#3463)

API Changes

  • Removed SentrySdk.RunAsyncVoid (#3466)