Skip to content

fix: replace old config schemas for extensions and blueprints#33913

Merged
Rugvip merged 1 commit intobackstage:masterfrom
drodil:config_schemas
Apr 15, 2026
Merged

fix: replace old config schemas for extensions and blueprints#33913
Rugvip merged 1 commit intobackstage:masterfrom
drodil:config_schemas

Conversation

@drodil
Copy link
Copy Markdown
Contributor

@drodil drodil commented Apr 15, 2026

Hey, I just made a Pull Request!

to overcome a lot of warnings given during for example testing where these extensions are used.

✔️ 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)
  • All your commits have a Signed-off-by line in the message. (more info)

Copilot AI review requested due to automatic review settings April 15, 2026 07:55
@drodil drodil requested review from a team, awanlin and backstage-service as code owners April 15, 2026 07:55
@github-actions github-actions Bot added area:catalog Related to the Catalog Project Area area:techdocs Related to the TechDocs Project Area area:kubernetes Related to the Kubernetes Project Area - not deploying Backstage with k8s. area:scaffolder Everything and all things related to the scaffolder project area area:home area:search labels Apr 15, 2026
@backstage-goalie
Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage/frontend-plugin-api packages/frontend-plugin-api patch v0.16.0
@backstage/plugin-app plugins/app patch v0.4.3
@backstage/plugin-catalog-graph plugins/catalog-graph patch v0.6.1
@backstage/plugin-catalog-react plugins/catalog-react patch v2.1.2
@backstage/plugin-catalog plugins/catalog patch v2.0.2
@backstage/plugin-org plugins/org patch v0.7.1
@backstage/plugin-search-react plugins/search-react patch v1.11.1
@backstage/plugin-search plugins/search patch v1.7.1
@backstage/plugin-techdocs plugins/techdocs patch v1.17.3

@backstage-goalie backstage-goalie Bot added size:medium Medium-sized pull requests receive no change in priority for reviews. waiting-for:review The PR needs a review and will be visible in the review queue unless already assigned an owner. labels Apr 15, 2026
Copy link
Copy Markdown
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 migrates multiple frontend extensions/blueprints from the deprecated config.schema format to the newer configSchema format in order to eliminate deprecation warnings (e.g. during tests) and updates generated API reports accordingly.

Changes:

  • Replace deprecated config.schema definitions with configSchema across several plugins and @backstage/frontend-plugin-api blueprints.
  • Add/align zod dependencies where new schema definitions require it.
  • Regenerate/update API report files to reflect the new config typings.

Reviewed changes

Copilot reviewed 44 out of 45 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
yarn.lock Updates lockfile metadata to reflect added zod dependency usage.
plugins/user-settings/report-alpha.api.md API report update reflecting new config typing for extensions.
plugins/techdocs/src/alpha/index.tsx Migrates extension config to configSchema.
plugins/techdocs/report-alpha.api.md API report update reflecting new config typing/order.
plugins/techdocs/package.json Adds zod dependency for new schema usage.
plugins/search/src/alpha.tsx Migrates page config to configSchema.
plugins/search/report-alpha.api.md API report update reflecting new config typing/order.
plugins/search/package.json Adds zod dependency for new schema usage.
plugins/search-react/src/alpha/blueprints/SearchResultListItemBlueprint.tsx Migrates blueprint config to configSchema.
plugins/search-react/package.json Adds zod dependency for new schema usage.
plugins/scaffolder/report-alpha.api.md API report update reflecting new config typing/order.
plugins/org/src/alpha.tsx Migrates card configs to configSchema.
plugins/org/report-alpha.api.md API report update reflecting new config typing/order.
plugins/org/package.json Adds zod dependency for new schema usage.
plugins/notifications/report-alpha.api.md API report update reflecting new config typing/order.
plugins/mui-to-bui/report.api.md API report update reflecting new config typing/order.
plugins/kubernetes/report-alpha.api.md API report update reflecting new config typing/order.
plugins/home/report-alpha.api.md API report update reflecting new config typing for nav-item config.
plugins/devtools/report-alpha.api.md API report update reflecting new config typing for nav-item config.
plugins/catalog/src/alpha/pages.tsx Migrates page configs to configSchema.
plugins/catalog/src/alpha/filters.tsx Migrates filter configs to configSchema.
plugins/catalog/report-alpha.api.md API report update reflecting new config typing/order.
plugins/catalog/package.json Adds zod dependency for new schema usage.
plugins/catalog-unprocessed-entities/report-alpha.api.md API report update reflecting new nav-item config typing.
plugins/catalog-react/src/alpha/blueprints/EntityIconLinkBlueprint.tsx Migrates blueprint config to configSchema and updates predicate schema helper.
plugins/catalog-react/src/alpha/blueprints/EntityHeaderBlueprint.tsx Migrates blueprint config to configSchema and updates predicate schema helper.
plugins/catalog-react/src/alpha/blueprints/EntityContextMenuItemBlueprint.tsx Migrates blueprint config to configSchema and updates predicate schema helper.
plugins/catalog-react/src/alpha/blueprints/EntityContentLayoutBlueprint.tsx Migrates blueprint config to configSchema and updates predicate schema helper.
plugins/catalog-react/report-alpha.api.md API report update reflecting new config typing/order.
plugins/catalog-import/report-alpha.api.md API report update reflecting new config typing/order.
plugins/catalog-graph/src/alpha.tsx Migrates page/card configs to configSchema.
plugins/catalog-graph/report-alpha.api.md API report update reflecting new config typing/order.
plugins/catalog-graph/package.json Adds zod dependency for new schema usage.
plugins/auth/report.api.md API report update reflecting new config typing/order.
plugins/app/src/extensions/elements.tsx Migrates app root element config to configSchema.
plugins/app/src/extensions/AppRoutes.tsx Migrates routes extension config to configSchema.
plugins/app/report.api.md API report update reflecting new config typing/order.
plugins/app-visualizer/report.api.md API report update reflecting new nav-item config typing.
plugins/api-docs/report-alpha.api.md API report update reflecting new nav-item config typing.
packages/frontend-plugin-api/src/blueprints/SubPageBlueprint.tsx Migrates blueprint config to configSchema.
packages/frontend-plugin-api/src/blueprints/PageBlueprint.tsx Migrates blueprint config to configSchema.
packages/frontend-plugin-api/src/blueprints/NavItemBlueprint.ts Migrates blueprint config to configSchema.
packages/frontend-plugin-api/report.api.md API report update reflecting new blueprint config typing.
packages/app-example-plugin/report.api.md API report update reflecting new config typing/order.
.changeset/shy-ways-lay.md Changeset documenting patch releases for affected packages.

Comment thread plugins/app/src/extensions/elements.tsx Outdated
Comment thread packages/frontend-plugin-api/src/blueprints/PageBlueprint.tsx Outdated
Comment thread packages/frontend-plugin-api/src/blueprints/NavItemBlueprint.ts Outdated
Comment thread plugins/catalog/src/alpha/pages.tsx Outdated
Comment thread plugins/catalog-graph/src/alpha.tsx Outdated
Comment thread plugins/techdocs/src/alpha/index.tsx Outdated
Comment thread plugins/search/src/alpha.tsx Outdated
Comment thread plugins/search-react/src/alpha/blueprints/SearchResultListItemBlueprint.tsx Outdated
Comment thread plugins/org/src/alpha.tsx Outdated
Comment thread plugins/catalog/src/alpha/filters.tsx Outdated
Copy link
Copy Markdown
Member

@Rugvip Rugvip left a comment

Choose a reason for hiding this comment

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

Ah yes ofc, wanna add a .patches entry as well?

to overcome a lot of warnings given during for example testing where
these extensions are used.

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
Copilot AI review requested due to automatic review settings April 15, 2026 09:55
@drodil drodil requested a review from a team as a code owner April 15, 2026 09:55
Copy link
Copy Markdown
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

Copilot reviewed 46 out of 47 changed files in this pull request and generated no new comments.

@drodil
Copy link
Copy Markdown
Contributor Author

drodil commented Apr 15, 2026

Yep, added that

@Rugvip Rugvip merged commit ba9717c into backstage:master Apr 15, 2026
29 of 34 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Thank you for contributing to Backstage! The changes in this pull request will be part of the 1.51.0 release, scheduled for Tue, 19 May 2026.

backstage-service pushed a commit that referenced this pull request Apr 15, 2026
Signed-off-by: Github patch release workflow <noreply@backstage.io>
Rugvip added a commit that referenced this pull request Apr 16, 2026
All four patches (#33908, #33913, #33914, #33918) have been
cherry-picked to the patch-release branch and included in the
open patch release PR #33946.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Rugvip added a commit that referenced this pull request Apr 16, 2026
The patches for PRs #33913, #33914, and #33918 were included in
the v1.50.1 release and no longer need to be tracked.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Rugvip added a commit that referenced this pull request Apr 16, 2026
The patches for PRs #33913, #33914, and #33918 were included in
the v1.50.1 release and no longer need to be tracked.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
22367rh pushed a commit to 22367rh/backstage that referenced this pull request Apr 17, 2026
The patches for PRs backstage#33913, backstage#33914, and backstage#33918 were included in
the v1.50.1 release and no longer need to be tracked.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Robin Hilton <22367rh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:catalog Related to the Catalog Project Area area:home area:kubernetes Related to the Kubernetes Project Area - not deploying Backstage with k8s. area:scaffolder Everything and all things related to the scaffolder project area area:search area:techdocs Related to the TechDocs Project Area size:medium Medium-sized pull requests receive no change in priority for reviews. waiting-for:review The PR needs a review and will be visible in the review queue unless already assigned an owner.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants