Skip to content

Releases: getsentry/sentry-dotnet

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)

4.8.1

02 Jul 15:04
Compare
Choose a tag to compare

Fixes

  • The SDK no longer fails to create a trace root (#3453)
  • Removed FirstChanceException workaround for WinUI (#3411)

Dependencies

4.8.0

26 Jun 16:38
Compare
Choose a tag to compare

Obsoletion

  • Marked SentryUser.Segment as deprecated (#3437)

Features

  • Added a new package Sentry.AspNetCore.Blazor.WebAssembly. This packages provides you with an extension to WebAssemblyHostBuilder to allow SDK configuration via the builder pattern. This package gives us an entry point and the ability to extend the SDKs support and out-of-the-box offering. You can follow the progress and leave feedback either (here) for extending the support for Blazor Server or (here) for Blazor WebAssembly support (#3386)

Fixes

  • Debug logs are now visible for MAUI apps in Visual Studio when using Sentry's default DiagnosticLogger (#3373)
  • Fixed Monitor duration calculation ([#3420]#3420)
  • Fixed null IServiceProvider in anonymous routes with OpenTelemetry (#3401)
  • Fixed Trim warnings in Sentry.DiagnosticSource and WinUIUnhandledException integrations (#3410)
  • Fixed memory leak when tracing is enabled (#3432)
  • Scope.User.Id now correctly defaults to the InstallationId unless it has been set otherwise (#3425)

Dependencies

4.7.0

27 May 11:27
Compare
Choose a tag to compare

API Changes

  • SentryOptions.EnableTracing has been marked as Obsolete (#3381)

Features

  • Added an SentrySdk.RunAsyncVoid helper method that lets you capture exceptions from async void methods (#3379)

Fixes

  • P/Invoke warning for GetWindowThreadProcessId no longer shows when using Sentry in UWP applications (#3372)

Dependencies

4.6.2

14 May 12:39
Compare
Choose a tag to compare

Fixes

  • Reverted changes to the SentryHttpMessageHandler and SentryGraphQLHttpMessageHandler to automatically create transactions for each request as this could negatively affect users' quota (#3367)

4.6.1

14 May 09:14
Compare
Choose a tag to compare

Fixes

  • Fixed SentryHttpMessageHandler and SentryGraphQLHttpMessageHandler not creating spans when there is no active Transaction on the scope (#3360)
  • The SDK no longer (wrongly) initializes sentry-native on Blazor WASM builds with RunAOTCompilation enabled. (#3363)
  • HttpClient requests now show on the Requests dashboard in Sentry (#3357)

Dependencies

  • Bump Hangfire from v1.8.7 to v1.8.12 (#3361)