4.0.0-preview4
Pre-releaseMicrosoft.FeatureManagement Updates
The packages associated with this release are
- Microsoft.FeatureManagement 4.0.0-preview4
- Microsoft.FeatureManagement.AspNetCore 4.0.0-preview4
- Microsoft.FeatureManagement.Telemetry.ApplicationInsights 4.0.0-preview4
Microsoft.FeatureManagement
Enhancements
- The feature flag telemetry pipeline is now integrated with .NET
Acitivity
instrumentation. Feature manager now has anAcitvitySource
called "Microsoft.FeatureManagement". If telemetry is enabled for a feature flag, whenever the feature flag is evaluated, feature manager will start anActivity
and add anActivityEvent
with tags containing feature evaluation information. #455
Breaking 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.
-
AddTelemetryPublisher
API andITelemetryPublisher
interface were removed. The feature flag telemetry pipeline is now integrated with .NETAcitivity
instrumentation. #455
Microsoft.FeatureManagement.AspNetCore
- Updated
Microsoft.FeatureManagement
reference to4.0.0-preview4
.
Microsoft.FeatureManagement.Telemetry.ApplicationInsights
- Updated
Microsoft.FeatureManagement
reference to4.0.0-preview4
.
Enhancements
-
Introduced a new API
AddApplicationInsightsTelemetryPublisher
to register a feature flag telemetry publisher for Application Insights. #455builder.Services.AddFeatureManagement() .WithTargeting() .AddApplicationInsightsTelemetryPublisher();
Breaking Changes
-
The
TargetingTelemetryInitializer
type has been moved to this package from the now-deprecatedMicrosoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore
package. This change simplifies the utilization of feature flag telemetry. -
The type
ApplicationInsightsTelemetryPublisher
has been removed as its functionality has been replaced with the new APIAddApplicationInsightsTelemetryPublisher
for publishing feature flag telemetry to Application Insights. #455