-
Notifications
You must be signed in to change notification settings - Fork 354
Description
I would like to release Hangfire instrumentation to get these changes: #1440, #1442.
Unfortunately, this repo was already updated to use OTel v1.7.0 #1486.
And OTel v1.7.0 was updated to use Microsoft.Extensions.* packages v8.0.0. open-telemetry/opentelemetry-dotnet#5020 + open-telemetry/opentelemetry-dotnet#5015
Unfortunately, we are not ready yet for .NET 8, and this dependency causes errors like this (we are using nuget CPM)
NU1109 Detected package downgrade: Microsoft.Extensions.Hosting.Abstractions from 8.0.0 to centrally defined 7.0.0. Update the centrally managed package version to a higher version.
Is it possible to downgrade the OpenTelemetry.Api.ProviderBuilderExtensions dependency in Hangfire instrumentation to 1.6.0 to create a compatible release?
And in general, this strategy of taking the latest versions of external packages sounds problematic to me. It leaves a lot of clients behind with old versions.