Releases: getsentry/sentry-dotnet
Releases Β· getsentry/sentry-dotnet
4.12.0
API Changes
- The
SentrySdk.Metrics
module is deprecated and will be removed in the next major release.
Sentry will reject all metrics sent after October 7, 2024.
Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics (#3619)
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
orSentry.Extensions.Logging
integrations. (#3584)
Fixes
- On mobile devices, the SDK no longer throws a
FormatException
forProcessorFrequency
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 aNoOpTransaction
, which avoids unnecessary memory allocations (#3581)
Dependencies
4.10.2
Various fixes & improvements
- fix: Prevent deadlock in
Hub.Dispose
(#3539) by @bitsandfoxes - build(deps): bump github/codeql-action from 3.26.0 to 3.26.2 (#3543) by @dependabot
4.10.1
4.10.0
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
orAvalonia
withPublishAot
enabled, the SDK no longers throws aDllNotFoundException
trying to initializesentry-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
- Bump CLI from v2.32.1 to v2.33.1 (#3489, #3497, #3520)
- Bump Java SDK from v7.11.0 to v7.12.1 (#3503)
- Bump Cocoa SDK from v8.30.0 to v8.32.0 (#3499)
- Bump Native SDK from v0.7.6 to v0.7.8 (#3502, #3527)
- Bump Cocoa SDK from v8.30.0 to v8.33.0 (#3499, #3528)
- Bump Native SDK from v0.7.6 to v0.7.7 (#3502)
- Bump Java SDK from v7.11.0 to v7.13.0 (#3515)
4.9.0-sync.collection.2
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
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 toWebAssemblyHostBuilder
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
API Changes
- SentryOptions.EnableTracing has been marked as Obsolete (#3381)
Features
- Added an
SentrySdk.RunAsyncVoid
helper method that lets you capture exceptions fromasync void
methods (#3379)
Fixes
- P/Invoke warning for GetWindowThreadProcessId no longer shows when using Sentry in UWP applications (#3372)