Skip to content

Releases: getsentry/sentry-dotnet

3.40.0

10 Oct 10:53
Compare
Choose a tag to compare

Obsoletion

  • WithScope and WithScopeAsync have been proven to not work correctly in desktop contexts when using a global scope. They are now deprecated in favor of the overloads of CaptureEvent, CaptureMessage, and CaptureException. 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

21 Sep 13:05
Compare
Choose a tag to compare
3.40.0-beta.0 Pre-release
Pre-release

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 as string (#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 to Sentry.Azure.Functions.Worker. Note AzureFunctions now is split by a .. (#2637)

Dependencies

3.39.1

12 Sep 09:55
Compare
Choose a tag to compare

Fixes

  • Added Sentry.AspNet.csproj back to Sentry-CI-Build-macOS.slnf (#2612)

3.39.0

07 Sep 09:11
Compare
Choose a tag to compare

Features

  • Added additional DB attributes to automatically generated spans like name and provider (#2583)
  • Hints now accept attachments provided as a file path via AddAttachment 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

22 Aug 22:31
Compare
Choose a tag to compare

Features

Fixes

  • Android: Fix proguard/r8 mapping file upload (#2574)

Dependencies

3.35.1

16 Aug 18:24
Compare
Choose a tag to compare

Fixes

  • The SDK no longer creates transactions with their start date set to Jan 01, 001 (#2544)

Dependencies

3.35.0

08 Aug 16:52
Compare
Choose a tag to compare

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 deprecated HttpClientHandler 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

13 Jul 10:04
Compare
Choose a tag to compare

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

13 Jun 23:28
Compare
Choose a tag to compare

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 and WinRT 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)

Dependencies

3.33.0

22 May 19:54
Compare
Choose a tag to compare

Features

  • .NET SDK changes for exception groups (#2287)
    • This changes how AggregateException is handled. Instead of filtering them out client-side, the SDK marks them as an "exception group",
      and adds includes data that represents the hierarchical structure of inner exceptions. Sentry now recognizes this server-side,
      improving the accuracy of the issue detail page.
    • Accordingly, the KeepAggregateException option is now obsolete and does nothing. Please remove any usages of KeepAggregateException.
    • NOTE: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry.
      The effect of updating the SDK early will be as if KeepAggregateException = true was set. That will not break anything, but may affect issue grouping and alerts.

Fixes

  • Status messages when uploading symbols or sources are improved. (#2307)

Dependencies