---
title: "sentry.aspnetcore 7.0.0 Breaking Changes on NuGet"
description: "What each sentry.aspnetcore release removed, renamed or changed: 57 breaking changes in 2 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/sentry.aspnetcore
last_updated: 2026-12-04
---

# sentry.aspnetcore breaking changes

sentry.aspnetcore 7.0.0 (November 12, 2026) is its newest release with breaking changes, 26 of them. The first: Sentry.AspNetCore 7.0.0 requires .NET 10 or later. Every breaking API change we have recorded in sentry.aspnetcore on NuGet: 57 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.0`, released November 26, 2026. [Source repository](https://github.com/getsentry/sentry-dotnet)

Its 7.0.0 release requires [.NET 10](https://since.dev/calendar/dotnet/10.md) or later. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [7.0.0-rc.2](#v-7-0-0-rc-2) to [7.0.0](#v-7-0-0): 26 breaking changes in 1 version.

## sentry.aspnetcore 7.0.0 breaking changes

sentry.aspnetcore 7.0.0, released November 12, 2026: 26 breaking changes.

- **Removed**  

MAUI and mobile targets on .NET 9 are no longer supported. Move those projects to .NET 10 or later. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `ILoggerFactory.AddSentry`  

Calls to ILoggerFactory.AddSentry() no longer compile. Use ILoggingBuilder.AddSentry() instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `Scope.Distribution`  

Set Distribution on SentryOptions instead of on the scope. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `Scope.Release`  

Set Release on SentryOptions instead of on the scope. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `Sentry.AspNetCore.SentryAspNetCoreOptions.AdjustStandardEnvironmentNameCasing`  

Sentry.AspNetCore.SentryAspNetCoreOptions.AdjustStandardEnvironmentNameCasing was removed in Sentry.AspNetCore 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.AspNetCore/7.0.0)
- **Removed** `SentryClientExtensions.GetInternalSentryOptions`  

Integrations needing the diagnostic logger can call the GetDiagnosticLogger() extension on IHub in Sentry.Extensibility. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.ApplyDefaultTags`  

Default tags in SentryOptions.DefaultTags are still applied to events and transactions. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.EnableLogs`  

With SentrySdk.Init and logging integrations logs are always sent. Drop them with SetBeforeSendLog returning null. ASP.NET Core, MAUI and Blazor keep EnableLogs on their options. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.EnableMetrics`  

Return null from SetBeforeSendMetric to drop metrics instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.Native.AddInAppExclude`  

SentryOptions.Native.AddInAppExclude(string) is removed. It had no effect before. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.Native.EnableAppHangTrackingV2`  

Use EnableAppHangTracking instead of EnableAppHangTrackingV2. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Renamed** `ApplySerilogScopeToEvents`  

Calls to ApplySerilogScopeToEvents() must be changed to UseSerilog(). [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

The Serilog sink now adds LogContext properties to events as tags even without calling UseSerilog(). [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

On Android and iOS, SENTRY_RELEASE takes precedence over the release derived from the app package. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

Serilog, NLog, log4net and Microsoft.Extensions.Logging integrations only capture logs and events now. Initialize Sentry with SentrySdk.Init or UseSentry and move SDK settings there. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `Logging.AddSentry`  

Logging.AddSentry() no longer registers IHub, ISentryClient or Func\<IHub>. Use UseSentry, or register HubAdapter.Instance for each type yourself. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `TraceIgnoreStatusCodes`  

Those status codes are not traced by default now. Call options.TraceIgnoreStatusCodes.Clear() to trace them again. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed**  

Apps without an environment set now report the host environment, such as development or staging, instead of production. Update alerts and filters that rely on the old value. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryNLogOptions.MinimumLogLevel`  

NLog now sends Info and higher entries as Sentry logs. Lower MinimumLogLevel to send Trace and Debug too, or set it to Off to disable logs. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryOptions.DecompressionMethods`  

The default is now GZip and Deflate. To accept Brotli responses again, add Brotli to DecompressionMethods. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryOptions.FlushTimeout`  

NLog flushes Sentry using SentryOptions.FlushTimeout, which defaults to 2 seconds instead of up to 15 seconds. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Configuration changed** `Logging:Sentry`  

Only MinimumEventLevel, MinimumBreadcrumbLevel and LogLevel rules are read from Logging:Sentry. Move any other key to the Sentry section, or the app fails at startup. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromEvent`  

Positional calls to Envelope.FromEvent no longer compile. Reorder the arguments or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromTransaction`  

Positional calls to Envelope.FromTransaction no longer compile. Reorder the arguments or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Sentry.AspNetCore.SentryAspNetCoreOptions`  

Was class SentryAspNetCoreOptions : Sentry.Extensions.Logging.SentryLoggingOptions; now class SentryAspNetCoreOptions : Sentry.Extensions.Logging.SentryHostOptions. [nuget.org](https://www.nuget.org/packages/Sentry.AspNetCore/7.0.0)
- **Signature changed** `SentryLoggingOptions`  

SentryLoggingOptions, SentrySerilogOptions and SentryNLogOptions no longer inherit from SentryOptions. Set SDK settings on SentryOptions instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)

## sentry.aspnetcore 7.0.0-rc.2 breaking changes

sentry.aspnetcore 7.0.0-rc.2, released November 12, 2026: 31 breaking changes.

- **Removed**  

The OTLP exporter no longer sets a global OpenTelemetry propagator; configure it through the OpenTelemetry SDK. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed**  

Mobile targets now require .NET 10 or later; the net9.0 Android, iOS, Mac Catalyst and Windows targets were dropped. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `Scope.Distribution`  

Set Distribution on SentryOptions instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `Scope.Release`  

Set Release on SentryOptions instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.ApplyDefaultTags`  

DefaultTags are still applied to events and transactions. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.CrashedLastRun`  

CrashedLastRun is no longer accessible from user code. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.EnableLogs`  

Logs are always sent with SentrySdk.Init and logging integrations; drop them with SetBeforeSendLog returning null. ASP.NET Core, MAUI and Blazor keep an opt-in EnableLogs. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.EnableMetrics`  

Return null from SetBeforeSendMetric to drop metrics instead of using EnableMetrics. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.EnableScopeSync`  

EnableScopeSync is no longer accessible from user code. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.Native.AddInAppExclude`  

AddInAppExclude had no effect and is removed. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [sentry](https://since.dev/packages/nuget/sentry.md)
- [sentry.bindings.android](https://since.dev/packages/nuget/sentry.bindings.android.md)
- [sentry.opentelemetry](https://since.dev/packages/nuget/sentry.opentelemetry.md)
- [sentry.aspnet](https://since.dev/packages/nuget/sentry.aspnet.md)
- [sentry.aspnetcore.grpc](https://since.dev/packages/nuget/sentry.aspnetcore.grpc.md)
- [sentry.bindings.cocoa](https://since.dev/packages/nuget/sentry.bindings.cocoa.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
