-
Notifications
You must be signed in to change notification settings - Fork 73
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
Release note for JS FM v2 #1008
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,6 +2,28 @@ | |||||
|
||||||
[Source code][source_code] | [Package (npm)][package] | [Samples][samples] | ||||||
|
||||||
## 2.0.0 - Jan 14, 2025 | ||||||
|
||||||
### 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 `getVariant` API has been introduced to evaluate the assigned variant based on the variant feature flag configuration and targeting context. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. getVariant is a function calling it API seems overly generic. Also, this is a method on a FeatureManager type right? It would be good to fully qualify it in that case. |
||||||
|
||||||
* __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 `onFeatureEvaluated` constructor parameter of `FeatureManager` allows you to set a custom callback for all feature evaluations. This hook can be used to publish telemetry. You can call `createTelemetryPublisher` API from `@microsoft/feature-management-applicationinsights-browser` and `@microsoft/feature-management-applicationinsights-node` packages to publish feature evaluation event to Application Insights. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there an issue or PR this can link to? |
||||||
|
||||||
### Bug Fix | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
* Fixed a bug that caused error when calling `getFeatureFlags` and `listFeatureNames`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PR or issue link? |
||||||
|
||||||
## 2.0.0-preview.3 - Oct 24, 2024 | ||||||
|
||||||
### Enhancements | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,6 +2,16 @@ | |||||
|
||||||
[Source code][source_code] | [Package (npm)][package] | [Samples][samples] | ||||||
|
||||||
## 2.0.0 - Jan 14, 2025 | ||||||
|
||||||
### Enhancements | ||||||
|
||||||
This is the first stable release of the following features. | ||||||
|
||||||
* `createTelemetryPublisher` API that enables feature evaluation telemetry to be published to Application Insights. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
* `TrackEvent` API that allows users to replace existing Application Insights TrackEvent calls to include targeting information in custom events sent to Application Insights. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## 2.0.0-preview.3 - Nov 8, 2024 | ||||||
|
||||||
* Updated `@microsoft/feature-management` dependency to `2.0.0-preview.3`. See the [release notes](./JavaScriptFeatureManagement.md) for more information on the changes. | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a PR or issue to link to that describes this addition?