From 376d12df5622ee2f95a16f45fe7c40332982c8f9 Mon Sep 17 00:00:00 2001 From: Jordan Selig Date: Sun, 24 May 2026 21:48:37 -0400 Subject: [PATCH] [App Service] Remove stale list-runtimes breaking change pre-announcements PR #32903 ('az webapp list-runtimes: Revamp the command with structured table output') has been merged and ships the breaking changes that _breaking_change.py was pre-announcing: - The output is already a structured list of objects (os, runtime, version, config, support, end_of_life). - The --linux argument has been removed from _params.py. - The --show-runtime-details argument has been removed from _params.py. The register_output_breaking_change call still emits a 'will change' warning for an output format that has already changed, and the two register_argument_deprecate calls reference arguments that no longer exist. Delete the file so users don't see stale pre-announcement warnings now that the breaking change window is closing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../appservice/_breaking_change.py | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/appservice/_breaking_change.py diff --git a/src/azure-cli/azure/cli/command_modules/appservice/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/appservice/_breaking_change.py deleted file mode 100644 index 05e9e9889f2..00000000000 --- a/src/azure-cli/azure/cli/command_modules/appservice/_breaking_change.py +++ /dev/null @@ -1,23 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from azure.cli.core.breaking_change import (register_output_breaking_change, - register_argument_deprecate) - -# az webapp list-runtimes output format change -register_output_breaking_change( - 'webapp list-runtimes', - description='The output will change from a flat list of strings to a structured list of objects ' - 'with keys: os, runtime, version, config, support, end_of_life.', - guide='Update scripts that parse the current string-list output. The new output is a list of ' - 'dicts with keys: os, runtime, version, config, support, end_of_life. ' - 'New --runtime and --support filter parameters will be added. ' - 'Use -o table for a human-readable view, or -o json and parse the new structured format.') - -# az webapp list-runtimes --linux removal -register_argument_deprecate('webapp list-runtimes', '--linux', redirect='--os-type') - -# az webapp list-runtimes --show-runtime-details removal -register_argument_deprecate('webapp list-runtimes', '--show-runtime-details')