Skip to content

[DO NOT MERGE] Preview Generator Version 1.0.0-alpha.20260420.3 (Azure data plane)#58392

Open
azure-sdk wants to merge 1 commit intomainfrom
typespec/update-http-client-1.0.0-alpha.20260420.3
Open

[DO NOT MERGE] Preview Generator Version 1.0.0-alpha.20260420.3 (Azure data plane)#58392
azure-sdk wants to merge 1 commit intomainfrom
typespec/update-http-client-1.0.0-alpha.20260420.3

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

This PR updates the UnbrandedGeneratorVersion property in eng/centralpackagemanagement/Directory.Generation.Packages.props and the @typespec/http-client-csharp dependency in eng/packages/http-client-csharp/package.json to version 1.0.0-alpha.20260420.3.

Details

Changes

  • Updated eng/centralpackagemanagement/Directory.Generation.Packages.props UnbrandedGeneratorVersion property
  • Updated eng/packages/http-client-csharp/package.json dependency version
  • Ran npm install to update package-lock.json
  • Ran eng/packages/http-client-csharp/eng/scripts/Generate.ps1 to regenerate test projects
  • Generated emitter-package.json artifacts using tsp-client
  • Regenerated SDK libraries using the unbranded emitter via dotnet msbuild /t:GenerateCode

Additional changes (Azure data plane regeneration)

  • Built and packaged Azure emitter locally from eng/packages/http-client-csharp
  • Updated Azure emitter package artifacts in eng/
  • Regenerated Azure data plane SDK libraries via dotnet msbuild /t:GenerateCode

This is an automated PR created by the TypeSpec publish pipeline.

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 bumps the TypeSpec C# data-plane generator dependency to 1.0.0-alpha.20260420.3 and checks in the resulting regenerated artifacts across the repo (eng tooling + generated SDK code).

Changes:

  • Updated central generator version (UnbrandedGeneratorVersion) and npm dependency on @typespec/http-client-csharp to 1.0.0-alpha.20260420.3.
  • Updated npm lockfiles/emitter artifacts to reflect the new generator dependency graph.
  • Regenerated various generated C# sources (model serialization helpers, contexts, and agent/tool model wiring).

Reviewed changes

Copilot reviewed 4 out of 27 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk/transcription/Azure.AI.Speech.Transcription/src/Generated/Internal/ModelSerializationExtensions.cs Updates NET9 JsonElement raw-UTF8 BinaryData path.
sdk/ai/Azure.AI.Projects/src/Generated/Models/DayOfWeek.cs Adds a new generated string-backed DayOfWeek model type.
sdk/ai/Azure.AI.Projects/src/Generated/Models/DayOfWeek.Serialization.cs Adds companion partial for serialization.
sdk/ai/Azure.AI.Projects/src/Generated/Models/AzureAIProjectsContext.cs Adjusts pragma warning comment text for experimental type.
sdk/ai/Azure.AI.Projects/src/Generated/Internal/ModelSerializationExtensions.cs Updates NET9 JsonElement raw-UTF8 BinaryData path.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ProjectsAgentTool.Serialization.cs Updates discriminator dispatch to refer to internal tool types without OpenAI. qualifier.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/MCPToolConnectorId.cs Removes a generated enum type.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/MCPToolConnectorId.Serialization.cs Removes enum string conversion helpers.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/InternalImageGenTool.cs Adjusts InputFidelity type qualification in generated model.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/InternalImageGenTool.Serialization.cs Adjusts InputFidelity type qualification in deserialization logic.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/InputFidelity.cs Removes a generated enum type.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/InputFidelity.Serialization.cs Removes enum string conversion helpers.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ImageGenToolModel.cs Removes a generated string-backed model type.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ImageGenActionEnum.cs Removes a generated enum type.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ImageGenActionEnum.Serialization.cs Removes enum string conversion helpers.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ComputerEnvironment.cs Removes a generated enum type.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/ComputerEnvironment.Serialization.cs Removes enum string conversion helpers.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Models/AzureAIProjectsAgentsContext.cs Updates buildable model registrations and pragma warning comment text for experimental types.
sdk/ai/Azure.AI.Projects.Agents/src/Generated/Internal/ModelSerializationExtensions.cs Updates NET9 JsonElement raw-UTF8 BinaryData path.
eng/packages/http-client-csharp/package.json Bumps @typespec/http-client-csharp dependency version.
eng/packages/http-client-csharp/package-lock.json Updates lockfile for the new dependency version.
eng/packages/http-client-csharp/generator/TestProjects/Spector/http/azure/payload/pageable/src/Generated/PageableClient.cs Adjusts generated pageable return type qualification.
eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Internal/ModelSerializationExtensions.cs Updates NET9 JsonElement raw-UTF8 BinaryData path in test project.
eng/http-client-csharp-emitter-package.json Bumps @typespec/http-client-csharp dependency version for emitter artifacts.
eng/http-client-csharp-emitter-package-lock.json Updates emitter lockfile to the new dependency graph.
eng/centralpackagemanagement/Directory.Generation.Packages.props Bumps UnbrandedGeneratorVersion to the new alpha build.
doc/GeneratorVersions/Emitter_Version_Dashboard.md Refreshes the auto-generated emitter version dashboard after version bump.
Files not reviewed (2)
  • eng/http-client-csharp-emitter-package-lock.json: Language not supported
  • eng/packages/http-client-csharp/package-lock.json: Language not supported

"license": "MIT",
"dependencies": {
"@typespec/http-client-csharp": "1.0.0-alpha.20260417.10"
"@typespec/http-client-csharp": "file:/mnt/vss/_work/1/build_artifacts_csharp/packages/typespec-http-client-csharp-1.0.0-alpha.20260420.3.tgz"
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

package-lock.json now pins @typespec/http-client-csharp to an absolute file:/mnt/vss/_work/... tarball path from the build agent. This will break npm ci for anyone outside that pipeline environment and makes the lockfile non-reproducible. Recreate the lockfile so @typespec/http-client-csharp is resolved from a registry URL (or at least a repo-relative file path) and ensure the dependency can be restored in a clean checkout.

Suggested change
"@typespec/http-client-csharp": "file:/mnt/vss/_work/1/build_artifacts_csharp/packages/typespec-http-client-csharp-1.0.0-alpha.20260420.3.tgz"
"@typespec/http-client-csharp": "1.0.0-alpha.20260420.3"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants