Sync typespec-java core: support XML serialization - #4987
Merged
weidongxu-microsoft merged 2 commits intoJul 21, 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
|
commit: |
Contributor
|
You can try these changes here
|
weidongxu-microsoft
force-pushed
the
weidongxu-microsoft/sync-typespec-java-xml
branch
from
July 21, 2026 06:44
e4892f4 to
3044c26
Compare
- Update core-commit.json to microsoft/typespec d012e83 (XML serialization, microsoft/typespec#11305). - Sync emitter test src/tsp via SyncTests.ps1 (adds payload/xml XmlTests). - Generate.ps1: stop removing the payload/xml specs folder so xml is generated, matching core (which no longer skips xml). 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-typespec-java-xml
branch
from
July 21, 2026 06:46
3044c26 to
b2da5b7
Compare
weidongxu-microsoft
marked this pull request as ready for review
July 21, 2026 06:47
weidongxu-microsoft
requested review from
XiaofeiCao,
alzimmermsft,
bterlson,
haolingdong-msft,
markcowl and
timotheeguerin
as code owners
July 21, 2026 06:47
XiaofeiCao
approved these changes
Jul 21, 2026
XiaofeiCao
reviewed
Jul 21, 2026
weidongxu-microsoft
merged commit Jul 21, 2026
3ab3887
into
release/july-2026
28 of 29 checks passed
weidongxu-microsoft
deleted the
weidongxu-microsoft/sync-typespec-java-xml
branch
July 21, 2026 07:13
weidongxu-microsoft
added a commit
that referenced
this pull request
Jul 21, 2026
Hotfix (patch) release of `@azure-tools/typespec-java` **0.45.7 -> 0.45.8** from `release/july-2026`. Includes the XML serialization sync fix (#4987). Version bump via `pnpm chronus version --ignore-policies`: - `packages/typespec-java/package.json` -> 0.45.8 - `packages/typespec-java/CHANGELOG.md` (Bug Fixes) - removed the consumed `.chronus/changes` entry - `packages/typespec-java/emitter-tests/package.json` -> 0.45.8 (version + `@azure-tools/typespec-java` .tgz dependency) Core submodule unchanged. Backmerge to `main` to follow after publish. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
packages/typespec-java/core-commit.jsonto microsoft/typespec d012e83 (Support XML serialization in http-client-java generator, Support XML serialization in http-client-java generator microsoft/typespec#11305).src/tspfrom core viaSyncTests.ps1(addsemitter-tests/src/test/java/payload/xmlXmlTests).emitter-tests/Generate.ps1: stop removingpayload/xmlspecs now that the emitter supports XML models.