OpenFeature.DependencyInjection
2.9.0
Prefix Reserved
This library is now deprecated. The Dependency Injection library has been moved to the OpenFeature Hosting integration in version 2.9.0.
dotnet add package OpenFeature.DependencyInjection --version 2.9.0
NuGet\Install-Package OpenFeature.DependencyInjection -Version 2.9.0
<PackageReference Include="OpenFeature.DependencyInjection" Version="2.9.0" />
<PackageVersion Include="OpenFeature.DependencyInjection" Version="2.9.0" />
<PackageReference Include="OpenFeature.DependencyInjection" />
paket add OpenFeature.DependencyInjection --version 2.9.0
#r "nuget: OpenFeature.DependencyInjection, 2.9.0"
#:package OpenFeature.DependencyInjection@2.9.0
#addin nuget:?package=OpenFeature.DependencyInjection&version=2.9.0
#tool nuget:?package=OpenFeature.DependencyInjection&version=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
});
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- OpenFeature (>= 2.9.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Threading.Channels (>= 8.0.0)
- System.ValueTuple (>= 4.6.1)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- OpenFeature (>= 2.9.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Threading.Channels (>= 8.0.0)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- OpenFeature (>= 2.9.0)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- OpenFeature (>= 2.9.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OpenFeature.DependencyInjection:
| Package | Downloads |
|---|---|
|
Bucket.Sdk.OpenFeature
Bucket SDK OpenFeature Provider |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.9.0 | 5,216 | 10/16/2025 | |
| 2.8.1 | 29,667 | 7/31/2025 | |
| 2.8.0 | 739 | 7/30/2025 | |
| 2.7.0 | 21,887 | 7/3/2025 | |
| 2.6.0 | 25,157 | 5/23/2025 | |
| 2.5.0 | 23,371 | 4/28/2025 | |
| 2.4.0 | 6,677 | 4/14/2025 | |
| 2.3.2 | 10,836 | 3/27/2025 | |
| 2.3.1 | 7,823 | 2/4/2025 | |
| 2.3.0 | 20,377 | 1/31/2025 | |
| 2.2.0 | 70,601 | 12/12/2024 | |
| 2.1.0 | 1,242 | 11/18/2024 |