Skip to content

[BC] Functions Breaking Change Announcement#29139

Open
JunKai-v wants to merge 3 commits intoAzure:mainfrom
JunKai-v:bc-functions-v4
Open

[BC] Functions Breaking Change Announcement#29139
JunKai-v wants to merge 3 commits intoAzure:mainfrom
JunKai-v:bc-functions-v4

Conversation

@JunKai-v
Copy link
Contributor

@JunKai-v JunKai-v commented Feb 5, 2026

Description

Migration PR: #29111

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings February 5, 2026 03:57
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
# Generated by: Microsoft Corporation
#
# Generated on: 1/27/2026
# Generated on: 05-Feb-26
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
# Generated by: Microsoft Corporation
#
# Generated on: 1/27/2026
# Generated on: 05-Feb-26
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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.

Suggested change
# Generated on: 05-Feb-26
# Generated on: 2/5/2026

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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".

Suggested change
* 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

Copilot uses AI. Check for mistakes.
@JunKai-v JunKai-v added Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 labels Feb 5, 2026
Copilot AI review requested due to automatic review settings February 12, 2026 09:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant