Bump Sentry from 4.10.2 to 5.16.0 #163
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.
Updated Sentry from 4.10.2 to 5.16.0.
Release notes
Sourced from Sentry's releases.
5.16.0
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
5.15.1
Fixes
SentryOptions.Native.SuppressSignalAbortsandSuppressExcBadAccesson iOS (#4521)Dependencies
5.15.1-maxpath.1
Fixes
SentryOptions.Native.SuppressSignalAbortsandSuppressExcBadAccesson iOS (#4521)Dependencies
5.15.0
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
5.14.1
Fixes
Dependencies
5.14.0
Features
Sentry.Extensions.Logging,Sentry.AspNetCoreandSentry.Maui(#4193)Fixes
sample_rateof Dynamic Sampling Context (DSC) when making sampling decisions (#4374)5.14.0-alpha.1
Dependencies
5.14.0-alpha.0
Fixes
sample_rateof Dynamic Sampling Context (DSC) when making sampling decisions (#4374)5.13.0
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
5.12.0
API changes
Features
Fixes
lzmaon Linux/MUSL (#4326)Dependencies
5.12.0-alpha.0
Features
SentrySdk.Experimental.Logger(#4158)Sentry.AspNetCore, enabled viaSentryAspNetCoreOptions.Experimental.EnableLogsSentry.Extensions.Logging, enabled viaSentryLoggingOptions.Experimental.EnableLogsSentry.Maui, enabled viaSentryMauiOptions.Experimental.EnableLogsAPI changes
Features
SentrySdk.Experimental.Logger(#4158)Fixes
lzmaon Linux/MUSL (#4326)Dependencies
5.11.2
Fixes
5.11.1
Fixes
5.11.0
Features
ConfigureScopeandConfigureScopeAsyncoverloads (#4244)AutomationIdelement information to breadcrumbs (#4248)Fixes
Sentry.Maui.BreadcrumbEvent, while keeping an Obsolete constructor for backward compatibility.Dependencies
5.11.0-alpha.3
Features
ConfigureScopeandConfigureScopeAsyncoverloads (#4244)AutomationIdelement information to breadcrumbs (#4248)Fixes
Dependencies
5.11.0-alpha.1
Fixes
Dependencies
5.10.0
Features
Fixes
5.9.0
Features
Fixes
Dependencies
5.8.2-beta.1
Fixes
Dependencies
5.8.1
Fixes
SentryNative=falseat runtime (#4220)5.8.0
Features
Fixes
Dependencies
5.8.0-alpha.0
Features
SentrySdk.Logger(#4158)Sentry.AspNetCore, enabled viaSentryAspNetCoreOptions.EnableLogsSentry.Extensions.Logging, enabled viaSentryLoggingOptions.EnableLogsSentry.Maui, enabled viaSentryMauiOptions.EnableLogs5.7.0
Features
Fixes
RequestSize.Smallthreshold from 1 kB to 4 kB to match other SDKs (#4177)Dependencies
5.7.0-beta.0
Features
CaptureFeedbackoverload withconfigureScopeparameter (#4073)Fixes
MSB4185 :The function "IsWindows" on type "System.OperatingSystem" is not available(#4160)SentrySetCommitReleaseOptionsbuild property that can be specified separately fromSentryReleaseOptions(#4109)Dependencies
5.6.0
5.6.0
Features
Fixes
Features
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)Dependencies
5.5.1
Fixes
5.5.0
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)Fixes
net9.0on Sentry.Google.Cloud.Functions to avoid conflict with Sentry.AspNetCore (#4039)SentryOptions.EnableAppHangTrackingV2tofalse(#4042)Shellnavigation breadcrumbs on iOS (#4006)Dependencies
5.4.0
Enhancements
Fixes
5.3.0
Features
Fixes
Dependencies
5.2.0
Features
Fixes
Dependencies
5.1.1
Fixes
5.1.0
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)Fixes
Dependencies
5.0.1
Fixes
Dependencies
5.0.0
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
Dependencies
5.0.0-alpha.1
API Changes
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)SentryOptions.EnableTracinghas been removed. Instead, tracing should be enabled or disabled by setting theSentryOptions.TracesSampleRateor by usingSentryOptions.TracesSamplerto configure a sampling function (#3569)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(preview) (#3699)SentryOptionsextension for profiling:options.AddProfilingIntegration()(#3660)Fixes
Dependencies
4.13.0
Features
Fixes
Dependencies
4.12.2
Features
SetBeforeScreenshotCapturecallback to the options: allowing the user to set an action before the screenshot is taken (#3661)Sentry.AspNetCore.Blazor.WebAssemblygenerally available. (#3674)Fixes
sentry.native.android.dotnet(#3682)Dependencies
System.Text.Jsonfrom v6.0.8 to v6.0.10 (#3704)4.12.1
Fixes
Dependencies
4.12.1-segv1
Fixes
sentry.native.android.dotnet(#3682)Features
SetBeforeScreenshotCapturecallback to the options: allowing the user to set an action before the screenshot is taken (#3661)Sentry.AspNetCore.Blazor.WebAssemblygenerally available. (#3674)Dependencies
System.Text.Jsonfrom v6.0.8 to v6.0.10 (#3704)4.12.0
Support for Xcode 16.0 (BREAKING CHANGE)
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.xand targeting iOS or Mac Catalyst, you will need to install and use Xcode 16 andworkload iOS SDK 18.0.8303Note that .NET 9 will also support Xcode 16, when it is released next month (Nov 2024).
API Changes
SentrySdk.Metricsmodule 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)
Fixes
Features
DisableFileWriteto 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)Dependencies
4.11.0
Features
Sentry.SeriLogorSentry.Extensions.Loggingintegrations. (#3584)Fixes
FormatExceptionforProcessorFrequencywhen trying to report native events (#3541)API Changes
SentrySdk.StartTransaction()now returns aNoOpTransaction, which avoids unnecessary memory allocations (#3581)Dependencies
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)