Skip to content

Releases: getsentry/sentry-dotnet

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

3.32.0

22 May 09:05
Compare
Choose a tag to compare

Features

  • Azure Functions (Isolated Worker/Out-of-Process) support (#2346)

    • Initial beta.1 release. Please give it a try and let us know how it goes!
    • Documentation is TBD. For now, see /samples/Sentry.Samples.AzureFunctions.Worker.
  • Add Hint support (#2351)

    • Currently, this allows you to manipulate attachments in the various "before" event delegates.
    • Hints can also be used in event and transaction processors by implementing ISentryEventProcessorWithHint or ISentryTransactionProcessorWithHint, instead of ISentryEventProcessor or ISentryTransactionProcessor.
    • Note: Obsoletes the BeforeSend, BeforeSendTransaction, and BeforeBreadcrumb properties on the SentryOptions class. They have been replaced with SetBeforeSend, SetBeforeSendTransaction, and SetBeforeBreadcrumb respectively. Each one provides overloads both with and without a Hint object.
  • Allow setting the active span on the scope (#2364)

    • Note: Obsoletes the Scope.GetSpan method in favor of a Scope.Span property (which now has a setter as well).
  • Remove authority from URLs sent to Sentry (#2365)

  • Add tag filters to SentryOptions (#2367)

Fixes

  • Fix EnableTracing option conflict with TracesSampleRate (#2368)

    • NOTE: This is a potentially breaking change, as the TracesSampleRate property has been made nullable.
      Though extremely uncommon, if you are retrieving the TracesSampleRate property for some reason, you will need to account for nulls.
      However, there is no change to the behavior or typical usage of either of these properties.
  • CachedTransport gracefully handles malformed envelopes during processing (#2371)

  • Remove extraneous iOS simulator resources when building MAUI apps using Visual Studio "Hot Restart" mode, to avoid hitting Windows max path (#2384)

Dependencies

3.31.0

02 May 04:01
Compare
Choose a tag to compare

Features

  • Initial work to support profiling in a future release. (#2206)
  • Create a Sentry event for failed HTTP requests (#2320)
  • Improve WithScope and add WithScopeAsync (#2303) (#2309)
  • Build .NET Standard 2.1 for Unity (#2328)
  • Add RemoveExceptionFilter, RemoveEventProcessor and RemoveTransactionProcessor extension methods on SentryOptions (#2331)
  • Include Dynamic Sampling Context with error events, when there's a transaction (#2332)

Fixes

  • Buffer payloads asynchronously when appropriate (#2297)
  • Restore System.Reflection.Metadata dependency for .NET Core 3 (#2302)
  • Capture open transactions on disabled hubs (#2319)
  • Remove session breadcrumbs (#2333)
  • Support synchronous HttpClient.Send in SentryHttpMessageHandler (#2336)
  • Fix ASP.NET Core issue with missing context when using capture methods that configure scope (#2339)
  • Improve debug file upload handling (#2349)

Dependencies

3.30.0

11 Apr 18:09
Compare
Choose a tag to compare

Features

  • Add FileDiagnosticLogger to assist with debugging the SDK (#2242)
  • Attach stack trace when events have captured an exception without a stack trace (#2266)
  • Add Scope.Clear and Scope.ClearBreadcrumbs methods (#2284)
  • Improvements to exception mechanism data (#2294)

Fixes

  • Normalize StackFrame in-app resolution for modules & function prefixes (#2234)
  • Calling AddAspNet more than once should not block all errors from being sent (#2253)
  • Fix Sentry CLI arguments when using custom URL or auth token parameters (#2259)
  • Sentry.AspNetCore fix transaction name when path base is used and route starts with a slash (#2265)
  • Fix Baggage header parsing in ASP.NET (Framework) (#2293)

Dependencies

3.29.1

11 Mar 01:13
Compare
Choose a tag to compare

Fixes

  • Get debug image for Full PDB format on Windows (#2222)
  • Fix debug files not uploading for packages.config nuget (#2224)

Dependencies

3.29.0

06 Mar 23:00
Compare
Choose a tag to compare

Notice: The <SentryUploadSymbols> MSBuild property previously defaulted to true for projects compiled in Release configuration.
It is now false by default. To continue uploading symbols, you must opt-in by setting it to true.
See the MSBuild Setup docs for further details.

Features

  • Added basic functionality to support View Hierarchy (#2163)
  • Allow SentryUploadSources to work even when not uploading symbols (#2197)
  • Add support for BeforeSendTransaction (#2188)
  • Add EnableTracing option to simplify enabling tracing (#2201)
  • Make SentryUploadSymbols strictly opt-in (#2216)

Fixes

  • Fix assembly not found on Android in Debug configuration (#2175)
  • Fix context object with circular reference prevents event from being sent (#2210)

Dependencies

3.28.1

10 Feb 16:52
Compare
Choose a tag to compare

Fixes

  • Fix MAUI missing breadcrumbs for lifecycle and UI events (#2170)
  • Fix hybrid sdk names (#2171)
  • Fix ASP.NET sdk name (#2172)

3.28.0

08 Feb 21:26
Compare
Choose a tag to compare

Features

  • Added instruction_addr_adjustment attribute to SentryStackTrace (#2151)

Fixes

  • Workaround Visual Studio "Pair to Mac" issue (on Windows), and Update bundled Cocoa SDK to version 7.31.5 (#2164)
  • Sentry SDK assemblies no longer have PDBs embedded. Debug symbols are uploaded to nuget.org as snupkg packages (#2166)

Dependencies

3.27.1

06 Feb 15:35
Compare
Choose a tag to compare

Fixes

  • Fix Sentry CLI MSBuild for Xamarin and NetFX (#2154)
  • Log aborted HTTP requests as debug instead of error (#2155)