diff --git a/workspaces/app-defaults/.changeset/app-react-config-schema.md b/workspaces/app-defaults/.changeset/app-react-config-schema.md deleted file mode 100644 index e797e0c2de9..00000000000 --- a/workspaces/app-defaults/.changeset/app-react-config-schema.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-app-react': patch ---- - -Migrate `AppDrawerContentBlueprint` to `configSchema` for Backstage `frontend-plugin-api@0.18.0` compatibility. diff --git a/workspaces/app-defaults/.changeset/common-icons-bundle.md b/workspaces/app-defaults/.changeset/common-icons-bundle.md deleted file mode 100644 index 0a196749cc0..00000000000 --- a/workspaces/app-defaults/.changeset/common-icons-bundle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-app-defaults': minor ---- - -Register the RHDH common icon catalog on `appDefaultsModule` via `IconBundleBlueprint`, so NFS apps get the same named icons as the legacy shell without wiring them in `packages/app-next`. diff --git a/workspaces/app-defaults/.changeset/graduate-nfs-exports.md b/workspaces/app-defaults/.changeset/graduate-nfs-exports.md deleted file mode 100644 index 63ec908eb9a..00000000000 --- a/workspaces/app-defaults/.changeset/graduate-nfs-exports.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-app-defaults': major -'@red-hat-developer-hub/backstage-plugin-app-auth': major -'@red-hat-developer-hub/backstage-plugin-app-integrations': major -'@red-hat-developer-hub/backstage-plugin-app-react': major ---- - -**BREAKING**: Graduate NFS exports from `/alpha` to the main entry point. - -- All public APIs previously available from `./alpha` are now exported from the - package root (`.`). Update imports: - - ```diff - -import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth/alpha'; - +import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth'; - - -import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations/alpha'; - +import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations'; - - -import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react/alpha'; - +import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react'; - - -import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults/alpha'; - +import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults'; - ``` - -- The `./alpha` subpath has been removed from `app-defaults` and `app-react`. - `app-auth` retains `./alpha` for translation exports (`signInTranslationRef`). - `app-integrations` retains `./alpha` with reduced exports (only - `mergeScmAuthFromDeps` and `ScmAuthFactoryDeps`; `appIntegrationsModule` - moved to the root entry). - -- **`@red-hat-developer-hub/backstage-plugin-app-react`**: `ApplicationDrawer` - and `DrawerPanel` value exports have been removed from the main entry point. - They are now only available from the new `./legacy` subpath. If you import - these components directly, update your imports: - - ```diff - -import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react'; - +import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react/legacy'; - ``` - - The `./legacy` subpath also re-exports `useAppDrawer` and associated types - for backward compatibility with OFS consumers. - -- `@red-hat-developer-hub/backstage-plugin-app-react` adds a new - `./app-drawer-module` subpath that default-exports `appDrawerModule` - (`pluginId: 'app'`) for Scalprum / module-federation dynamic loading. - -- All `pluginId: 'app'` modules are now re-exported as the default export from - their respective packages. diff --git a/workspaces/app-defaults/plugins/app-auth/CHANGELOG.md b/workspaces/app-defaults/plugins/app-auth/CHANGELOG.md index 4770c660486..97d0454b790 100644 --- a/workspaces/app-defaults/plugins/app-auth/CHANGELOG.md +++ b/workspaces/app-defaults/plugins/app-auth/CHANGELOG.md @@ -1,5 +1,54 @@ # @red-hat-developer-hub/backstage-plugin-app-auth +## 1.0.0 + +### Major Changes + +- 277f374: **BREAKING**: Graduate NFS exports from `/alpha` to the main entry point. + + - All public APIs previously available from `./alpha` are now exported from the + package root (`.`). Update imports: + + ```diff + -import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth/alpha'; + +import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth'; + + -import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations/alpha'; + +import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations'; + + -import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react/alpha'; + +import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react'; + + -import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults/alpha'; + +import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults'; + ``` + + - The `./alpha` subpath has been removed from `app-defaults` and `app-react`. + `app-auth` retains `./alpha` for translation exports (`signInTranslationRef`). + `app-integrations` retains `./alpha` with reduced exports (only + `mergeScmAuthFromDeps` and `ScmAuthFactoryDeps`; `appIntegrationsModule` + moved to the root entry). + + - **`@red-hat-developer-hub/backstage-plugin-app-react`**: `ApplicationDrawer` + and `DrawerPanel` value exports have been removed from the main entry point. + They are now only available from the new `./legacy` subpath. If you import + these components directly, update your imports: + + ```diff + -import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react'; + +import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react/legacy'; + ``` + + The `./legacy` subpath also re-exports `useAppDrawer` and associated types + for backward compatibility with OFS consumers. + + - `@red-hat-developer-hub/backstage-plugin-app-react` adds a new + `./app-drawer-module` subpath that default-exports `appDrawerModule` + (`pluginId: 'app'`) for Scalprum / module-federation dynamic loading. + + - All `pluginId: 'app'` modules are now re-exported as the default export from + their respective packages. + ## 0.2.0 ### Minor Changes diff --git a/workspaces/app-defaults/plugins/app-auth/package.json b/workspaces/app-defaults/plugins/app-auth/package.json index 35df6ad36fd..a694f6963f5 100644 --- a/workspaces/app-defaults/plugins/app-auth/package.json +++ b/workspaces/app-defaults/plugins/app-auth/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-app-auth", - "version": "0.2.0", + "version": "1.0.0", "license": "Apache-2.0", "description": "RHDH sign-in page and OIDC/Auth0/SAML frontend auth APIs for the new frontend system", "main": "src/index.ts", diff --git a/workspaces/app-defaults/plugins/app-defaults/CHANGELOG.md b/workspaces/app-defaults/plugins/app-defaults/CHANGELOG.md index dee44e98196..fb776aea032 100644 --- a/workspaces/app-defaults/plugins/app-defaults/CHANGELOG.md +++ b/workspaces/app-defaults/plugins/app-defaults/CHANGELOG.md @@ -1,5 +1,64 @@ # @red-hat-developer-hub/backstage-plugin-app-defaults +## 1.0.0 + +### Major Changes + +- 277f374: **BREAKING**: Graduate NFS exports from `/alpha` to the main entry point. + + - All public APIs previously available from `./alpha` are now exported from the + package root (`.`). Update imports: + + ```diff + -import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth/alpha'; + +import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth'; + + -import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations/alpha'; + +import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations'; + + -import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react/alpha'; + +import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react'; + + -import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults/alpha'; + +import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults'; + ``` + + - The `./alpha` subpath has been removed from `app-defaults` and `app-react`. + `app-auth` retains `./alpha` for translation exports (`signInTranslationRef`). + `app-integrations` retains `./alpha` with reduced exports (only + `mergeScmAuthFromDeps` and `ScmAuthFactoryDeps`; `appIntegrationsModule` + moved to the root entry). + + - **`@red-hat-developer-hub/backstage-plugin-app-react`**: `ApplicationDrawer` + and `DrawerPanel` value exports have been removed from the main entry point. + They are now only available from the new `./legacy` subpath. If you import + these components directly, update your imports: + + ```diff + -import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react'; + +import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react/legacy'; + ``` + + The `./legacy` subpath also re-exports `useAppDrawer` and associated types + for backward compatibility with OFS consumers. + + - `@red-hat-developer-hub/backstage-plugin-app-react` adds a new + `./app-drawer-module` subpath that default-exports `appDrawerModule` + (`pluginId: 'app'`) for Scalprum / module-federation dynamic loading. + + - All `pluginId: 'app'` modules are now re-exported as the default export from + their respective packages. + +### Minor Changes + +- a99d839: Register the RHDH common icon catalog on `appDefaultsModule` via `IconBundleBlueprint`, so NFS apps get the same named icons as the legacy shell without wiring them in `packages/app-next`. + +### Patch Changes + +- Updated dependencies [5e5436b] +- Updated dependencies [277f374] + - @red-hat-developer-hub/backstage-plugin-app-react@1.0.0 + ## 0.1.0 ### Minor Changes diff --git a/workspaces/app-defaults/plugins/app-defaults/package.json b/workspaces/app-defaults/plugins/app-defaults/package.json index 45c746e022f..0bf04c75508 100644 --- a/workspaces/app-defaults/plugins/app-defaults/package.json +++ b/workspaces/app-defaults/plugins/app-defaults/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-app-defaults", - "version": "0.1.0", + "version": "1.0.0", "license": "Apache-2.0", "description": "RHDH app module for the new frontend system", "main": "src/index.ts", diff --git a/workspaces/app-defaults/plugins/app-integrations/CHANGELOG.md b/workspaces/app-defaults/plugins/app-integrations/CHANGELOG.md index 904684eb188..c605dad0c47 100644 --- a/workspaces/app-defaults/plugins/app-integrations/CHANGELOG.md +++ b/workspaces/app-defaults/plugins/app-integrations/CHANGELOG.md @@ -1,5 +1,54 @@ # @red-hat-developer-hub/backstage-plugin-app-integrations +## 1.0.0 + +### Major Changes + +- 277f374: **BREAKING**: Graduate NFS exports from `/alpha` to the main entry point. + + - All public APIs previously available from `./alpha` are now exported from the + package root (`.`). Update imports: + + ```diff + -import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth/alpha'; + +import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth'; + + -import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations/alpha'; + +import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations'; + + -import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react/alpha'; + +import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react'; + + -import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults/alpha'; + +import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults'; + ``` + + - The `./alpha` subpath has been removed from `app-defaults` and `app-react`. + `app-auth` retains `./alpha` for translation exports (`signInTranslationRef`). + `app-integrations` retains `./alpha` with reduced exports (only + `mergeScmAuthFromDeps` and `ScmAuthFactoryDeps`; `appIntegrationsModule` + moved to the root entry). + + - **`@red-hat-developer-hub/backstage-plugin-app-react`**: `ApplicationDrawer` + and `DrawerPanel` value exports have been removed from the main entry point. + They are now only available from the new `./legacy` subpath. If you import + these components directly, update your imports: + + ```diff + -import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react'; + +import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react/legacy'; + ``` + + The `./legacy` subpath also re-exports `useAppDrawer` and associated types + for backward compatibility with OFS consumers. + + - `@red-hat-developer-hub/backstage-plugin-app-react` adds a new + `./app-drawer-module` subpath that default-exports `appDrawerModule` + (`pluginId: 'app'`) for Scalprum / module-federation dynamic loading. + + - All `pluginId: 'app'` modules are now re-exported as the default export from + their respective packages. + ## 0.1.1 ### Patch Changes diff --git a/workspaces/app-defaults/plugins/app-integrations/package.json b/workspaces/app-defaults/plugins/app-integrations/package.json index f76f30f2879..60b07eab979 100644 --- a/workspaces/app-defaults/plugins/app-integrations/package.json +++ b/workspaces/app-defaults/plugins/app-integrations/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-app-integrations", - "version": "0.1.1", + "version": "1.0.0", "license": "Apache-2.0", "description": "RHDH default SCM integrations and scmAuth wiring for the new frontend system", "main": "src/index.ts", diff --git a/workspaces/app-defaults/plugins/app-react/CHANGELOG.md b/workspaces/app-defaults/plugins/app-react/CHANGELOG.md index b6f4122583e..80fa623b820 100644 --- a/workspaces/app-defaults/plugins/app-react/CHANGELOG.md +++ b/workspaces/app-defaults/plugins/app-react/CHANGELOG.md @@ -1,5 +1,58 @@ # @red-hat-developer-hub/backstage-plugin-app-react +## 1.0.0 + +### Major Changes + +- 277f374: **BREAKING**: Graduate NFS exports from `/alpha` to the main entry point. + + - All public APIs previously available from `./alpha` are now exported from the + package root (`.`). Update imports: + + ```diff + -import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth/alpha'; + +import { appAuthModule } from '@red-hat-developer-hub/backstage-plugin-app-auth'; + + -import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations/alpha'; + +import { appIntegrationsModule } from '@red-hat-developer-hub/backstage-plugin-app-integrations'; + + -import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react/alpha'; + +import { appDrawerModule, AppDrawerContentBlueprint } from '@red-hat-developer-hub/backstage-plugin-app-react'; + + -import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults/alpha'; + +import { appDefaultsModule } from '@red-hat-developer-hub/backstage-plugin-app-defaults'; + ``` + + - The `./alpha` subpath has been removed from `app-defaults` and `app-react`. + `app-auth` retains `./alpha` for translation exports (`signInTranslationRef`). + `app-integrations` retains `./alpha` with reduced exports (only + `mergeScmAuthFromDeps` and `ScmAuthFactoryDeps`; `appIntegrationsModule` + moved to the root entry). + + - **`@red-hat-developer-hub/backstage-plugin-app-react`**: `ApplicationDrawer` + and `DrawerPanel` value exports have been removed from the main entry point. + They are now only available from the new `./legacy` subpath. If you import + these components directly, update your imports: + + ```diff + -import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react'; + +import { ApplicationDrawer, DrawerPanel } from '@red-hat-developer-hub/backstage-plugin-app-react/legacy'; + ``` + + The `./legacy` subpath also re-exports `useAppDrawer` and associated types + for backward compatibility with OFS consumers. + + - `@red-hat-developer-hub/backstage-plugin-app-react` adds a new + `./app-drawer-module` subpath that default-exports `appDrawerModule` + (`pluginId: 'app'`) for Scalprum / module-federation dynamic loading. + + - All `pluginId: 'app'` modules are now re-exported as the default export from + their respective packages. + +### Patch Changes + +- 5e5436b: Migrate `AppDrawerContentBlueprint` to `configSchema` for Backstage `frontend-plugin-api@0.18.0` compatibility. + ## 0.2.0 ### Minor Changes diff --git a/workspaces/app-defaults/plugins/app-react/package.json b/workspaces/app-defaults/plugins/app-react/package.json index c4a49d05bf6..788d4cf2950 100644 --- a/workspaces/app-defaults/plugins/app-react/package.json +++ b/workspaces/app-defaults/plugins/app-react/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-app-react", - "version": "0.2.0", + "version": "1.0.0", "license": "Apache-2.0", "description": "Shared UI components and extension APIs for the RHDH app shell", "main": "src/index.ts",