OpenFeature.DependencyInjection 2.9.0
OpenFeature.DependencyInjection
⚠️ DEPRECATED: This library is now deprecated. The OpenTelemetry Dependency Injection library has been moved to the OpenFeature Hosting integration in version 2.9.0.
OpenFeature is an open standard for feature flag management, created to support a robust feature flag ecosystem using cloud native technologies. OpenFeature will provide a unified API and SDK, and a developer-first, cloud-native implementation, with extensibility for open source and commercial offerings.
Migration Guide
If you are using OpenFeature.DependencyInjection, you should migrate to the OpenFeature.Hosting package. The hosting package provides the same functionality but in one package.
1. Update dependencies
Remove this package:
<PackageReference Include="OpenFeature.DependencyInjection" Version="..." />
Update or install the latest OpenFeature.Hosting package:
<PackageReference Include="OpenFeature.Hosting" Version="2.9.0" />
2. Update your Program.cs
Remove the AddHostedFeatureLifecycle method call.
Before
builder.Services.AddOpenFeature(featureBuilder =>
{
featureBuilder
.AddHostedFeatureLifecycle();
// Omit for code brevity
});
After
builder.Services.AddOpenFeature(featureBuilder =>
{
// Omit for code brevity
});
Showing the top 20 packages that depend on OpenFeature.DependencyInjection.
| Packages | Downloads |
|---|---|
|
OpenFeature.Hosting
OpenFeature is an open standard for feature flag management, created to support a robust feature flag ecosystem using cloud native technologies. OpenFeature will provide a unified API and SDK, and a developer-first, cloud-native implementation, with extensibility for open source and commercial offerings.
|
2 |
|
OpenFeature.Hosting
OpenFeature is an open standard for feature flag management, created to support a robust feature flag ecosystem using cloud native technologies. OpenFeature will provide a unified API and SDK, and a developer-first, cloud-native implementation, with extensibility for open source and commercial offerings.
|
1 |
.NET Framework 4.6.2
- OpenFeature (>= 2.9.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Threading.Channels (>= 8.0.0)
- System.ValueTuple (>= 4.6.1)
.NET 8.0
- OpenFeature (>= 2.9.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
.NET 9.0
- OpenFeature (>= 2.9.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
.NET Standard 2.0
- OpenFeature (>= 2.9.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Threading.Channels (>= 8.0.0)