Releases: microsoft/FeatureManagement-JavaScript
2.2.0
- @microsoft/feature-management 2.2.0
- @microsoft/feature-management-applicationinsights-browser 2.2.0
- @microsoft/feature-management-applicationinsights-node 2.2.0
@microsoft/feature-management
Enhancements
- Added a
Recurrenceoption to theTimeWindowFilterto 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 the how to Time Window Filter document for more details.
@microsoft/feature-management-applicationinsights-browser
- Updated
@microsoft/feature-managementdependency to2.2.0.
@microsoft/feature-management-applicationinsights-node
- Updated
@microsoft/feature-managementdependency to2.2.0.
2.1.0
- @microsoft/feature-management 2.1.0
- @microsoft/feature-management-applicationinsights-browser 2.1.0
- @microsoft/feature-management-applicationinsights-node 2.1.0
@microsoft/feature-management
Enhancements
-
Stablized the targeting context accessor. You can configure an
ITargetingContextAccessorwhen initializing theFeatureManagerthroughFeatureManagerOptions.targetingContextAccessor. #93 -
Stablized the feature evaluation event properties. The shape of the object returned by
createFeatureEvaluationEventPropertiescontains the following fields:"Version","FeatureName","Enabled","TargetingId","Variant","VariantAssignmentReason","DefaultWhenEnabled"and"VariantAssignmentPercentage".
@microsoft/feature-management-applicationinsights-browser
-
Updated
@microsoft/feature-managementdependency to2.1.0. -
Stablized
createTargetingTelemetryInitializerfunction to enable targeting id to be attached to Application Insights telemetry. #98
@microsoft/feature-management-applicationinsights-node
-
Updated
@microsoft/feature-managementdependency to2.1.0. -
Stablized
createTargetingTelemetryProcessorfunction to enable targeting id to be attached to Application Insights telemetry. #98
2.1.0-preview.1
The packages associated with this release are
- @microsoft/feature-management 2.1.0-preview.1
- @microsoft/feature-management-applicationinsights-browser 2.1.0-preview.1
- @microsoft/feature-management-applicationinsights-node 2.1.0-preview.1
@microsoft/feature-management
Enhancements
- Introduced
ITargetingContextAccessorto allowFeatureManagerto get ambient targeting context in the server scenario. You can configure a targeting context accessor when initializing theFeatureManagerthroughFeatureManagerOptions.targetingContextAccessor. #93
@microsoft/feature-management-applicationinsights-browser
- Updated
@microsoft/feature-managementdependency to2.1.0-preview.1.
Enhancements
- Added
createTargetingTelemetryInitializerfunction to enable targeting id to be attached to Application Insights telemetry. #98
@microsoft/feature-management-applicationinsights-node
- Updated
@microsoft/feature-managementdependency to2.1.0-preview.1.
Enhancements
- Added
createTargetingTelemetryProcessorfunction to enable targeting id to be attached to Application Insights telemetry. #98
2.0.2
The packages associated with this release are
- @microsoft/feature-management 2.0.2
- @microsoft/feature-management-applicationinsights-browser 2.0.2
- @microsoft/feature-management-applicationinsights-node 2.0.2
@microsoft/feature-management
- Updated README
@microsoft/feature-management-applicationinsights-browser
- Updated README
@microsoft/feature-management-applicationinsights-node
- Updated README
2.0.1
The packages associated with this release are
- @microsoft/feature-management 2.0.1
- @microsoft/feature-management-applicationinsights-browser 2.0.1
- @microsoft/feature-management-applicationinsights-node 2.0.1
@microsoft/feature-management
- Updated README
@microsoft/feature-management-applicationinsights-browser
- Updated README
## @microsoft/feature-management-applicationinsights-node
- Updated README
2.0.0
Microsoft Feature Management Updates
The packages associated with this release are
- @microsoft/feature-management 2.0.0
- @microsoft/feature-management-applicationinsights-browser 2.0.0
- @microsoft/feature-management-applicationinsights-node 2.0.0
@microsoft/feature-management
Enhancements
This is the first stable release of the following features.
-
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
getVariantmethod ofFeatureManagerhas been introduced to evaluate the assigned variant based on the variant feature flag configuration and targeting context. #13 -
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.
The new
onFeatureEvaluatedconstructor parameter ofFeatureManagerallows you to set a custom callback for all feature evaluations. This hook can be used to publish telemetry. You can callcreateTelemetryPublisherAPI from@microsoft/feature-management-applicationinsights-browserand@microsoft/feature-management-applicationinsights-nodepackages to publish feature evaluation event to Application Insights. #36
Bug Fixes
- Fixed a bug that caused error when calling
getFeatureFlagsandlistFeatureNames. #74
@microsoft/feature-management-applicationinsights-browser
Enhancements
This is the first stable release of the following features.
-
A
createTelemetryPublisherfunction that has been added that enables feature evaluation telemetry to be published to Application Insights. -
A
TrackEventfunction has been added to enable sending custom events embedded with targeting information to Application Insights. This function is meant to be used in place of the Application Insights package's standardTrackEventcall.
@microsoft/feature-management-applicationinsights-node
Enhancements
This is the first stable release of the following features.
-
A
createTelemetryPublisherfunction that has been added that enables feature evaluation telemetry to be published to Application Insights. -
A
TrackEventfunction has been added to enable sending custom events embedded with targeting information to Application Insights. This function is meant to be used in place of the Application Insights package's standardTrackEventcall.
2.0.0-preview.2
Microsoft Feature Management Updates
The packages associated with this release are
- @microsoft/feature-management 2.0.0-preview.2
- @microsoft/feature-management-applicationinsights-browser 2.0.0-preview.2
@microsoft/feature-management
- No changes in this release.
@microsoft/feature-management-applicationinsights-browser
- Fixed a bug that caused
TargetingIdin telemetry to be "undefined". #59
2.0.0-preview.1
Microsoft Feature Management Updates
The packages associated with this release are
- @microsoft/feature-management 2.0.0-preview.1
- @microsoft/feature-management-applicationinsights-browser 2.0.0-preview.1
@microsoft/feature-management
-
Added support for 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).
-
Added support for telemetry in feature flags. Telemetry is a powerful feature that allows you to track how your feature flags are being used. It provides insights into the effectiveness of your feature flags and helps you make data-driven decisions. Telemetry is particularly useful for feature experimentation (also known as A/B testing) and feature rollouts.
@microsoft/feature-management-applicationinsights-browser
-
Added a built-in method to create telemetry publisher with Application Insights.
-
Added a built-in
TrackEventmethod to send custom event to Application Insights with targeting id attached.
1.0.0
This is the first stable release of the following features.
- Loading of feature flags from object and map.
- Feature flag status evaluation with or without context.
- Feature filters including built-in filters
Microsoft.TimeWindowandMicrosoft.Targeting.
Breaking Changes
- The feature flag provider handles duplicate flags by using the last flag instead of the first. #40
Enhancements
- The targeting filter can work properly in non-Node.js environments. #25
1.0.0-preview.1
Initial release on May 17, 2024
Added support for the following features.
- Loading of feature flags from object and map.
- Feature flag status evaluation with or without context.
- Feature filters including built-in filters
Microsoft.TimeWindowandMicrosoft.Targeting.