Update azure-typespec/http-client-csharp version to prerelease 1.0.0-alpha.20260420.2#58384
Open
azure-sdk wants to merge 4 commits intoAzure:mainfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repo’s TypeSpec C# HTTP client emitter dependency to 1.0.0-alpha.20260420.2 and includes regenerated outputs across a few SDKs to align with the new emitter behavior.
Changes:
- Bump
@azure-typespec/http-client-csharpprerelease version (and lockfile transitive deps). - Regenerate generated model factory overloads to use named arguments consistently.
- Regenerate Search Documents configuration schema/settings and Schema Registry protocol layer method signatures.
Reviewed changes
Copilot reviewed 1 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/voicelive/Azure.AI.VoiceLive/src/Generated/VoiceLiveModelFactory.cs | Regenerated factory overloads now use named arguments. |
| sdk/search/Azure.Search.Documents/src/Generated/schema/ConfigurationSchema.json | Config schema now references searchClientOptions for KnowledgeBaseRetrievalClient options. |
| sdk/search/Azure.Search.Documents/src/Generated/KnowledgeBaseRetrievalClientSettings.cs | Settings now bind SearchClientOptions from configuration. |
| sdk/search/Azure.Search.Documents/src/Generated/KnowledgeBaseRetrievalClientOptions.cs | Removed generated options type (previously duplicated options/version handling). |
| sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.cs | Regenerated protocol methods with reordered parameters for content/contentType. |
| sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.RestClient.cs | Regenerated request factory methods with reordered parameters for content/contentType. |
| sdk/healthdataaiservices/Azure.Health.Deidentification/src/Generated/HealthDeidentificationModelFactory.cs | Regenerated factory overload now uses named arguments. |
| eng/azure-typespec-http-client-csharp-emitter-package.json | Bumps emitter dependency version. |
| eng/azure-typespec-http-client-csharp-emitter-package-lock.json | Updates lockfile to match the bumped emitter and transitive dependencies. |
Files not reviewed (1)
- eng/azure-typespec-http-client-csharp-emitter-package-lock.json: Language not supported
The regenerated internal RegisterSchema/GetSchemaPropertiesByContent methods now take (content, contentType) instead of (contentType, content). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jorgerangel-msft
approved these changes
Apr 20, 2026
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.
Generated by branded - http-client-csharp build 20260420.2
Triggered from branch: main