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

# sentry.log4net breaking changes

sentry.log4net 7.0.0 (November 12, 2026) is its newest release with breaking changes, 4 of them. The first: Removed Sentry.Log4Net.SentryAppender.Environment. Every breaking API change we have recorded in sentry.log4net on NuGet: 25 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-rc.2 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): 5 breaking changes in 2 versions.

## sentry.log4net 7.0.0 breaking changes

sentry.log4net 7.0.0, released November 12, 2026: 4 breaking changes.

- **Removed** `Sentry.Log4Net.SentryAppender.Environment`  

Sentry.Log4Net.SentryAppender.Environment was removed in Sentry.Log4Net 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.Log4Net/7.0.0)
- **Removed** `Sentry.Log4Net.SentryAppender.OnClose`  

Sentry.Log4Net.SentryAppender.OnClose was removed in Sentry.Log4Net 7.0.0 [nuget.org](https://www.nuget.org/packages/Sentry.Log4Net/7.0.0)
- **Removed** `SentryOptions.EnableLogs`  

With SentrySdk.Init and the logging integrations, logs are always sent. To drop them, use SetBeforeSendLog(\_ => null). [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)
- **Behavior changed** `SentryAppender`  

The log4net SentryAppender no longer starts Sentry. Initialize Sentry first with SentrySdk.Init or UseSentry, and move Dsn, Release, Environment and other SDK settings there. A DSN still set on the appender fails with a message explaining... [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0)

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

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

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

Brotli is excluded from the default SentryOptions.DecompressionMethods; add it explicitly if you need it. [github.com](https://github.com/getsentry/sentry-dotnet/releases/tag/7.0.0-rc.3)

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

sentry.log4net 7.0.0-rc.2, released November 12, 2026: 20 breaking changes.

- **Removed** `defaultTextMapPropagator`  

The defaultTextMapPropagator parameter is removed; configure the propagator 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** `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`  

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-rc.2)
- **Removed** `SentryOptions.CrashedLastRun`  

CrashedLastRun can no longer be used 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. [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 can no longer be used 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 10 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.
