Sync typespec-java core: fix XML serializer for azure-v1 and raw bytes - #5012
Merged
weidongxu-microsoft merged 2 commits intoJul 22, 2026
Merged
Conversation
Contributor
|
❌ There is undocummented changes. Run The following packages have changes but are not documented.
The following packages have already been documented:
Show changes
|
Advance core-commit.json to microsoft/typespec 43ff0041 (#11329): gate the XML serializer to azure-v1 data-plane clients and skip the XML ObjectSerializer for raw byte[]/BinaryData payloads, fixing a build break from a reference to a non-generated XmlSerializerProviders helper. Also sync emitter-tests via SyncTests.ps1 (adds tsp/xml-bytes-verify.tsp and the XmlBytesVerify hand-written test). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
weidongxu-microsoft
force-pushed
the
weidongxu-microsoft/sync-java-xml-bytes-fix
branch
from
July 22, 2026 05:19
d0fbd58 to
b82c7a8
Compare
weidongxu-microsoft
marked this pull request as ready for review
July 22, 2026 05:20
weidongxu-microsoft
requested review from
XiaofeiCao,
alzimmermsft,
bterlson,
haolingdong-msft,
markcowl and
timotheeguerin
as code owners
July 22, 2026 05:20
XiaofeiCao
approved these changes
Jul 22, 2026
Contributor
|
You can try these changes here
|
commit: |
…suppression) Adopt main's archive-based Get-CoreSourceRoot/Remove-CoreSourceRoot (no submodule mutation), progress suppression, and Setup.ps1 registry pin. Generate.ps1 intentionally NOT taken from main to preserve the XML-generation fix. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
weidongxu-microsoft
merged commit Jul 22, 2026
577d253
into
release/july-2026
28 of 29 checks passed
weidongxu-microsoft
deleted the
weidongxu-microsoft/sync-java-xml-bytes-fix
branch
July 22, 2026 06:21
weidongxu-microsoft
added a commit
that referenced
this pull request
Jul 22, 2026
Hotfix version bump for `@azure-tools/typespec-java` 0.45.8 -> 0.45.9. Publishes the fix from #5012 (XML serializer gated to azure-v1 data-plane + skip raw byte[]/BinaryData payloads). - Consumes the `fix` change file (patch bump) - `packages/typespec-java/package.json`: 0.45.8 -> 0.45.9 - `packages/typespec-java/emitter-tests/package.json`: version + .tgz dep bumped to 0.45.9 - `core` submodule unchanged Squash merge to trigger the NPM publish pipeline.
XiaofeiCao
added a commit
to XiaofeiCao/typespec-azure
that referenced
this pull request
Jul 22, 2026
…Azure#5014) Backmerge of `release/july-2026` into `main`. The auto-backmerge workflow failed for Azure#5013 due to the known same-day branch-name collision (the `backmerge/release/july-2026-2026-07-22` branch was already created by Azure#5012's run). Fast-forwarded the branch to the current release head and opening this PR manually. Brings into `main`: - typespec-java 0.45.8 (XML serialization support, Azure#4987/Azure#4990) - typespec-java 0.45.9 (XML serializer gated to azure-v1 + skip raw bytes, Azure#5012/Azure#5013) - PowerShell script sync (core-submodule handling) **Rebase merge** this PR (do not squash) to preserve the release-line history. --------- Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Timothee Guerin <tiguerin@microsoft.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: timotheeguerin <1031227+timotheeguerin@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.
Part A (fix) of the next typespec-java hotfix.
Advances
packages/typespec-java/core-commit.jsonto microsoft/typespec 43ff0041 (#11329):azure-v1data-plane clients.ObjectSerializerfor rawbyte[]/BinaryDatapayloads that aren't structured XML models, fixing a build break from a reference to the non-generatedXmlSerializerProvidershelper.Follow-up fix on top of 0.45.8's XML serialization support. Adds a
fixchangelog entry. Version bump + publish (Part B) follows in a separatepublish/hotfix/*PR after this merges.Targets
release/july-2026(NOT main).