Repository navigation
chore(deps): update dependency sentry.aspnetcore to v7 - #487
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
4 times, most recently
from
February 9, 2024 15:28
f467417 to
7a3f813
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
February 20, 2024 12:38
e585145 to
afed963
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
March 12, 2024 14:00
3f354ad to
d10d0ff
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
April 13, 2024 02:20
dfee59e to
eaf12d5
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
May 1, 2024 00:14
eaf12d5 to
d3ec071
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
3 times, most recently
from
May 14, 2024 17:00
e8a175d to
7b1d795
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
May 27, 2024 14:02
7b1d795 to
78be3ca
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
July 2, 2024 17:06
ae4bd93 to
ebfc4ab
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
July 11, 2024 19:36
ebfc4ab to
caf55dc
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
August 16, 2024 15:19
43b1f77 to
e17ea6d
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
August 21, 2024 14:59
e17ea6d to
0e2e6b6
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
September 22, 2024 22:33
0e2e6b6 to
edd13bc
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
October 2, 2024 21:37
edd13bc to
4d6596f
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
October 10, 2024 02:00
4d6596f to
4c7b62e
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
November 6, 2024 00:07
25c2380 to
91681cb
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
December 19, 2024 02:45
91681cb to
919adcb
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
January 8, 2025 21:56
919adcb to
c7cae4a
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
February 3, 2025 05:09
c7cae4a to
f8f7847
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
April 24, 2025 02:39
e86a378 to
1dead3e
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
May 13, 2025 17:25
1dead3e to
c182acb
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
May 27, 2025 17:58
7b95d37 to
f71530b
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
June 6, 2025 03:54
0ac2ec3 to
5d9dfe7
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
4 times, most recently
from
June 25, 2025 07:31
7955929 to
c666dbe
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
July 15, 2025 02:49
c666dbe to
ac27ad8
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
July 28, 2025 22:54
ac27ad8 to
8a227b3
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
2 times, most recently
from
August 14, 2025 10:31
7ca98c5 to
8b455e4
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
August 18, 2025 11:13
dc58d50 to
8b455e4
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
September 11, 2025 13:31
8b455e4 to
6a47f29
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
September 20, 2025 12:52
6a47f29 to
0cde86e
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
October 2, 2025 00:58
0cde86e to
d32233c
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
October 15, 2025 02:59
d32233c to
914d90e
Compare
renovate
Bot
force-pushed
the
renovate/major-sentry-dotnet-monorepo
branch
from
October 31, 2025 10:56
914d90e to
fe55c20
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
3.25.0→7.1.0Release Notes
getsentry/sentry-dotnet (Sentry.AspNetCore)
v7.1.0Compare Source
Features ✨
Sentry.Extensions.AInow honoursDataCollection.GenAI:GenAI.Inputscontrols whether prompts, tool definitions and tool call arguments are recorded on AI spans, andGenAI.Outputscontrols responses, tool calls and tool results. Both default totrue.SentryAIOptions.Experimental.RecordInputsandRecordOutputs, when set, override them for that chat client, and now cover tool content too. by @jamescrosswell and @claude in #5931Fixes 🐛
Android
Maui
Other
-f, and debug file upload for Android Native AOT builds by @ric-oliv, @claude and @jamescrosswell in #6002user:pass@) are no longer sent in outgoing HTTP spans, breadcrumbs or failed HTTP request events fromSentryHttpMessageHandler, even withSendDefaultPii = true. CustomSentryMessageHandlersubclasses now receive the URL with credentials replaced by[Filtered]inProcessRequestandHandleResponse. by @jamescrosswell and @claude in #5935ConfigureDataCollection, failed HTTP request events follow itsHttpHeaders,CookiesandUrlQueryParamssettings, andUrlQueryParamsapplies to the URL fragment as well as the query. Without it, they still followSendDefaultPii. by @jamescrosswell and @claude in #5935request.fragmentinstead ofrequest.url, with sensitive values such as#access_token=...replaced by[Filtered], andrequest.urlhas the same path format whateverSendDefaultPiiis, with encoded reserved characters such as%2Fand%3Fkept encoded. by @jamescrosswell and @claude in #5935SendDefaultPii = true, failed HTTP request events now include the response'sSet-Cookiecookies, filtered, incontexts.response.cookies. by @jamescrosswell and @claude in #5935Dependencies ⬆️
Deps
Other
v7.0.1Compare Source
Fixes 🐛
TransactionNameProviderthrows by @dingsdax with @sentry-junior in #5941tokenorsession_id, are now replaced with[Filtered]in events, spans and breadcrumbs, regardless ofSendDefaultPii. Outbound HTTP and GraphQL span descriptions no longer include the query string or fragment. by @jamescrosswell and @claude in #5891Dependencies ⬆️
Deps
v7.0.0Compare Source
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.
Highlights
net11.0alongside .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 withSentrySdk.InitorUseSentry, and configure it from theSentrysection ofappsettings.json.UseSentryfor generic host apps. The newSentry.Extensions.Hostingpackage addsUseSentrytoHost.CreateApplicationBuilderandIHostBuilder, for worker services, console apps, Azure Functions (isolated) and Windows services.Upgrading from 6.x
Target frameworks
net9.0-android,net9.0-ios,net9.0-maccatalystandnet9.0-windowsare no longer supported.net11.0-ios27.2andnet11.0-maccatalyst27.2, which need Xcode 27.2 to build.Initializing Sentry
WriteTo.Sentry(...), NLog's Sentry target, log4net'sSentryAppenderandLogging.AddSentry(...)no longer initialize the SDK. Initialize Sentry first withSentrySdk.Init, orUseSentryin ASP.NET Core, MAUI, Blazor WebAssembly and generic host apps, and moveDsn,Release,Environmentand 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).UseSentrystarts 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 callSentrySdk.Initat the start ofMain.Logging:Sentryinappsettings.jsonnow only sets log levels:MinimumEventLevel,MinimumBreadcrumbLeveland theLogLevelrules. Move any other key to theSentrysection; the app fails at startup until you do.SentryLoggingOptions,SentrySerilogOptionsandSentryNLogOptionsno longer derive fromSentryOptions. Serilog'sApplySerilogScopeToEvents()is renamedUseSerilog().SentryOptions.FlushTimeout, which defaults to 2 seconds. The NLog target used to wait up to 15.Infoand above as logs. To sendTraceandDebugentries as logs too, lowerMinimumLogLevelonSentryNLogOptions, orminimumLogLevelon the target in XML config.enableLogs="false"still turns logs off, by settingMinimumLogLeveltoOff.Logging.AddSentry()no longer registersIHub,ISentryClientorFunc<IHub>in the service collection;UseSentrydoes. An app that initializes Sentry withSentrySdk.Initand injects them now fails when they're resolved. Switch toUseSentry, or registerHubAdapter.Instancefor each type yourself.UseSentryandLogging.AddSentry(), theLogging.AddSentry()call now does nothing. Move its settings to the host's options, such asSentryAspNetCoreOptions, and remove the call. The exception is an app that callsClearProviders()afterUseSentry. KeepLogging.AddSentry()there, because it adds Sentry's logger providers back.UseSentrycallback now overrideappsettings.json, as they do in ASP.NET Core.Removed and changed APIs
SentryOptions.EnableLogsis removed. WithSentrySdk.Initand the logging integrations, logs are always sent; drop them withSetBeforeSendLog(_ => null). ASP.NET Core, MAUI and Blazor WebAssembly keep the opt-in: setEnableLogson their options or in theSentrysection, as in 6.x.SentryOptions.EnableMetricsis removed. ReturnnullfromSetBeforeSendMetricto drop metrics.Scope.Release,Scope.DistributionandSentryOptions.ApplyDefaultTagsare removed. SetReleaseandDistributiononSentryOptions.DefaultTagsare still applied.SentryOptions.ScopeObserver,EnableScopeSyncandCrashedLastRunare now internal.SentryOptions.Native.EnableAppHangTrackingV2is removed; useEnableAppHangTracking.SentryOptions.Native.AddInAppExclude(string), which had no effect, is removed too.Envelope.FromEvent,Envelope.FromFeedbackandEnvelope.FromTransactiontake theIDiagnosticLoggeras their last parameter.defaultTextMapPropagatorparameter is removed. The propagator should be configured via the OpenTelemetry SDK instead.SentryClientExtensions.GetInternalSentryOptionsis removed. Integrations that need the SDK's diagnostic logger can call the newGetDiagnosticLogger()extension onIHub, inSentry.Extensibility.ILoggerFactory.AddSentry()is removed, and calls to it no longer compile. UseILoggingBuilder.AddSentry()instead, for exampleLoggerFactory.Create(builder => builder.AddSentry()). Unlike the old method, it also sendsILoggerentries as Sentry logs.Changes in behavior
options.TraceIgnoreStatusCodes.Clear().ISentryBuilderoverloads ofUseSentry(including gRPC apps), Blazor WebAssembly or Google Cloud Functions, and don't set an environment, now report the host environment, such asdevelopmentorstaging, instead ofproduction. Update alerts and filters that rely on the old value.sentry.dotnet.aspnetcore, rather than the logging integration that captured them.SENTRY_RELEASEtakes precedence over the release derived from the app package.SentryOptions.DecompressionMethodsnow defaults toGZip | Deflate, leaving out Brotli. To accept Brotli responses again, setoptions.DecompressionMethods |= DecompressionMethods.Brotli.LogContextto events as tags, even when the app doesn't callUseSerilog(). In 6.x this only happened when the sink initialized the SDK or the app calledApplySerilogScopeToEvents().Breaking Changes 🛠
GetInternalSentryOptions, which was only meant for Sentry's own integrations. Integrations that need the SDK's diagnostic logger can call the newGetDiagnosticLogger()extension onIHub, inSentry.Extensibility. by @jamescrosswell in #5862builder.Logging.AddSentry()no longer registersIHub,ISentryClientorFunc<IHub>in the service collection.UseSentryregisters them; apps that initialize Sentry withSentrySdk.Initand inject them now register them themselves by @jamescrosswell in #5740Microsoft.Extensions.Loggingintegration no longer initializes the SDK. Sentry must now be initialized separately from the logging integration (usingSentrySdk.InitorUseSentry) by @jamescrosswell in #5595Logging:Sentry) now only configures the logging integration. Core SDK settings there, such asDsn, no longer have any effect and fail at startup with migration guidance: move them to theSentrysection, or pass them where Sentry is initialized by @jamescrosswell in #5595Scope.ReleaseandScope.Distributionhave been removed, andReleaseandDistributionhave moved fromIEventLiketoITransactionData. Set them onSentryOptionsinstead. by @jamescrosswell in #5671SentryOptions.ApplyDefaultTagshas been removed. Default tags set inSentryOptions.DefaultTagsare still applied to events and transactions. by @jamescrosswell in #5671Scope.Environmenttonullclears the override. by @jamescrosswell in #5671sentry.dotnet.aspnetcore. Blazor WebAssembly now reportssentry.dotnet.aspnetcore.blazor.webassembly. by @jamescrosswell in #5671SENTRY_RELEASEnow takes precedence over the default release derived from the app package. by @jamescrosswell in #5671Envelope.FromEvent,Envelope.FromFeedbackandEnvelope.FromTransactionnow take theIDiagnosticLoggeras their last parameter, afterattachments(andsessionUpdate). 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 #5669SentryOptions.Native.EnableAppHangTrackingV2on iOS and Mac Catalyst (useEnableAppHangTrackinginstead) by @jamescrosswell in #5654SentryOptions.Native.AddInAppExclude(string)on iOS, which had no effect by @jamescrosswell in #5654SentryOptions.ScopeObserver,EnableScopeSyncandCrashedLastRunare now internal by @jamescrosswell in #5631Features ✨
net9.0-android,net9.0-ios,net9.0-maccatalystandnet9.0-windowshave been dropped. by @jamescrosswell in #5529Fixes 🐛
v6.13.0Compare Source
Features ✨
Hangfire
[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 withUseSentry(o => o.SendMonitorConfig = false). by @wedamija and @claude in #5665Other
Sentry.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 #5668services.AddQuartz(q => q.AddJobListener<SentryJobListener>())orscheduler.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.Quartzthis 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 #5505services.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.ConfigureMonitorOptionscustomizes thresholds or the schedule, andSendMonitorConfig = falsesends check-ins without a scheduleFixes 🐛
Maui
Other
Set-Cookie,X-Api-KeyandX-Auth-Token, now have their values replaced with[Filtered], regardless ofSendDefaultPiiby @jamescrosswell and @claude in #5890AutoSessionTrackingIntervalends the session, and an app killed in the background reportsexitedinstead ofabnormal. by @bitsandfoxes, @claude and @jamescrosswell in #5863backpressuredrops in client reports by @chiliec in #5841Dependencies ⬆️
Deps
Other
v6.12.1Compare Source
Fixes 🐛
Dependencies ⬆️
Deps
Other
v6.12.0Compare Source
Features ✨
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.