Skip to content

Releases: SchweizerischeBundesbahnen/scion-workbench

12.0.0-beta.2 (@scion/workbench)

07 Sep 08:56
Compare
Choose a tag to compare

12.0.0-beta.2 (2022-02-11)

Bug Fixes

  • workbench: ensure calling wbBeforeDestroy only for the view to be closed (e25cefb)
  • workbench: set view properties of inactive views upon initial view tab navigation (30d573f)
  • workbench: use transparent backdrop in the view's context menu (236a41a)

Code Refactoring

  • workbench/popup: open popups from within an interceptor (a11fd9d), closes #276
  • workbench/view: open views from within an interceptor (137b8d0)

Features

BREAKING CHANGES

  • workbench: Supporting @scion/microfrontend-platform v1.0.0-beta.20 introduced a breaking change in the configuration of the host application and the host/client communication protocol.

    SCION Microfrontend Platform consolidated the API for configuring the platform, eliminating the different ways to configure the platform. Consequently, SCION Workbench could also simplify its API for enabling microfrontend support.

    Related issue of the SCION Microfrontend Platform: SchweizerischeBundesbahnen/scion-microfrontend-platform/#96

    Host App Migration

    • property WorkbenchModuleConfig.microfrontends has been renamed to WorkbenchModuleConfig.microfrontendPlatform and its type changed from WorkbenchMicrofrontendConfig to MicrofrontendPlatformConfig (provided by @scion/microfrontend-platform);
    • MicrofrontendPlatformConfigLoader has been changed to return an instance of MicrofrontendPlatformConfig instead of the PlatformConfig;
    • DI token POST_MICROFRONTEND_PLATFORM_CONNECT has been renamed to MICROFRONTEND_PLATFORM_POST_STARTUP in order to be consistent with other workbench DI tokens;
    • provide the host's manifest, if any, via MicrofrontendPlatformConfig.host.manifest instead of WorkbenchMicrofrontendConfig.platformHost.manifest; either as URL or object literal
    • register applications in MicrofrontendPlatformConfig.applications instead of WorkbenchMicrofrontendConfig.platform.apps;
    • specify the symbolic name of the host in MicrofrontendPlatformConfig.host.symbolicName instead of WorkbenchMicrofrontendConfig.platformHost.symbolicName;
    • configure properties in MicrofrontendPlatformConfig.properties instead of WorkbenchMicrofrontendConfig.platform.properties;
    • specify global manifestLoadTimeout in MicrofrontendPlatformConfig.manifestLoadTimeout instead of WorkbenchMicrofrontendConfig.platform.manifestLoadTimeout;
    • specify global activatorLoadTimeout in MicrofrontendPlatformConfig.activatorLoadTimeout instead of WorkbenchMicrofrontendConfig.platform.activatorLoadTimeout;
    • the bean MicroApplicationConfig has been removed; you can now obtain the application's symbolic name as following: Beans.get<string>(APP_IDENTITY);
    • the interface ApplicationManifest has been renamed to Manifest;

    For further instructions on how to migrate the host, refer to https://github.com/SchweizerischeBundesbahnen/scion-microfrontend-platform/blob/master/docs/site/changelog/changelog.md#host-app-migration

  • workbench/popup: Opening popups from within an interceptor introduced a breaking change in the host/client communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a popup. You need to update host and affected clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

  • workbench/view: Opening views from within an interceptor introduced a breaking change in the host/client communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a view. You need to update host and affected clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

1.0.0-beta.8 (@scion/workbench-client)

07 Sep 09:39
Compare
Choose a tag to compare

1.0.0-beta.8 (2022-02-11)

Code Refactoring

  • workbench/popup: open popups from within an interceptor (a11fd9d), closes #276
  • workbench/view: open views from within an interceptor (137b8d0)

Features

BREAKING CHANGES

  • workbench: Supporting @scion/microfrontend-platform v1.0.0-beta.20 introduced a breaking change in the configuration of the host application and the host/client communication protocol.

    SCION Microfrontend Platform consolidated the API for configuring the platform, eliminating the different ways to configure the platform. Consequently, SCION Workbench could also simplify its API for enabling microfrontend support.

    Related issue of the SCION Microfrontend Platform: SchweizerischeBundesbahnen/scion-microfrontend-platform/#96

    Client App Migration

    • the micro application must now pass its identity (symbolic name) directly as the first argument, rather than via the options object;
    • the options object passed to WorkbenchClient.connect has been renamed from MicroApplicationConfig to ConnectOptions and messaging options are now top-level options;
    • the bean MicroApplicationConfig has been removed; you can now obtain the application's symbolic name as following: Beans.get<string>(APP_IDENTITY);

    For further instructions on how to migrate the client, refer to https://github.com/SchweizerischeBundesbahnen/scion-microfrontend-platform/blob/master/docs/site/changelog/changelog.md#client-app-migration

  • workbench/popup: Opening popups from within an interceptor introduced a breaking change in the host/client communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a popup. You need to update host and affected clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

  • workbench/view: Opening views from within an interceptor introduced a breaking change in the host/client communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a view. You need to update host and affected clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

12.0.0-beta.1 (@scion/workbench)

07 Sep 08:55
Compare
Choose a tag to compare

12.0.0-beta.1 (2021-07-12)

chore

  • update project workspace to Angular 12 (8be4410), closes #277

11.0.0-beta.8 (@scion/workbench)

07 Sep 08:55
Compare
Choose a tag to compare

11.0.0-beta.8 (2021-07-09)

chore

  • compile with TypeScript strict checks enabled (c13e3b6), closes #246

1.0.0-beta.7 (@scion/workbench-client)

07 Sep 09:39
Compare
Choose a tag to compare

1.0.0-beta.7 (2021-07-09)

chore

  • compile with TypeScript strict checks enabled (2f26260), closes #246

11.0.0-beta.7 (@scion/workbench)

07 Sep 08:55
Compare
Choose a tag to compare

11.0.0-beta.7 (2021-04-13)

Features

  • workbench/core: allow getting a reference to a workbench view (934ec66)
  • workbench/popup: allow registering providers for dependency injection (c2cec23)
  • workbench/popup: allow the host app to provide popup capabilities (a4e74b1), closes #270

BREAKING CHANGES

  • workbench/popup: Adding support for opening a popup of the host app from within a microfrontend introduced a breaking change in the host/client
    communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a popup. You need to update host and clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

1.0.0-beta.6 (@scion/workbench-client)

07 Sep 09:38
Compare
Choose a tag to compare

1.0.0-beta.6 (2021-04-13)

Features

  • workbench/popup: allow the host app to provide popup capabilities (a4e74b1), closes #270

BREAKING CHANGES

  • workbench/popup: Adding support for opening a popup of the host app from within a microfrontend introduced a breaking change in the host/client
    communication protocol.

    The communication protocol between host and client HAS CHANGED for opening a popup. You need to update host and clients to the new version simultaneously. The API has not changed; the breaking change applies only to the version of @scion/workbench and @scion/workbench-client. To migrate, upgrade to @scion/[email protected] and @scion/[email protected], respectively.

11.0.0-beta.6 (@scion/workbench)

07 Sep 08:54
Compare
Choose a tag to compare

11.0.0-beta.6 (2021-02-12)

Bug Fixes

  • workbench-client/router: provide microfrontends with the most recent view capability (0b8f140)
  • workbench/view: support workbench keystrokes from embedded content (e031f96)

Code Refactoring

  • workbench/popup: configure contextual reference(s) via context object (0591e7a)

Features

  • workbench/message-box: allow controlling which view to block when opening a view-modal message box (3434e5b), closes #251

BREAKING CHANGES

  • workbench/popup: Changed popup config for passing contextual reference(s)

    To migrate: Set a popup's view reference via PopupConfig#context#viewId instead of PopupConfig#viewRef.

1.0.0-beta.5 (@scion/workbench-client)

07 Sep 09:37
Compare
Choose a tag to compare

1.0.0-beta.5 (2021-02-12)

Bug Fixes

  • workbench-client/router: provide microfrontends with the most recent view capability (0b8f140)

Code Refactoring

  • workbench/popup: configure contextual reference(s) via context object (0591e7a)

BREAKING CHANGES

  • workbench/popup: Changed popup config for passing contextual reference(s)

    To migrate: Set a popup's view reference via PopupConfig#context#viewId instead of PopupConfig#viewRef.

11.0.0-beta.5 (@scion/workbench)

07 Sep 08:54
Compare
Choose a tag to compare

11.0.0-beta.5 (2021-02-10)

Features

  • support for merging parameters in self navigation (a984ace), closes #259