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

# sentry.nlog breaking changes

sentry.nlog 7.0.0 (November 12, 2026) is its newest release with breaking changes, 41 of them. The first: Sentry.NLog 7.0.0 requires .NET 10 or later. Every breaking API change we have recorded in sentry.nlog on NuGet: 69 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): 42 breaking changes in 2 versions.

## sentry.nlog 7.0.0 breaking changes

sentry.nlog 7.0.0, released November 12, 2026: 41 breaking changes.

- **Removed**  

MAUI and mobile targets now require .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`  

Configure the propagator through the OpenTelemetry SDK instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `ILoggerFactory.AddSentry`  

Use ILoggingBuilder.AddSentry instead, for example LoggerFactory.Create(builder => builder.AddSentry()). [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `Sentry.NLog.SentryNLogOptions.DsnLayout`  

Sentry.NLog.SentryNLogOptions.DsnLayout was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryNLogOptions.EnvironmentLayout`  

Sentry.NLog.SentryNLogOptions.EnvironmentLayout was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryNLogOptions.InitializeSdk`  

Sentry.NLog.SentryNLogOptions.InitializeSdk was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryNLogOptions.ReleaseLayout`  

Sentry.NLog.SentryNLogOptions.ReleaseLayout was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryNLogOptions.ShutdownTimeoutSeconds`  

Sentry.NLog.SentryNLogOptions.ShutdownTimeoutSeconds was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryTarget.Environment`  

Sentry.NLog.SentryTarget.Environment was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryTarget.FlushTimeoutSeconds`  

Sentry.NLog.SentryTarget.FlushTimeoutSeconds was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `Sentry.NLog.SentryTarget.ShutdownTimeoutSeconds`  

Sentry.NLog.SentryTarget.ShutdownTimeoutSeconds was removed in Sentry.NLog 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Removed** `SentryClientExtensions.GetInternalSentryOptions`  

Use the GetDiagnosticLogger() extension on IHub to get the diagnostic logger. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.ApplyDefaultTags`  

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 accessible to user code. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.EnableMetrics`  

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

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

The method had no effect and has been removed. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.Native.EnableAppHangTrackingV2`  

Use EnableAppHangTracking instead. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Removed** `SentryOptions.ScopeObserver`  

ScopeObserver is no longer accessible to user code. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Renamed** `ApplySerilogScopeToEvents`  

Call UseSerilog() instead of ApplySerilogScopeToEvents(). [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

Breadcrumbs with a critical level are no longer deserialized. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

Events, transactions, logs and metrics now 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**  

Logs, metrics, sessions, check-ins and trace propagation use an environment set on the scope. Setting Scope.Environment to null clears the override. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed**  

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**  

Configure the propagator via the OpenTelemetry SDK. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `ApplySerilogScopeToEvents`  

The Serilog sink now adds LogContext properties to events as tags even when UseSerilog() is not called. [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** `SentryAppender`  

Initialize Sentry separately with SentrySdk.Init or UseSentry before logging. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryOptions.TraceIgnoreStatusCodes`  

These status codes are no longer 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** `UseSentry`  

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

Initialize Sentry with SentrySdk.Init or UseSentry first, and move Dsn, Release, Environment and other SDK settings there. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryNLogOptions.MinimumLogLevel`  

Trace and Debug entries are no longer sent as logs by default. Lower MinimumLogLevel on SentryNLogOptions or minimumLogLevel on the target to send them. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryOptions.DecompressionMethods`  

The default is now GZip | Deflate. Set options.DecompressionMethods |= DecompressionMethods.Brotli to accept Brotli responses. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Default changed** `SentryOptions.FlushTimeout`  

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

Apps without 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. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Configuration changed** `Logging:Sentry`  

Logging:Sentry now only sets MinimumEventLevel, MinimumBreadcrumbLevel and LogLevel rules. Move other keys 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 must reorder arguments so the logger comes after attachments and sessionUpdate, or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromFeedback`  

Positional calls must reorder arguments so the logger comes last, or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `Envelope.FromTransaction`  

Positional calls must reorder arguments so the logger comes last, or pass them by name. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Signature changed** `NLog.ConfigurationExtensions.AddSentry`  

Was static NLog.Config.LoggingConfiguration AddSentry(NLog.Config.LoggingConfiguration configuration, System.Action\<Sentry.NLog.SentryNLogOptions> optionsConfig); now static NLog.Config.LoggingConfiguration... [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **Signature changed** `Sentry.NLog.SentryNLogOptions`  

SentryLoggingOptions, SentrySerilogOptions and SentryNLogOptions no longer inherit SentryOptions. [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)

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

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

- **Default changed** `SentryOptions.DecompressionMethods`  

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

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

sentry.nlog 7.0.0-rc.2, released November 12, 2026: 27 breaking changes.

- **Removed**  

net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-windows are no longer supported; use .NET 10 or later. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.2)
- **Removed** `defaultTextMapPropagator`  

The exporter no longer sets a global propagator; configure it via the OpenTelemetry SDK. [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** `Sentry.NLog.SentryTarget.Release`  

Set Release on SentryOptions instead. [nuget.org](https://www.nuget.org/packages/Sentry.NLog/7.0.0)
- **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 usable from user code. [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.EnableScopeSync`  

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

The method had no effect and 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)

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