[BC] Functions Breaking Change Announcement#29139
[BC] Functions Breaking Change Announcement#29139JunKai-v wants to merge 3 commits intoAzure:mainfrom
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Pull request overview
This PR adds breaking change announcements to the Azure Functions PowerShell module in preparation for the AutoRest v4 migration (PR #29111). The changes notify users that cmdlets will undergo breaking changes in Az v16.0.0, scheduled for release in May 2026.
Changes:
- Added preview message attributes to 15 Functions cmdlets warning about upcoming breaking changes
- Updated module metadata including version numbers, GUIDs, and generation dates
- Added AutoRest README.md directives to generate preview announcements
- Added stub test files for cmdlets with breaking changes
Reviewed changes
Copilot reviewed 29 out of 29 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Functions/Functions/Az.Functions.psd1 | Updated generation date and formatting (tags array spacing, comment indentation) |
| src/Functions/Functions.sln | Updated project GUID references for AutoRest-generated project |
| src/Functions/Functions.Autorest/test/*.Tests.ps1 | Added 9 stub test files for cmdlets (skipped tests with NotImplementedException) |
| src/Functions/Functions.Autorest/generate-info.json | Updated generation ID for new AutoRest run |
| src/Functions/Functions.Autorest/docs/Az.Functions.md | Updated module GUID |
| src/Functions/Functions.Autorest/custom/*.ps1 | Added PreviewMessage attributes to 15 cmdlets announcing breaking changes |
| src/Functions/Functions.Autorest/README.md | Added AutoRest directives to configure preview-announcement messages |
| src/Functions/Functions.Autorest/Properties/AssemblyInfo.cs | Bumped version from 4.2.1 to 4.3.1 |
| @@ -1,4 +1,9 @@ | |||
| function Get-AzFunctionAppSetting { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| @@ -1,4 +1,9 @@ | |||
| function Get-AzFunctionAppPlan { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| # Generated by: Microsoft Corporation | ||
| # | ||
| # Generated on: 1/27/2026 | ||
| # Generated on: 05-Feb-26 |
There was a problem hiding this comment.
The ChangeLog.md file should be updated with an entry under the "Upcoming Release" section describing the breaking change announcements that were added to the Functions module cmdlets. Per the repository's contribution guidelines, all changes should have corresponding ChangeLog entries.
| @@ -1,4 +1,9 @@ | |||
| function Remove-AzFunctionApp { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| # Generated by: Microsoft Corporation | ||
| # | ||
| # Generated on: 1/27/2026 | ||
| # Generated on: 05-Feb-26 |
There was a problem hiding this comment.
The date format "05-Feb-26" is inconsistent with the previous format "1/27/2026". Consider maintaining consistency with the original date format, or if this is an intentional change, ensure it follows the repository's standard date format conventions.
| # Generated on: 05-Feb-26 | |
| # Generated on: 2/5/2026 |
| @@ -1,4 +1,9 @@ | |||
| function New-AzFunctionAppPlan { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| @@ -1,4 +1,9 @@ | |||
| function Stop-AzFunctionApp { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| @@ -1,4 +1,9 @@ | |||
| function Start-AzFunctionApp { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| @@ -1,4 +1,9 @@ | |||
| function Restart-AzFunctionApp { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
| @@ -1,4 +1,9 @@ | |||
| function Remove-AzFunctionAppPlan { | |||
| [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PreviewMessage("**********************************************************************************************`n | |||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |||
There was a problem hiding this comment.
The preview message text uses "to be released on May 2026" but the correct preposition should be "in" (e.g., "to be released in May 2026") when referring to a month. The README.md directives use "in May 2026" which is grammatically correct, but the generated custom cmdlet files incorrectly use "on May 2026".
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *`n | |
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *`n |
Description
Migration PR: #29111
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.