Skip to content

Release v7.10.5

Choose a tag to compare

@github-actions github-actions released this 29 May 12:50
af543d5

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> and ActivitySource<T> to resolve keyed services via IServiceProvider and [ServiceKey] string?, while preserving parameterless and explicit-instance constructors.
  • Kept named diagnostics registrations returning the same keyed Meter and ActivitySource instances for typed wrappers.
  • Updated the .NET build workflow to run on pull_request so 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_target with pull_request for the .NET build workflow, reducing privileged workflow execution for PR validation.

Deprecated