Skip to content

Bump mgmt generator base version#59297

Open
live1206 wants to merge 11 commits into
mainfrom
huwe/bump-mgmt-http-client-csharp-20260516
Open

Bump mgmt generator base version#59297
live1206 wants to merge 11 commits into
mainfrom
huwe/bump-mgmt-http-client-csharp-20260516

Conversation

@live1206
Copy link
Copy Markdown
Member

@live1206 live1206 commented May 18, 2026

Description

Bump the management generator base dependency to the latest @azure-typespec/http-client-csharp version from eng/azure-typespec-http-client-csharp-emitter-package.json.

Changes include:

  • Update @azure-typespec/http-client-csharp to 1.0.0-alpha.20260516.2
  • Update AzureGeneratorVersion to 1.0.0-alpha.20260516.2
  • Align mgmt emitter TypeSpec dependencies with the 1.12/0.82 stack used by the new base emitter
  • Regenerate mgmt test projects
  • Refresh the emitter version dashboard

Update http-client-csharp-mgmt to use @azure-typespec/http-client-csharp 1.0.0-alpha.20260516.2 and align TypeSpec dependencies. Regenerate mgmt test projects and refresh the emitter version dashboard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 18, 2026 02:59
@github-actions github-actions Bot added CodeGen Issues that relate to code generation Mgmt This issue is related to a management package. labels May 18, 2026
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

Routine version bump of the management generator's base emitter dependency to @azure-typespec/http-client-csharp@1.0.0-alpha.20260516.2 and the aligned TypeSpec 1.12/0.82 stack, with regenerated mgmt test projects and refreshed dashboard.

Changes:

  • Update package.json/package-lock for mgmt emitter; bump AzureGeneratorVersion.
  • Enable skipLibCheck in mgmt emitter tsconfig.
  • Regenerate Mgmt-TypeSpec test projects (model ordering changes, BazData property reordering, constant renames to PascalCase, OAuth scope change).

Reviewed changes

Copilot reviewed 5 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/packages/http-client-csharp-mgmt/package.json Bump base emitter + TypeSpec dep versions.
eng/packages/http-client-csharp-mgmt/package-lock.json Regenerated lock for new versions.
eng/packages/http-client-csharp-mgmt/emitter/tsconfig.json Add skipLibCheck: true.
eng/centralpackagemanagement/Directory.Generation.Packages.props Bump AzureGeneratorVersion.
doc/GeneratorVersions/Emitter_Version_Dashboard.md Refresh dashboard.
.../Mgmt-TypeSpec/.../AzureGeneratorMgmtTypeSpecTestsContext.cs Regenerated model ordering.
.../Mgmt-TypeSpec/.../MgmtTypeSpecTestsModelFactory.cs Regenerated BazData factory with reordered params.
.../Mgmt-TypeSpec/.../BazData.cs Regenerated ctor with reordered params/doc.
.../Mgmt-TypeSpec/.../BazData.Serialization.cs Regenerated serializer with reordered fields.
.../Mgmt-TypeSpec-MultiService/tspCodeModel.json Regenerated constant names + oauth scope.
Files not reviewed (1)
  • eng/packages/http-client-csharp-mgmt/package-lock.json: Language not supported

live1206 and others added 2 commits May 18, 2026 03:49
Ensure the http-client-csharp-mgmt emitter pipeline uses Node 22 during initialization so test:emitter runs with support for fs/promises.glob.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update AzureGeneratorMgmtTypeSpecTestsContext.cs to match the generated ordering from CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
live1206 and others added 8 commits May 18, 2026 08:00
Preserve hidden model-factory overloads for current model types and add legacy-order internal constructor overloads when previous generated constructors only differ by parameter order.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move model factory compatibility synthesis into ModelFactoryBackwardCompatHelper so ManagementClientGenerator only invokes the helper for both adding missing overloads and repairing backward-compatible bodies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CodeGen Issues that relate to code generation Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants