Skip to content

Conversation

lijinpei2008
Copy link
Contributor

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

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

@lijinpei2008 lijinpei2008 added the Contains Breaking Change This PR contains breaking change label Sep 12, 2025
@github-actions
Copy link

To the author of the pull request,
This PR was labeled "Breaking Change Release" because it contains breaking changes.

  • According to our policy, breaking changes can only take place during major release and they must be preannounced.
  • Please follow our guide on the detailed steps.
  • Required: Please fill in the task below to facilitate our contact,you will receive notifications related to breaking changes.

@lijinpei2008 lijinpei2008 marked this pull request as ready for review October 15, 2025 10:07
@Copilot Copilot AI review requested due to automatic review settings October 15, 2025 10:07
Copy link
Contributor

@Copilot 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 updates the Azure Databricks PowerShell module by upgrading the AutoRest PowerShell generation tool from version 3 to version 4. The update modernizes the code generation process and aligns with newer AutoRest standards while maintaining backward compatibility.

Key changes include:

  • Upgrade from AutoRest PowerShell v3 to v4 for code generation
  • Extensive parameter type updates from enum types to string types across cmdlets
  • Breaking change exception configurations for maintaining API compatibility
  • Test configuration updates and example corrections

Reviewed Changes

Copilot reviewed 45 out of 48 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/StaticAnalysis/Exceptions/Az.Databricks/BreakingChangeIssues.csv Adds comprehensive breaking change exceptions to maintain API compatibility during the tool upgrade
src/Databricks/Databricks/help/*.md Updates help documentation with corrected parameter types and improved descriptions
src/Databricks/Databricks.Autorest/test/*.ps1 Updates test cases to use new parameter syntax (switch parameters instead of boolean values)
src/Databricks/Databricks.Autorest/custom/*.ps1 Refactors custom cmdlet implementations to use string types and new parameter sets
src/Databricks/Databricks.Autorest/README.md Updates AutoRest configuration to remove v3-specific settings and directives
Comments suppressed due to low confidence (6)

@isra-fel isra-fel added the autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 label Oct 20, 2025
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 Contains Breaking Change This PR contains breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants