Skip to content

chore(extensions): update backstage version to 1.49.2 - #2672

Merged
ciiay merged 9 commits into
redhat-developer:mainfrom
ciiay:rhidp-12847-bump-backstage-version-extensions
Apr 23, 2026
Merged

chore(extensions): update backstage version to 1.49.2#2672
ciiay merged 9 commits into
redhat-developer:mainfrom
ciiay:rhidp-12847-bump-backstage-version-extensions

Conversation

@ciiay

@ciiay ciiay commented Apr 2, 2026

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

For RHIDP-12847

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app

rhdh-gh-app Bot commented Apr 2, 2026

Copy link
Copy Markdown

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app-legacy workspaces/extensions/packages/app-legacy none v0.0.0
app workspaces/extensions/packages/app none v0.0.0
backend workspaces/extensions/packages/backend none v0.0.0
@red-hat-developer-hub/extensions-cli workspaces/extensions/packages/cli minor v0.15.0
@red-hat-developer-hub/backstage-plugin-catalog-backend-module-extensions workspaces/extensions/plugins/catalog-backend-module-extensions minor v0.15.0
@red-hat-developer-hub/backstage-plugin-extensions-backend workspaces/extensions/plugins/extensions-backend minor v0.15.0
@red-hat-developer-hub/backstage-plugin-extensions-common workspaces/extensions/plugins/extensions-common minor v0.15.0
@red-hat-developer-hub/backstage-plugin-extensions workspaces/extensions/plugins/extensions minor v0.15.0

@rhdh-qodo-merge

Copy link
Copy Markdown

Review Summary by Qodo

Bump Backstage version to 1.49.2 across extensions workspace

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Update Backstage version from 1.45.2 to 1.49.2
• Bump all Backstage dependencies across extensions workspace
• Update CLI and tooling packages to latest compatible versions
• Add changeset documenting version bump for all extension packages
Diagram
flowchart LR
  A["Backstage v1.45.2"] -- "version bump" --> B["Backstage v1.49.2"]
  B -- "updates" --> C["CLI & Tooling"]
  B -- "updates" --> D["Frontend Packages"]
  B -- "updates" --> E["Backend Packages"]
  B -- "updates" --> F["Plugin Packages"]
  G["Changeset"] -- "documents" --> B
Loading

Grey Divider

File Changes

1. workspaces/extensions/.changeset/version-bump-1-49-2.md ⚙️ Configuration changes +9/-0

Add changeset for version bump to 1.49.2

workspaces/extensions/.changeset/version-bump-1-49-2.md


2. workspaces/extensions/backstage.json Dependencies +1/-1

Update Backstage version to 1.49.2

workspaces/extensions/backstage.json


3. workspaces/extensions/package.json Dependencies +3/-3

Update CLI and repo tools dependencies

workspaces/extensions/package.json


View more (8)
4. workspaces/extensions/packages/app-legacy/package.json Dependencies +25/-25

Update all Backstage frontend dependencies

workspaces/extensions/packages/app-legacy/package.json


5. workspaces/extensions/packages/app/package.json Dependencies +24/-24

Update Backstage frontend and plugin dependencies

workspaces/extensions/packages/app/package.json


6. workspaces/extensions/packages/backend/package.json Dependencies +24/-24

Update Backstage backend and plugin dependencies

workspaces/extensions/packages/backend/package.json


7. workspaces/extensions/packages/cli/package.json Dependencies +2/-2

Update CLI and catalog model dependencies

workspaces/extensions/packages/cli/package.json


8. workspaces/extensions/plugins/catalog-backend-module-extensions/package.json Dependencies +9/-9

Update backend plugin API and catalog dependencies

workspaces/extensions/plugins/catalog-backend-module-extensions/package.json


9. workspaces/extensions/plugins/extensions-backend/package.json Dependencies +11/-11

Update backend defaults and plugin dependencies

workspaces/extensions/plugins/extensions-backend/package.json


10. workspaces/extensions/plugins/extensions-common/package.json Dependencies +8/-8

Update common plugin and backend dependencies

workspaces/extensions/plugins/extensions-common/package.json


11. workspaces/extensions/plugins/extensions/package.json Dependencies +13/-13

Update frontend plugin and UI dependencies

workspaces/extensions/plugins/extensions/package.json


Grey Divider

Qodo Logo

@rhdh-qodo-merge

rhdh-qodo-merge Bot commented Apr 2, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX Issues (0)

Grey Divider


Action required

1. Two catalog plugin majors 🐞 Bug ≡ Correctness
Description
app-legacy now depends on @backstage/plugin-catalog ^2.0.1 while also using
@backstage-community/plugin-rbac ^1.45.0, which depends on @backstage/plugin-catalog
^1.31.2, resulting in both @backstage/plugin-catalog@1.33.1 and
@backstage/plugin-catalog@2.0.1 being installed. Multiple copies of a Backstage plugin package
break singleton identities (e.g., RouteRefs/plugin instances), which can cause RBAC UI
navigation/linking to catalog routes to malfunction at runtime.
Code

workspaces/extensions/packages/app-legacy/package.json[R22-35]

    "@backstage-community/plugin-rbac": "^1.45.0",
-    "@backstage/app-defaults": "^1.7.2",
-    "@backstage/catalog-model": "^1.7.6",
-    "@backstage/cli": "^0.34.5",
-    "@backstage/core-app-api": "^1.19.2",
-    "@backstage/core-components": "^0.18.3",
-    "@backstage/core-plugin-api": "^1.12.0",
-    "@backstage/integration-react": "^1.2.12",
-    "@backstage/plugin-api-docs": "^0.13.1",
-    "@backstage/plugin-catalog": "^1.32.0",
-    "@backstage/plugin-catalog-common": "^1.1.7",
-    "@backstage/plugin-catalog-graph": "^0.5.3",
-    "@backstage/plugin-catalog-import": "^0.13.7",
-    "@backstage/plugin-catalog-react": "^1.21.3",
-    "@backstage/plugin-kubernetes": "^0.12.13",
-    "@backstage/plugin-org": "^0.6.46",
-    "@backstage/plugin-permission-react": "^0.4.38",
-    "@backstage/plugin-scaffolder": "^1.34.3",
-    "@backstage/plugin-search": "^1.5.0",
-    "@backstage/plugin-search-react": "^1.10.0",
-    "@backstage/plugin-techdocs": "^1.16.0",
-    "@backstage/plugin-techdocs-module-addons-contrib": "^1.1.30",
-    "@backstage/plugin-techdocs-react": "^1.3.5",
-    "@backstage/plugin-user-settings": "^0.8.29",
-    "@backstage/theme": "^0.7.0",
-    "@backstage/ui": "^0.9.1",
+    "@backstage/app-defaults": "^1.7.6",
+    "@backstage/catalog-model": "^1.7.7",
+    "@backstage/cli": "^0.36.0",
+    "@backstage/core-app-api": "^1.19.6",
+    "@backstage/core-components": "^0.18.8",
+    "@backstage/core-plugin-api": "^1.12.4",
+    "@backstage/integration-react": "^1.2.16",
+    "@backstage/plugin-api-docs": "^0.13.5",
+    "@backstage/plugin-catalog": "^2.0.1",
+    "@backstage/plugin-catalog-common": "^1.1.8",
+    "@backstage/plugin-catalog-graph": "^0.6.0",
+    "@backstage/plugin-catalog-import": "^0.13.11",
+    "@backstage/plugin-catalog-react": "^2.1.0",
Evidence
The PR bumps app-legacy to @backstage/plugin-catalog@^2.0.1 while keeping
@backstage-community/plugin-rbac@^1.45.0. In the resolved dependency graph, RBAC still brings in
@backstage/plugin-catalog@^1.31.2 and the lockfile contains both catalog plugin major versions,
confirming the duplication.

workspaces/extensions/packages/app-legacy/package.json[21-37]
workspaces/extensions/packages/app-legacy/src/App.tsx[17-32]
workspaces/extensions/yarn.lock[1442-1454]
workspaces/extensions/yarn.lock[3238-3287]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`app-legacy` was upgraded to `@backstage/plugin-catalog@^2`, but `@backstage-community/plugin-rbac@^1.45.0` still pulls `@backstage/plugin-catalog@^1.x`, leading to two installed majors of `@backstage/plugin-catalog`.

### Issue Context
Backstage plugin packages rely on singleton identities (RouteRefs/plugin instances). Installing two majors of the same plugin package commonly results in route bindings and navigation using different singleton instances.

### Fix Focus Areas
- workspaces/extensions/packages/app-legacy/package.json[21-37]
- workspaces/extensions/yarn.lock[1442-1454]
- workspaces/extensions/yarn.lock[3238-3287]

### What to change
- Upgrade `@backstage-community/plugin-rbac` to a version compatible with `@backstage/plugin-catalog@^2` (i.e., whose dependency/peerDependency range no longer pulls `@backstage/plugin-catalog@^1`).
- Re-run the workspace install to update `workspaces/extensions/yarn.lock`, and verify it no longer contains a separate `@backstage/plugin-catalog@npm:^1.x` entry.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

Comment on lines +22 to +35
"@backstage-community/plugin-rbac": "^1.45.0",
"@backstage/app-defaults": "^1.7.2",
"@backstage/catalog-model": "^1.7.6",
"@backstage/cli": "^0.34.5",
"@backstage/core-app-api": "^1.19.2",
"@backstage/core-components": "^0.18.3",
"@backstage/core-plugin-api": "^1.12.0",
"@backstage/integration-react": "^1.2.12",
"@backstage/plugin-api-docs": "^0.13.1",
"@backstage/plugin-catalog": "^1.32.0",
"@backstage/plugin-catalog-common": "^1.1.7",
"@backstage/plugin-catalog-graph": "^0.5.3",
"@backstage/plugin-catalog-import": "^0.13.7",
"@backstage/plugin-catalog-react": "^1.21.3",
"@backstage/plugin-kubernetes": "^0.12.13",
"@backstage/plugin-org": "^0.6.46",
"@backstage/plugin-permission-react": "^0.4.38",
"@backstage/plugin-scaffolder": "^1.34.3",
"@backstage/plugin-search": "^1.5.0",
"@backstage/plugin-search-react": "^1.10.0",
"@backstage/plugin-techdocs": "^1.16.0",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.30",
"@backstage/plugin-techdocs-react": "^1.3.5",
"@backstage/plugin-user-settings": "^0.8.29",
"@backstage/theme": "^0.7.0",
"@backstage/ui": "^0.9.1",
"@backstage/app-defaults": "^1.7.6",
"@backstage/catalog-model": "^1.7.7",
"@backstage/cli": "^0.36.0",
"@backstage/core-app-api": "^1.19.6",
"@backstage/core-components": "^0.18.8",
"@backstage/core-plugin-api": "^1.12.4",
"@backstage/integration-react": "^1.2.16",
"@backstage/plugin-api-docs": "^0.13.5",
"@backstage/plugin-catalog": "^2.0.1",
"@backstage/plugin-catalog-common": "^1.1.8",
"@backstage/plugin-catalog-graph": "^0.6.0",
"@backstage/plugin-catalog-import": "^0.13.11",
"@backstage/plugin-catalog-react": "^2.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Action required

1. Two catalog plugin majors 🐞 Bug ≡ Correctness

app-legacy now depends on @backstage/plugin-catalog ^2.0.1 while also using
@backstage-community/plugin-rbac ^1.45.0, which depends on @backstage/plugin-catalog
^1.31.2, resulting in both @backstage/plugin-catalog@1.33.1 and
@backstage/plugin-catalog@2.0.1 being installed. Multiple copies of a Backstage plugin package
break singleton identities (e.g., RouteRefs/plugin instances), which can cause RBAC UI
navigation/linking to catalog routes to malfunction at runtime.
Agent Prompt
### Issue description
`app-legacy` was upgraded to `@backstage/plugin-catalog@^2`, but `@backstage-community/plugin-rbac@^1.45.0` still pulls `@backstage/plugin-catalog@^1.x`, leading to two installed majors of `@backstage/plugin-catalog`.

### Issue Context
Backstage plugin packages rely on singleton identities (RouteRefs/plugin instances). Installing two majors of the same plugin package commonly results in route bindings and navigation using different singleton instances.

### Fix Focus Areas
- workspaces/extensions/packages/app-legacy/package.json[21-37]
- workspaces/extensions/yarn.lock[1442-1454]
- workspaces/extensions/yarn.lock[3238-3287]

### What to change
- Upgrade `@backstage-community/plugin-rbac` to a version compatible with `@backstage/plugin-catalog@^2` (i.e., whose dependency/peerDependency range no longer pulls `@backstage/plugin-catalog@^1`).
- Re-run the workspace install to update `workspaces/extensions/yarn.lock`, and verify it no longer contains a separate `@backstage/plugin-catalog@npm:^1.x` entry.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@ciiay
ciiay force-pushed the rhidp-12847-bump-backstage-version-extensions branch from 31961e3 to b60d850 Compare April 2, 2026 15:26
Comment thread workspaces/extensions/packages/app/src/modules/nav/index.ts Outdated
Comment thread workspaces/extensions/packages/app/src/modules/nav/Sidebar.tsx Outdated
Comment thread workspaces/extensions/packages/app/src/modules/signIn/index.ts Outdated

@christoph-jerolimov christoph-jerolimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What @debsmita1 says. Please revert also every new : any code and this AnyQueryResult and AnyMutationResult

Comment thread workspaces/extensions/plugins/extensions/src/alpha/apis.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/apis.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/hooks/useCollection.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/hooks/useCollectionPlugins.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/hooks/useCollections.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/hooks/useEnablePlugin.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/hooks/useExtensionsConfiguration.ts Outdated

@debsmita1 debsmita1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ciiay Please check all the places where you had to change the types to get rid of the TS errors. If removing the types still results in errors even after updating the TS version, then please go ahead and create a bug so we can revisit it later and merge this PR for now.

@ciiay
ciiay enabled auto-merge (squash) April 16, 2026 02:06
@ciiay
ciiay requested a review from debsmita1 April 16, 2026 02:07

@christoph-jerolimov christoph-jerolimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @ciiay, thanks, I still see some left overs from the initial change.

@ciiay @debsmita1, I see also plugin code changes that requires a deeper testing, its feels like a bit more than "just" a version bump, which is maybe needed, but requires manual testing imo.

Comment thread workspaces/extensions/packages/app/src/modules/nav/index.ts Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/alpha/index.tsx Outdated
Comment thread workspaces/extensions/plugins/extensions/src/api/index.ts Outdated
ciiay added 8 commits April 20, 2026 23:11
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
@ciiay
ciiay force-pushed the rhidp-12847-bump-backstage-version-extensions branch from b9d2c24 to 11e19da Compare April 21, 2026 03:16
Signed-off-by: Yi Cai <yicai@redhat.com>
@sonarqubecloud

Copy link
Copy Markdown

@christoph-jerolimov christoph-jerolimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the cleanup. Change lgtm!

@christoph-jerolimov
christoph-jerolimov dismissed debsmita1’s stale review April 23, 2026 14:29

Debsmita and my change requests was almost similar, so I hope its fine if I dismiss this to merge it today. Debsmita, feel free to let Yi and me know if you find more issues.

@ciiay
ciiay merged commit 2820dc2 into redhat-developer:main Apr 23, 2026
13 checks passed
lokanandaprabhu pushed a commit to lokanandaprabhu/rhdh-plugins that referenced this pull request Apr 24, 2026
…er#2672)

* chore(extensions): update backstage version to 1.49.2

Signed-off-by: Yi Cai <yicai@redhat.com>

* resolved tsc erros

Signed-off-by: Yi Cai <yicai@redhat.com>

* fixed yarn build:api-reports issue

Signed-off-by: Yi Cai <yicai@redhat.com>

* fix failed e2e tests

Signed-off-by: Yi Cai <yicai@redhat.com>

* resolved a review comment

Signed-off-by: Yi Cai <yicai@redhat.com>

* addressed review comments

Signed-off-by: Yi Cai <yicai@redhat.com>

* reverted extra type changes

Signed-off-by: Yi Cai <yicai@redhat.com>

---------

Signed-off-by: Yi Cai <yicai@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants