Document the release and environment changes for v7.0.0
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- documentation
Research direction
Start with docs/platforms/dotnet/common/configuration/options.mdx and platform-includes/set-release/dotnet.mdx, then check the Google Cloud Functions and Blazor WebAssembly guides. Compare the option wording with the listed 7.0.0 behavior and the open #5703 dependency. Done means the docs explain the Android and iOS release precedence, environment sources and scope behavior, and accurately describe host environment support.
Written by the indexing model from the issue text.
Description
#5671 changed how release, environment and SDK name are resolved in 7.0.0. #5703, which is still open, extends the host-environment mapping from ASP.NET Core to Blazor WebAssembly and Google Cloud Functions. The option docs still describe 6.x.
The .NET docs aren't versioned. As with #5698, the new text should say that it applies from 7.0.0 on, or the PR should merge when 7.0.0 ships.
What changed in 7.0.0
- Release, distribution, environment and default tags are resolved once, at init. Every kind of telemetry then takes each value from the item itself, then from the scope, then from those defaults.
- An environment set on the scope now applies to logs, metrics, sessions, check-ins and trace propagation, not only to events. Setting
Scope.Environmenttonullclears the override. Scope.ReleaseandScope.Distributionare removed, so release and distribution can only be set onSentryOptions.- On Android and iOS,
SENTRY_RELEASEnow takes precedence over the release derived from the app package. - With #5703, Blazor WebAssembly and Google Cloud Functions take the environment from the host environment, as ASP.NET Core does. The precedence is
Environmentset in code orappsettings.json, thenSENTRY_ENVIRONMENT, then the host environment (Production,StagingandDevelopmentlower-cased, custom names kept as they are). - Events, transactions, logs and metrics report the SDK name of the integration that initialized Sentry, such as
sentry.dotnet.aspnetcore. Blazor WebAssembly now reportssentry.dotnet.aspnetcore.blazor.webassembly. Serilog and NLog events no longer reportsentry.dotnet.serilogorsentry.dotnet.nlog, so saved queries and alerts that filter on those names need updating.
Pages to update in getsentry/sentry-docs
docs/platforms/dotnet/common/configuration/options.mdx:Environmentsays only ASP.NET Core picks up the host environment. Add Blazor WebAssembly and Google Cloud Functions once #5703 merges, give the precedence above, and say that a scope's environment now applies to every kind of telemetry.Release: say that on Android and iOS the default comes from the app package, and thatSENTRY_RELEASEtakes precedence over it.
platform-includes/set-release/dotnet.mdxdescribes how the SDK finds the release (SENTRY_RELEASE, then the entry assembly's version). Add the Android and iOS case.docs/platforms/dotnet/guides/google-cloud-functions/index.mdxalready lists "Environment is automatically set (IHostingEnvironment)" as a feature. That only becomes true with #5703. Check the Blazor WebAssembly guide too.
The SDK name change mostly belongs in the 7.x migration guide; it needs no page of its own.
- Dominant language
- C#
- Stars
- 768
- Forks
- 253
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 82
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-dotnet
-
docs: list supported versions in the MAUI guide and remove TizenPossibly taken @ric-oliv claimed this 1 day ago. Open.NET Docs Framework: MAUI
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
getsentry/sentry-dotnet#5714 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Docs MSBuild Needs Docs Update
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-dotnet#5691 · 1 comment ·
Maintainers usually reply within 1 day
-
.NET Docs State: Needs Discussion
Difficulty 1/5 Under an hour Newbie friendliness 82/100
getsentry/sentry-dotnet#5637 · 1 comment ·
Maintainers usually reply within 1 day
-
.NET Flaky Test State: Needs Discussion Tests
Difficulty 1/5 Under an hour Newbie friendliness 92/100
getsentry/sentry-dotnet#5616 · 1 comment ·
Maintainers usually reply within 1 day
-
.NET Task upstream-watch
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getsentry/sentry-dotnet#5549 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/sentry-dotnet
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
good first issue help wanted ready-for-human
Difficulty 2/5 Half a day Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
ready-for-agent size:S status:todo
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
elsa-workflows/elsa-foundation#2830 ·
Maintainers usually reply within 1 day
-
MessagePack negotiation treats any q=0.x Accept value as a refusalPossibly taken @AndreaCuneo claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Review - Maintainer WG-Maintainers-Build
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PowerShell/PowerShell#28220 · 1 comment ·
Maintainers usually reply within 1 day