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

# sentry.aspnet breaking changes

sentry.aspnet 7.0.0 (November 12, 2026) is its newest release with breaking changes, 34 of them. The first: Sentry.AspNet 7.0.0 requires .NET 10 or later. Every breaking API change we have recorded in sentry.aspnet on NuGet: 54 breaking changes in 3 versions. Below, its 3 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): 35 breaking changes in 2 versions.

## sentry.aspnet 7.0.0 breaking changes

sentry.aspnet 7.0.0, released November 12, 2026: 34 breaking changes.

- **Removed**  

MAUI and mobile targets now need .NET 10 or later. Projects on net9.0-android, net9.0-ios, net9.0-maccatalyst or net9.0-windows must move to .NET 10 or later. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `defaultTextMapPropagator`  

The OTLP exporter no longer sets a global OpenTelemetry propagator. Configure the propagator through the OpenTelemetry SDK. [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, for example LoggerFactory.Create(builder => builder.AddSentry()). [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** `SentryClientExtensions.GetInternalSentryOptions`  

Use the GetDiagnosticLogger() extension on IHub, in Sentry.Extensibility, to get the diagnostic logger. [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.CrashedLastRun`  

CrashedLastRun is no longer public and code that reads it will not compile. [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 of using EnableMetrics. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.EnableScopeSync`  

EnableScopeSync is no longer public and code that sets it will not compile. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.Native.AddInAppExclude`  

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

Use EnableAppHangTracking instead of EnableAppHangTrackingV2 on iOS and Mac Catalyst. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.ScopeObserver`  

ScopeObserver is no longer public and code that sets it will not compile. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Renamed** `ApplySerilogScopeToEvents`  

Call UseSerilog() where ApplySerilogScopeToEvents() was called. [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 when the app does not call UseSerilog. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

Events, transactions, logs and metrics report the SDK name of the integration that initialized Sentry, such as sentry.dotnet.aspnetcore. [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** `Logging.AddSentry`  

Logging.AddSentry no longer starts Sentry. Initialize Sentry with SentrySdk.Init or UseSentry first. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryAppender`  

The log4net Sentry appender no longer starts Sentry. Initialize Sentry first with SentrySdk.Init or UseSentry. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryLoggingOptions`  

SentryLoggingOptions no longer inherits from SentryOptions, so code that relies on the inherited SDK settings must change. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryNLogOptions`  

The NLog Sentry target no longer starts Sentry. Initialize Sentry with SentrySdk.Init or UseSentry first. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryOptions.TraceIgnoreStatusCodes`  

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

SentrySerilogOptions no longer inherits from SentryOptions, so code that relies on the inherited SDK settings must change. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `UseSentry`  

In MAUI, options set in the UseSentry callback now take precedence over appsettings.json, as they already did in ASP.NET Core. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `WriteTo.Sentry`  

Serilog's WriteTo.Sentry no longer starts Sentry. Call SentrySdk.Init or UseSentry first and move the SDK settings there. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryNLogOptions.MinimumLogLevel`  

NLog entries at Info and above are sent as logs. Lower MinimumLogLevel to send Trace and Debug entries too. [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 DecompressionMethods.Brotli to options.DecompressionMethods. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryOptions.FlushTimeout`  

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

Apps using ISentryBuilder overloads, Blazor WebAssembly or Google Cloud Functions without an environment now report the host environment. Update alerts and filters that rely on production. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Configuration changed** `Logging:Sentry`  

Logging:Sentry in appsettings.json only takes log levels now. 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`  

Envelope.FromEvent now takes the IDiagnosticLogger after attachments and sessionUpdate. Reorder positional arguments or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromFeedback`  

Envelope.FromFeedback now takes the IDiagnosticLogger as its last parameter. Reorder positional arguments or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromTransaction`  

Envelope.FromTransaction now takes the IDiagnosticLogger as its last parameter. Reorder positional arguments or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)

## sentry.aspnet 7.0.0-rc.3 breaking changes

sentry.aspnet 7.0.0-rc.3, released November 12, 2026: 1 breaking change.

- **Behavior changed** `SentryOptions.DecompressionMethods`  

Brotli is no longer in the default decompression methods. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.3)

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

sentry.aspnet 7.0.0-rc.2, released November 12, 2026: 19 breaking changes.

- **Removed**  

Mobile targets now require .NET 10 or later; net9.0 mobile targets are no longer supported. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed**  

Sentry.OpenTelemetry and Sentry.OpenTelemetry.Exporter now require OpenTelemetry 1.12.0 or later. [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.EnableLogs`  

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 via EnableLogs on their options. [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. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.Native.AddInAppExclude`  

It had no effect, so it is removed. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `SentryOptions.Native.EnableAppHangTrackingV2`  

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

Call UseSerilog() where ApplySerilogScopeToEvents() was used. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)

And 9 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.aspnetcore](https://since.dev/packages/nuget/sentry.aspnetcore.md)
- [sentry.opentelemetry](https://since.dev/packages/nuget/sentry.opentelemetry.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.
