Skip to content

App Configuration - 2026-05-01-preview - #50193

Open
Matthew Metcalf (mrm9084) wants to merge 2 commits into
Azure:appconfig-ff-endpoint-previewfrom
mrm9084:FFEndpointAutoGen
Open

App Configuration - 2026-05-01-preview#50193
Matthew Metcalf (mrm9084) wants to merge 2 commits into
Azure:appconfig-ff-endpoint-previewfrom
mrm9084:FFEndpointAutoGen

Conversation

@mrm9084

Copy link
Copy Markdown
Member

Description

This PR is just updating the api spec to 2026-05-01-preview and adding the auto generated code for the new api version. It isn't making any public api changes.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
35 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 19, 2026
@yuanqu72
Yuan Qu (yuanqu72) requested a balanced review from Copilot August 19, 2026 21:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates App Configuration generation to 2026-05-01-preview and introduces generated feature-flag clients and models.

Changes:

  • Updates TypeSpec and generation metadata.
  • Adds synchronous/asynchronous feature-flag APIs and models.
  • Wires feature-flag operations and updates the changelog.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
tsp-location.yaml Updates the specification commit.
azure-data-appconfiguration_metadata.json Records the preview API generation.
UserAllocation.java Adds user-based allocation model.
StatusOverride.java Adds status override values.
RequirementType.java Adds filter requirement values.
PercentileAllocation.java Adds percentile allocation model.
GroupAllocation.java Adds group-based allocation model.
FeatureFlagVariantDefinition.java Adds variant definitions.
FeatureFlagTelemetryConfiguration.java Adds telemetry configuration.
FeatureFlagFilter.java Adds feature-flag filters.
FeatureFlagFields.java Adds selectable feature-flag fields.
FeatureFlagConditions.java Adds feature-flag conditions.
FeatureFlagAllocation.java Adds variant allocation settings.
FeatureFlag.java Adds the generated feature-flag model.
ConfigurationClientImpl.java Wires the feature-flag implementation.
FeatureFlagClient.java Adds the synchronous feature-flag client.
FeatureFlagAsyncClient.java Adds the asynchronous feature-flag client.
CHANGELOG.md Announces preview-version support.
Suppressed comments (3)

sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagClient.java:42

  • There is no public construction path for this client: its only constructor is package-private and ConfigurationClientBuilder exposes only buildClient()/buildAsyncClient() for the existing configuration clients. Consequently, consumers cannot invoke any of the new feature-flag operations.
    FeatureFlagClient(FeatureFlagClientsImpl serviceClient) {

sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagAsyncClient.java:47

  • The async client has no public construction path either: this constructor is package-private and the customized builder has no method returning FeatureFlagAsyncClient, making all asynchronous feature-flag operations unreachable.
    FeatureFlagAsyncClient(FeatureFlagClientsImpl serviceClient) {

sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagClient.java:1308

  • This overload has the same HTTP 204 path: a successful body-less delete is dereferenced and deserialized, causing the convenience method to fail after the service has already deleted the flag.
        return deleteFeatureFlagWithResponse(name, requestOptions).getValue().toObject(FeatureFlag.class);

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

/**
* Initializes a new instance of the synchronous AzureAppConfiguration type.
*/
@ServiceClient(builder = AzureAppConfigurationBuilder.class)
/**
* Initializes a new instance of the asynchronous AzureAppConfiguration type.
*/
@ServiceClient(builder = AzureAppConfigurationBuilder.class, isAsync = true)
this.serializerAdapter = serializerAdapter;
this.endpoint = endpoint;
this.serviceVersion = serviceVersion;
this.featureFlagClients = new FeatureFlagClientsImpl(this);
Comment on lines +22 to +23
import com.azure.data.appconfiguration.implementation.models.FeatureFlag;
import com.azure.data.appconfiguration.implementation.models.FeatureFlagFields;
* Initializes a new instance of the synchronous AzureAppConfiguration type.
*/
@ServiceClient(builder = AzureAppConfigurationBuilder.class)
public final class FeatureFlagClient {

### Other Changes

- Updated to support `2026-05-01-preview`
if (ifMatch != null) {
requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
}
return deleteFeatureFlagWithResponse(name, requestOptions).getValue().toObject(FeatureFlag.class);
@mrm9084

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@mrm9084

Copy link
Copy Markdown
Member Author

/azp run appconfiguraiton

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@mrm9084

Copy link
Copy Markdown
Member Author

/azp run java appconfiguration

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

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