Sentry .NET SDK 7.0 adds .NET 11 support and Quartz.NET monitoring
Brief
Sentry .NET SDK 7.0 adds .NET 11 support and new host and Quartz.NET integrations, alongside breaking changes that teams should review before upgrading.
New capabilities
- The SDK targets .NET 11 alongside .NET 8, 9 and 10, and reads the updated Android assembly layouts to preserve file names and line numbers in stack traces.
- The new Sentry.Extensions.Hosting package adds UseSentry() for generic hosts, worker services, console apps, isolated Azure Functions and Windows services.
- Sentry.Quartz adds job tracing, exception capture and cron check-ins; Sentry.Quartz3 supports check-ins for Quartz.NET 3.6 and later.
Breaking changes to check
- Initialize Sentry in one place with SentrySdk.Init or UseSentry(); logging integrations now capture logs but no longer start the SDK.
- Serilog, NLog and log4net integrations send logs without an opt-in flag, which can increase log volume. Check minimum log levels and filters before upgrading.
- Android, iOS, Mac Catalyst and MAUI on Windows now require .NET 10 or later; some .NET 9 targets are dropped.
- Update every Sentry package in the solution to 7.0.0 together and consult the v6-to-v7 migration guide.
Generated by AI from the original article. Check the source for full details.