Repository navigation
TR-008: Update Sentry to 7.0.0 - #17
Merged
Merged
Conversation
Sentry 7 drops SentryOptions.EnableLogs and EnableMetrics: with SentrySdk.Init, logs and metrics are sent unless a hook drops them. TR Studio sends neither, but both hooks now return null so a crash report stays the only thing that leaves the PC. Replaces Dependabot PR #16, which conflicted with #14's 6.13.0 bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Updates Sentry from 6.13.0 to 7.0.0. This replaces Dependabot's #16, which conflicted with #14.
Why the code change
Sentry 7 removed
SentryOptions.EnableLogsandEnableMetrics. WithSentrySdk.Init, logs and metrics are now sent unless a hook drops them. TR Studio doesn't send either today: it calls onlySentrySdk.InitandCaptureException, with no logging integration. Both hooks now returnnullanyway, so a scrubbed crash report stays the only thing that leaves the PC.None of 7.0's other breaking changes affect this app. They cover ASP.NET Core, the logging integrations, MAUI, mobile and
EnvelopeAPIs.Checked
dotnet test tests/CoreVision.Engine.Tests: 411 passed, 1 skippedNot yet checked
--test-crash, to confirm the event still arrives scrubbed🤖 Generated with Claude Code