Skip to content

Sync typespec-java fixes for August 2026 hotfix - #5239

Merged
Weidong Xu (weidongxu-microsoft) merged 5 commits into
Azure:release/august-2026from
weidongxu-microsoft:sync/typespec-java-hotfix-august-2026
Aug 31, 2026
Merged

Sync typespec-java fixes for August 2026 hotfix#5239
Weidong Xu (weidongxu-microsoft) merged 5 commits into
Azure:release/august-2026from
weidongxu-microsoft:sync/typespec-java-hotfix-august-2026

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Member

Summary

  • cherry-pick the TypeSpec Java 0.46.0 prepare and publish commits onto release/august-2026
  • cherry-pick the Java ARM resource identifier test fix
  • sync the Java core pin to microsoft/typespec@1a1583554 for the remove-model management generation fix

Validation

  • pnpm build
  • pnpm test
  • pnpm -w format
  • pnpm -w lint

## Summary

- prepare `@azure-tools/typespec-java` for the 0.46.0 release
- sync Java generator sources and tests to microsoft/typespec
`27b39b71b`
- document one feature and three fixes through Chronus
- expose the `remove-model` management option schema and add new Spector
coverage
- fix regeneration from the flattened Java package layout

The package remains at 0.45.13. A follow-up PR will apply the 0.46.0
version bump.

## Validation

- package build and unit tests
- Java client regeneration
- Java Spector end-to-end tests
- Chronus verification
- repository format and lint

---------

Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
## Summary

- bump `@azure-tools/typespec-java` from 0.45.13 to 0.46.0
- generate the 0.46.0 changelog from the Chronus entries merged in Azure#5218
- consume the released change files

---------

Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
## Summary

- remove the obsolete patch that disables the ARM resource identifier
test
- re-enable the generated Java emitter test
- add an internal TypeSpec Java change entry

## Validation

- `pnpm format`
- `pnpm lint`
- `mvn -f emitter-tests\pom.xml
'-Dtest=azure.resourcemanager.commonproperties.CommonPropertiesTests#testArmResourceIdentifiers'
test -q`

Copilot-Session: 813ff84f-32dc-4283-8093-c212747506fb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0c853adf-d456-4d99-bacc-fd941aca7924
@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @azure-tools/typespec-java
Show changes

@azure-tools/typespec-java - internal ✏️

Re-enable the ARM resource identifier emitter test.

@azure-tools/typespec-java - fix ✏️

Sync core to microsoft/typespec commit 5b9cd21d2. Includes fixes for management remove-model generation (core #11698), Javadocs containing */ (core #11766), and response headers following a constant header (core #11793).

@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

📦 Package size report

✅ No notable package size changes compared to the base branch.

13 package(s) with no notable change
Package Packed (base → head) Δ Packed Unpacked (base → head) Δ Unpacked
@azure-tools/typespec-java 13.51 MB → 13.51 MB +3.12 KB (+0.0%) 15.03 MB → 15.03 MB +4.79 KB (+0.0%)
@azure-tools/azure-http-specs 146.62 KB → 146.62 KB 1.16 MB → 1.16 MB
@azure-tools/typespec-autorest 80.93 KB → 80.93 KB 395.06 KB → 395.06 KB
@azure-tools/typespec-autorest-canonical 7.42 KB → 7.42 KB 26.00 KB → 26.00 KB
@azure-tools/typespec-azure-core 129.43 KB → 129.43 KB 702.77 KB → 702.77 KB
@azure-tools/typespec-azure-portal-core 42.40 KB → 42.40 KB 192.91 KB → 192.91 KB
@azure-tools/typespec-azure-resource-manager 171.16 KB → 171.16 KB 1.04 MB → 1.04 MB
@azure-tools/typespec-azure-rulesets 5.16 KB → 5.16 KB 32.09 KB → 32.09 KB
@azure-tools/typespec-client-generator-core 226.23 KB → 226.23 KB 1.22 MB → 1.22 MB
@azure-tools/typespec-go 247.01 KB → 247.01 KB 1.25 MB → 1.25 MB
@azure-tools/typespec-metadata 15.91 KB → 15.91 KB 62.26 KB → 62.26 KB
@azure-tools/typespec-python 46.22 KB → 46.22 KB 180.83 KB → 180.83 KB
@azure-tools/typespec-ts 527.17 KB → 527.17 KB 2.54 MB → 2.54 MB

Packed = gzipped .tgz published to npm. Unpacked = total extracted size. 🆕 added, 🗑️ removed. Packages from the core/ submodule are not included.
🔴 grew · 🟢 shrank — only changes of at least 512 B and 0.5% are marked.

@pkg-pr-new

pkg-pr-new Bot commented Aug 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: ab73a78

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) marked this pull request as draft August 20, 2026 06:32
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0c853adf-d456-4d99-bacc-fd941aca7924
@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) marked this pull request as ready for review August 31, 2026 08:07
@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) merged commit cc2f4d1 into Azure:release/august-2026 Aug 31, 2026
34 checks passed
@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) deleted the sync/typespec-java-hotfix-august-2026 branch August 31, 2026 08:38
Weidong Xu (weidongxu-microsoft) added a commit that referenced this pull request Aug 31, 2026
## Summary

- bump `@azure-tools/typespec-java` from `0.46.0` to `0.46.1`
- publish the Java fixes synced in #5239

## Included fixes

- management `remove-model` generation (`microsoft/typespec#11698`)
- Javadocs containing `*/` (`microsoft/typespec#11766`)
- response headers following a constant header
(`microsoft/typespec#11793`)

---------

Copilot-Session: 0c853adf-d456-4d99-bacc-fd941aca7924
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.

2 participants