Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/neon/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ Release History
1.0.0b4
++++++
* Update the CLI command description to support AI related queries.

1.0.0b5
++++++
* Deprecate 'az neon' command group with end-of-life notice and migration guidance.
15 changes: 15 additions & 0 deletions src/neon/azext_neon/_breaking_change.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# --------------------------------------------------------------------------------------------
# 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_command_group_deprecate
from azure.cli.core.breaking_change import register_other_breaking_change

register_command_group_deprecate('az neon')

message = """Deprecation Notice: The Neon Azure Native Integration is being deprecated and will
reach end of life on January 31, 2026. Transfer your projects to a Neon managed organization
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

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

[nitpick] The deprecation message should include information about when the deprecation was announced or when the warning period started. This helps users understand the timeline and urgency of the migration.

Suggested change
reach end of life on January 31, 2026. Transfer your projects to a Neon managed organization
reach end of life on January 31, 2026. Deprecation announced on June 1, 2024. Transfer your projects to a Neon managed organization

Copilot uses AI. Check for mistakes.
today. Migration documentation is available at https://neon.com/docs/import/migrate-from-azure-native"""

register_other_breaking_change('az neon', message)
Comment on lines +9 to +15
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider defining the command group name 'az neon' as a constant (e.g., COMMAND_GROUP = 'az neon') to avoid duplication on lines 5 and 11, improving maintainability if the command group name needs to change.

Suggested change
register_command_group_deprecate('az neon')
message = """Deprecation Notice: The Neon Azure Native Integration is being deprecated and will
reach end of life on January 31, 2026. Transfer your projects to a Neon managed organization
today. Migration documentation is available at https://neon.com/docs/import/migrate-from-azure-native"""
register_other_breaking_change('az neon', message)
COMMAND_GROUP = 'az neon'
register_command_group_deprecate(COMMAND_GROUP)
message = """Deprecation Notice: The Neon Azure Native Integration is being deprecated and will
reach end of life on January 31, 2026. Transfer your projects to a Neon managed organization
today. Migration documentation is available at https://neon.com/docs/import/migrate-from-azure-native"""
register_other_breaking_change(COMMAND_GROUP, message)

Copilot uses AI. Check for mistakes.
Loading