Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 11, 2025

Plan: Bump TypeSpec, TCGC, and Spector dependency versions for http-client-java

  • Update package.json in packages/http-client-java
    • Update @typespec/spector from 0.1.0-alpha.20 to 0.1.0-alpha.21
    • Bump package version from 0.6.0 to 0.6.1
  • Update package.json in packages/http-client-java/generator/http-client-generator-test
    • Update @typespec/spector from 0.1.0-alpha.20 to 0.1.0-alpha.21
    • Update @typespec/spec-api from 0.1.0-alpha.10 to 0.1.0-alpha.11
    • Update @typespec/http-specs from 0.1.0-alpha.28 to 0.1.0-alpha.29
    • Update @azure-tools/azure-http-specs from 0.1.0-alpha.32 to 0.1.0-alpha.33
    • Update tgz package reference to 0.6.1
  • Update package.json in packages/http-client-java/generator/http-client-generator-clientcore-test
    • Update @typespec/spector from 0.1.0-alpha.20 to 0.1.0-alpha.21
    • Update @typespec/spec-api from 0.1.0-alpha.10 to 0.1.0-alpha.11
    • Update @typespec/http-specs from 0.1.0-alpha.28 to 0.1.0-alpha.29
    • Update tgz package reference to 0.6.1
    • Add @typespec/json-schema to overrides section
  • Regenerate tests using Generate.ps1 script
  • Verify the changes build and run correctly
Original prompt

This section details on the original issue you should resolve

<issue_title>[http-client-java] bump TypeSpec, TCGC and spector dependency versions</issue_title>
<issue_description>You could refer to this previous version bump PR to bump the version. #8993

bump version for package.json under http-client-java.

  • packages\http-client-java\generator\http-client-generator-clientcore-test\package.json
  • packages\http-client-java\generator\http-client-generator-clientcore-test\package.json
  • packages\http-client-java\generator\http-client-generator-test\package.json

You should also regenerate tests by running script packages\http-client-java\generator\http-client-generator-test\Generate.ps1

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 11, 2025 06:27
Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>
Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>
@haolingdong-msft
Copy link
Member

@copilot
Remember to bump the @typespec/http-client-java version. If no breaking changes, bump patch version. e.g.

image Remember to update the tgz package version in package.json as well. e.g. image

Copilot AI changed the title [WIP] Bump TypeSpec, TCGC and spector dependency versions Bump TypeSpec, TCGC, and Spector dependency versions for http-client-java Dec 11, 2025
Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 11, 2025

@copilot
Remember to bump the @typespec/http-client-java version. If no breaking changes, bump patch version. e.g.

...

Done. Bumped version to 0.6.1 and updated tgz references in both test packages. Changes in commit 1e824cb.

"@typespec/http-client-java": "file:../../typespec-http-client-java-0.6.1.tgz",
"@typespec/http-client-java-tests": "file:"
},
"overrides": {
Copy link
Member

Choose a reason for hiding this comment

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

@copilot update all @typespec and @azure-tools related dependencies. Similar for other package.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added @typespec/json-schema to overrides section in clientcore-test package.json to ensure all @typespec dependencies are properly overridden. All other @typespec and @Azure-Tools packages in overrides already match the versions in the main package.json. Changes in commit c074788.

Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Dec 12, 2025
Fix #9185

Also tried with copilot, but not all dependencies are bumped, try to at
copilot but still not correctly updated :
#9186

ends up to first create a manual PR, and later tune instructions.

I'm referring this PR: #8993

No breaking changes so bump a patch version
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.

[http-client-java] bump TypeSpec, TCGC and spector dependency versions

2 participants