Releases: getsentry/sentry-dotnet
Releases · getsentry/sentry-dotnet
4.9.0-sync.collection.2
Experimental
- This release includes experimental use of a
SynchronizedCollectioninstead 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
4.8.1
4.8.0
Obsoletion
- Marked SentryUser.Segment as deprecated (#3437)
Features
- Added a new package
Sentry.AspNetCore.Blazor.WebAssembly. This packages provides you with an extension toWebAssemblyHostBuilderto 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.Idnow correctly defaults to the InstallationId unless it has been set otherwise (#3425)
Dependencies
4.7.0
API Changes
- SentryOptions.EnableTracing has been marked as Obsolete (#3381)
Features
- Added an
SentrySdk.RunAsyncVoidhelper method that lets you capture exceptions fromasync voidmethods (#3379)
Fixes
- P/Invoke warning for GetWindowThreadProcessId no longer shows when using Sentry in UWP applications (#3372)
Dependencies
4.6.2
4.6.1
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
RunAOTCompilationenabled. (#3363) - HttpClient requests now show on the Requests dashboard in Sentry (#3357)
Dependencies
- Bump Hangfire from v1.8.7 to v1.8.12 (#3361)
4.6.0
4.5.0
Features
- Extended the SDK's CheckIn support by adding Release, Environment and Trace ID to the event. CheckIns created via the Hangfire integration now also automatically report their duration (#3320)
- The SDK's performance API now works in conjunction with OpenTelemetry's instrumentation. This means that SentrySpans and OTel spans now show up in the same span-tree. (#3288)
Fixes
HttpResponse.Contentis no longer disposed by when usingSentryHttpFailedRequestHandleron .NET Framework, which was causing an ObjectDisposedException when using Sentry with NSwag (#3306)- Fix BackgroundWorker exiting when OperationCanceledException is not from shutdown request (3284)
- Envelopes with large attachments no longer get stuck in the queue when using
CacheDirectoryPath(#3328)