Bump Microsoft.FeatureManagement.AspNetCore from 3.2.0 to 4.3.0 #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated Microsoft.FeatureManagement.AspNetCore from 3.2.0 to 4.3.0.
Release notes
Sourced from Microsoft.FeatureManagement.AspNetCore's releases.
4.3.0
4.3.0 - August 27, 2025
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
ConfigurationFeatureDefinitionProviderOptionswhich allows to enable the new configuration merging behavior for the built-inConfiguationFeatureDefinitionProvider. When the same feature flag is defined in multiple sources, definitions are merged according to configuration provider registration order, with the last feature flag definition taking precedence in case of conflicts. #552Microsoft.FeatureManagement.AspNetCore
Enhancements
Microsoft.FeatureManagementreference to4.3.0. See the release notes for more information on the changes.Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Enhancements
Microsoft.FeatureManagementreference to4.3.0. See the release notes for more information on the changes.4.1.0
4.1.0 - May 22, 2025
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
DefaultWhenEnabledandVariantAssignmentPercentagefields to theFeatureEvaluationevent. #495Microsoft.FeatureManagement.AspNetCore
Enhancements
Microsoft.FeatureManagementreference to4.1.0. See the release notes for more information on the changes.Bug Fix
Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Enhancements
Microsoft.FeatureManagementreference to4.1.0. See the release notes for more information on the changes.Bug Fix
4.0.0
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
IVariantFeatureManagerhas been introduced as the successor to the existingIFeatureManager. It retains all the functionalities ofIFeatureManagerwhile adding newGetVariantAsyncmethods and supportingCancellationTokenfor all methods.Note: If reading variant flags from App Configuration, version
8.0.0or above for theMicrosoft.Extensions.Configuration.AzureAppConfigurationorMicrosoft.Azure.AppConfiguration.AspNetCorepackage 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)
4.0.0-preview5
4.0.0-preview5 - Oct 24, 2024
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
DefaultWhenEnabledreflects what the DefaultWhenEnabled variant on the flag is.VariantAssignmentPercentageshows what percentage of users will be allocated the given Variant for the given Reason.Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to4.0.0-preview5.Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Microsoft.FeatureManagementreference to4.0.0-preview5.4.0.0-preview4
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
Acitivityinstrumentation. Feature manager now has anAcitvitySourcecalled "Microsoft.FeatureManagement". If telemetry is enabled for a feature flag, whenever the feature flag is evaluated, feature manager will start anActivityand add anActivityEventwith tags containing feature evaluation information. #455Breaking Changes
If you were using earlier preview versions of this package and configuration files to define variant feature flags, they are no longer supported in the .NET Feature Management schema. Instead, please use the Microsoft Feature Management schema to define variant feature flags. #421.
AddTelemetryPublisherAPI andITelemetryPublisherinterface were removed. The feature flag telemetry pipeline is now integrated with .NETAcitivityinstrumentation. #455Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to4.0.0-preview4.Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Microsoft.FeatureManagementreference to4.0.0-preview4.Enhancements
Introduced a new API
AddApplicationInsightsTelemetryPublisherto register a feature flag telemetry publisher for Application Insights. #455Breaking Changes
The
TargetingTelemetryInitializertype has been moved to this package from the now-deprecatedMicrosoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCorepackage. This change simplifies the utilization of feature flag telemetry.The type
ApplicationInsightsTelemetryPublisherhas been removed as its functionality has been replaced with the new APIAddApplicationInsightsTelemetryPublisherfor publishing feature flag telemetry to Application Insights. #4554.0.0-preview3
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to4.0.0-preview3.Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Breaking Changes
Updated the namespace for
ApplicationInsightsTelemetryPublishertoMicrosoft.FeatureManagement.Telemetry. In the future, developers using any of our offered telemetry publishers will no longer need to specify the service specific namespaces likeusing Microsoft.FeatureManagement.Telemetry.ApplicationInsights.Updated the namespace for
TrackEventextension method ofTelemetryClienttoMicrosoft.ApplicationInsights. The previous directiveusing Microsoft.FeatureManagement.Telemetry.ApplicationInsightsis no longer required when calling theTrackEventmethod.Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore
Microsoft.FeatureManagementreference to4.0.0-preview3.4.0.0-preview2
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
TargetingContextproperty to theEvaluationEvent. This allows feature evaluation events to accurately represent what the targeting context was at the time of feature evaluation. (#409)Microsoft.FeatureManagement.AspNetCore
Enhancements
TargetingHttpContextMiddleware. It makes targeting information available fromHttpContexton each request. (#409)Microsoft.FeatureManagement.Telemetry.ApplicationInsights
Enhancements
TargetingIdproperty to the feature evaluation events sent to Application Insights. TheTargetingIdis the identifier of a targeted user during feature evaluation. This new property allows you to correlate feature evaluation events with other telemetry data your application sends to Application Insights, as long as they share the sameTargetingId. (#409)Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore
Enhancements
TargetingTelemetryInitializer. It automatically adds targeting information to telemetry data your application sends to Application Insights. This can be used to correlate your telemetry data with feature evaluation events based on the targeting information during your telemetry analysis. (#409)4.0.0-preview
Microsoft.FeatureManagement Updates
The packages associated with this release are
Variants
Variants are a tool that can be used to surface different variations of a feature to different segments of an audience. Previously, this library only worked with flags. The flags were limited to boolean values, as they are either enabled or disabled. Variants have dynamic values. They can be string, int, a complex object, or a reference to a ConfigurationSection.
Variants are defined within a Feature, under a new section named "Variants". Variants are assigned by allocation, defined in a new section named "Allocation".
For more details on Variants, see here.
Telemetry
The feature management library now offers the ability to emit events containing information about a feature evaluation. This can be used to ensure a flag is running as expected, or to see which users were given which features and why they were given the feature. To enable this functionality, two things need to be done:
The flag needs to explicitly enable telemetry in its definition.
... (truncated)
3.5.0
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to3.5.0.Enhancements
WithTargeting()for ASP.NET Core applications. It registers a defaultITargetingContextAccessorthat constructs user context based on the authenticated user of a request. #4663.4.0
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to3.4.0.3.3.1
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Bug fixes
TimeWindowFilterwould be registered repeatedly when callingAddFeatureFilter<TimeWindowFilter>after the call ofAddFeatureManagement(). #447Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to3.3.1.3.3.0
Microsoft.FeatureManagement Updates
The packages associated with this release are
Microsoft.FeatureManagement
Enhancements
Recurrenceoption to theTimeWindowfilter to support recurring time window. This enables scenarios where a feature flag is activated based on a recurrence pattern, such as every day after 5 PM or every Friday. See more details here. (#266)LoggerFactoryis no longer required when constructing built-in filters. (#386)Bug fixes
GetFeatureNamesAsync. (#438)Microsoft.FeatureManagement.AspNetCore
Microsoft.FeatureManagementreference to3.3.0.Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)