Skip to content

Appconfig provider ff endpoint - #48700

Merged
Matthew Metcalf (mrm9084) merged 8 commits into
Azure:appconfig-ff-endpoint-previewfrom
yuanqu72:appconfig-provider-ff-endpoint
Aug 25, 2026
Merged

Appconfig provider ff endpoint#48700
Matthew Metcalf (mrm9084) merged 8 commits into
Azure:appconfig-ff-endpoint-previewfrom
yuanqu72:appconfig-provider-ff-endpoint

Conversation

@yuanqu72

@yuanqu72 Yuan Qu (yuanqu72) commented Aug 24, 2026

Copy link
Copy Markdown
Member

This pull request introduces support for automatically loading enhanced feature flags (created via the dedicated feature flag resource endpoint) alongside existing key-value based feature flags in the Azure App Configuration Provider for Python. Enhanced feature flags are now merged into the same feature_management.feature_flags list, taking precedence over key-value based flags with the same name. The release also raises the minimum supported Python version to 3.10 and updates dependencies. Documentation and API have been updated to reflect these changes.

Enhanced Feature Flag Support:

  • Enhanced feature flags created via the FeatureFlagClient/FeatureFlag resource endpoint are now loaded and merged automatically with key-value based feature flags when feature_flag_enabled=True. Resource-based feature flags take precedence if names overlap, and existing selectors filter both types. No new load() options are required. [1] [2]
  • Added FeatureFlagSelector as a dedicated selector type for filtering enhanced feature flags by name, label, or tags. API signatures for feature_flag_selectors now accept either a list of SettingSelector or FeatureFlagSelector, but not both. [1] [2] [3] [4] [5] [6] [7]

Codebase and API Updates:

  • Refactored the provider’s refresh logic to support separate refresh and merging of key-value and enhanced feature flags, ensuring consistent merged results and correct change detection for both types. [1] [2] [3] [4]
  • Updated documentation and README with new usage examples, details on enhanced feature flag loading, and instructions for running tests. [1] [2]

Dependency and Compatibility Changes:

  • Raised the minimum supported Python version to 3.10 and dropped support for Python 3.7–3.9. Bumped minimum dependencies on azure-core and azure-appconfiguration to support enhanced feature flags. [1] [2]

Other:

  • Updated asset tag for package release.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions github-actions Bot added the App Configuration Azure.ApplicationModel.Configuration label Aug 24, 2026
@yuanqu72

Copy link
Copy Markdown
Member Author

/azp run python - appconfiguration

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

…e sentinel/watch-key logic and timing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@yuanqu72

Copy link
Copy Markdown
Member Author

/azp run python - appconfiguration

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

…wn my_json key and looking up Beta by id instead of a fragile index

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
"""
if selectors is None:
return [SettingSelector(key_filter="*")], [FeatureFlagSelector(name_filter="*")]
if not selectors:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed as a special case? If the lists are empty we should just be processing nothing then returning two empty lists.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are just returning two empty lists early here. Otherwise, the next two lines will throw error when we call next() on an empty list:

    selectors_iter = iter(selectors)
    first_selector = next(selectors_iter)

Comment thread sdk/appconfiguration/azure-appconfiguration-provider/README.md Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration-provider/README.md Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration-provider/README.md Outdated
Comment thread sdk/appconfiguration/azure-appconfiguration-provider/README.md Outdated
Yuan Qu (yuanqu72) and others added 2 commits August 25, 2026 10:01
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mrm9084
Matthew Metcalf (mrm9084) merged commit 7b0e562 into Azure:appconfig-ff-endpoint-preview Aug 25, 2026
2 of 3 checks passed
@yuanqu72
Yuan Qu (yuanqu72) deleted the appconfig-provider-ff-endpoint branch August 25, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App Configuration Azure.ApplicationModel.Configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants