Skip to content
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

Bump Microsoft.FeatureManagement.AspNetCore from 3.5.0 to 4.0.0 #419

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps Microsoft.FeatureManagement.AspNetCore from 3.5.0 to 4.0.0.

Release notes

Sourced from Microsoft.FeatureManagement.AspNetCore's releases.

4.0.0 - November 1, 2024

Microsoft.FeatureManagement Updates

The packages associated with this release are

Microsoft.FeatureManagement

Enhancements

Variant Feature Flags

A variant feature flag is an enhanced feature flag that supports multiple states or variations. While it can still be toggled on or off, it also allows for different configurations, ranging from simple primitives to complex JSON objects. Variant feature flags are particularly useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing).

The new IVariantFeatureManager has been introduced as the successor to the existing IFeatureManager. It retains all the functionalities of IFeatureManager while adding new GetVariantAsync methods and supporting CancellationToken for all methods.

IVariantFeatureManager featureManager;
...
Variant variant = await featureManager.GetVariantAsync(MyFeatureFlags.HelpText, CancellationToken.None);
model.Text = variant.Configuration.Value;

Note: If reading variant flags from App Configuration, version 8.0.0 or above for the Microsoft.Extensions.Configuration.AzureAppConfiguration or Microsoft.Azure.AppConfiguration.AspNetCore package is required.

For more details on Variants, see here.

Variant Service Provider

Variant feature flags can be used in conjunction with dependency injection to surface different implementations of a service for different users. This is accomplished by using the Variant Service Provider.

For more details on Variant Service Provider, see here

Telemetry

Telemetry provides observability into flag evaluations, offering insights into which users received specific flag results. This enables more powerful metric analysis, such as experimentation.

For more details on Telemetry, see here.

Microsoft Feature Management Schema

Added support for variant feature flags defined using Microsoft Feature Management schema. Variants and telemetry can be declared using Microsoft Feature Flag schema v2. Here is a Sample.

Performance Optimizations

The performance of the feature flag state evaluation has been improved by up to 20%, with a memory reduction of up to 30% for .NET 8 applications compared to the version 3.5.0 release.

... (truncated)

Commits
  • 99b1bef Merge pull request #514 from microsoft/main
  • 2c94bdf Merge pull request #513 from microsoft/rossgrambo/target-update
  • a077fc1 Adds .net 9 build to pipeline
  • ffec9d6 Adds missing readonly
  • 393cb5a Merge with main
  • e1e98b5 Merge pull request #508 from microsoft/rossgrambo-allocation-cleanup
  • 60b0e34 Resolves remaining deprecation warnings
  • de563eb Naming of private field
  • 4624acf Removes static from instance methods
  • cc9d33a Drops .net7 and adds .net9 as targets
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 4, 2024
@dependabot dependabot bot force-pushed the dependabot/nuget/Microsoft.FeatureManagement.AspNetCore-4.0.0 branch from fd616e2 to 5065b40 Compare November 4, 2024 19:07
@lkurzyniec lkurzyniec force-pushed the dependabot/nuget/Microsoft.FeatureManagement.AspNetCore-4.0.0 branch from 5065b40 to 84e533a Compare November 10, 2024 10:52
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67%. Comparing base (0d5c603) to head (6843f7f).
Report is 4 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff          @@
##           master   #419   +/-   ##
=====================================
  Coverage      67%    67%           
=====================================
  Files          26     26           
  Lines         367    367           
  Branches       22     22           
=====================================
  Hits          244    244           
  Misses        120    120           
  Partials        3      3           
Flag Coverage Δ
integration 44% <ø> (ø)
unit 65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkurzyniec
Copy link
Owner

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 19, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Bumps [Microsoft.FeatureManagement.AspNetCore](https://github.com/microsoft/FeatureManagement-Dotnet) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/microsoft/FeatureManagement-Dotnet/releases)
- [Commits](microsoft/FeatureManagement-Dotnet@3.5.0...4.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.FeatureManagement.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@lkurzyniec lkurzyniec force-pushed the dependabot/nuget/Microsoft.FeatureManagement.AspNetCore-4.0.0 branch from 84e533a to 6843f7f Compare January 3, 2025 16:18
@lkurzyniec lkurzyniec enabled auto-merge (squash) January 3, 2025 16:19
@lkurzyniec lkurzyniec merged commit c453d09 into master Jan 3, 2025
11 checks passed
@lkurzyniec lkurzyniec deleted the dependabot/nuget/Microsoft.FeatureManagement.AspNetCore-4.0.0 branch January 3, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant