Release v7.10.5
Summary
Release builds were failing on net8.0 and net9.0 because the typed diagnostics wrappers depended on a keyed-DI constructor shape only available in net10, and the .NET build workflow was validating main instead of the PR head.
Added
Changed
- Reworked
Meter<T>andActivitySource<T>to resolve keyed services viaIServiceProviderand[ServiceKey] string?, while preserving parameterless and explicit-instance constructors. - Kept named diagnostics registrations returning the same keyed
MeterandActivitySourceinstances for typed wrappers. - Updated the .NET build workflow to run on
pull_requestso CI validates PR changes instead of the base branch.
Fixed
- Restored successful release builds for the diagnostics wrappers across net8.0, net9.0, and net10.0.
- Fixed CI build validation so the .NET build workflow checks the PR head and reports the actual status of the diagnostics wrapper changes.
- Fixed the publish workflow failure caused by constructor binding differences between target frameworks.
Removed
Security
- Replaced
pull_request_targetwithpull_requestfor the .NET build workflow, reducing privileged workflow execution for PR validation.