diff --git a/cli/azd/extensions/azure.ai.agents/CHANGELOG.md b/cli/azd/extensions/azure.ai.agents/CHANGELOG.md index 5b4b8dc8c3d..8ff9cb0a459 100644 --- a/cli/azd/extensions/azure.ai.agents/CHANGELOG.md +++ b/cli/azd/extensions/azure.ai.agents/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.1.24-preview (Unreleased) + +### Breaking Changes + +- Removed `-e` shorthand for `--environment`; use `--environment` instead. This resolves a collision with the azd global `-e/--environment` flag. + ## 0.1.23-preview (2026-04-16) - [[#7753]](https://github.com/Azure/azure-dev/pull/7753) Fix `azd ai agent init` to pass the current directory as a positional argument to `azd init`, resolving failures caused by a missing `cwd` assumption in the underlying azd call. diff --git a/cli/azd/extensions/azure.ai.agents/internal/cmd/init.go b/cli/azd/extensions/azure.ai.agents/internal/cmd/init.go index 735e3286b31..0ddd1f09792 100644 --- a/cli/azd/extensions/azure.ai.agents/internal/cmd/init.go +++ b/cli/azd/extensions/azure.ai.agents/internal/cmd/init.go @@ -515,7 +515,7 @@ func newInitCommand(rootFlags *rootFlagsDefinition) *cobra.Command { cmd.Flags().StringVarP(&flags.src, "src", "s", "", "Directory to download the agent definition to (defaults to 'src/')") - cmd.Flags().StringVarP(&flags.env, "environment", "e", "", "The name of the azd environment to use.") + cmd.Flags().StringVar(&flags.env, "environment", "", "The name of the azd environment to use.") cmd.Flags().StringSliceVar(&flags.protocols, "protocol", nil, "Protocols supported by the agent (e.g., 'responses', 'invocations'). Can be specified multiple times.") diff --git a/cli/azd/extensions/azure.ai.finetune/CHANGELOG.md b/cli/azd/extensions/azure.ai.finetune/CHANGELOG.md index 85f69dfb953..cdcabf62cf7 100644 --- a/cli/azd/extensions/azure.ai.finetune/CHANGELOG.md +++ b/cli/azd/extensions/azure.ai.finetune/CHANGELOG.md @@ -1,6 +1,12 @@ # Release History +## 0.0.18-preview (Unreleased) + +### Breaking Changes + +- Removed `-e` shorthand for `--project-endpoint`; use `--project-endpoint` instead. This resolves a collision with the azd global `-e/--environment` flag. + ## 0.0.17-preview (2026-02-20) - Add multi-grader support for reinforcement fine-tuning diff --git a/cli/azd/extensions/azure.ai.finetune/internal/cmd/init.go b/cli/azd/extensions/azure.ai.finetune/internal/cmd/init.go index 179f85e397e..fc32f3d8b55 100644 --- a/cli/azd/extensions/azure.ai.finetune/internal/cmd/init.go +++ b/cli/azd/extensions/azure.ai.finetune/internal/cmd/init.go @@ -146,10 +146,8 @@ func newInitCommand(rootFlags rootFlagsDefinition) *cobra.Command { cmd.Flags().StringVarP(&flags.subscriptionId, "subscription", "s", "", "Azure subscription ID") - cmd.Flags().StringVarP(&flags.projectEndpoint, "project-endpoint", "e", "", + cmd.Flags().StringVar(&flags.projectEndpoint, "project-endpoint", "", "Azure AI Foundry project endpoint URL (e.g., https://account.services.ai.azure.com/api/projects/project-name)") - cmd.Flags().Lookup("project-endpoint").ShorthandDeprecated = - "use --project-endpoint instead; -e will be removed in a future release" cmd.Flags().StringVarP(&flags.src, "working-directory", "w", "", "Local path for project output") diff --git a/cli/azd/extensions/azure.ai.finetune/internal/cmd/operations.go b/cli/azd/extensions/azure.ai.finetune/internal/cmd/operations.go index 8d58df95bcd..66f7a271ab0 100644 --- a/cli/azd/extensions/azure.ai.finetune/internal/cmd/operations.go +++ b/cli/azd/extensions/azure.ai.finetune/internal/cmd/operations.go @@ -41,10 +41,8 @@ func newOperationCommand() *cobra.Command { cmd.PersistentFlags().StringVarP(&flags.subscriptionId, "subscription", "s", "", "Azure subscription ID (enables implicit init if environment not configured)") - cmd.PersistentFlags().StringVarP(&flags.projectEndpoint, "project-endpoint", "e", "", + cmd.PersistentFlags().StringVar(&flags.projectEndpoint, "project-endpoint", "", "Azure AI Foundry project endpoint URL (e.g., https://account.services.ai.azure.com/api/projects/project-name)") - cmd.PersistentFlags().Lookup("project-endpoint").ShorthandDeprecated = - "use --project-endpoint instead; -e will be removed in a future release" cmd.AddCommand(newOperationSubmitCommand()) cmd.AddCommand(newOperationShowCommand()) diff --git a/cli/azd/extensions/azure.ai.models/CHANGELOG.md b/cli/azd/extensions/azure.ai.models/CHANGELOG.md index 4fc6f5dfbf7..c588fa8c9d6 100644 --- a/cli/azd/extensions/azure.ai.models/CHANGELOG.md +++ b/cli/azd/extensions/azure.ai.models/CHANGELOG.md @@ -1,6 +1,12 @@ # Release History +## 0.0.6-preview (Unreleased) + +### Breaking Changes + +- Removed `-e` shorthand for `--project-endpoint`; use `--project-endpoint` instead. This resolves a collision with the azd global `-e/--environment` flag. + ## 0.0.5-preview (2026-03-24) - Deprecated `-e` shorthand for `--project-endpoint`; use the full flag name instead diff --git a/cli/azd/extensions/azure.ai.models/internal/cmd/custom.go b/cli/azd/extensions/azure.ai.models/internal/cmd/custom.go index de406f3eec2..7f80ab3885a 100644 --- a/cli/azd/extensions/azure.ai.models/internal/cmd/custom.go +++ b/cli/azd/extensions/azure.ai.models/internal/cmd/custom.go @@ -36,10 +36,8 @@ func newCustomCommand() *cobra.Command { customCmd.PersistentFlags().StringVarP(&flags.subscriptionId, "subscription", "s", "", "Azure subscription ID") - customCmd.PersistentFlags().StringVarP(&flags.projectEndpoint, "project-endpoint", "e", "", + customCmd.PersistentFlags().StringVar(&flags.projectEndpoint, "project-endpoint", "", "Azure AI Foundry project endpoint URL (e.g., https://account.services.ai.azure.com/api/projects/project-name)") - customCmd.PersistentFlags().Lookup("project-endpoint").ShorthandDeprecated = - "use --project-endpoint instead; -e will be removed in a future release" customCmd.AddCommand(newCustomCreateCommand(flags)) customCmd.AddCommand(newCustomListCommand(flags)) diff --git a/cli/azd/extensions/azure.ai.models/internal/cmd/init.go b/cli/azd/extensions/azure.ai.models/internal/cmd/init.go index da80fa3793c..07951c62df7 100644 --- a/cli/azd/extensions/azure.ai.models/internal/cmd/init.go +++ b/cli/azd/extensions/azure.ai.models/internal/cmd/init.go @@ -92,10 +92,8 @@ The init command will: cmd.Flags().StringVarP(&flags.subscriptionId, "subscription", "s", "", "Azure subscription ID") - cmd.Flags().StringVarP(&flags.projectEndpoint, "project-endpoint", "e", "", + cmd.Flags().StringVar(&flags.projectEndpoint, "project-endpoint", "", "Azure AI Foundry project endpoint URL (e.g., https://account.services.ai.azure.com/api/projects/project-name)") - cmd.Flags().Lookup("project-endpoint").ShorthandDeprecated = - "use --project-endpoint instead; -e will be removed in a future release" cmd.Flags().StringVarP(&flags.projectResourceId, "project-resource-id", "p", "", "ARM resource ID of the Foundry project")