Skip to content

[Automation] Generate SDK based on TypeSpec 0.41.0#48314

Open
azure-sdk wants to merge 4 commits intoAzure:mainfrom
azure-sdk:typespec-java-generation-5972305
Open

[Automation] Generate SDK based on TypeSpec 0.41.0#48314
azure-sdk wants to merge 4 commits intoAzure:mainfrom
azure-sdk:typespec-java-generation-5972305

Conversation

@azure-sdk
Copy link
Collaborator

@azure-sdk azure-sdk commented Mar 6, 2026

  • Update typespec-java to 0.41.0 after release and sync-sdk
  • Update autorest.java to 4.1.63 after release
  • cherry-picked engSys changes from mgmt eng, keep premium samples in place #48226 to keep premium samples where they are generated, after entry points change of emitter
  • Tested both TypeSpec and Swagger generation for premium packages locally

Next step be, delete samples under azure-resourcemanager. Guess it's not urgent before we hit breaking changes for premium libraries.

Not sure any changes to example-automation script should be made. Will probably delete special logic to azure-resourcemanager after samples are removed.

[Automation] Generate SDK based on TypeSpec 0.41.0

@azure-sdk azure-sdk added the DPG label Mar 6, 2026
@XiaofeiCao
Copy link
Contributor

FromSource run failure is not related to this PR.

@XiaofeiCao XiaofeiCao marked this pull request as ready for review March 6, 2026 11:42
Copilot AI review requested due to automatic review settings March 6, 2026 11:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the TypeSpec Java emitter from 0.40.0 to 0.41.0 and autorest.java from 4.1.62 to 4.1.63, along with cherry-picked engineering system changes from PR #48226 that keep premium management samples in their generated location instead of copying them to the azure-resourcemanager aggregator module.

Changes:

  • Bumps @azure-tools/typespec-java to 0.41.0 and @autorest/java to 4.1.63, along with transitive dependency updates (@typespec/http, @azure-tools/typespec-client-generator-core, etc.)
  • Removes the logic that copied generated premium samples to azure-resourcemanager and updated version_client.txt/pom.xml with unreleased entries (from both gulpfile.js Swagger path and generate.py TypeSpec path)
  • Regenerates SDK samples for keyvault and containerregistry packages using the new emitter version

Reviewed changes

Copilot reviewed 5 out of 114 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/emitter-package.json Bumps typespec-java to 0.41.0 and related dev dependencies
eng/emitter-package-lock.json Updated lockfile reflecting new dependency versions
eng/automation/parameters.py Bumps autorest.java to 4.1.63
eng/automation/generate.py Removes premium sample moving/version updating logic and unused imports
sdk/resourcemanager/gulpfile.js Removes premium sample copy, unreleased version entry, and aggregator pom update logic
sdk/recoveryservicesbackup/.../apiview_properties.json Deleted (regeneration artifact)
sdk/keyvault/.../generated/*.java New generated sample files from TypeSpec 0.41.0
sdk/containerregistry/.../generated/*.java New generated sample files from TypeSpec 0.41.0
Files not reviewed (1)
  • eng/emitter-package-lock.json: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants