-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[repo] Bump Microsoft.Extensions.Options to 6.0.0+ #4054
[repo] Bump Microsoft.Extensions.Options to 6.0.0+ #4054
Conversation
<MicrosoftExtensionsLoggingConfigurationPkgVer>[3.1.0,)</MicrosoftExtensionsLoggingConfigurationPkgVer> | ||
<MicrosoftExtensionsOptionsPkgVer>[5.0.0,)</MicrosoftExtensionsOptionsPkgVer> | ||
<MicrosoftExtensionsLoggingConfigurationPkgVer>$(MicrosoftExtensionsLoggingPkgVer)</MicrosoftExtensionsLoggingConfigurationPkgVer> | ||
<MicrosoftExtensionsOptionsPkgVer>[6.0.0,)</MicrosoftExtensionsOptionsPkgVer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recall there was a reason we needed 5+, but can you remind me why we couldn't have used 3.1.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use this CreateInstance method (which was added in 5.0) to fire delegates when options are retrieved which is used for the retrieve-environment-variables-from-iconfiguration feature.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4054 +/- ##
==========================================
+ Coverage 85.41% 85.45% +0.04%
==========================================
Files 289 289
Lines 11229 11229
==========================================
+ Hits 9591 9596 +5
+ Misses 1638 1633 -5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CodeBlanch based on our SIG conversation, did we decide to punt on making this change, or do you think we should still proceed?
@alanwest Discussed this with @tarekgh. The guidance we received is:
I'm going to close this based on that. |
Relates to #4046
OpenTelemetry SDK has a dependency on
Microsoft.Extensions.Options
package. The current version specified inCommon.props
is 5.0.0 and above. The version 5.0.0 ofMicrosoft.Extensions.Options
package is deprecated and no longer maintained: https://www.nuget.org/packages/Microsoft.Extensions.Options/5.0.0Changes
Microsoft.Extensions.Options
to [6.0.0,)Microsoft.Extensions.DependencyInjection
reference at [6.0.0,) to SDK to resolve conflicts