Skip to content

TR-008: Update Sentry to 7.0.0 - #17

Merged
iamfercatapang merged 1 commit into
Devfrom
TR-008
Nov 17, 2026
Merged

iamfercatapang merged 1 commit into
Devfrom
TR-008

Conversation

@iamfercatapang

Copy link
Copy Markdown
Owner

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.EnableLogs and EnableMetrics. With SentrySdk.Init, logs and metrics are now sent unless a hook drops them. TR Studio doesn't send either today: it calls only SentrySdk.Init and CaptureException, with no logging integration. Both hooks now return null anyway, 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 Envelope APIs.

Checked

  • Debug and Release builds: 0 errors, no new warnings
  • dotnet test tests/CoreVision.Engine.Tests: 411 passed, 1 skipped

Not yet checked

  • A crash report end to end with --test-crash, to confirm the event still arrives scrubbed

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant