Skip to content

Backmerge release/july-2026 into main(typespec-java 0.45.7) - #4958

Merged
Xiaofei Cao (XiaofeiCao) merged 3 commits into
mainfrom
backmerge/release/july-2026-2026-07-20
Jul 20, 2026
Merged

Xiaofei Cao (XiaofeiCao) merged 3 commits into
mainfrom
backmerge/release/july-2026-2026-07-20

Conversation

@XiaofeiCao

Copy link
Copy Markdown
Member

Backmerge of the release/july-2026 branch into main following the @azure-tools/typespec-java@0.45.7 hotfix (#4948).

Brings the version bump, CHANGELOG, and emitter-tests updates into main.

Merge using Rebase and merge (per hotfix release process).

Xiaofei Cao (XiaofeiCao) and others added 3 commits July 16, 2026 09:49
## Summary

Draft hotfix release PR for `@azure-tools/typespec-java@0.45.6`,
targeting `release/july-2026`.

## Changes

- **Version:** bump `@azure-tools/typespec-java` to `0.45.6` and add the
corresponding `CHANGELOG.md` entry (notes the `js-yaml`→`yaml` /
`lodash`→builtin change and dependency updates).
- **Sync tooling refactor:** extract the transient `core/` submodule
checkout/restore logic into a shared `CoreCommit.ps1` helper
(`Enter-CoreCommit` / `Restore-CoreCommit`), used by both
`Copy-Sources.ps1` and `emitter-tests/SyncTests.ps1`.
- **`SyncTests.ps1`** now also:
- reads the pinned core commit from `core-commit.json` (like
`Copy-Sources.ps1`), transiently checking it out to sync from and always
restoring the submodule;
- syncs the versions of shared `dependencies`/`overrides` entries from
core's `http-client-generator-test/package.json` via JSON manipulation
(preserving repo-specific entries, key order, and formatting);
- pins the local `@azure-tools/typespec-java` `.tgz` dependency to this
repo's `package.json` version (outside the core checkout, since it is
local-only).
- **Pin:** add `core-commit.json` pinned to
`4751383fd59eb64f1d443376c5db7948cfe974eb`, and commit the synced
`emitter-tests/package.json` + `tsp/` results.

## Notes

- Hotfix PR targets the `release/*` branch per the repo's release
conventions.
- Opened as **draft**.

---------

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

## Summary

- Update packages/typespec-java/core-commit.json to point at the head
commit of microsoft/typespec#11286 (per-client ServiceVersion regression
fix).
- Sync emitter test specs from core via SyncTests.ps1 (adds
emitter-tests/tsp/multiple-clients-same-version.tsp).
- Remove @azure-tools/typespec-liftr-base and
@azure-tools/openai-typespec from both peerDependencies and
devDependencies of @azure-tools/typespec-java. The version will not be
managed here in `catalog`, but rather, in SDK repo.
- sync emitter looks good:
Azure/azure-sdk-for-java#49860
Hotfix (patch) release for `@azure-tools/typespec-java` **0.45.6 ->
0.45.7** from the `release/july-2026` branch.

## Changes included

- Fix per-client `ServiceVersion` regression after migrating from
js-yaml and lodash.
- Remove `@azure-tools/typespec-liftr-base` and
`@azure-tools/openai-typespec` from peer and dev dependencies.
- Support `clientApiVersions`.

## Notes

- Version bump generated via `pnpm chronus version --ignore-policies`.
- The `clientApiVersions` changeset was authored as `feature` but is
released here under a **patch** bump (consistent with prior hotfix
precedent, e.g. #4670); all entries appear under **Bug Fixes** in the
changelog.
- `core` submodule pointer unchanged.
- Only `@azure-tools/typespec-java` is bumped; unrelated pending
changesets are untouched.

Targets `release/july-2026` (not `main`). Backmerge to `main` to follow
after merge.
@azure-sdk-automation

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-java
Show changes

@pkg-pr-new

pkg-pr-new Bot commented Jul 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 3c0dea3

@XiaofeiCao Xiaofei Cao (XiaofeiCao) changed the title Backmerge release/july-2026 into main Backmerge release/july-2026 into main(typespec-java 0.45.7) Jul 20, 2026
@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@XiaofeiCao
Xiaofei Cao (XiaofeiCao) added this pull request to the merge queue Jul 20, 2026
Merged via the queue into main with commit 5036a37 Jul 20, 2026
50 of 51 checks passed
@XiaofeiCao
Xiaofei Cao (XiaofeiCao) deleted the backmerge/release/july-2026-2026-07-20 branch July 20, 2026 08:00
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 eng

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants