Releases: getsentry/sentry-dotnet
Releases · getsentry/sentry-dotnet
3.40.1
3.40.0
Obsoletion
WithScope
andWithScopeAsync
have been proven to not work correctly in desktop contexts when using a global scope. They are now deprecated in favor of the overloads ofCaptureEvent
,CaptureMessage
, andCaptureException
. Those methods provide a callback to a configurable scope. (#2677)StackFrame.InstructionOffset
has not been used in the SDK and has been ignored on the server for years. (#2689)
Features
- Release of Azure Functions (Isolated Worker/Out-of-Process) support (#2686)
Fixes
- Scope is now correctly applied to Transactions when using OpenTelemetry on ASP.NET Core (#2690)
Dependencies
3.40.0-beta.0
Features
- Reduced the memory footprint of
SpanId
by refactoring the ID generation (2619) - Reduced the memory footprint of
SpanTracer
by initializing the tags lazily (2636) - Added distributed tracing without performance for Azure Function Workers (#2630)
- The SDK now provides and overload of
ContinueTrace
that accepts headers asstring
(#2601) - Sentry tracing middleware now gets configured automatically (#2602)
Fixes
- Resolved issue identifying users with OpenTelemetry (#2618)
Azure Functions Beta
- Package name changed from
Sentry.AzureFunctions.Worker
toSentry.Azure.Functions.Worker
. Note AzureFunctions now is split by a.
. (#2637)
Dependencies
3.39.1
3.39.0
Features
- Added additional
DB
attributes to automatically generated spans likename
andprovider
(#2583) Hints
now accept attachments provided as a file path viaAddAttachment
method (#2585)
Fixes
- Resolved an isse where the SDK would throw an exception while attempting to set the DynamicSamplingContext but the context exists already. (#2592)
Dependencies
3.36.0
3.35.1
3.35.0
Features
- Distributed tracing now works independently of the performance feature. This allows you to connect errors to other Sentry instrumented applications (#2493)
- Added Sampling Decision to Trace Envelope Header (#2495)
- Add MinimumEventLevel to Sentry.Log4Net and convert events below it to breadcrumbs (#2505)
Fixes
- Fixed baggage propagation when an exception is thrown from middleware (#2487)
- Fix Durable Functions preventing orchestrators from completing (#2491)
- Re-enable HubTests.FlushOnDispose_SendsEnvelope (#2492)
- Fixed SDK not sending exceptions via Blazor WebAssembly due to a
PlatformNotSupportedException
(#2506) - Align SDK with docs regarding session update for dropped events (#2496)
- Introduced
HttpMessageHandler
in favor of the now deprecatedHttpClientHandler
on the options. This allows the SDK to support NSUrlSessionHandler on iOS (#2503) - Using
Activity.RecordException
now correctly updates the error status of OpenTelemetry Spans (#2515) - Fixed Transaction name not reporting correctly when using UseExceptionHandler (#2511)
- log4net logging Level.All now maps to SentryLevel.Debug (#2522)
- Support transaction finishing automatically with 'idle timeout' (#2452)
Dependencies
3.34.0
Features
- Open Telemetry Support (#2453)
- Added a MSBuild property
SentryUploadAndroidProguardMapping
to automatically upload the Proguard mapping file when targeting Android (#2455) - Symbolication for Single File Apps (#2425)
- Add binding to
SwiftAsyncStacktraces
on iOS (#2436)
Fixes
- Builds targeting Android with
r8
enabled no longer crash during SDK init. The package now contains the required proguard rules ([#2450]#2450) - Fix Sentry logger options for MAUI and Azure Functions (#2423)
Dependencies
3.33.1
Fixes
- SentryHttpMessageHandler added when AddHttpClient is before UseSentry (#2390)
- Set the native sdk name for Android (#2389)
- Fix db connection spans not finishing (#2398)
- Various .NET MAUI fixes / improvements (#2403)
- The battery level was being reported incorrectly due to percentage multiplier.
- The device architecture (x64, arm64, etc.) is now reported
- On Windows, the OS type is now reported as "Windows" instead of "WinUI". Additionally, the OS display version (ex, "22H2") is now included.
UIKit
,ABI.Microsoft
andWinRT
frames are now marked "system" instead of "in app".
- Reduce debug files uploaded (#2404)
- Fix system frames being marked as "in-app" (#2408)
- NOTE: This important fix corrects a value that is used during issue grouping, so you may receive new alerts for existing issues after deploying this update.
- DB Connection spans presented poorly (#2409)
- Populate scope's Cookies property (#2411)
- Fix UWP GateKeeper errors (#2415)
- Fix sql client db name (#2418)