From a061962108d9290cd5a8ee8f0b4e7ce0ad1adf67 Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Tue, 10 Nov 2026 10:17:31 -0800 Subject: [PATCH 1/4] Add Python FeatureManagement 2.3.0 release notes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3abadb20-00fe-421a-a66c-7e49613c026b --- releaseNotes/PythonFeatureManagement.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/releaseNotes/PythonFeatureManagement.md b/releaseNotes/PythonFeatureManagement.md index 6656e8b2..e6caa789 100644 --- a/releaseNotes/PythonFeatureManagement.md +++ b/releaseNotes/PythonFeatureManagement.md @@ -2,6 +2,16 @@ [Source code][source_code] | [Samples][samples] +## 2.3.0 - November 10, 2026 + +### Enhancements + +* Updated the `AzureMonitor` extra to require `opentelemetry-sdk~=1.44.0`. + +### Bug Fixes + +* Corrected the type hints for sync and async `FeatureManager.is_enabled` and `FeatureManager.get_variant` to accept calls without a user identifier and calls with a positional `TargetingContext`, including custom keyword arguments. + ## 2.1.0 - April 25, 2025 ### Enhancements From 446f0d7fbace1348bc2b26c6de0ffd560e23373b Mon Sep 17 00:00:00 2001 From: Matthew Metcalf Date: Tue, 10 Nov 2026 10:47:03 -0800 Subject: [PATCH 2/4] Update release notes for version 2.3.0 Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- releaseNotes/PythonFeatureManagement.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/releaseNotes/PythonFeatureManagement.md b/releaseNotes/PythonFeatureManagement.md index e6caa789..384811ea 100644 --- a/releaseNotes/PythonFeatureManagement.md +++ b/releaseNotes/PythonFeatureManagement.md @@ -4,13 +4,17 @@ ## 2.3.0 - November 10, 2026 +### Breaking Changes + +* Changed the default `TargetingContext.groups` from an empty list to an empty tuple to prevent groups from being shared between contexts. Applications that modify the default groups collection in place must instead construct a context with the desired groups. [#77](https://github.com/microsoft/FeatureManagement-Python/pull/77) + ### Enhancements -* Updated the `AzureMonitor` extra to require `opentelemetry-sdk~=1.44.0`. +* Updated the `AzureMonitor` extra to require `opentelemetry-sdk~=1.44.0`. [#75](https://github.com/microsoft/FeatureManagement-Python/pull/75) ### Bug Fixes -* Corrected the type hints for sync and async `FeatureManager.is_enabled` and `FeatureManager.get_variant` to accept calls without a user identifier and calls with a positional `TargetingContext`, including custom keyword arguments. +* Corrected the type hints for sync and async `FeatureManager.is_enabled` and `FeatureManager.get_variant` to accept calls without a user identifier and calls with a positional `TargetingContext`, including custom keyword arguments. [#78](https://github.com/microsoft/FeatureManagement-Python/pull/78) ## 2.1.0 - April 25, 2025 From a73bd23f7078c6a7f54918846110a50ddb88862e Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Tue, 10 Nov 2026 14:28:43 -0800 Subject: [PATCH 3/4] Document TargetingContext compatibility fix for 2.3.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3abadb20-00fe-421a-a66c-7e49613c026b --- releaseNotes/PythonFeatureManagement.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releaseNotes/PythonFeatureManagement.md b/releaseNotes/PythonFeatureManagement.md index e6caa789..f9c32a5e 100644 --- a/releaseNotes/PythonFeatureManagement.md +++ b/releaseNotes/PythonFeatureManagement.md @@ -10,6 +10,7 @@ ### Bug Fixes +* Restored mutable default `TargetingContext.groups` lists so groups can be added after construction, while ensuring each context has its own independent default list. * Corrected the type hints for sync and async `FeatureManager.is_enabled` and `FeatureManager.get_variant` to accept calls without a user identifier and calls with a positional `TargetingContext`, including custom keyword arguments. ## 2.1.0 - April 25, 2025 From 11a70b6f87e047b214dc678498bae256af4d538a Mon Sep 17 00:00:00 2001 From: Matthew Metcalf Date: Tue, 10 Nov 2026 14:35:13 -0800 Subject: [PATCH 4/4] Fix independent default lists in TargetingContext.groups Fixed `TargetingContext.groups` to ensure independent default lists for each context. --- releaseNotes/PythonFeatureManagement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaseNotes/PythonFeatureManagement.md b/releaseNotes/PythonFeatureManagement.md index 2975cfc5..ba7f7a89 100644 --- a/releaseNotes/PythonFeatureManagement.md +++ b/releaseNotes/PythonFeatureManagement.md @@ -10,7 +10,7 @@ ### Bug Fixes -* Restored mutable default `TargetingContext.groups` lists so groups can be added after construction, while ensuring each context has its own independent default list. [#81](https://github.com/microsoft/FeatureManagement-Python/pull/81) +* Fixed `TargetingContext.groups`, ensuring each context has its own independent default list. [#81](https://github.com/microsoft/FeatureManagement-Python/pull/81) * Corrected the type hints for sync and async `FeatureManager.is_enabled` and `FeatureManager.get_variant` to accept calls without a user identifier and calls with a positional `TargetingContext`, including custom keyword arguments. [#78](https://github.com/microsoft/FeatureManagement-Python/pull/78) ## 2.1.0 - April 25, 2025