chore(deps): update dependency @backstage/frontend-plugin-api to ^0.14.0 || ^0.15.0#34
Merged
Merged
Conversation
c52792f to
4f1bbd4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.14.0→^0.14.0 || ^0.15.0Release Notes
backstage/backstage (@backstage/frontend-plugin-api)
v0.15.1Compare Source
v0.15.0Compare Source
Minor Changes
5fd78ba: RenamedPluginOptionstoCreateFrontendPluginOptionsand deprecated the old name. RemovedResolvedExtensionInputsfrom the main entry point; it is still available as an inline type in extension factory signatures.72991a5: Removed theResolvedExtensionInputandExtensionDataRefToValuehelper types from the public API surface to reduce top-level API clutter. These types were internal plumbing that are not needed by plugin authors. If you were relying onResolvedExtensionInput, use theResolvedExtensionInputstype instead, which maps a full set of inputs. If you were usingExtensionDataRefToValue, replace it withExtensionDataValuecombined with inferred types from yourExtensionDataRef.9508514: BREAKING: PromotedPluginWrapperApi,pluginWrapperApiRef,PluginWrapperBlueprint, and the newPluginWrapperDefinitiontype from@alphato@public. These are now available from the main package entry point rather than only through/alpha.The
PluginWrapperApitype now has a requiredgetRootWrapper()method that returns a root wrapper component. ThepluginWrapperApiRefID changed fromcore.plugin-wrapper.alphatocore.plugin-wrapper.The
PluginWrapperBlueprintnow acceptsPluginWrapperDefinitionas the loader return type, which supports an optionaluseWrapperValuehook that allows sharing state between wrapper instances.6573901: BREAKING: Removed the deprecatedAnyExtensionDataReftype. UseExtensionDataRefwithout type parameters instead.a9440f0: BREAKING: Simplified theExtensionAttachTotype to only support a single attachment target. The array form for attaching to multiple extension points has been removed. Also removed the deprecatedExtensionAttachToSpectype alias.Patch Changes
e26e3de: Theiconfield onAuthProviderInfonow acceptsIconElementin addition toIconComponent, letting you pass<MyIcon />instead ofMyIcon.eea95b8: DeprecatedAlertApiin favor of the newToastApi.AlertApiis now deprecated and will be removed in a future release. Please migrate toToastApiwhich provides richer notification features.Why migrate?
ToastApioffers enhanced capabilities overAlertApi:close()handle returned frompost()Migration Guide
message: stringtitle: ReactNodeseverity: 'error'status: 'danger'severity: 'success' | 'info' | 'warning'status: 'success' | 'info' | 'warning'display: 'transient'timeout: 5000(or custom ms)display: 'permanent'timeoutpost()returnsvoidpost()returns{ close(): void }Example Migration
Note: During the migration period, both APIs work simultaneously. The
ToastDisplaycomponent subscribes to bothAlertApiandToastApi, so existing code continues to work while you migrate incrementally.8a3a906: DeprecatedNavItemBlueprint. Nav items are now automatically inferred fromPageBlueprintextensions based on theirtitleandiconparams.b15a685: DeprecatedwithApis, use thewithApisexport from@backstage/core-compat-apiinstead.0452d02: Add optionaldescriptionfield to plugin-level feature flags.1bec049: Fixed inconsistentJSX.Elementtype reference in theDialogApiDialog.updatemethod signature.9c81af9: Made thepluginIdproperty optional in theFrontendFeaturetype, allowing plugins published against older versions of the framework to be used without type errors.2c383b5: DeprecatedAnalyticsImplementationBlueprintandAnalyticsImplementationFactoryin favor of the exports from@backstage/plugin-app-react.dab6c46: Deprecated theExtensionFactoryMiddlewaretype, which has been moved to@backstage/frontend-app-api.aa29b50: Pages created withPageBlueprintnow render the plugin header by default in the new frontend system.3f36ce1: Clarified theIconElementsizing contract for the new frontend system and aligned legacy system icon rendering with the new icon API.cc459f7: Added a builder form forcreateApiRefin the new frontend system and deprecated the directcreateApiRef({ ... })call in favor ofcreateApiRef().with({ ... }). The builder form now also preserves literal API ref IDs in the resultingApiReftype.The
createApiRef().with({ ... })form can also use an explicitpluginIdto declare API ownership without encoding the plugin ID into the API ref ID, while keeping that metadata internal to runtime handling.5b160f9: Added support forifpredicates oncreateFrontendPluginandcreateFrontendModule, applying shared conditions to every extension in the feature. Plugin and extension overrides can now also replace or remove existingifpredicates.d0206c4: Removed the deprecateddefaultPathmigration helper fromPageBlueprintparams.edb872c: Renamed thePageTabtype toPageLayoutTab. The oldPageTabname is now a deprecated type alias.a49a40d: Updated dependencyzodto^3.25.76 || ^4.0.0& migrated to/v3or/v4imports.7e743f4: Introduced a newToastApifor displaying rich toast notifications in the new frontend system.The new
ToastApiprovides enhanced notification capabilities compared to the existingAlertApi:close()handle returned frompost()Usage:
The
ToastDisplaycomponent subscribes to bothToastApiandAlertApi, providing a migration path where both systems work side by side untilAlertApiis fully deprecated.fe848e0: ChangeduseApiHolderto return an emptyApiHolderinstead of throwing when used outside of an API context.Updated dependencies
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.