Skip to content

Bump Sentry from 5.16.3 to 7.0.1 - #94

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/src/Gml.Client/Sentry-7.0.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/src/Gml.Client/Sentry-7.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Updated Sentry from 5.16.3 to 7.0.1.

Release notes

Sourced from Sentry's releases.

7.0.1

Fixes 🐛

  • fix: keep the longer rate limit when a later response sends a shorter one by @​ric-oliv with @​sentry-junior in #​5946
  • fix: Keep the transaction when TransactionNameProvider throws by @​dingsdax with @​sentry-junior in #​5941
  • fix: SentryOptions subclasses can set ScopeObserver and EnableScopeSync again by @​jamescrosswell and @​claude in #​5930
  • fix: Filter sensitive cookie values instead of sending raw cookies by @​jamescrosswell and @​claude in #​5894
  • Values of sensitive URL query parameters, such as token or session_id, are now replaced with [Filtered] in events, spans and breadcrumbs, regardless of SendDefaultPii. Outbound HTTP and GraphQL span descriptions no longer include the query string or fragment. by @​jamescrosswell and @​claude in #​5891

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.34.0 by @​ric-oliv and @​claude with @​github-actions in #​5924
  • chore(deps): update Java SDK to v8.64.0 by @​ric-oliv and @​claude with @​github-actions in #​5923

7.0.0

Version 7 of the Sentry SDK for .NET adds support for .NET 11 and gives Sentry a single place to be initialized. It contains breaking changes, so read the upgrade notes below before you upgrade.

Highlights

  • .NET 11. The SDK targets net11.0 alongside .NET 8, 9 and 10, including Android, iOS and Mac Catalyst apps on .NET 11, with support for .NET 11's Android assembly stores and Zstandard-compressed assemblies.
  • One place to initialize Sentry. The Microsoft.Extensions.Logging, Serilog, NLog and log4net integrations now only capture logs, breadcrumbs and events; they no longer start the SDK. Initialize Sentry with SentrySdk.Init or UseSentry, and configure it from the Sentry section of appsettings.json.
  • UseSentry for generic host apps. The new Sentry.Extensions.Hosting package adds UseSentry to Host.CreateApplicationBuilder and IHostBuilder, for worker services, console apps, Azure Functions (isolated) and Windows services.
  • Less noise in tracing. Requests that end in 301, 305–399 or 401–404 are no longer traced by default.
  • The right environment everywhere. ASP.NET Core, generic host apps, Blazor WebAssembly and Google Cloud Functions take the Sentry environment from the host environment, and logs, metrics, sessions and check-ins use an environment set on the scope.

Upgrading from 6.x

Target frameworks

  • MAUI and Mobile targets require .NET 10 or later: net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-windows are no longer supported.
  • On .NET 11, the minimum Android API level is 24 (Android 7.0) and the minimum Mac Catalyst version is 17.0.
  • On .NET 11, the iOS and Mac Catalyst targets are net11.0-ios27.2 and net11.0-maccatalyst27.2, which need Xcode 27.2 to build.
  • Other targets are unchanged: .NET 8 and later, .NET Standard 2.0 and 2.1, and .NET Framework 4.6.2.

Initializing Sentry

  • Serilog's WriteTo.Sentry(...), NLog's Sentry target, log4net's SentryAppender and Logging.AddSentry(...) no longer initialize the SDK. Initialize Sentry first with SentrySdk.Init, or UseSentry in ASP.NET Core, MAUI, Blazor WebAssembly and generic host apps, and move Dsn, Release, Environment and other SDK settings there. A DSN still set on one of these integrations fails with a message explaining what to change (to prevent SDK users being blind-sided by this change).
  • In ASP.NET Core and generic host apps, UseSentry starts Sentry when the host is built, so crashes before that aren't captured. Apps that relied on the Serilog sink, the NLog target or the log4net appender to capture startup crashes can also call SentrySdk.Init at the start of Main.
  • Logging:Sentry in appsettings.json now only sets log levels: MinimumEventLevel, MinimumBreadcrumbLevel and the LogLevel rules. Move any other key to the Sentry section; the app fails at startup until you do.
  • SentryLoggingOptions, SentrySerilogOptions and SentryNLogOptions no longer derive from SentryOptions. Serilog's ApplySerilogScopeToEvents() is renamed UseSerilog().
  • NLog flushes Sentry using SentryOptions.FlushTimeout, which defaults to 2 seconds. The NLog target used to wait up to 15.
  • NLog sends entries at Info and above as logs. To send Trace and Debug entries as logs too, lower MinimumLogLevel on SentryNLogOptions, or minimumLogLevel on the target in XML config. enableLogs="false" still turns logs off, by setting MinimumLogLevel to Off.
  • Logging.AddSentry() no longer registers IHub, ISentryClient or Func<IHub> in the service collection; UseSentry does. An app that initializes Sentry with SentrySdk.Init and injects them now fails when they're resolved. Switch to UseSentry, or register HubAdapter.Instance for each type yourself.
  • In an app that calls both UseSentry and Logging.AddSentry(), the Logging.AddSentry() call now does nothing. Move its settings to the host's options, such as SentryAspNetCoreOptions, and remove the call. The exception is an app that calls ClearProviders() after UseSentry. Keep Logging.AddSentry() there, because it adds Sentry's logger providers back.
  • In MAUI, options set in the UseSentry callback now override appsettings.json, as they do in ASP.NET Core.

Removed and changed APIs

  • SentryOptions.EnableLogs is removed. With SentrySdk.Init and the logging integrations, logs are always sent; drop them with SetBeforeSendLog(_ => null). ASP.NET Core, MAUI and Blazor WebAssembly keep the opt-in: set EnableLogs on their options or in the Sentry section, as in 6.x.
  • SentryOptions.EnableMetrics is removed. Return null from SetBeforeSendMetric to drop metrics.
  • Scope.Release, Scope.Distribution and SentryOptions.ApplyDefaultTags are removed. Set Release and Distribution on SentryOptions. DefaultTags are still applied.
  • SentryOptions.ScopeObserver, EnableScopeSync and CrashedLastRun are now internal.
  • On iOS and Mac Catalyst, SentryOptions.Native.EnableAppHangTrackingV2 is removed; use EnableAppHangTracking. SentryOptions.Native.AddInAppExclude(string), which had no effect, is removed too.
  • Envelope.FromEvent, Envelope.FromFeedback and Envelope.FromTransaction take the IDiagnosticLogger as their last parameter.
  • The OTLP exporter no longer sets a global OpenTelemetry propagator, and its defaultTextMapPropagator parameter is removed. The propagator should be configured via the OpenTelemetry SDK instead.
  • SentryClientExtensions.GetInternalSentryOptions is removed. Integrations that need the SDK's diagnostic logger can call the new GetDiagnosticLogger() extension on IHub, in Sentry.Extensibility.
  • ILoggerFactory.AddSentry() is removed, and calls to it no longer compile. Use ILoggingBuilder.AddSentry() instead, for example LoggerFactory.Create(builder => builder.AddSentry()). Unlike the old method, it also sends ILogger entries as Sentry logs.

Changes in behavior

  • Requests that end in 301, 305–399 or 401–404 are no longer traced. To trace them again, call options.TraceIgnoreStatusCodes.Clear().
  • Apps that use the ISentryBuilder overloads of UseSentry (including gRPC apps), Blazor WebAssembly or Google Cloud Functions, and don't set an environment, now report the host environment, such as development or staging, instead of production. Update alerts and filters that rely on the old value.
  • Events, transactions, logs and metrics report the SDK name of the integration that initialized Sentry, such as sentry.dotnet.aspnetcore, rather than the logging integration that captured them.
  • On Android and iOS, SENTRY_RELEASE takes precedence over the release derived from the app package.
  • SentryOptions.DecompressionMethods now defaults to GZip | Deflate, leaving out Brotli. To accept Brotli responses again, set options.DecompressionMethods |= DecompressionMethods.Brotli.
    ... (truncated)

7.0.0-rc.3

Breaking Changes 🛠

  • Exclude Brotli from default SentryOptions.DecompressionMethods by @​jamescrosswell and @​claude in #​5816

Features ✨

Hangfire

  • feat(hangfire): Add an option to monitor all recurring jobs by @​wedamija and @​claude in #​5742
  • Hangfire recurring jobs marked with [SentryMonitorSlug] now send their cron schedule and time zone with the check-in, so Sentry creates the monitor if it doesn't exist yet. This is on by default: on upgrade, existing monitors take their schedule and time zone from the recurring job on its next run (other monitor settings are kept). To keep managing schedules in Sentry, opt out with UseSentry(o => o.SendMonitorConfig = false). by @​wedamija and @​claude in #​5665

Other

  • feat(quartz): Add an option to monitor all scheduled jobs by @​wedamija, @​michaelmairegger and 3 others in #​5741
  • feat: add support for .NET 11 RC 3 by @​ric-oliv, @​claude and @​jamescrosswell in #​5830
  • Add Sentry.Quartz3, an integration for Quartz.NET 3.x (3.6 and later) on .NET Framework 4.6.2+ and .NET 8+ by @​wedamija, @​michaelmairegger and 3 others in #​5668
    • Register it with services.AddQuartz(q => q.AddJobListener<SentryJobListener>()) or scheduler.ListenerManager.AddJobListener(new SentryJobListener())
    • Jobs marked with [SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automatically
    • Quartz.NET 3.x has no job middleware, so unlike Sentry.Quartz this doesn't run each job in its own scope or capture the exceptions jobs throw
  • Add Sentry.Quartz, an integration for Quartz.NET 4.x by @​michaelmairegger, @​jamescrosswell and 3 others in #​5505
    • services.AddQuartz(q => q.AddSentry()) runs each job in its own scope and trace, tagged with its job key, and captures the exceptions jobs throw
    • Jobs marked with [SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automatically
    • SentryQuartzOptions.ConfigureMonitorOptions customizes thresholds or the schedule, and SendMonitorConfig = false sends check-ins without a schedule

Fixes 🐛

Logging

  • fix(logging): warn when ClearProviders() removes the logger providers UseSentry added by @​ric-oliv and @​claude in #​5789
  • fix(logging): make Logging.AddSentry() work after UseSentry and ClearProviders() by @​ric-oliv and @​claude in #​5776

Other

  • fix(hosting): start the SDK during Build() even when the app clears or replaces logger providers by @​ric-oliv and @​claude in #​5772
  • fix(maui): report in_foreground for apps using the UIScene lifecycle by @​jamescrosswell and @​claude in #​5730
  • fix(nlog): stack overflow when Debug is on and NLog handles ILogger by @​jamescrosswell and @​claude in #​5823
  • fix: drop attachments whose stream turns out empty when the envelope is sent by @​bitsandfoxes in #​5787
  • fix: upload symbols and create releases when publishing Native AOT with the .NET 11 SDK by @​jamescrosswell and @​claude in #​5731
  • fix: don't upload pre-trim PDBs for trimmed iOS and Mac Catalyst builds by @​jamescrosswell and @​claude in #​5732
  • fix: avoid first-chance exception when getting length of non-seekable attachment streams by @​bitsandfoxes in #​5736

Dependencies ⬆️

Deps

  • chore(deps): update Native SDK to v0.17.5 by @​github-actions in #​5826
  • chore(deps): update Java SDK to v8.62.0 by @​github-actions in #​5824
  • chore(deps): update Java SDK to v8.61.1 by @​github-actions in #​5777
  • chore(deps): update CLI to v3.8.2 by @​github-actions in #​5778
  • chore(deps): update Cocoa SDK to v9.31.0 by @​ric-oliv and @​claude with @​github-actions in #​5769
    ... (truncated)

7.0.0-rc.2

Version 7 of the Sentry SDK for .NET adds support for .NET 11 and gives Sentry a single place to be initialized. It contains breaking changes, so read the upgrade notes below before you upgrade.

This is a release candidate, built against .NET 11 RC 2.

Highlights

  • .NET 11. The SDK targets net11.0 alongside .NET 8, 9 and 10, including Android, iOS and Mac Catalyst apps on .NET 11, with support for its new Android assembly store format and Zstandard-compressed assemblies.
  • One place to initialize Sentry. The Microsoft.Extensions.Logging, Serilog, NLog and log4net integrations now only capture logs, breadcrumbs and events; they no longer start the SDK. Initialize Sentry with SentrySdk.Init or UseSentry, and configure it from the Sentry section of appsettings.json.
  • UseSentry for generic host apps. The new Sentry.Extensions.Hosting package adds UseSentry to Host.CreateApplicationBuilder and IHostBuilder, for worker services, console apps, Azure Functions (isolated) and Windows services. ASP.NET Core apps can call builder.UseSentry(...) on WebApplicationBuilder and keep chaining.
  • Cron monitors from code. SentrySdk.WithMonitor and SentrySdk.WithMonitorAsync run a job, send its check-ins, and can create the monitor along with its schedule. Hangfire recurring jobs marked with [SentryMonitorSlug] send their cron schedule automatically.
  • Less noise in tracing. Requests that end in 301, 305–399 or 401–404 are no longer traced by default.
  • The right environment everywhere. ASP.NET Core, generic host apps, Blazor WebAssembly and Google Cloud Functions take the Sentry environment from the host environment, and logs, metrics, sessions and check-ins use an environment set on the scope.

Upgrading from 6.x

Target frameworks

  • Mobile targets require .NET 10 or later: net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-windows are no longer supported.
  • On .NET 11, the minimum Android API level is 24 (Android 7.0) and the minimum Mac Catalyst version is 17.0.
  • Other targets are unchanged: .NET 8 and later, .NET Standard 2.0 and 2.1, and .NET Framework 4.6.2.

Initializing Sentry

  • Serilog's WriteTo.Sentry(...), NLog's Sentry target, log4net's SentryAppender and Logging.AddSentry(...) no longer initialize the SDK. Initialize Sentry first with SentrySdk.Init, or UseSentry in ASP.NET Core, MAUI, Blazor WebAssembly and generic host apps, and move Dsn, Release, Environment and other SDK settings there. A DSN still set on one of these integrations fails with a message explaining what to change (to prevent SDK users being blind-sided by this change).
  • Logging:Sentry in appsettings.json now only sets log levels: MinimumEventLevel, MinimumBreadcrumbLevel and the LogLevel rules. Move any other key to the Sentry section; the app fails at startup until you do.
  • SentryLoggingOptions, SentrySerilogOptions and SentryNLogOptions no longer derive from SentryOptions. Serilog's ApplySerilogScopeToEvents() is renamed UseSerilog().
  • NLog flushes Sentry using SentryOptions.FlushTimeout, which defaults to 2 seconds. The NLog target used to wait up to 15.
  • Logging.AddSentry() no longer registers IHub, ISentryClient or Func<IHub> in the service collection; UseSentry does. An app that initializes Sentry with SentrySdk.Init and injects them now fails when they're resolved. Switch to UseSentry, or register HubAdapter.Instance for each type yourself.
  • In an app that calls both UseSentry and Logging.AddSentry(), the Logging.AddSentry() call now does nothing. Move its settings to the host's options, such as SentryAspNetCoreOptions, and remove the call.
  • In MAUI, options set in the UseSentry callback now override appsettings.json, as they do in ASP.NET Core.

Removed and changed APIs

  • SentryOptions.EnableLogs is removed. With SentrySdk.Init and the logging integrations, logs are always sent; drop them with SetBeforeSendLog(_ => null). ASP.NET Core, MAUI and Blazor WebAssembly keep the opt-in: set EnableLogs on their options or in the Sentry section, as in 6.x.
  • SentryOptions.EnableMetrics is removed. Return null from SetBeforeSendMetric to drop metrics.
  • Scope.Release, Scope.Distribution and SentryOptions.ApplyDefaultTags are removed. Set Release and Distribution on SentryOptions. DefaultTags are still applied.
  • SentryOptions.ScopeObserver, EnableScopeSync and CrashedLastRun are now internal.
  • On iOS and Mac Catalyst, SentryOptions.Native.EnableAppHangTrackingV2 is removed; use EnableAppHangTracking. SentryOptions.Native.AddInAppExclude(string), which had no effect, is removed too.
  • Envelope.FromEvent, Envelope.FromFeedback and Envelope.FromTransaction take the IDiagnosticLogger as their last parameter.
  • The OTLP exporter no longer sets a global OpenTelemetry propagator, and its defaultTextMapPropagator parameter is removed. The propagator should be configured via the OpenTelemetry SDK instead. Sentry.OpenTelemetry and Sentry.OpenTelemetry.Exporter now require OpenTelemetry 1.12.0 or later.

Changes in behavior

  • Requests that end in 301, 305–399 or 401–404 are no longer traced. To trace them again, call options.TraceIgnoreStatusCodes.Clear().
  • Apps that use the ISentryBuilder overloads of UseSentry (including gRPC apps), Blazor WebAssembly or Google Cloud Functions, and don't set an environment, now report the host environment, such as development or staging, instead of production. Update alerts and filters that rely on the old value.
  • Events, transactions, logs and metrics report the SDK name of the integration that initialized Sentry, such as sentry.dotnet.aspnetcore, rather than the logging integration that captured them.
  • On Android and iOS, SENTRY_RELEASE takes precedence over the release derived from the app package.
  • Hangfire recurring jobs marked with [SentryMonitorSlug] send their schedule and time zone, which updates existing monitors on the next run. To keep managing schedules in Sentry, opt out with UseSentry(o => o.SendMonitorConfig = false).

Breaking Changes 🛠

... (truncated)

6.13.0

Features ✨

Hangfire

  • feat(hangfire): Add an option to monitor all recurring jobs by @​wedamija and @​claude in #​5742
  • Hangfire recurring jobs marked with [SentryMonitorSlug] now send their cron schedule and time zone with the check-in, so Sentry creates the monitor if it doesn't exist yet. This is on by default: on upgrade, existing monitors take their schedule and time zone from the recurring job on its next run (other monitor settings are kept). To keep managing schedules in Sentry, opt out with UseSentry(o => o.SendMonitorConfig = false). by @​wedamija and @​claude in #​5665

Other

  • feat(aspnetcore): add UseSentry overloads on WebApplicationBuilder by @​ric-oliv and @​claude in #​5720
  • feat(quartz): Add an option to monitor all scheduled jobs by @​wedamija, @​michaelmairegger and 3 others in #​5741
  • Add Sentry.Quartz3, an integration for Quartz.NET 3.x (3.6 and later) on .NET Framework 4.6.2+ and .NET 8+ by @​wedamija, @​michaelmairegger and 3 others in #​5668
    • Register it with services.AddQuartz(q => q.AddJobListener<SentryJobListener>()) or scheduler.ListenerManager.AddJobListener(new SentryJobListener())
    • Jobs marked with [SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automatically
    • Quartz.NET 3.x has no job middleware, so unlike Sentry.Quartz this doesn't run each job in its own scope or capture the exceptions jobs throw
  • Add Sentry.Quartz, an integration for Quartz.NET 4.x by @​michaelmairegger, @​jamescrosswell and 3 others in #​5505
    • services.AddQuartz(q => q.AddSentry()) runs each job in its own scope and trace, tagged with its job key, and captures the exceptions jobs throw
    • Jobs marked with [SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automatically
    • SentryQuartzOptions.ConfigureMonitorOptions customizes thresholds or the schedule, and SendMonitorConfig = false sends check-ins without a schedule
  • feat: add SentrySdk.WithMonitor to run a job with cron check-ins and create the monitor from code by @​wedamija, @​claude and 2 others in #​5664

Fixes 🐛

Maui

  • fix(maui): CreateElementEventsBreadcrumbs set in code is no longer overwritten by @​jamescrosswell and @​claude in #​5861
  • fix(maui): report in_foreground for apps using the UIScene lifecycle by @​jamescrosswell and @​claude in #​5730

Other

  • fix(android): drop native events when BeforeSend conversion fails by @​osamashtayat and @​codex in #​5868
  • fix(aspnetcore): start the SDK when the host starts, not on the first request by @​ric-oliv and @​claude in #​5721
  • fix(ios): an exception in a native scope callback no longer recurses until the stack overflows by @​jamescrosswell and @​claude in #​5877
  • fix(logging): Logging:Sentry:LogLevel category entries no longer filter breadcrumbs and events by @​jamescrosswell and @​claude in #​5872
  • fix: automatically collected HTTP headers with sensitive names, such as Set-Cookie, X-Api-Key and X-Auth-Token, now have their values replaced with [Filtered], regardless of SendDefaultPii by @​jamescrosswell and @​claude in #​5890
  • Sessions on iOS, Mac Catalyst and Android now pause when the app moves to the background. A background longer than AutoSessionTrackingInterval ends the session, and an app killed in the background reports exited instead of abnormal. by @​bitsandfoxes, @​claude and @​jamescrosswell in #​5863
  • On those platforms, background launches no longer start a session, the same as in sentry-java and sentry-cocoa. On iOS and Mac Catalyst, sessions now start when the app first becomes active, so a crash before that no longer counts as a crashed session. by @​bitsandfoxes, @​claude and @​jamescrosswell in #​5863
  • fix: a timed-out flush no longer lets cached envelopes be sent concurrently by @​jamescrosswell and @​claude in #​5878
  • fix: iOS NativeAOT apps using TrimMode=partial crash at launch in SentryObjCOptions.set_BeforeSend by @​jamescrosswell and @​claude in #​5857
  • fix: transactions left unsampled by an upstream trace decision are no longer reported as backpressure drops in client reports by @​chiliec in #​5841
  • fix: drop attachments whose stream turns out empty when the envelope is sent by @​bitsandfoxes and @​claude in #​5787
  • fix: upload symbols and create releases when publishing Native AOT with the .NET 11 SDK by @​jamescrosswell and @​claude in #​5731
  • fix: don't upload pre-trim PDBs for trimmed iOS and Mac Catalyst builds by @​jamescrosswell and @​claude in #​5732
  • fix: avoid first-chance exception when getting length of non-seekable attachment streams by @​bitsandfoxes and @​ric-oliv in #​5736

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.63.0 by @​ric-oliv with @​github-actions and @​sentry-junior in #​5886
    ... (truncated)

6.12.1

Fixes 🐛

  • fix: builds no longer fail when symbol upload or release creation is enabled but no Sentry auth token is available by @​jamescrosswell in #​5705
  • fix: count exception filter and exception processor failures as callback_error, and stop dropping events when an SDK processor fails by @​jamescrosswell in #​5688
  • fix: SentryCreateRelease uses the assembly's informational version and no longer requires UseSentryCLI by @​jamescrosswell in #​5679
  • fix: accept breadcrumbs as {"values": [...]} when deserializing events and transactions by @​jamescrosswell in #​5673
  • fix: capturing with a configureScope callback no longer re-runs BeforeBreadcrumb or re-syncs the scope to native SDKs by @​jamescrosswell in #​5653
  • fix: accept Unix epoch timestamps when deserializing breadcrumbs, transactions, spans and client reports by @​jamescrosswell in #​5672

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.60.0 by @​github-actions in #​5696
  • chore(deps): update Cocoa SDK to v9.30.1 by @​github-actions in #​5697
  • chore(deps): update Native SDK to v0.17.2 by @​github-actions in #​5680
  • chore(deps): update Java SDK to v8.59.0 by @​github-actions in #​5661

Other

  • perf: counting discarded telemetry for client reports no longer allocates by @​jamescrosswell in #​5687
  • ci: upgrade ubuntu 20.04/22.04 runners to 24.04 by @​joshuarli in #​5667

6.12.0

Features ✨

  • feat(otel): mark span processor based OpenTelemetry setup methods as obsolete by @​jamescrosswell in #​5586

Fixes 🐛

  • fix(blazor): logging options set in UseSentry now take effect by @​ric-oliv in #​5640
  • fix(log4net): send event properties as log attributes on log4net 3.x by @​jamescrosswell in #​5559
  • fix: TraceIgnoreStatusCodes no longer drops outgoing HTTP requests traced with OpenTelemetry by @​jamescrosswell in #​5643
  • fix: an exception in BeforeSend or BeforeSendTransaction now drops the item instead of sending it by @​jamescrosswell in #​5610
  • fix: telemetry dropped by user callbacks and by validation is now counted in client reports by @​jamescrosswell in #​5607
  • fix: exceptions thrown from BeforeBreadcrumb, log filters and BeforeScreenshotCapture no longer reach the application by @​jamescrosswell in #​5606
  • fix: transaction processors no longer discard each other's results by @​jamescrosswell in #​5621
  • fix: Throw ArgumentException for empty traceId in DynamicSamplingContext by @​chiliec in #​5599

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.30.0 by @​github-actions in #​5656
  • chore(deps): update Cocoa SDK to v9.29.2 by @​github-actions in #​5624
  • chore(deps): update Java SDK to v8.58.0 by @​github-actions in #​5622
  • chore(deps): update Native SDK to v0.17.1 by @​github-actions in #​5625
  • chore(deps): update Native SDK to v0.17.0 by @​github-actions in #​5614

Other

  • meta: remove duplicate Blank Issue template by @​SatvikMishra08 in #​5601

6.11.1

Fixes 🐛

  • fix(cocoa): iOS and Mac Catalyst apps no longer crash in [NSURLSessionTask cancel] when a request is cancelled after it has already completed with Native.EnableSwizzling enabled (Cocoa SDK v9.29.0). Note that native crashes now set mechanism.synthetic, so expect a one-time regrouping of existing crash issues as your app adopts this version. by @​github-actions in #​5596

Dependencies ⬆️

Deps

  • chore(deps): update Native SDK to v0.16.8 by @​github-actions in #​5600
  • chore(deps): raise the OpenTelemetry floor to 1.12.0 by @​jamescrosswell in #​5588
  • chore(deps): update Java SDK to v8.57.0 by @​github-actions in #​5590
  • chore(deps): update CLI to v3.8.0 by @​github-actions in #​5591
  • chore(deps): update Java SDK to v8.56.0 by @​github-actions in #​5562
  • chore(deps): update Cocoa SDK to v9.28.0 by @​github-actions in #​5561
  • chore(deps): update Native SDK to v0.16.6 by @​github-actions in #​5563

Other

  • test: add ASP.NET Core blocking detection integration tests by @​z0rimo in #​5578

6.11.0

Features ✨

  • feat: Expose StringOrRegex discriminator by @​limbonaut in #​5543
  • feat: Provide the exception in the Hint passed to BeforeBreadcrumb by @​jamescrosswell in #​5523

Fixes 🐛

  • fix: isolate TracesSampler callback failures by @​elkampu in #​5545
  • fix: validate envelope item payload lengths before allocating a read buffer by @​thaildhe172591 in #​5541
  • fix: discard corrupt cache files instead of looping on them (resulting in an OOM exception) by @​lgarczyn in #​5507

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.27.0 by @​github-actions in #​5539
  • chore(deps): update Java SDK to v8.55.0 by @​github-actions in #​5538
  • chore(deps): update Native SDK to v0.16.5 by @​github-actions in #​5532

6.10.0

Features ✨

  • feat: Logs sent via SentrySdk.Logger no longer require EnableLogs by @​jamescrosswell in #​5512
  • feat: SentryOptions.EnableMetrics is obsolete and ignored by @​jamescrosswell in #​5509

Fixes 🐛

  • fix: Prevent managed exceptions from leaking as NSExceptions, resulting in duplicate exception capture on iOS by @​jpnurmi in #​5525
  • fix(profiling): release the EventPipe session when the SDK shuts down by @​jamescrosswell in #​5470
  • fix: Memory leak in Sentry.Profiling due to EventLog interning tables growing indefinitely by @​jamescrosswell in #​5503
  • fix: Attachments not being sent properly when Spotlight is enabled by @​XAN9xXx in #​5511
  • fix: Heap dump files are now deleted from disk once they have been sent to Sentry by @​XAN9xXx in #​5481
  • fix: populate sentry.sdk.name and sentry.sdk.version for console apps by @​zkasuran in #​5483

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.54.0 by @​github-actions in #​5517
  • chore(deps): update Cocoa SDK to v9.26.1 by @​github-actions in #​5516
  • chore(deps): update CLI to v3.7.0 by @​github-actions in #​5520
  • chore(deps): update Native SDK to v0.16.4 by @​github-actions in #​5508
  • chore(deps): update Java SDK to v8.53.0 by @​github-actions in #​5484

Other

  • deps: update perfview (removes the .il suffix from profile module names) by @​jamescrosswell in #​5502

6.9.0

Features ✨

  • feat: Allow users to control Mechanism.Handled for captured exceptions by @​vladbrincoveanu in #​5449

Fixes 🐛

  • fix(serilog): logs from application namespaces beginning with "Sentry" are discarded by @​jamescrosswell in #​5456
  • fix: rate limit on one data category no longer blocks all others by @​jamescrosswell in #​5482

Dependencies ⬆️

Deps

  • chore(deps): update Native SDK to v0.16.3 by @​github-actions in #​5486
  • chore(deps): update Cocoa SDK to v9.26.0 by @​github-actions in #​5485
  • chore(deps): update Cocoa SDK to v9.25.0 by @​github-actions in #​5472
  • chore(deps): update Native SDK to v0.16.2 by @​github-actions in #​5477
  • chore(deps): update Java SDK to v8.52.0 by @​github-actions in #​5471
  • chore(deps): update Cocoa SDK to v9.24.0 by @​github-actions in #​5460
  • chore(deps): update Java SDK to v8.51.0 by @​github-actions in #​5457
  • chore(deps): update Native SDK to v0.16.1 by @​github-actions in #​5459
  • chore(deps): update Native SDK to v0.16.0 by @​github-actions in #​5452
  • chore(deps): update Java SDK to v8.50.1 by @​github-actions in #​5441
  • chore(deps): update CLI to v3.6.2 by @​github-actions in #​5443
  • chore(deps): update Cocoa SDK to v9.23.0 by @​github-actions in #​5442

Other

  • ref: migrate Cocoa bindings from PrivateSentrySDKOnly to SentryObjCSDK.internal by @​jamescrosswell in #​5409

6.8.0

Features ✨

Logs

  • feat(logs): add log4net integration by @​Flash0ver in #​5172
  • feat(logs): add NLog integration by @​Flash0ver in #​5176

Other

  • feat(serilog): support restrictedToMinimumLevel when configuring Serilog in code by @​jamescrosswell in #​5181
  • Attachments can now be sent with transactions by setting AddToTransactions on SentryAttachment #​5182 by @​jamescrosswell in #​5182
  • Added SentrySdk.RecordTransaction to record already-completed transactions and spans (e.g. replayed through a proxy) #​5333 by @​jamescrosswell in #​5333
  • The Environment set on the Scope now gets synchronized to the native layers (sentry-cocoa and sentry-native) by @​bitsandfoxes in #​5365

Fixes 🐛

  • fix: SentrySpanProcessor no longer leaks spans whose Activity never ends (e.g. aborted requests); the Activity is now held via a WeakReference so orphaned spans are pruned once it is garbage-collected. by @​Ermabo in #​5393
  • The SDK was incorrectly ignoring server rate limits for errors, check-ins, and logs by @​jamescrosswell in #​5412
  • fix: BackpressureMonitor.Dispose() no longer deadlocks on single-threaded targets by @​jamescrosswell in #​5330
  • fix: Create a single TaskBlockingListener per process for CaptureBlockingCalls by @​jamescrosswell in #​5381

Dependencies ⬆️

Deps

  • chore(deps): update CLI to v3.6.1 by @​github-actions in #​5417
  • chore(deps): update Native SDK to v0.15.4 by @​github-actions in #​5416
  • chore(deps): update Cocoa SDK to v9.22.0 by @​github-actions in #​5395
  • chore(deps): update Java SDK to v8.49.0 by @​github-actions in #​5398

Other

  • ci: drop install-zstd workaround by @​jpnurmi in #​5391
  • docs: add Sentry.OpenTelemetry.Exporter to README.md by @​Flash0ver in #​5194
  • meta: Update CODEOWNERS by @​Flash0ver in #​5386

6.7.0

Features ✨

  • feat(android): expose tombstone options via SentryOptions.Native by @​jamescrosswell in #​5226
  • Add IgnoreTransactions option to filter out transactions by name, matching substrings or regular expressions against the transaction name (#​5377) by @​Adham-Kiwan in #​5377
  • feat: Add BeforeSendFeedback callback to inspect, modify, or drop user feedback before it's sent by @​vladbrincoveanu in #​5361
  • Add public API for checking unhandled exceptions (SentryEventExtensions.IsFromUnhandledException) and terminal exceptions (SentryEventExtensions.IsFromTerminalException) by @​jamescrosswell in #​5177
  • feat: Add PreferTransactionNameProvider option by @​jamescrosswell in #​5159
  • feat: Add exponential backoff and log deduplication to Spotlight by @​mattico in #​5025

Fixes 🐛

  • fix(otel): only set Scope.Transaction in SentrySpanProcessor when null by @​tsushanth in #​5337
  • fix: LNK4291 on Native AOT WinExe with Control Flow Guard by @​jamescrosswell in #​5298
  • fix: OpenTelemetry transactions for failed requests keep their route name and otel context by @​jamescrosswell in #​5310
  • fix: populate Default attributes on structured logs from current scope by @​jamescrosswell in #​5216
  • fix: [.NET 10] PageNavigationExtensions updated for public Page properties by @​nor0x in #​5278

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.48.0 by @​github-actions in #​5360
  • chore(deps): update Cocoa SDK to v9.21.0 by @​github-actions in #​5359
  • chore(deps): update Native SDK to v0.15.3 by @​github-actions in #​5353
  • chore(deps): update Cocoa SDK to v9.20.0 by @​github-actions in #​5354
  • chore(deps): update Java SDK to v8.47.0 by @​github-actions in #​5338
  • chore(deps): update Cocoa SDK to v9.19.1 by @​github-actions in #​5336
  • chore(deps): update CLI to v3.6.0 by @​github-actions in #​5329
  • chore(deps): update Cocoa SDK to v9.19.0 by @​github-actions in #​5316
  • chore(deps): update Java SDK to v8.46.0 by @​github-actions in #​5321
  • chore(deps): update Java SDK to v8.45.0 by @​github-actions in #​5315
  • chore(deps): update Native SDK to v0.15.2 by @​github-actions in #​5309
  • chore(deps): update Cocoa SDK to v9.18.0 by @​github-actions in #​5264
  • chore(deps): update Java SDK to v8.44.1 by @​github-actions in #​5263
  • chore(deps): update CLI to v3.5.1 by @​github-actions in #​5279
  • chore(deps): update Native SDK to v0.15.1 by @​github-actions in #​5282

Other

  • Added Sentry.Samples.OpenTelemetry.MongoDB by @​jamescrosswell in #​5335
  • docs: add XML comments for boolean return of Sentry.Extensions.Logging Filters by @​Flash0ver in #​5297
  • LatestWindowsTfm added to Directory.Build.props by @​nor0x in #​5277

6.6.0

Features ✨

  • feat: propagate trace to sentry-android and sentry-cocoa by @​bitsandfoxes in #​5244
  • feat: User.Id can now be overriden (set to null) in Global mode by @​jamescrosswell in #​5039
  • feat: Implement strict trace continuation by @​giortzisg in #​4981

Fixes 🐛

  • fix: return early from AddSentryOtlpExporter when DSN is the disable-SDK sentinel by @​jamescrosswell in #​5247
  • fix: sync default tags to native layer by @​bitsandfoxes in #​5214

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.14.0 by @​github-actions[bot] in #​5252
  • chore(deps): update Java SDK to v8.42.0 by @​github-actions[bot] in #​5208

Other

  • release: 6.6.0 by @​jamescrosswell in 0140be0a
  • chore: update scripts/update-cli.ps1 to 3.4.3 by @​github-actions[bot] in #​5251
  • ci: update the Update Dependencies workflow by @​Flash0ver in #​5175
  • chore: update modules/sentry-native to 0.14.2 by @​github-actions[bot] in #​5229
  • chore: update modules/sentry-cocoa to 9.13.0 by @​github-actions[bot] in #​5221
  • chore: update scripts/update-cli.ps1 to 3.4.2 by @​github-actions[bot] in #​5220
  • chore: update modules/sentry-cocoa to 9.12.1 by @​github-actions[bot] in #​5207

6.5.0

Features ✨

  • feat: Add support to send OTEL traces via OTLP by @​jamescrosswell in #​4899

Fixes 🐛

  • fix(unity): update SentryEvent to have IsCaptured to allow dropping screenshots of filtered events by @​JoshuaMoelans in #​5162
  • fix: Memory leak when filtered Activities get garbage collected before PruneFilteredSpans runs by @​jamescrosswell in #​5186

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.12.0 by @​github-actions in #​5179
  • chore(deps): update CLI to v3.4.1 by @​github-actions in #​5171
  • chore(deps): update Native SDK to v0.13.8 by @​github-actions in #​5165
  • chore(deps): update Java SDK to v8.40.0 by @​github-actions in #​5161
  • chore(deps): update Cocoa SDK to v9.11.0 by @​github-actions in #​5160
  • chore(deps): update CLI to v3.4.0 by @​github-actions in #​5145
  • chore(deps): update Java SDK to v8.39.1 by @​github-actions in #​5144

Other

  • perf(logs): avoid string allocation when no parameters are passed by @​Flash0ver in #​4697
  • chore: fix missing skill by @​jamescrosswell in #​5134

6.4.1

Fixes 🐛

  • fix: prevent redundant native exceptions on Android/CoreCLR by @​jpnurmi in #​5127

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.39.0 by @​github-actions in #​5137
  • chore(deps): update Native SDK to v0.13.7 by @​github-actions in #​5136

6.4.0

Features ✨

  • feat: Add network details for session replay on iOS by @​jamescrosswell in #​4891
  • feat: Add option to exclude certain HTTP statuses from tracing by @​jamescrosswell in #​5034

Fixes 🐛

  • fix: memory leak when profiling is enabled by @​jamescrosswell in #​5133
  • fix: prevent redundant native exceptions on iOS by @​jpnurmi in #​5126
  • fix: prevent redundant native exceptions on Android/Mono by @​jpnurmi in #​4676
    • Note: opt in by setting options.Native.ExperimentalOptions.SignalHandlerStrategy to Sentry.Android.SignalHandlerStrategy.ChainAtStart

Dependencies ⬆️

Deps

  • chore(deps): update Cocoa SDK to v9.10.0 by @​github-actions in #​5132
  • chore(deps): update Cocoa SDK to v9.9.0 by @​github-actions in #​5115
  • chore(deps): update Java SDK to v8.38.0 by @​github-actions in #​5124

6.3.2

Dependencies ⬆️

  • chore(deps): update Native SDK to v0.13.6 by @​github-actions in #​5128

6.3.1

Fixes 🐛

  • fix: Workaround FileNotFoundException on Android when recovering sessions by @​jamescrosswell in #​5084
  • fix: CaptureFeedback now supports multiple attachments correctly by @​bitsandfoxes in #​5077

Dependencies ⬆️

Deps

  • chore(deps): update Native SDK to v0.13.5 by @​github-actions in #​5119
  • chore(deps): update CLI to v3.3.5 by @​github-actions in #​5093
  • chore(deps): update Native SDK to v0.13.4 by @​github-actions in #​5081
  • chore(deps): update Java SDK to v8.37.1 by @​github-actions in #​5071
  • chore(deps): update CLI to v3.3.4 by @​github-actions in #​5068
  • chore(deps): update Java SDK to v8.37.0 by @​github-actions in #​5069
  • chore(deps): update Cocoa SDK to v9.8.0 by @​github-actions in #​5044
  • chore(deps): update Java SDK to v8.36.0 by @​github-actions in #​5036
  • chore(deps): update epitaph to 0.1.1 by @​github-actions in #​5036

Other

  • chore: Update validate-pr workflow by @​stephanie-anderson in #​5108
  • ci: fix workflows that always fail for fork PRs by @​jamescrosswell in #​5065

6.3.0

Features

  • The Metrics APIs are now stable: removed Experimental from SentrySdk, SentryOptions and IHub (#​5023)
  • Report a new Diagnostic (SENTRY1001) when a Metrics-API is invoked with an unsupported numeric type (#​4840)

Fixes

  • Common tags such as Environment and Release and custom event processors are all now correctly applied to CaptureFeedback events (#​4942)
  • Include Data set via ITransactionTracer in SentryTransaction (#​4148)

Dependencies

  • Bump Cocoa SDK from v9.5.0 to v9.7.0 (#​4958, #​5015)
  • Bump CLI from v3.3.0 to v3.3.3 (#​5002)
  • Bump Java SDK from v8.34.1 to v8.35.0 (#​5017)
  • Bump Native SDK from v0.13.2 to v0.13.3 (#​5045)

6.2.0

Features

  • Outbound HTTP requests now show in the Network tab for Android Session Replays (#​4860)

Fixes

  • The SDK now logs a Warning instead of an Error when being ratelimited (#​4927)
  • Symbolication now works correctly with Android workloads 10.0.102 and later (#​4998)
  • libmonosgen and libxamarin frames no longer show as in-app (#​4960)

Dependencies

6.2.0-alpha.0

Features

  • Add navigation breadcrumbs for Blazor WebAssembly (#​4907)

Dependencies

  • Bumped Xamarin.Kotlin.StdLib.Jdk8 to 2.2.20 (#​4876)
  • Bumped CommunityToolkit.Mvvm to 8.4.0 (#​4876)

6.1.0

Features

Fixes

  • User Feedback now contains additional Context and Tags, like Environment and Release (#​4883)
  • Allow Sentry failures from the Sentry CLI when SENTRY_ALLOW_FAILURE is set (#​4852)
  • The SDK now logs a specific error message when envelopes are rejected due to size limits (HTTP 413) (#​4863)
  • Fixed thread-safety issue on Android when multiple events are captured concurrently (#​4814)

Dependencies

6.1.0-alpha.2

BREAKING CHANGES

  • Rename Trace-connected Metrics APIs to avoid implying aggregation (#​4834)
    • from AddCounter to EmitCounter
    • from RecordDistribution to EmitDistribution
    • from RecordGauge to EmitGauge

Features

Fixes

6.1.0-alpha.1

Features

Dependencies

6.0.0

BREAKING CHANGES

  • This release adds support for .NET 10 and drops support for net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0-windows10.0.19041.0 (#​4461)
  • Backpressure handling is now enabled by default, meaning that the SDK will monitor system health and reduce the sampling rate of events and transactions when the system is under load. When the system is determined to be healthy again, the sampling rates are returned to their original levels. (#​4615)
  • Remove SentryLoggingOptions.ExperimentalLogging.MinimumLogLevel. Structured Logs can now be configured via the "Sentry" logging provider (e.g. in appsettings.json and appsettings.{HostEnvironment}.json) (#​4700)
  • All logging provider types are internal now in order to ensure configuration as intended (#​4700)
  • Rename SentryLog.ParentSpanId to SentryLog.SpanId reflecting the protocol change (#​4778)
  • QOL improvement: Spans and Transactions now implement IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#​4627)
  • SpanTracer and TransactionTracer are still public but these are now sealed (see also #​4627)
  • The Structured Logs APIs are now stable: removed Experimental from SentryOptions (#​4699)
  • Added support for v3 of the Android AssemblyStore format that is used in .NET 10 and dropped support for v1 that was used in .NET 8 (#​4583)
  • CaptureFeedback now returns a SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#​4613)
  • Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#​4693)
  • UWP support has been dropped. Future efforts will likely focus on WinUI 3, in line with Microsoft's recommendations for building Windows UI apps. (#​4686)
  • BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#​4605)
  • SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device (#​4606)
  • Removed obsolete APIs (#​4619)
    • Removed the unusual constructor from Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.
    • Removed SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.
  • ScopeExtensions.Populate is now internal (#​4611)

Features

  • Support for .NET 10 (#​4461)
  • Added a new SDK Sentry.Extensions.AI which allows LLM usage instrumentation via Microsoft.Extensions.AI (#​4657)
  • Added experimental support for Session Replay on iOS (#​4664)
  • Add support for Structured Logs in Sentry.Google.Cloud.Functions (#​4700)
  • QOL features for Unity
    • The SDK now provides a IsSessionActive to allow checking the session state (#​4662)
    • The SDK now makes use of the new SessionEndStatus Unhandled when capturing an unhandled but non-terminal exception, i.e. through the UnobservedTaskExceptionIntegration (#​4633, #​4653)
  • Extended the App context by app_memory that can hold the amount of memory used by the application in bytes. (#​4707)
  • Add support for W3C traceparent header for outgoing requests (#​4661)

_Description ...

Description has been truncated

---
updated-dependencies:
- dependency-name: Sentry
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants