Skip to content

Conversation

@askpt
Copy link
Member

@askpt askpt commented Oct 17, 2025

Signed-off-by: André Silva [email protected]

This PR

This pull request updates both the Flagd and Ofrep OpenFeature provider packages to use the new OpenFeature.Hosting package instead of the deprecated OpenFeature.DependencyInjection package, and bumps the minimum supported OpenFeature version to 2.9.0. It also updates test dependencies and removes a now-unnecessary lifecycle method call in the integration tests.

Dependency and Package Updates:

  • Replaced OpenFeature.DependencyInjection with OpenFeature.Hosting in both the Flagd and Ofrep provider projects and their respective csproj files. [1] [2] [3] [4]
  • Increased the minimum required OpenFeature version from 2.2 to 2.9 in both Flagd and Ofrep provider projects. [1] [2]
  • Updated test project to reference OpenFeature.Hosting version 2.9.0 (was 2.8.1).

Codebase Modernization:

  • Removed the call to .AddHostedFeatureLifecycle() in the Ofrep provider integration tests, as this is now handled by the updated hosting package.

@askpt askpt marked this pull request as ready for review October 17, 2025 06:16
@askpt askpt requested review from a team as code owners October 17, 2025 06:16
@askpt askpt added this pull request to the merge queue Oct 17, 2025
Merged via the queue into main with commit 1b3af8d Oct 17, 2025
12 of 16 checks passed
@askpt askpt deleted the askpt/fix-breaking-change-di branch October 17, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants