NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #461 most downloaded on NuGet
Official SDK for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
Latest stable
7.0.1
Last release 8 days ago
17 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
8 versions withdrawn
withdrawn after publishing
127 years old
213 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
fix: keep the longer rate limit when a later response sends a shorter one by @ric-oliv with @sentry-junior in #5946
TransactionNameProvider throws by @dingsdax with @sentry-junior in #5941token or session_id, are now replaced with [Filtered] in events, spans and breadcrumbs, regardless of SendDefaultPii. Outbound HTTP and GraphQL span descriptions no longer include the query string or fragment. by @jamescrosswell and @claude in #5891Your coding agent can read these notes before it upgrades. Set up the MCP server →
Version 7 of the Sentry SDK for .NET adds support for .NET 11 and gives Sentry a single place to be initialized. It contains breaking changes, so read…
Version 7 of the Sentry SDK for .NET adds support for .NET 11 and gives Sentry a single place to be initialized. It contains breaking changes, so read the upgrade notes below before you upgrade.
net11.0 alongside .NET 8, 9 and 10, including Android, iOS and Mac Catalyst apps on .NET 11, with support for .NET 11's Android assembly stores and Zstandard-compressed assemblies.Microsoft.Extensions.Logging, Serilog, NLog and log4net integrations now only capture logs, breadcrumbs and events; they no longer start the SDK. Initialize Sentry with SentrySdk.Init or UseSentry, and configure it from the Sentry section of appsettings.json.UseSentry for generic host apps. The new Sentry.Extensions.Hosting package adds UseSentry to Host.CreateApplicationBuilder and IHostBuilder, for worker services, console apps, Azure Functions (isolated) and Windows services.net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-windows are no longer supported.net11.0-ios27.2 and net11.0-maccatalyst27.2, which need Xcode 27.2 to build.WriteTo.Sentry(...), NLog's Sentry target, log4net's SentryAppender and Logging.AddSentry(...) no longer initialize the SDK. Initialize Sentry first with SentrySdk.Init, or UseSentry in ASP.NET Core, MAUI, Blazor WebAssembly and generic host apps, and move Dsn, Release, Environment and other SDK settings there. A DSN still set on one of these integrations fails with a message explaining what to change (to prevent SDK users being blind-sided by this change).UseSentry starts Sentry when the host is built, so crashes before that aren't captured. Apps that relied on the Serilog sink, the NLog target or the log4net appender to capture startup crashes can also call SentrySdk.Init at the start of Main.Logging:Sentry in appsettings.json now only sets log levels: MinimumEventLevel, MinimumBreadcrumbLevel and the LogLevel rules. Move any other key to the Sentry section; the app fails at startup until you do.SentryLoggingOptions, SentrySerilogOptions and SentryNLogOptions no longer derive from SentryOptions. Serilog's ApplySerilogScopeToEvents() is renamed UseSerilog().SentryOptions.FlushTimeout, which defaults to 2 seconds. The NLog target used to wait up to 15.Info and above as logs. To send Trace and Debug entries as logs too, lower MinimumLogLevel on SentryNLogOptions, or minimumLogLevel on the target in XML config. enableLogs="false" still turns logs off, by setting MinimumLogLevel to Off.Logging.AddSentry() no longer registers IHub, ISentryClient or Func<IHub> in the service collection; UseSentry does. An app that initializes Sentry with SentrySdk.Init and injects them now fails when they're resolved. Switch to UseSentry, or register HubAdapter.Instance for each type yourself.UseSentry and Logging.AddSentry(), the Logging.AddSentry() call now does nothing. Move its settings to the host's options, such as SentryAspNetCoreOptions, and remove the call. The exception is an app that calls ClearProviders() after UseSentry. Keep Logging.AddSentry() there, because it adds Sentry's logger providers back.UseSentry callback now override appsettings.json, as they do in ASP.NET Core.SentryOptions.EnableLogs is removed. 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: set EnableLogs on their options or in the Sentry section, as in 6.x.SentryOptions.EnableMetrics is removed. Return null from SetBeforeSendMetric to drop metrics.Scope.Release, Scope.Distribution and SentryOptions.ApplyDefaultTags are removed. Set Release and Distribution on SentryOptions. DefaultTags are still applied.SentryOptions.ScopeObserver, EnableScopeSync and CrashedLastRun are now internal.SentryOptions.Native.EnableAppHangTrackingV2 is removed; use EnableAppHangTracking. SentryOptions.Native.AddInAppExclude(string), which had no effect, is removed too.Envelope.FromEvent, Envelope.FromFeedback and Envelope.FromTransaction take the IDiagnosticLogger as their last parameter.defaultTextMapPropagator parameter is removed. The propagator should be configured via the OpenTelemetry SDK instead.SentryClientExtensions.GetInternalSentryOptions is removed. Integrations that need the SDK's diagnostic logger can call the new GetDiagnosticLogger() extension on IHub, in Sentry.Extensibility.ILoggerFactory.AddSentry() is removed, and calls to it no longer compile. Use ILoggingBuilder.AddSentry() instead, for example LoggerFactory.Create(builder => builder.AddSentry()). Unlike the old method, it also sends ILogger entries as Sentry logs.options.TraceIgnoreStatusCodes.Clear().ISentryBuilder overloads of UseSentry (including gRPC apps), Blazor WebAssembly or Google Cloud Functions, and don't set 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.sentry.dotnet.aspnetcore, rather than the logging integration that captured them.SENTRY_RELEASE takes precedence over the release derived from the app package.SentryOptions.DecompressionMethods now defaults to GZip | Deflate, leaving out Brotli. To accept Brotli responses again, set options.DecompressionMethods |= DecompressionMethods.Brotli.LogContext to events as tags, even when the app doesn't call UseSerilog(). In 6.x this only happened when the sink initialized the SDK or the app called ApplySerilogScopeToEvents().GetInternalSentryOptions, which was only meant for Sentry's own integrations. Integrations that need the SDK's diagnostic logger can call the new GetDiagnosticLogger() extension on IHub, in Sentry.Extensibility. by @jamescrosswell in #5862builder.Logging.AddSentry() no longer registers IHub, ISentryClient or Func<IHub> in the service collection. UseSentry registers them; apps that initialize Sentry with SentrySdk.Init and inject them now register them themselves by @jamescrosswell in #5740Microsoft.Extensions.Logging integration no longer initializes the SDK. Sentry must now be initialized separately from the logging integration (using SentrySdk.Init or UseSentry) by @jamescrosswell in #5595Logging:Sentry) now only configures the logging integration. Core SDK settings there, such as Dsn, no longer have any effect and fail at startup with migration guidance: move them to the Sentry section, or pass them where Sentry is initialized by @jamescrosswell in #5595Scope.Release and Scope.Distribution have been removed, and Release and Distribution have moved from IEventLike to ITransactionData. Set them on SentryOptions instead. by @jamescrosswell in #5671SentryOptions.ApplyDefaultTags has been removed. Default tags set in SentryOptions.DefaultTags are still applied to events and transactions. by @jamescrosswell in #5671Scope.Environment to null clears the override. by @jamescrosswell in #5671sentry.dotnet.aspnetcore. Blazor WebAssembly now reports sentry.dotnet.aspnetcore.blazor.webassembly. by @jamescrosswell in #5671SENTRY_RELEASE now takes precedence over the default release derived from the app package. by @jamescrosswell in #5671Envelope.FromEvent, Envelope.FromFeedback and Envelope.FromTransaction now take the IDiagnosticLogger as their last parameter, after attachments (and sessionUpdate). This only affects code that creates envelopes directly and passes these arguments positionally; those calls no longer compile, so reorder the arguments or pass them by name. by @jamescrosswell in #5669
// Before
Envelope.FromEvent(@event, logger, attachments, sessionUpdate);
Envelope.FromTransaction(transaction, logger, attachments);
// After
Envelope.FromEvent(@event, attachments, sessionUpdate, logger);
Envelope.FromTransaction(transaction, attachments, logger);SentryOptions.Native.EnableAppHangTrackingV2 on iOS and Mac Catalyst (use EnableAppHangTracking instead) by @jamescrosswell in #5654SentryOptions.Native.AddInAppExclude(string) on iOS, which had no effect by @jamescrosswell in #5654SentryOptions.ScopeObserver, EnableScopeSync and CrashedLastRun are now internal by @jamescrosswell in #5631net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-windows have been dropped. by @jamescrosswell in #5529This is a major bump with the Performance Monitoring API and Out of Memory Tracking, many improvements and a few breaking changes. For a detailed explanation how to upgrade please checkout the migration guide.
SentryOptions.sampleRate that is not >= 0.0 and <= 1.0 the SDK sets it to the default of 1.0.feat(hangfire): Add an option to monitor all recurring jobs by @wedamija and @claude in #5742
[SentryMonitorSlug] now send their cron schedule and time zone with the check-in, so Sentry creates the monitor if it doesn't exist yet. This is on by default: on upgrade, existing monitors take their schedule and time zone from the recurring job on its next run (other monitor settings are kept). To keep managing schedules in Sentry, opt out with UseSentry(o => o.SendMonitorConfig = false). by @wedamija and @claude in #5665Sentry.Quartz3, an integration for Quartz.NET 3.x (3.6 and later) on .NET Framework 4.6.2+ and .NET 8+ by @wedamija, @michaelmairegger and 3 others in #5668
services.AddQuartz(q => q.AddJobListener<SentryJobListener>()) or scheduler.ListenerManager.AddJobListener(new SentryJobListener())[SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automaticallySentry.Quartz this doesn't run each job in its own scope or capture the exceptions jobs throwSentry.Quartz, an integration for Quartz.NET 4.x by @michaelmairegger, @jamescrosswell and 3 others in #5505
services.AddQuartz(q => q.AddSentry()) runs each job in its own scope and trace, tagged with its job key, and captures the exceptions jobs throw[SentryMonitorSlug] send a Sentry Crons check-in for every run, with the trigger's cron or interval schedule as the monitor config, so monitors are created and kept up to date automaticallySentryQuartzOptions.ConfigureMonitorOptions customizes thresholds or the schedule, and SendMonitorConfig = false sends check-ins without a scheduleSet-Cookie, X-Api-Key and X-Auth-Token, now have their values replaced with [Filtered], regardless of SendDefaultPii by @jamescrosswell and @claude in #5890AutoSessionTrackingInterval ends the session, and an app killed in the background reports exited instead of abnormal. by @bitsandfoxes, @claude and @jamescrosswell in #5863backpressure drops in client reports by @chiliec in #5841fix: builds no longer fail when symbol upload or release creation is enabled but no Sentry auth token is available by @jamescrosswell in #5705
feat(otel): mark span processor based OpenTelemetry setup methods as obsolete by @jamescrosswell in #5586
fix(cocoa): iOS and Mac Catalyst apps no longer crash in [NSURLSessionTask cancel] when a request is cancelled after it has already completed with Nat
[NSURLSessionTask cancel] when a request is cancelled after it has already completed with Native.EnableSwizzling enabled (Cocoa SDK v9.29.0). Note that native crashes now set mechanism.synthetic, so expect a one-time regrouping of existing crash issues as your app adopts this version. by @github-actions in #5596feat: Expose StringOrRegex discriminator by @limbonaut in #5543
feat: Logs sent via SentrySdk.Logger no longer require EnableLogs by @jamescrosswell in #5512
SentrySdk.Logger no longer require EnableLogs by @jamescrosswell in #5512SentryOptions.EnableMetrics is obsolete and ignored by @jamescrosswell in #5509feat: Allow users to control Mechanism.Handled for captured exceptions by @vladbrincoveanu in #5449
feat(logs): add log4net integration by @Flash0ver in #5172
log4net integration by @Flash0ver in #5172NLog integration by @Flash0ver in #5176AddToTransactions on SentryAttachment #5182 by @jamescrosswell in #5182SentrySdk.RecordTransaction to record already-completed transactions and spans (e.g. replayed through a proxy) #5333 by @jamescrosswell in #5333Environment set on the Scope now gets synchronized to the native layers (sentry-cocoa and sentry-native) by @bitsandfoxes in #5365SentrySpanProcessor no longer leaks spans whose Activity never ends (e.g. aborted requests); the Activity is now held via a WeakReference so orphaned spans are pruned once it is garbage-collected. by @Ermabo in #5393feat(android): expose tombstone options via SentryOptions.Native by @jamescrosswell in #5226
IgnoreTransactions option to filter out transactions by name, matching substrings or regular expressions against the transaction name (#5377) by @Adham-Kiwan in #5377SentryEventExtensions.IsFromUnhandledException) and terminal exceptions (SentryEventExtensions.IsFromTerminalException) by @jamescrosswell in #5177feat: propagate trace to sentry-android and sentry-cocoa by @bitsandfoxes in #5244
sentry-android and sentry-cocoa by @bitsandfoxes in #5244feat: Add support to send OTEL traces via OTLP by @jamescrosswell in #4899
SentryEvent to have IsCaptured to allow dropping screenshots of filtered events by @JoshuaMoelans in #5162PruneFilteredSpans runs by @jamescrosswell in #5186fix: prevent redundant native exceptions on Android/CoreCLR by @jpnurmi in #5127
feat: Add network details for session replay on iOS by @jamescrosswell in #4891
options.Native.ExperimentalOptions.SignalHandlerStrategy to Sentry.Android.SignalHandlerStrategy.ChainAtStartchore(deps): update Native SDK to v0.13.6 by @github-actions in #5128
fix: Workaround FileNotFoundException on Android when recovering sessions by @jamescrosswell in #5084
CaptureFeedback now supports multiple attachments correctly by @bitsandfoxes in #5077The _Metrics_ APIs are now stable: removed Experimental from SentrySdk, SentryOptions and IHub
Experimental from SentrySdk, SentryOptions and IHub (#5023)SENTRY1001) when a Metrics-API is invoked with an unsupported numeric type (#4840)Environment and Release and custom event processors are all now correctly applied to CaptureFeedback events (#4942)Data set via ITransactionTracer in SentryTransaction (#4148)Outbound HTTP requests now show in the Network tab for Android Session Replays
Warning instead of an Error when being ratelimited (#4927)libmonosgen and libxamarin frames no longer show as in-app (#4960)SentryApiKey, you need to generate an Auth Token and use SentryAuthToken, instead.With this version, Sentry groups errors by domain and code. MyDomain 1 and MyDomain 2 are going to be two separate issues in Sentry. If you are using self-hosted Sentry, it requires Sentry version >= v21.2.0 to work. Staying on Sentry < v21.2.0 and upgrading to this version of the SDK won't do any damage. Sentry will group like in previous versions, but you will see a new group because we slightly changed the wording. If you are using sentry.io no action is needed. In case you are not satisfied with this change, you can take a look at SDK fingerprinting to group by domain only.
Add _experimental_ support for Sentry trace-connected Metrics
SentryThread by Main to allow indication whether the thread is considered the current main thread (#4807)Environment and Release (#4883)Deprecated Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've repla…
SentryLoggingOptions.ExperimentalLogging.MinimumLogLevel. Structured Logs can now be configured via the "Sentry" logging provider (e.g. in appsettings.json and appsettings.{HostEnvironment}.json) (#4700)SentryLog.ParentSpanId to SentryLog.SpanId reflecting the protocol change (#4778)IDisposable so that they can be used with using statements/declarations that will automatically finish the span with a status of OK when it passes out of scope, if it has not already been finished, to be consistent with Activity classes when using OpenTelemetry (#4627)sealed (see also #4627)Experimental from SentryOptions (#4699)SentryId and a CaptureFeedbackResult out parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#4613)Sentry.Azure.Functions.Worker as very few people were using it and the functionality can easily be replaced with OpenTelemetry. We've replaced our integration with a sample showing how to do this using our OpenTelemetry package instead. (#4693)BreadcrumbLevel.Critical has been renamed to BreadcrumbLevel.Fatal for consistency with the other Sentry SDKs (#4605)Sentry.Maui.BreadcrumbEvent that had been marked as obsolete. That constructor expected a IEnumerable<(string Key, string Value)>[] argument (i.e. an array of IEnumerable of tuples). If you were using this constructor, you should instead use the alternate constructor that expects just an IEnumerable of tuples: IEnumerable<(string Key, string Value)>.SentrySdk.CaptureUserFeedback and all associated members. Use the newer SentrySdk.CaptureFeedback instead.Sentry.Extensions.AI which allows LLM usage instrumentation via Microsoft.Extensions.AI (#4657)Sentry.Google.Cloud.Functions (#4700)app_memory that can hold the amount of memory used by the application in bytes. (#4707)PropagateTraceparent = true when initializing the SDK if to include the W3C traceparent header on outgoing requests.Serilog integration captures Structured Logs (when enabled) independently of captured Events and added Breadcrumbs (#4691)Sentry.Extensions.Logging, Sentry.AspNetCore, Sentry.Maui and Sentry.Google.Cloud.Functionsappsettings.json)
SentryLoggingOptions.MinimumBreadcrumbLevel, SentryLoggingOptions.MinimumEventLevel, or add filter functions via SentryLoggingOptionsExtensions.AddLogEntryFilterappsettings.json)
SentryOptions.EnableLogs/NODEFAULTLIB:MSVCRT to NativeAOT linker arguments on Windows when targetting non-Windows platforms (Android, Browser) (#4760)This is a major bump with lots of internal improvements and a few breaking changes. For a detailed explanation how to updgrade please checkout the migration guide.
Breaking changes:
Features and fixes:
Memory leak when finishing an unsampled Transaction that has started unsampled Spans
Do not allow multiple sentry.proguard-uuid metadata to be set in Android manifest
sentry.proguard-uuid metadata to be set in Android manifest (#4647)Structured Logs now have a sentry.origin attribute to so it's clearer where these come from
Added EnableBackpressureHandling option for Automatic backpressure handling. When enabled this automatically reduces the sample rate when the SDK dete
EnableBackpressureHandling option for Automatic backpressure handling. When enabled this automatically reduces the sample rate when the SDK detects events being dropped. (#4452)Serilog (#4462)ExperimentalAttribute from all Structured Logs APIs, and remove Experimental property from SentrySdk, but keep Experimental property on SentryOptions (#4567)Fail when building Blazor WASM with Profiling. We don't support profiling in Blazor WebAssembly projects.
Experimental _Structured Logs_:
IDisposable from SentryStructuredLogger. Disposal is intended through the owning IHub instance (#4424)InvalidOperationException potentially thrown during a race condition, especially in concurrent high-volume logging scenarios (#4428)Crontabs now support day names (MON-SUN) and allow step values and ranges to be combined
Add _experimental_ support for Sentry Structured Logging
sample_rate of Dynamic Sampling Context (DSC) when making sampling decisions (#4374)Sentry now includes an EXPERIMENTAL StringStackTraceFactory. This factory isn't as feature rich as the full SentryStackTraceFactory. However, it may p
SentryStackTraceFactory. However, it may provide better results if you are compiling your application AOT and not getting useful stack traces from the full stack trace factory. (#4362)linux-musl-arm64 (#4365)App Hang Tracking for iOS is now disabled by default, until this functionality is more stable. If you want to use it in your applications then you'll
lzma on Linux/MUSL (#4326)Unsampled spans no longer propagate empty trace headers
Fix linking of libsentry-native to avoid DllNotFoundException in Native AOT applications
NOTE: Required breaking changes to the public API of Sentry.Maui.BreadcrumbEvent, while keeping an _Obsolete_ constructor for backward compatibility.
ConfigureScope and ConfigureScopeAsync overloads (#4244)AutomationId element information to breadcrumbs (#4248)Sentry.Maui.BreadcrumbEvent, while keeping an Obsolete constructor for backward compatibility.Rename MemoryInfo.AllocatedBytes to MemoryInfo.TotalAllocatedBytes
Reduced memory pressure when sampling less than 100% of traces/transactions
Support for Windows ARM64 with Native AOT
.NET MAUI integration with CommunityToolkit.Mvvm Async Relay Commands can now be auto spanned with the new package Sentry.Maui.CommunityToolkit.Mvvm
New source generator allows Sentry to see true build variables like PublishAot and PublishTrimmed to properly adapt checks in the Sentry SDK
RequestSize.Small threshold from 1 kB to 4 kB to match other SDKs (#4177)Option to disable the SentryNative integration (#4107, #4134)
traceparent header, it is now parsed and interpreted like the sentry-trace header. Outgoing requests now contain the traceparent header to facilitate integration with servesr that only support the W3C Trace Context. (#4084)<SentryNative>false</SentryNative>traceparent header, it is now parsed and interpreted like the sentry-trace header. Outgoing requests now contain the traceparent header to facilitate integration with servesr that only support the W3C Trace Context. (#4084)Sentry Java SDK dependencies are now detected and included in the Android bindings
The IScopeObserver now has an SetTrace that allows observing changes to the scope's trace context. The SDK uses this to propagate the trace ID to sent
IScopeObserver now has an SetTrace that allows observing changes to the scope's trace context. The SDK uses this to propagate the trace ID to sentry-native. This allows Sentry to connect errors coming from all layers of your application (#4026)net9.0 on Sentry.Google.Cloud.Functions to avoid conflict with Sentry.AspNetCore (#4039)SentryOptions.EnableAppHangTrackingV2 to false (#4042)Shell navigation breadcrumbs on iOS (#4006)IScopeObserver now has an SetTrace that allows observing changes to the scope's trace context. The SDK uses this to propagate the trace ID to sentry-native. This allows Sentry to connect errors coming from all layers of your application (#4026)net9.0 on Sentry.Google.Cloud.Functions to avoid conflict with Sentry.AspNetCore (#4039)SentryOptions.EnableAppHangTrackingV2 to false (#4042)Shell navigation breadcrumbs on iOS (#4006)Profiling: improve performance by subscribing only to necessary CLR events
User Feedback can now be captured without errors/exceptions. Note that these APIs replace the older UserFeedback APIs, which have now been marked as o
Serilog scope properties are now sent with Sentry events
Emit transaction.data inside contexts.trace.data
The User.IpAddress is now only set to {{auto}} when SendDefaultPii is enabled. This change gives you control over IP address collection directly on th
{{auto}} when SendDefaultPii is enabled. This change gives you control over IP address collection directly on the client (#3893)SentryOptions.DisableSentryHttpMessageHandler. Useful if you're using OpenTelemetry.Instrumentation.Http and ending up with duplicate spans. (#3879).NET Mobile: Disable and made obsolete the iOS Watchdog termination feature which is based on heuristics that don't work in .NET
Sentry's Experimental Metrics feature has been deprecated and removed from the SDK.
SentryOptions.EnableTracing has been removed. Instead, tracing should be enabled or disabled by setting the SentryOptions.TracesSampleRate or by using SentryOptions.TracesSampler to configure a sampling function (#3569)AndroidContext as an argument to SentrySdk.Init (#3562)SentryUser.Segment property has been deprecated. Consider sending this as a tag or additional data instead (#3563)Device.BatteryLevel and Device.ProcessorFrequency are now stored as floats rather than ints, to align with the Cocoa and Java SDKs (#3567)FailedRequestTargets, TagFilters and TracePropagationTargets options have all been changed from SubstringOrRegexPattern to IList<StringOrRegex> (#3566)Scope.Transaction is now always stored as an AsyncLocal also in Global Mode, to prevent auto-instrumented spans from the UI ending up parented to transactions from a background task (or vice versa). (#3596).NET 9 (#3699)SentryOptions extension for profiling: options.AddProfilingIntegration() (#3660)Limited experimental support for Session Replay Recording on Android
Android - allow logcat attachments to be previewed in Sentry
SetBeforeScreenshotCapture callback to the options: allowing the user to set an action before the screenshot is taken (#3661)Sentry.AspNetCore.Blazor.WebAssembly generally available. (#3674)sentry.native.android.dotnet (#3682)Android - fix bug that prevents logcat.log from getting attached to unhandled event (SIGSEGV Segfault)
sentry.native.android.dotnet (#3682)SetBeforeScreenshotCapture callback to the options: allowing the user to set an action before the screenshot is taken (#3661)Sentry.AspNetCore.Blazor.WebAssembly generally available. (#3674)The SentrySdk.Metrics module is deprecated and will be removed in the next major release. Sentry will reject all metrics sent after October 7, 2024. L…
If you are using Xcode 16.0, you will need to update the SDK to this version (4.12.0) or later.
If you are still using Xcode 15.4 or earlier, you need to continue to use the previous version (4.11.0) or earlier.
Using Xcode 16 to build .NET applications targeting iOS and Mac Catalyst requires .NET workload for iOS SDK version 18.0.8303. We built the SDK version 4.12.0 using Xcode 16 in order to support this scenario. That, unfortunately, breaks folks using older version of Xcode.
As such, if you are using SDK version 4.12.x and targeting iOS or Mac Catalyst, you will need to install and use Xcode 16 and workload iOS SDK 18.0.8303
Note that .NET 9 will also support Xcode 16, when it is released next month (Nov 2024).
SentrySdk.Metrics module is deprecated and will be removed in the next major release.
Sentry will reject all metrics sent after October 7, 2024.
Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics (#3619)DisableFileWrite to allow users to opt-out of all file writing operations. Note that toggling this will affect features such as offline caching and auto-session tracking and release health as these rely on some file persistency (#3614, #3641)All exceptions are now added as breadcrumbs on future events. Previously this was only the case for exceptions captured via the Sentry.SeriLog or Sent
Sentry.SeriLog or Sentry.Extensions.Logging integrations. (#3584)FormatException for ProcessorFrequency when trying to report native events (#3541)SentrySdk.StartTransaction() now returns a NoOpTransaction, which avoids unnecessary memory allocations (#3581)fix: Prevent deadlock in Hub.Dispose (#3539) by @bitsandfoxes
Hub.Dispose (#3539) by @bitsandfoxesHub.Dispose (#3539) by @bitsandfoxesUnfinished spans are now correctly stored and retrieved by the CachingTransport
Users can now automatically create releases and associated commits via sentry-cli and MSBuild properties
Sentry.AspNetCore.Blazor.WebAssembly now targets .NET 8 specifically, allowing for proper dependency resolution (#3501)WPF, WinForms or Avalonia with PublishAot enabled, the SDK no longers throws a DllNotFoundException trying to initialize sentry-native (#3411)
Unable to load DLL sentry-native or one of its dependenciesFormatException when trying to report native events (#3485)SentryMessageHandler (#3477)Fixed envelopes getting stuck in processing when losing network connectivity
One column per quarter.