Skip to content

Bump version for hotfix: typespec-java@0.45.8 - #4990

Merged
weidongxu-microsoft merged 5 commits into
release/july-2026from
publish/hotfix/typespec-java-july-2026
Jul 21, 2026
Merged

Bump version for hotfix: typespec-java@0.45.8#4990
weidongxu-microsoft merged 5 commits into
release/july-2026from
publish/hotfix/typespec-java-july-2026

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Member

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.

Also bump emitter-tests/package.json (version + typespec-java .tgz dependency) to 0.45.8.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:java Issues for @azure-tools/typespec-java emitter label Jul 21, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@azure-tools/typespec-autorest@4990
npm i https://pkg.pr.new/@azure-tools/typespec-java@4990

commit: 39052a0

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@weidongxu-microsoft
weidongxu-microsoft merged commit e734843 into release/july-2026 Jul 21, 2026
27 of 28 checks passed
@weidongxu-microsoft
weidongxu-microsoft deleted the publish/hotfix/typespec-java-july-2026 branch July 21, 2026 13:13
@weidongxu-microsoft

Copy link
Copy Markdown
Member Author

agent says that back-merge branch is not created

Found it — and there's a problem. There is no valid backmerge branch for your 0.45.8 hotfix. Here's what happened:

• Your #4990 merged at 13:13Z. The backmerge workflow ran → failed (run  29833493344 ).
• The earlier #4987 backmerge also failed (07:13Z).
• Both failed the same way: the branch  backmerge/release/july-2026-2026-07-21  already existed — created by today's first hotfix, autorest 0.70.1 (#4980, 00:48Z), which succeeded. The workflow pushes non-force, so any later same-day merge is rejected.

@timotheeguerin

Copy link
Copy Markdown
Member

@weidongxu-microsoft the backmerge branch auto create been kinda flaky, i am also not sure it is really needed anymore with agents. I would just ask copilot to just merge the release branch changes into main with a new branch.
And maybe we can update the contributing guide

@weidongxu-microsoft

weidongxu-microsoft commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

@weidongxu-microsoft the backmerge branch auto create been kinda flaky, i am also not sure it is really needed anymore with agents. I would just ask copilot to just merge the release branch changes into main with a new branch. And maybe we can update the contributing guide

I was just asking the agent to find the backmerge branch (after the patch release) and help create the PR. And yes, one option is to manually create a back-merge branch.

The reasoning of the agent is that the 1st hotfix created the backmerge/release/july-2026-2026-07-21 branch. Hence any later hotfix on this same day would fail the auto create backmerge, because the branch name is already occupied.

Java emitter likely need another patch tomorrow, so we can take care of the backmerge then (then the backmerge branch should be backmerge/release/july-2026-2026-07-22).

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:java Issues for @azure-tools/typespec-java emitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants