diff --git a/src/spring/HISTORY.md b/src/spring/HISTORY.md index 4f42ef10fe6..415db192df6 100644 --- a/src/spring/HISTORY.md +++ b/src/spring/HISTORY.md @@ -1,5 +1,9 @@ Release History =============== +1.6.3 +--- +* Deprecate the subcommand 'spring app binding'. + 1.6.2 --- * Add new arguments `--apm-types`, `--properties` and `--secrets` for command `az spring gateway update`. diff --git a/src/spring/azext_spring/commands.py b/src/spring/azext_spring/commands.py index 8eb78481f97..e9a1e9a5820 100644 --- a/src/spring/azext_spring/commands.py +++ b/src/spring/azext_spring/commands.py @@ -210,7 +210,9 @@ def load_command_table(self, _): g.custom_command('start-jfr', 'deployment_start_jfr') with self.command_group('spring app binding', client_factory=cf_spring_20220101preview, - exception_handler=handle_asc_exception) as g: + exception_handler=handle_asc_exception, deprecate_info=self.deprecate( + target='spring app binding', + redirect='spring connection', hide=True)) as g: g.custom_command('list', 'binding_list') g.custom_show_command('show', 'binding_get') g.custom_command('cosmos add', 'binding_cosmos_add') diff --git a/src/spring/setup.py b/src/spring/setup.py index 20de4e5a33b..d1d1964a7f6 100644 --- a/src/spring/setup.py +++ b/src/spring/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.6.2' +VERSION = '1.6.3' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers