Skip to content

Conversation

@heinzburgstaller
Copy link
Collaborator

Introduction

Upgrade

  • @backstage/plugin-scaffolder-node
  • @backstage/backend-plugin-api

@heinzburgstaller heinzburgstaller requested a review from a team as a code owner January 26, 2026 09:14
@heinzburgstaller heinzburgstaller changed the title Chore/upgrade deps chore: upgrade @backstage/backend-plugin-api and @backstage/plugin-scaffolder-node Jan 26, 2026
MrManny
MrManny previously approved these changes Jan 26, 2026
Copy link

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 pull request upgrades two Backstage dependencies: @backstage/backend-plugin-api from ^1.4.2 to 1.6.1 and adds @backstage/plugin-scaffolder-node at version 0.12.3 to the resolutions field.

Changes:

  • Upgraded @backstage/backend-plugin-api to version 1.6.1 in the backend package
  • Added @backstage/[email protected] to yarn resolutions
  • Updated yarn.lock with new package versions and their transitive dependencies

Reviewed changes

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

File Description
packages/backend/package.json Updated @backstage/backend-plugin-api version from ^1.4.2 to 1.6.1
package.json Added @backstage/[email protected] to resolutions field
yarn.lock Added new package versions including @backstage/[email protected], @backstage/[email protected], and related transitive dependencies

package.json Outdated
"elliptic": "6.6.1",
"qs": "^6.14.1"
"qs": "^6.14.1",
"@backstage/plugin-scaffolder-node": "0.12.3"
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Adding @backstage/plugin-scaffolder-node to the resolutions field forces version 0.12.3 across the entire monorepo. However, @backstage/[email protected] (used in packages/backend/package.json) depends on "^0.11.2". This resolution forces a minor version upgrade from 0.11.x to 0.12.3, which could introduce breaking changes. Verify that this forced upgrade is intentional and that @backstage/[email protected] is compatible with @backstage/[email protected], or consider upgrading @backstage/plugin-scaffolder-backend to a version that officially supports 0.12.x.

Suggested change
"@backstage/plugin-scaffolder-node": "0.12.3"
"@backstage/plugin-scaffolder-node": "0.11.2"

Copilot uses AI. Check for mistakes.
MrManny
MrManny previously approved these changes Jan 26, 2026
Copy link

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

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

package.json Outdated
Comment on lines 69 to 70
"@backstage/plugin-scaffolder-node": "0.12.3",
"@backstage/backend-plugin-api": "1.6.1"
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The addition of these resolutions with exact versions needs careful consideration. The resolution for @backstage/plugin-scaffolder-node to version 0.12.3 forces all transitive dependencies to use this exact version, but @backstage/plugin-scaffolder-backend@^2.2.0 (a direct dependency in packages/backend) requires ^0.11.2, which is a major version behind. While Yarn will force the resolution, this creates a potential incompatibility risk.

Similarly, @backstage/backend-plugin-api is being forced to 1.6.1, but @backstage/backend-tasks@^0.6.1 (a direct dependency) requires ^0.8.1. This is a breaking change from 0.x to 1.x and could introduce runtime issues.

Consider whether these packages should be upgraded in their direct dependencies first, or if the resolutions are intentionally forcing newer versions to address specific issues. If forcing versions is intentional (e.g., for security fixes), this should be documented and thoroughly tested.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <[email protected]>
@heinzburgstaller heinzburgstaller merged commit 2e26259 into main Jan 26, 2026
2 checks passed
@heinzburgstaller heinzburgstaller deleted the chore/upgrade-deps branch January 26, 2026 12:20
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.

4 participants