Skip to content

Conversation

@jliusan
Copy link
Member

@jliusan jliusan commented Nov 26, 2025

generation based on spec branch mitigate-managementgroups-breaking to avoid some breakingChanges

Copilot AI review requested due to automatic review settings November 26, 2025 08:36
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Nov 26, 2025
Copilot finished reviewing on behalf of jliusan November 26, 2025 08:38
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/managementgroups/armmanagementgroups

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 migrates the armmanagementgroups SDK from AutoRest to the new Go Code Generator (TypeSpec-based) to mitigate breaking changes. This is a major version bump from v1.x to v2.0.0.

Key Changes:

  • Regenerates all code using the Microsoft Go Code Generator instead of AutoRest
  • Updates the API version from 2021-04-01 to 2023-04-01
  • Changes the module path to include /v2 suffix for proper Go module versioning
  • Updates dependencies to newer versions
  • Adds new types and fields per the 2023-04-01 API specification

Reviewed changes

Copilot reviewed 37 out of 38 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates module path to /v2, updates dependencies to newer versions
go.sum Updates dependency checksums for new versions
version.go New file defining module name and version constants
tsp-location.yaml New file specifying TypeSpec source location and commit
CHANGELOG.md Documents breaking changes and new features in v2.0.0
README.md Updates installation instructions for v2 module path
autorest.md Removed (AutoRest no longer used)
build.go Removed (build process changed)
constants.go Adds new enum types with documentation, removes build tags
models.go Adds SystemData type, removes deprecated types, updates comments
models_serde.go Updates serialization logic, removes deprecated type marshalers
time_rfc3339.go Improves time parsing with additional formats and edge cases
client*.go Updates all clients with new generator patterns, API version, comments
*_example_test.go Updates import paths to v2, reformats examples
fake/*.go Updates fake server implementations with new patterns
testdata/_metadata.json New file with API version and emitter metadata

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

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants