Skip to content

[sdk-testgen] bump @azure-tools/codegen to 2.10.1#14334

Open
mikeharder wants to merge 1 commit intomainfrom
sdk-testgen-bump
Open

[sdk-testgen] bump @azure-tools/codegen to 2.10.1#14334
mikeharder wants to merge 1 commit intomainfrom
sdk-testgen-bump

Conversation

@mikeharder
Copy link
Member

@mikeharder mikeharder commented Mar 4, 2026

  • 2.10.1 is actually newer than 3.0.283, which was a preview
  • bumps transitive dep "js-yaml"

- 2.10.1 is actually newer than 3.0.283, which was a preview
Copilot AI review requested due to automatic review settings March 4, 2026 20:06
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 aligns the @azure-tools/codegen dependency in tools/sdk-testgen to the stable 2.10.1 version, removing the previously specified ^3.0.283 which was a preview series. Both @autorest/codemodel and @autorest/extension-base (the main upstream dependencies) already required ~2.10.0 of codegen, so the old 3.x declaration was installing an extra, unnecessary top-level copy that has now been eliminated.

Changes:

  • package.json: Downgrades @azure-tools/codegen spec from ^3.0.283 to ^2.10.1 (stable vs. preview).
  • package-lock.json: Removes the now-unnecessary @azure-tools/codegen@3.0.283 top-level entry and its exclusive dependencies (@azure-tools/linq, @azure-tools/async-io@4.0.246, @azure-tools/tasks@4.0.246, old js-yaml@3.13.1, semver@5.x), hoisting the shared 2.10.1 packages to the top-level; also updates js-yaml 4.x to 4.1.1 and 3.x to 3.14.2, and hoists retry to the top level.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
tools/sdk-testgen/package.json Updates @azure-tools/codegen version constraint from ^3.0.283 to ^2.10.1
tools/sdk-testgen/package-lock.json Removes 3.x codegen and its exclusive transitive deps; consolidates 2.10.1 packages at the top level; updates js-yaml minor patch versions; hoists retry to top level
Files not reviewed (1)
  • tools/sdk-testgen/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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants