Bump mgmt generator base version#59297
Open
live1206 wants to merge 11 commits into
Open
Conversation
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>
Contributor
There was a problem hiding this comment.
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
skipLibCheckin mgmt emitter tsconfig. - Regenerate Mgmt-TypeSpec test projects (model ordering changes,
BazDataproperty 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
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>
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>
This reverts commit d0236cd.
This reverts commit 881ffbd.
This reverts commit 724416d.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump the management generator base dependency to the latest
@azure-typespec/http-client-csharpversion fromeng/azure-typespec-http-client-csharp-emitter-package.json.Changes include:
@azure-typespec/http-client-csharpto1.0.0-alpha.20260516.2AzureGeneratorVersionto1.0.0-alpha.20260516.2