From 60e513fc8740850966373a4581ff9a8437f6c4c8 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Wed, 21 May 2025 11:35:50 +0800 Subject: [PATCH 1/3] release note for js fm 2.1.0 --- releaseNotes/JavaScriptFeatureManagement.md | 2 ++ ...aScriptFeatureManagementApplicationInsightsBrowser.md | 8 ++++++++ ...JavaScriptFeatureManagementApplicationInsightsNode.md | 9 +++++++++ 3 files changed, 19 insertions(+) diff --git a/releaseNotes/JavaScriptFeatureManagement.md b/releaseNotes/JavaScriptFeatureManagement.md index 1689ef1b..b64858c1 100644 --- a/releaseNotes/JavaScriptFeatureManagement.md +++ b/releaseNotes/JavaScriptFeatureManagement.md @@ -2,6 +2,8 @@ [Source code][source_code] | [Package (npm)][package] | [Samples][samples] +## 2.1.0 - May 20, 2025 + ## 2.1.0-preview.1 - April 22, 2025 ### Enhancements diff --git a/releaseNotes/JavaScriptFeatureManagementApplicationInsightsBrowser.md b/releaseNotes/JavaScriptFeatureManagementApplicationInsightsBrowser.md index 60337027..f69e5fc8 100644 --- a/releaseNotes/JavaScriptFeatureManagementApplicationInsightsBrowser.md +++ b/releaseNotes/JavaScriptFeatureManagementApplicationInsightsBrowser.md @@ -2,6 +2,14 @@ [Source code][source_code] | [Package (npm)][package] | [Samples][samples] +## 2.1.0 - May 20, 2025 + +### Enhancements + +* Updated `@microsoft/feature-management` dependency to `2.1.0`. + +* Stablized `createTargetingTelemetryInitializer` function to enable targeting id to be attached to Application Insights telemetry. [#98](https://github.com/microsoft/FeatureManagement-JavaScript/pull/98) + ## 2.1.0-preview.1 - April 22, 2025 * Updated `@microsoft/feature-management` dependency to `2.1.0-preview.1`. See the [release notes](./JavaScriptFeatureManagement.md) for more information on the changes. diff --git a/releaseNotes/JavaScriptFeatureManagementApplicationInsightsNode.md b/releaseNotes/JavaScriptFeatureManagementApplicationInsightsNode.md index 4c2fb615..f13b7662 100644 --- a/releaseNotes/JavaScriptFeatureManagementApplicationInsightsNode.md +++ b/releaseNotes/JavaScriptFeatureManagementApplicationInsightsNode.md @@ -2,6 +2,15 @@ [Source code][source_code] | [Package (npm)][package] | [Samples][samples] +## 2.1.0 - May 20, 2025 + +### Enhancements + +* Updated `@microsoft/feature-management` dependency to `2.1.0`. + +* Stablized `createTargetingTelemetryProcessor` function to enable targeting id to be attached to Application Insights telemetry. [#98](https://github.com/microsoft/FeatureManagement-JavaScript/pull/98) + + ## 2.1.0-preview.1 - April 22, 2025 * Updated `@microsoft/feature-management` dependency to `2.1.0-preview.1`. See the [release notes](./JavaScriptFeatureManagement.md) for more information on the changes. From a751aca421a7678ddc16cd3814d7d6aa53af715b Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Thu, 22 May 2025 10:54:16 +0800 Subject: [PATCH 2/3] update --- releaseNotes/JavaScriptFeatureManagement.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/releaseNotes/JavaScriptFeatureManagement.md b/releaseNotes/JavaScriptFeatureManagement.md index b64858c1..8fecbf57 100644 --- a/releaseNotes/JavaScriptFeatureManagement.md +++ b/releaseNotes/JavaScriptFeatureManagement.md @@ -4,6 +4,12 @@ ## 2.1.0 - May 20, 2025 +### Enhancements + +* Stablized the targeting context accessor. You can configure an `ITargetingContextAccessor` when initializing the `FeatureManager` through `FeatureManagerOptions.targetingContextAccessor`. [#93](https://github.com/microsoft/FeatureManagement-JavaScript/pull/93) + +* Stablized the feature evaluation event properties. The shape of the object returned by `createFeatureEvaluationEventProperties` contains the following fields: `"Version"`, `"FeatureName"`, `"Enabled"`, `"TargetingId"`, `"Variant`", `"VariantAssignmentReason"`, `"DefaultWhenEnabled"` and `"VariantAssignmentPercentage"`. + ## 2.1.0-preview.1 - April 22, 2025 ### Enhancements From 3169d077d5862333a18f96bbb6e5afbc3ff90afc Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang <141655842+zhiyuanliang-ms@users.noreply.github.com> Date: Wed, 18 Jun 2025 09:56:44 +0800 Subject: [PATCH 3/3] Update releaseNotes/JavaScriptFeatureManagement.md Co-authored-by: Jimmy Campbell --- releaseNotes/JavaScriptFeatureManagement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaseNotes/JavaScriptFeatureManagement.md b/releaseNotes/JavaScriptFeatureManagement.md index 8fecbf57..f411ad80 100644 --- a/releaseNotes/JavaScriptFeatureManagement.md +++ b/releaseNotes/JavaScriptFeatureManagement.md @@ -8,7 +8,7 @@ * Stablized the targeting context accessor. You can configure an `ITargetingContextAccessor` when initializing the `FeatureManager` through `FeatureManagerOptions.targetingContextAccessor`. [#93](https://github.com/microsoft/FeatureManagement-JavaScript/pull/93) -* Stablized the feature evaluation event properties. The shape of the object returned by `createFeatureEvaluationEventProperties` contains the following fields: `"Version"`, `"FeatureName"`, `"Enabled"`, `"TargetingId"`, `"Variant`", `"VariantAssignmentReason"`, `"DefaultWhenEnabled"` and `"VariantAssignmentPercentage"`. +* Stablized the feature evaluation event properties. These properties can be obtained through the use of `createFeatureEvaluationEventProperties`, and they include: `"Version"`, `"FeatureName"`, `"Enabled"`, `"TargetingId"`, `"Variant`", `"VariantAssignmentReason"`, `"DefaultWhenEnabled"` and `"VariantAssignmentPercentage"`. ## 2.1.0-preview.1 - April 22, 2025