chore(bulk-import): bump Backstage dependencies to 1.52.0#3896
chore(bulk-import): bump Backstage dependencies to 1.52.0#3896lokanandaprabhu wants to merge 2 commits into
Conversation
Upgrade all @backstage/* packages to the versions shipped with Backstage 1.52.0. Includes regression fixes: - Migrate NavItemBlueprint → PageBlueprint icon/title params (NavItemBlueprint removed in frontend-plugin-api 0.17.0) - Migrate Sidebar from deprecated `items` to `navItems` API - Move catalogServiceRef import from /alpha to main entry point (moved in plugin-catalog-node 2.2.x) - Replace catalogServiceRef with CatalogClient in plugin init (CatalogService type is incompatible with CatalogApi) - Update resolutions in package.json to match 1.52.0 versions - Regenerate API reports Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3896 +/- ##
=======================================
Coverage 56.59% 56.59%
=======================================
Files 2372 2372
Lines 95021 95021
Branches 26591 26576 -15
=======================================
Hits 53777 53777
Misses 39700 39700
Partials 1544 1544
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
11 rules✅ Cross-repo context Explored:
repo: redhat-developer/rhdh (sha: 5992bddd) Explored:
repo: redhat-developer/rhdh-local (sha: 48b26cbd) Not relevant to this PR:
redhat-developer/rhdh-chart Not relevant to this PR:
redhat-developer/rhdh-operator 1.
|
PR Summary by Qodochore(bulk-import): bump Backstage dependencies to 1.52.0
AI Description
Diagram
High-Level Assessment
Files changed (14)
|
The new catalogServiceRef returns DefaultCatalogService which requires credentials-based options, incompatible with the existing CatalogApi token-based call sites. Override the default factory in the backend to return a CatalogClient instead, keeping tests working via their existing mock injection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|



Summary
@backstage/*packages to Backstage 1.52.0 versionsresolutionsin workspacepackage.jsonto match 1.52.0 package versions (was pinned to pre-1.52.0 versions, blocking correct resolution)Regression fixes included
NavItemBlueprinttoPageBlueprinticon/titleparams (NavItemBlueprintremoved in@backstage/frontend-plugin-api@0.17.0)itemsprop tonavItemsAPI inNavContentBlueprint@backstage/plugin-catalog-node/alphato@backstage/plugin-catalog-node(moved in 2.2.x)catalogServiceRefdependency with directCatalogClientinstantiation in plugin init, since the newCatalogServicetype requirescredentialsinstead oftokenand is incompatible with the existingCatalogApi-based code@backstage/catalog-clientmoved fromdevDependenciestodependenciessince it's now used directly inplugin.tsreport-alpha.api.mdto reflect theNavItemBlueprintremovalTest plan
yarn tscpassesyarn start)🤖 Generated with Claude Code