Update dependency Sentry to v6 #401
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.13.0→6.0.0Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
getsentry/sentry-dotnet (Sentry)
v6.0.0Compare Source
BREAKING CHANGES
SentryLoggingOptions.ExperimentalLogging.MinimumLogLevel. Structured Logs can now be configured via the"Sentry"logging provider (e.g. inappsettings.jsonandappsettings.{HostEnvironment}.json) (#4700)SentryLog.ParentSpanIdtoSentryLog.SpanIdreflecting the protocol change (#4778)IDisposableso that they can be used withusingstatements/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 withActivityclasses when using OpenTelemetry (#4627)sealed(see also #4627)ExperimentalfromSentryOptions(#4699)SentryIdand aCaptureFeedbackResultout parameter that indicate whether feedback was captured successfully and what the reason for failure was otherwise (#4613)Sentry.Azure.Functions.Workeras 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.Criticalhas been renamed toBreadcrumbLevel.Fatalfor consistency with the other Sentry SDKs (#4605)Sentry.Maui.BreadcrumbEventthat had been marked as obsolete. That constructor expected aIEnumerable<(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.CaptureUserFeedbackand all associated members. Use the newerSentrySdk.CaptureFeedbackinstead.Features
Sentry.Extensions.AIwhich allows LLM usage instrumentation viaMicrosoft.Extensions.AI(#4657)Sentry.Google.Cloud.Functions(#4700)IsSessionActiveto allow checking the session state (#4662)Unhandledwhen capturing an unhandled but non-terminal exception, i.e. through the UnobservedTaskExceptionIntegration (#4633, #4653)app_memorythat can hold the amount of memory used by the application in bytes. (#4707)PropagateTraceparent = truewhen initializing the SDK if to include the W3C traceparent header on outgoing requests.Fixes
Serilogintegration captures Structured Logs (when enabled) independently of captured Events and added Breadcrumbs (#4691)Sentry.Extensions.Logging,Sentry.AspNetCore,Sentry.MauiandSentry.Google.Cloud.Functionsappsettings.json)SentryLoggingOptions.MinimumBreadcrumbLevel,SentryLoggingOptions.MinimumEventLevel, or add filter functions viaSentryLoggingOptionsExtensions.AddLogEntryFilterappsettings.json)SentryOptions.EnableLogs/NODEFAULTLIB:MSVCRTto NativeAOT linker arguments on Windows when targetting non-Windows platforms (Android, Browser) (#4760)Dependencies
v5.16.2Compare Source
Fixes
sentry.proguard-uuidmetadata to be set in Android manifest (#4647)Dependencies
v5.16.1Compare Source
Fixes
sentry.originattribute to so it's clearer where these come from (#4566)Dependencies
v5.16.0Compare Source
Features
EnableBackpressureHandlingoption for Automatic backpressure handling. When enabled this automatically reduces the sample rate when the SDK detects events being dropped. (#4452)Serilog(#4462)Fixes
API Changes
ExperimentalAttributefrom all Structured Logs APIs, and removeExperimentalproperty fromSentrySdk, but keepExperimentalproperty onSentryOptions(#4567)Dependencies
Dependencies
v5.15.1Compare Source
Fixes
SentryOptions.Native.SuppressSignalAbortsandSuppressExcBadAccesson iOS (#4521)Dependencies
v5.15.0Compare Source
Features
params(#4451)keynames ofMicrosoft.Extensions.Loggingattributes (#4450)Fixes
IDisposablefromSentryStructuredLogger. Disposal is intended through the owningIHubinstance (#4424)InvalidOperationExceptionpotentially thrown during a race condition, especially in concurrent high-volume logging scenarios (#4428)Dependencies
v5.14.1Compare Source
Fixes
Dependencies
v5.14.0Compare Source
Features
Sentry.Extensions.Logging,Sentry.AspNetCoreandSentry.Maui(#4193)Fixes
sample_rateof Dynamic Sampling Context (DSC) when making sampling decisions (#4374)v5.13.0Compare Source
Features
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)Fixes
linux-musl-arm64(#4365)Dependencies
v5.12.0Compare Source
API changes
Features
Fixes
lzmaon Linux/MUSL (#4326)Dependencies
v5.11.2Compare Source
Fixes
v5.11.1Compare Source
Fixes
v5.11.0Compare Source
Features
ConfigureScopeandConfigureScopeAsyncoverloads (#4244)AutomationIdelement information to breadcrumbs (#4248)Fixes
Sentry.Maui.BreadcrumbEvent, while keeping an Obsolete constructor for backward compatibility.Dependencies
v5.10.0Compare Source
Features
Fixes
v5.9.0Compare Source
Features
Fixes
Dependencies
v5.8.1Compare Source
Fixes
SentryNative=falseat runtime (#4220)v5.8.0Compare Source
Features
Fixes
Dependencies
v5.7.0Compare Source
Features
Fixes
RequestSize.Smallthreshold from 1 kB to 4 kB to match other SDKs (#4177)Dependencies
v5.6.0Compare Source
Features
<SentryNative>false</SentryNative>traceparentheader, it is now parsed and interpreted like thesentry-traceheader. Outgoing requests now contain thetraceparentheader to facilitate integration with servesr that only support the W3C Trace Context. (#4084)Fixes
Dependencies
v5.5.1Compare Source
Fixes
v5.5.0Compare Source
Features
IScopeObservernow has anSetTracethat allows observing changes to the scope's trace context. The SDK uses this to propagate thetrace IDtosentry-native. This allows Sentry to connect errors coming from all layers of your application (#4026)Dependencies
Fixes
net9.0on Sentry.Google.Cloud.Functions to avoid conflict with Sentry.AspNetCore (#4039)SentryOptions.EnableAppHangTrackingV2tofalse(#4042)Shellnavigation breadcrumbs on iOS (#4006)Dependencies
v5.4.0Compare Source
Enhancements
Fixes
v5.3.0Compare Source
Features
Fixes
Dependencies
v5.2.0Compare Source
Features
Fixes
Dependencies
v5.1.1Compare Source
Fixes
v5.1.0Compare Source
Significant change in behavior
{{auto}}whenSendDefaultPiiis enabled. This change gives you control over IP address collection directly on the client (#3893)Features
SentryOptions.DisableSentryHttpMessageHandler. Useful if you're usingOpenTelemetry.Instrumentation.Httpand ending up with duplicate spans. (#3879)Dependencies
Fixes
Dependencies
v5.0.1Compare Source
Fixes
Dependencies
v5.0.0Compare Source
API Changes
SentryOptions.EnableTracinghas been removed. Instead, tracing should be enabled or disabled by setting theSentryOptions.TracesSampleRateor by usingSentryOptions.TracesSamplerto configure a sampling function (#3569)AndroidContextas an argument toSentrySdk.Init(#3562)SentryUser.Segmentproperty has been deprecated. Consider sending this as a tag or additional data instead (#3563)Device.BatteryLevelandDevice.ProcessorFrequencyare now stored as floats rather than ints, to align with the Cocoa and Java SDKs (#3567)FailedRequestTargets,TagFiltersandTracePropagationTargetsoptions have all been changed fromSubstringOrRegexPatterntoIList<StringOrRegex>(#3566)Scope.Transactionis now always stored as anAsyncLocalalso in Global Mode, to prevent auto-instrumented spans from the UI ending up parented to transactions from a background task (or vice versa). (#3596)Features
.NET 9(#3699)SentryOptionsextension for profiling:options.AddProfilingIntegration()(#3660)Fixes
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.