Files
backstage/packages/frontend-plugin-api/CHANGELOG.md
T
github-actions[bot] 0e48f5a289 Version Packages
2024-04-16 12:20:53 +00:00

16 KiB

@backstage/frontend-plugin-api

0.6.4

Patch Changes

  • abfbcfc: Updated dependency @testing-library/react to ^15.0.0.
  • 35452b3: Fixed the type for useRouteRef, which wasn't handling optional external route refs correctly.
  • Updated dependencies

0.6.4-next.1

Patch Changes

  • 35452b3: Fixed the type for useRouteRef, which wasn't handling optional external route refs correctly.
  • Updated dependencies

0.6.4-next.0

Patch Changes

  • Updated dependencies

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.1-next.2

Patch Changes

  • Updated dependencies

0.6.1-next.1

Patch Changes

  • Updated dependencies

0.6.1-next.0

Patch Changes

  • Updated dependencies

0.6.0

Minor Changes

  • e586f79: BREAKING: Replace default plugin extension and plugin ids to be app instead of root.

Patch Changes

  • 7eae3e0: Added initial IconsApi definition.
  • f919be9: Added a utility API for VMware Cloud auth; the API ref is available in the @backstage/core-plugin-api and @backstage/frontend-plugin-api packages, the implementation is in @backstage/core-app-api and a factory has been added to @backstage/app-defaults.
  • 8fe56a8: Widen @types/react dependency range to include version 18.
  • bc621aa: Added RouteResolutionsApi as a replacement for the routing context.
  • 1e61ad3: App component extensions are no longer wrapped in an ExtensionBoundary, allowing them to inherit the outer context instead.
  • 46b63de: Allow external route refs in the new system to have a defaultTarget pointing to a route that it'll resolve to by default if no explicit bindings were made by the adopter.
  • Updated dependencies

0.6.0-next.3

Patch Changes

  • Updated dependencies

0.6.0-next.2

Patch Changes

  • f919be9: Added a utility API for VMware Cloud auth; the API ref is available in the @backstage/core-plugin-api and @backstage/frontend-plugin-api packages, the implementation is in @backstage/core-app-api and a factory has been added to @backstage/app-defaults.
  • 8fe56a8: Widen @types/react dependency range to include version 18.
  • Updated dependencies

0.6.0-next.1

Minor Changes

  • e586f79: BREAKING: Replace default plugin extension and plugin ids to be app instead of root.

Patch Changes

  • bc621aa: Added RouteResolutionsApi as a replacement for the routing context.
  • 1e61ad3: App component extensions are no longer wrapped in an ExtensionBoundary, allowing them to inherit the outer context instead.
  • 46b63de: Allow external route refs in the new system to have a defaultTarget pointing to a route that it'll resolve to by default if no explicit bindings were made by the adopter.
  • Updated dependencies

0.5.1-next.0

Patch Changes

0.5.0

Minor Changes

  • d4149bf: BREAKING: Renamed the app/router extension to app/root.

Patch Changes

  • b2d370e: Exposed createComponentRef, and ensured that produced refs and feature bits have a toString for easier debugging
  • 7d63b32: Accepts sub route refs on the new createPlugin routes map.
  • 516fd3e: Updated README to reflect release status
  • 4016f21: Remove some unused dependencies
  • c97fa1c: Added elements, wrappers, and router inputs to app/root, that let you add things to the root of the React tree above the layout. You can use the createAppRootElementExtension, createAppRootWrapperExtension, and createRouterExtension extension creator, respectively, to conveniently create such extensions. These are all optional, and if you do not supply a router a default one will be used (BrowserRouter in regular runs, MemoryRouter in tests/CI).
  • Updated dependencies

0.4.1-next.2

Patch Changes

  • 516fd3e: Updated README to reflect release status

0.4.1-next.1

Patch Changes

0.4.1-next.0

Patch Changes

0.4.0

Minor Changes

  • af7bc3e: Switched all core extensions to instead use the namespace 'app'.

  • 5cdf2b3: Changed Extension and ExtensionDefinition to use opaque types.

  • 8f5d6c1: Extension inputs are now wrapped into an additional object when passed to the extension factory, with the previous values being available at the output property. The ExtensionInputValues type has also been replaced by ResolvedExtensionInputs.

  • 8837a96: BREAKING: This version changes how extensions are created and how their IDs are determined. The createExtension function now accepts kind, namespace and name instead of id. All of the new options are optional, and are used to construct the final extension ID. By convention extension creators should set the kind to match their own name, for example createNavItemExtension sets the kind nav-item.

    The createExtension function as well as all extension creators now also return an ExtensionDefinition rather than an Extension, which in turn needs to be passed to createPlugin or createExtensionOverrides to be used.

  • f9ef632: Moved several extension data references from coreExtensionData to their respective extension creators.

  • a5a0473: The extension factory function now longer receives id or source, but instead now provides the extension's AppNode as node. The ExtensionBoundary component has also been updated to receive a node prop rather than id and source.

Patch Changes

  • a379243: Add the FrontendFeature type, which is the union of BackstagePlugin and ExtensionOverrides
  • b7adf24: Update alpha component ref type to be more specific than any, delete boot page component and use new plugin type for error boundary component extensions.
  • 5eb6b8a: Added the nav logo extension for customization of sidebar logo
  • 1f12fb7: Create factories for overriding default core components extensions.
  • 5970928: Add feature flags to plugins and extension overrides.
  • e539735: Added createSignInPageExtension.
  • 73246ec: Added translation APIs as well as createTranslationExtension.
  • cb4197a: Forward node`` instead of extensionId` to resolved extension inputs.
  • f27ee7d: Migrate analytics api and context files.
  • 0cbb03b: Fixing regular expression ReDoS with zod packages. Upgrading to latest. ref: https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617
  • f1183b7: Renamed the component option of createComponentExtension to loader.
  • Updated dependencies

0.4.0-next.3

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.13.9-next.3
    • @backstage/config@1.1.1
    • @backstage/core-plugin-api@1.8.1-next.1
    • @backstage/types@1.1.1
    • @backstage/version-bridge@1.0.7

0.4.0-next.2

Minor Changes

  • 8f5d6c1: Extension inputs are now wrapped into an additional object when passed to the extension factory, with the previous values being available at the output property. The ExtensionInputValues type has also been replaced by ResolvedExtensionInputs.

  • 8837a96: BREAKING: This version changes how extensions are created and how their IDs are determined. The createExtension function now accepts kind, namespace and name instead of id. All of the new options are optional, and are used to construct the final extension ID. By convention extension creators should set the kind to match their own name, for example createNavItemExtension sets the kind nav-item.

    The createExtension function as well as all extension creators now also return an ExtensionDefinition rather than an Extension, which in turn needs to be passed to createPlugin or createExtensionOverrides to be used.

Patch Changes

  • b7adf24: Update alpha component ref type to be more specific than any, delete boot page component and use new plugin type for error boundary component extensions.
  • 73246ec: Added translation APIs as well as createTranslationExtension.
  • cb4197a: Forward node`` instead of extensionId` to resolved extension inputs.
  • Updated dependencies
    • @backstage/config@1.1.1
    • @backstage/core-components@0.13.9-next.2
    • @backstage/core-plugin-api@1.8.1-next.1
    • @backstage/types@1.1.1
    • @backstage/version-bridge@1.0.7

0.4.0-next.1

Minor Changes

  • a5a04739e1: The extension factory function now longer receives id or source, but instead now provides the extension's AppNode as node. The ExtensionBoundary component has also been updated to receive a node prop rather than id and source.

Patch Changes

  • 5eb6b8a7bc: Added the nav logo extension for customization of sidebar logo
  • 1f12fb762c: Create factories for overriding default core components extensions.
  • 59709286b3: Add feature flags to plugins and extension overrides.
  • e539735435: Added createSignInPageExtension.
  • f27ee7d937: Migrate analytics api and context files.
  • Updated dependencies
    • @backstage/core-components@0.13.9-next.1
    • @backstage/core-plugin-api@1.8.1-next.1
    • @backstage/config@1.1.1
    • @backstage/types@1.1.1
    • @backstage/version-bridge@1.0.7

0.3.1-next.0

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.8.1-next.0
    • @backstage/core-components@0.13.9-next.0
    • @backstage/config@1.1.1
    • @backstage/types@1.1.1
    • @backstage/version-bridge@1.0.7

0.3.0

Minor Changes

  • 68fc9dc60e: Added RouteRef, SubRouteRef, ExternalRouteRef, and related types. All exports from this package that previously relied on the types with the same name from @backstage/core-plugin-api now use the new types instead. To convert and existing legacy route ref to be compatible with the APIs from this package, use the convertLegacyRouteRef utility from @backstage/core-plugin-api/alpha.
  • 77f009b35d: Extensions now return their output from the factory function rather than calling bind(...).

Patch Changes

  • 6c2b872153: Add official support for React 18.
  • 733bd95746: Add new AppTreeApi.
  • 6af88a05ff: Improve the extension boundary component and create a default extension suspense component.
  • Updated dependencies

0.3.0-next.2

Patch Changes

0.3.0-next.1

Minor Changes

  • 77f009b35d: Extensions now return their output from the factory function rather than calling bind(...).

Patch Changes

  • Updated dependencies

0.3.0-next.0

Minor Changes

  • 68fc9dc60e: Added RouteRef, SubRouteRef, ExternalRouteRef, and related types. All exports from this package that previously relied on the types with the same name from @backstage/core-plugin-api now use the new types instead. To convert and existing legacy route ref to be compatible with the APIs from this package, use the convertLegacyRouteRef utility from @backstage/core-plugin-api/alpha.

Patch Changes

  • 6c2b872153: Add official support for React 18.
  • 6af88a05ff: Improve the extension boundary component and create a default extension suspense component.
  • Updated dependencies

0.2.0

Minor Changes

  • 06432f900c: Extension attachment point is now configured via attachTo: { id, input } instead of at: 'id/input'.
  • 4461d87d5a: Removed support for the new useRouteRef.

Patch Changes

  • d3a37f55c0: Add support for SidebarGroup on the sidebar item extension.
  • 2ecd33618a: Plugins can now be assigned routes and externalRoutes when created.
  • 9a1fce352e: Updated dependency @testing-library/jest-dom to ^6.0.0.
  • c1e9ca6500: Added createExtensionOverrides which can be used to install a collection of extensions in an app that will replace any existing ones.
  • 52366db5b3: Added createThemeExtension and coreExtensionData.theme.
  • Updated dependencies
    • @backstage/core-plugin-api@1.7.0
    • @backstage/types@1.1.1

0.2.0-next.2

Minor Changes

  • 06432f900c: Extension attachment point is now configured via attachTo: { id, input } instead of at: 'id/input'.
  • 4461d87d5a: Removed support for the new useRouteRef.

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.7.0-next.1
    • @backstage/types@1.1.1

0.1.1-next.1

Patch Changes

  • d3a37f55c0: Add support for SidebarGroup on the sidebar item extension.
  • 52366db5b3: Added createThemeExtension and coreExtensionData.theme.
  • Updated dependencies
    • @backstage/core-plugin-api@1.7.0-next.0
    • @backstage/types@1.1.1

0.1.1-next.0

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.7.0-next.0
    • @backstage/types@1.1.1

0.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.6.0
    • @backstage/types@1.1.1

0.1.0-next.0

Minor Changes

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.6.0-next.3
    • @backstage/types@1.1.1-next.0

0.0.1-next.0

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@1.6.0-next.2
    • @backstage/types@1.1.0