Skip to content

[typespec-java] Sync core and dependency versions for October hotfix - #5745

Merged
Weidong Xu (weidongxu-microsoft) merged 1 commit into
Azure:release/october-2026from
weidongxu-microsoft:sync/typespec-java-2026-10-16
Oct 16, 2026
Merged

Weidong Xu (weidongxu-microsoft) merged 1 commit into
Azure:release/october-2026from
weidongxu-microsoft:sync/typespec-java-2026-10-16

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Member

Update the Java core pin to f098e0fdd for the 0.48.2 hotfix. No package version bump in this PR.

Validation: branded emitter/generator build, offline version-sync tests, enum/ARM generation smoke checks, repository formatting and lint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c93fd771-4af9-4e61-b9af-8f2b15588c47
Copilot AI balanced review requested due to automatic review settings October 16, 2026 07:08
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:java Issues for @azure-tools/typespec-java emitter label Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ There is undocummented changes. Run chronus add to add a changeset or click here.

The following packages have changes but are not documented.

  • ❌@azure-tools/typespec-autorest
  • ❌@azure-tools/typespec-azure-examples

The following packages have already been documented:

  • ✅ @azure-tools/typespec-java
Show changes

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

Update the Java generator to TypeSpec core commit f098e0fdd. Includes Azure V1 continuation-token paging (microsoft/typespec#12196), escaped enum values in schema Javadoc (microsoft/typespec#12177), and dependency updates with version synchronization (microsoft/typespec#12286). Add a local script to align test dependencies and plugins with the pinned generator.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The upstream generator and runtime dependency upgrades require human confirmation of branded integration-test results.

0 open findings

What changed in this PR

Updates the Java generator’s pinned core and test dependencies for the October 0.48.2 hotfix without bumping the package version.

Changes:

  • Incorporates upstream paging, enum Javadoc, and dependency fixes.
  • Expands paging, enum, and ARM API-version regression coverage.
  • Adds documented dependency-sync tooling with offline tests and a Chronus fix entry.
File Description
packages/​typespec-java/​eng/​versioning/​Sync-Versions.Tests.ps1 Tests dependency synchronization offline.
packages/​typespec-java/​eng/​versioning/​Sync-Versions.ps1 Synchronizes test dependencies with pinned upstream POMs.
packages/​typespec-java/​emitter-tests/​tsp/​enum.tsp Adds comment-terminator enum values.
packages/​typespec-java/​emitter-tests/​tsp/​arm-api-version-override.tsp Adds an ARM API-version override fixture.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​tsptest/​enumservice/​EnumTests.java Verifies comment-terminator enum round trips.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​tsptest/​armapiversionoverride/​ArmApiVersionOverrideTests.java Checks default and overridden API versions.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​payload/​pageable/​XmlPaginationTests.java Tests synchronous and asynchronous XML paging.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​payload/​pageable/​PageableTests.java Covers continuation tokens, resumption, and request options.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​azure/​payload/​pageable/​PageableTests.java Adds asynchronous Azure paging assertions.
packages/​typespec-java/​emitter-tests/​src/​test/​java/​authentication/​util/​BearerTokenAuthenticationPolicy.java Switches to the public token-cache import.
packages/​typespec-java/​emitter-tests/​pom.xml Updates shared dependencies and Javadoc tooling.
packages/​typespec-java/​core-commit.json Pins Java core to f098e0fdd.
packages/​typespec-java/​CONTRIBUTING.md Documents version synchronization and offline testing.
.chronus/​changes/​typespec-java-core-sync-october-hotfix.md Records the hotfix changes.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Package size report

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

14 package(s) with no notable change
Package Packed (base → head) Δ Packed Unpacked (base → head) Δ Unpacked
@azure-tools/typespec-java 20.21 MB → 20.22 MB +1.70 KB (+0.0%) 22.51 MB → 22.51 MB +1.04 KB (+0.0%)
@azure-tools/azure-http-specs 143.50 KB → 143.50 KB — 1.20 MB → 1.20 MB —
@azure-tools/typespec-autorest 87.87 KB → 87.87 KB — 424.17 KB → 424.17 KB —
@azure-tools/typespec-autorest-canonical 7.42 KB → 7.42 KB — 26.00 KB → 26.00 KB —
@azure-tools/typespec-azure-core 134.23 KB → 134.23 KB — 724.20 KB → 724.20 KB —
@azure-tools/typespec-azure-examples 62.66 KB → 62.66 KB — 309.27 KB → 309.27 KB —
@azure-tools/typespec-azure-portal-core 36.26 KB → 36.26 KB — 242.62 KB → 242.62 KB —
@azure-tools/typespec-azure-resource-manager 184.13 KB → 184.13 KB — 1.11 MB → 1.11 MB —
@azure-tools/typespec-azure-rulesets 5.50 KB → 5.50 KB — 33.69 KB → 33.69 KB —
@azure-tools/typespec-client-generator-core 241.87 KB → 241.87 KB — 1.29 MB → 1.29 MB —
@azure-tools/typespec-go 263.66 KB → 263.66 KB — 1.35 MB → 1.35 MB —
@azure-tools/typespec-metadata 15.91 KB → 15.91 KB — 62.26 KB → 62.26 KB —
@azure-tools/typespec-python 42.21 KB → 42.21 KB — 164.90 KB → 164.90 KB —
@azure-tools/typespec-ts 530.52 KB → 530.52 KB — 2.67 MB → 2.67 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 Oct 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 526e2c5

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) merged commit affc73c into Azure:release/october-2026 Oct 16, 2026
35 checks passed
@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) deleted the sync/typespec-java-2026-10-16 branch October 16, 2026 08:37
Weidong Xu (weidongxu-microsoft) added a commit that referenced this pull request Oct 16, 2026
Publish `@azure-tools/typespec-java@0.48.2` from `release/october-2026`,
consuming the `fix` entry from #5745.

Only the Java package version, changelog, and consumed change file are
changed. The core gitlink is unchanged.

---------

Copilot-Session: c93fd771-4af9-4e61-b9af-8f2b15588c47
Timothee Guerin (timotheeguerin) added a commit to timotheeguerin/typespec-azure that referenced this pull request Oct 16, 2026
Backmerge `release/october-2026` after publishing
`@azure-tools/typespec-java@0.48.2` (Azure#5745,
Azure#5747).

Preserve the Java hotfix, version-sync tooling, and release notes while
retaining main's independent changes and core submodule gitlink.

---------

Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copilot-Session: cf805095-0f1a-4667-a4bc-896cfeb202b9
Copilot-Session: c93fd771-4af9-4e61-b9af-8f2b15588c47
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