Backstage
v1.48.0CI/CD & App Deliveryv1.48.0では、既存のカタログ、プラグイン、アプリの実装に関わるAPIや設定、拡張ポイントの扱いが変わっています。該当する実装を持つ運用者やプラグイン作者には、インポートパスや型、prop、既定動作の確認が必要なリリースです。
影響確認 (7)
breakingカタログ拡張ポイントの安定版エクスポートへの移行
カタログにカスタムプロセッサーまたはエンティティープロバイダーを提供している場合に該当します。
カタログにカスタムプロセッサーやエンティティープロバイダーを追加する場合、いくつかの拡張ポイントがアルファ版から安定版のエクスポートへ移行しました。たとえば
catalogProcessingExtensionPointは@backstage/plugin-catalog-node/alphaから読み込むのではなく、/alphaを外したパスから読み込む形になります。breaking
CatalogApiとErrorApiのAPIオーバーライド拒否CatalogApiまたはErrorApiのAPIオーバーライドを使用している場合に該当します。CatalogApiまたはErrorApiのAPIオーバーライドは、1.47では警告でしたが、このリリースからエラーとして拒否されます。breaking
auth.の削除experimentalDynamicClientRegistration. tokenExpiration auth.を使用している場合に該当します。experimentalDynamicClientRegistration. tokenExpiration auth.が削除されました。experimentalDynamicClientRegistration. tokenExpiration breaking
EntityCardBlueprintのsummary型削除EntityCardBlueprintでsummary型を使用している場合に該当します。EntityCardBlueprintからsummary型が削除されました。breaking複数拡張ポイントのサポート削除
複数の拡張ポイントを使用している場合に該当します。
複数の拡張ポイントに対するサポートが削除されました。
breakingmodule federation の既定有効化
@backstage/cliでアプリをビルドしている場合に該当します。@backstage/cliでビルドしたアプリでは、追加のオーバーヘッドなしで module federation が既定で有効になります。breaking
EXPERIMENTAL_MODULE_FEDERATIONフラグの削除EXPERIMENTAL_MODULE_FEDERATIONフラグを使用している場合に該当します。EXPERIMENTAL_MODULE_FEDERATIONフラグが削除されました。
事前準備 (2)
deprecated
IconComponent型の非推奨化コードで
IconComponent型を使用している場合に該当します。既存の
IconComponent型は非推奨となり、要素ベースのIconElementに置き換えられます。deprecated
itemsprop の非推奨化コードで
itemsprop を使用している場合に該当します。itemsprop は非推奨となり、新しいnavItemsprop が後継として導入されました。
その他の記録済み変更 15 件すべてadditions 13 · constraints 1 · value changes 1
additions (13)
- This can be enabled in the
auth-backendplugin by using theauth.flag in config.experimentalClientIdMetadataDocuments. enabled - Clients can now request the
offline_accessscope to receive refresh tokens whenauth.is setexperimentalRefreshToken. enabled - Both
@backstage/frontend-test-utilsand@backstage/backend-test-utilsnow export utilities for creating service and API mocks,createServiceMockandcreateApiMock. - Plugins now have optional titles and icons in the new frontend system.
- This comes in the form of an updated
PageBlueprintthat now supports sub-page navigation using a newSubPageBlueprint. - This also introduces the new plugin-wide
PluginHeader - Added support for the New Frontend system to the Home plugin.
- Extracted predicate types from
@backstage/plugin-catalog-react/alphainto a standalone package for general reuse. - New
Alertcomponent with support for status variants, icons, loading states, and custom actions. - New
FullPagecomponent that fills the remaining viewport height below thePluginHeader. - Added a
destructiveprop to the Button component for dangerous actions like delete or remove, working with all button variants. - The
useTablehook now accepts a directdataprop for mode"complete"instead of requiringgetData() - There’s a new experimental
catalogScmEventsServiceRefin town.
constraints (1)
- Added
connection.in the database client config for Microsoft Entra authentication with Azure Database for PostgreSQL.type: azure
value changes (1)
- The testing utilities for the new frontend system have gotten an overhaul in this release, with all new features documented in the [plugin testing section](https://backstage.io/docs/frontend-system/building-plugins/testing).
対応が必要なリリースが出たときに、週次メールでお知らせします。 今回の破壊的変更も、その一例です。