Skip to content

[PS] Add breaking change announcement about migration StackHCI to autorest v4#28392

Merged
NoriZC merged 3 commits intomainfrom
joyer/stackhci-breakingchange
Aug 18, 2025
Merged

[PS] Add breaking change announcement about migration StackHCI to autorest v4#28392
NoriZC merged 3 commits intomainfrom
joyer/stackhci-breakingchange

Conversation

@JoyerJin
Copy link
Copy Markdown
Contributor

@JoyerJin JoyerJin commented Aug 14, 2025

Description

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

@azure-client-tools-bot-prd
Copy link
Copy Markdown

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

@JoyerJin JoyerJin added the Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change label Aug 15, 2025
@JoyerJin JoyerJin marked this pull request as ready for review August 15, 2025 03:44
Copilot AI review requested due to automatic review settings August 15, 2025 03:44
Copy link
Copy Markdown
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 for the Azure Stack HCI PowerShell module's migration to AutoRest v4. The changes primarily focus on documenting upcoming breaking changes in cmdlet output properties and parameter types, with supporting updates to module metadata and configuration files.

Key changes include:

  • Addition of comprehensive breaking change documentation for multiple cmdlets
  • Updates to module configuration and solution files for AutoRest v4 migration
  • Minor documentation corrections

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/StackHCI/StackHCI/ChangeLog.md Added detailed breaking change announcements for cmdlet output property type changes and parameter modifications
src/StackHCI/StackHCI.Autorest/README.md Added breaking change directives for multiple cmdlets documenting transitions from fixed arrays to lists
src/StackHCI/StackHCI.sln Updated solution file with new project references and build configurations for AutoRest v4 migration
src/StackHCI/StackHCI/Az.StackHCI.psd1 Updated module manifest with generation date and uncommented script/type processing entries
src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 Added DoNotExport attributes and fixed typo in parameter documentation
src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md Minor capitalization correction in documentation
src/StackHCI/StackHCI.Autorest/docs/Az.StackHCI.md Updated module GUID
src/StackHCI/StackHCI.Autorest/generate-info.json Updated generation ID
src/StackHCI/StackHCI.Autorest/resources/README.md Added new resources directory documentation
src/StackHCI/StackHCI.Autorest/Properties/AssemblyInfo.cs Added new assembly information file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

* Cmdlet `Invoke-AzStackHciConsentAndInstallDefaultExtension`
* Cmdlet `Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit`
* The parameters of the 'New/Update-AzStackHciCluster' commands will be changed.
* 'IdentityType' will be removed. 'EnableSystemAssignedIdentity' will be used to enable/disable system-assigned identities.
Copy link

Copilot AI Aug 15, 2025

Choose a reason for hiding this comment

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

Missing space before the bullet point. The line should start with ' * ' instead of ' * '.

Suggested change
* 'IdentityType' will be removed. 'EnableSystemAssignedIdentity' will be used to enable/disable system-assigned identities.
* 'IdentityType' will be removed. 'EnableSystemAssignedIdentity' will be used to enable/disable system-assigned identities.

Copilot uses AI. Check for mistakes.
* Cmdlet `Invoke-AzStackHciExtendClusterSoftwareAssuranceBenefit`
* The parameters of the 'New/Update-AzStackHciCluster' commands will be changed.
* 'IdentityType' will be removed. 'EnableSystemAssignedIdentity' will be used to enable/disable system-assigned identities.
* The type of 'UserAssignedIdentity' will be simplified to an array of strings that is used to specify the user's assigned identity.
Copy link

Copilot AI Aug 15, 2025

Choose a reason for hiding this comment

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

Missing space before the bullet point. The line should start with ' * ' instead of ' * '.

Suggested change
* The type of 'UserAssignedIdentity' will be simplified to an array of strings that is used to specify the user's assigned identity.
* The type of 'UserAssignedIdentity' will be simplified to an array of strings that is used to specify the user's assigned identity.

Copilot uses AI. Check for mistakes.
@NoriZC NoriZC merged commit 9e226c6 into main Aug 18, 2025
12 checks passed
@NoriZC NoriZC deleted the joyer/stackhci-breakingchange branch August 18, 2025 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants