Skip to content

Upgrade TypeSpec and TCGC versions to latest releases#3381

Merged
MaryGao merged 2 commits intomainfrom
copilot/fix-3380
Jul 16, 2025
Merged

Upgrade TypeSpec and TCGC versions to latest releases#3381
MaryGao merged 2 commits intomainfrom
copilot/fix-3380

Conversation

Copy link
Contributor

Copilot AI commented Jul 16, 2025

This PR upgrades TypeSpec and TypeSpec Client Generator Core (TCGC) dependencies to their latest versions across the repository, following the established upgrade guidelines.

Changes Made

Core TypeSpec Dependencies Updated

  • @typespec/compiler: ^1.1.0^1.2.1
  • @typespec/http: ^1.1.0^1.2.1
  • @typespec/rest: ^0.71.0^0.72.1
  • @typespec/versioning: ^0.71.0^0.72.1
  • @typespec/openapi: ^1.1.0^1.2.1
  • @typespec/openapi3: ^1.1.0^1.2.1
  • @typespec/json-schema: ^1.1.0^1.2.1
  • @typespec/xml: ^0.71.0^0.72.1

Azure Tools Dependencies Updated

  • @azure-tools/typespec-client-generator-core: ^0.57.3^0.58.0
  • @azure-tools/typespec-autorest: ^0.57.1^0.58.0
  • @azure-tools/typespec-azure-core: ^0.57.0^0.58.0
  • @azure-tools/typespec-azure-resource-manager: ^0.57.2^0.58.0
  • @azure-tools/typespec-azure-rulesets: ^0.57.1^0.58.0

Spector-Related Dependencies (Next Versions)

  • @typespec/http-specs: 0.1.0-alpha.24-dev.20.1.0-alpha.25-dev.0
  • @typespec/spec-api: 0.1.0-alpha.7-dev.10.1.0-alpha.8-dev.0
  • @azure-tools/azure-http-specs: 0.1.0-alpha.220.1.0-alpha.24-dev.0
  • @typespec/spector: 0.1.0-alpha.16-dev.2 (unchanged - already at next)

Validation

All testing suites pass successfully:

  • ✅ Unit tests: 370 tests passing
  • ✅ RLC integration tests: 535 tests passing
  • ✅ Azure RLC integration tests: 743 tests passing
  • ✅ Modular integration tests: 544 tests passing
  • ✅ Azure Modular integration tests: 750 tests passing
  • ✅ Lint checks: No warnings
  • ✅ Build verification: Successful
  • ✅ Smoke tests: All scenarios compile successfully

Files Modified

  • packages/typespec-ts/package.json
  • packages/typespec-test/package.json
  • common/config/rush/pnpm-lock.yaml (dependency lock file)

The upgrade maintains backward compatibility while providing access to the latest TypeSpec features and bug fixes.

Fixes #3380.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • googlechromelabs.github.io
    • Triggering command: node install.mjs (dns block)
  • https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.111/linux64/chrome-headless-shell-linux64.zip
    • Triggering command: node install.mjs (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: MaryGao <9943211+MaryGao@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade the typespec and tcgc version Upgrade TypeSpec and TCGC versions to latest releases Jul 16, 2025
Copilot AI requested a review from MaryGao July 16, 2025 07:38
@MaryGao MaryGao marked this pull request as ready for review July 16, 2025 08:57
@MaryGao MaryGao requested review from joheredi and qiaozha as code owners July 16, 2025 08:58
Copy link
Member

@MaryGao MaryGao left a comment

Choose a reason for hiding this comment

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

@v-jiaodi Could you verify from your side? Thanks!

@v-jiaodi
Copy link
Member

@v-jiaodi Could you verify from your side? Thanks!

LGTM.

@MaryGao MaryGao enabled auto-merge (squash) July 16, 2025 09:06
@MaryGao MaryGao merged commit 639fb50 into main Jul 16, 2025
17 checks passed
@MaryGao MaryGao deleted the copilot/fix-3380 branch July 16, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade the typespec and tcgc version

4 participants