Releases: SchweizerischeBundesbahnen/scion-workbench
12.0.0-beta.2 (@scion/workbench)
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
- workbench: allow adding css classes to menu items (791485a)
- workbench: allow controlling which view params to persist in the URL (dcb5ee1), closes #278
- workbench: migrate to @scion/microfrontend-platform v1.0.0-beta.20 (24dfec2), closes SchweizerischeBundesbahnen/scion-microfrontend-platform/#96
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 toWorkbenchModuleConfig.microfrontendPlatform
and its type changed fromWorkbenchMicrofrontendConfig
toMicrofrontendPlatformConfig
(provided by @scion/microfrontend-platform); MicrofrontendPlatformConfigLoader
has been changed to return an instance ofMicrofrontendPlatformConfig
instead of thePlatformConfig
;- DI token
POST_MICROFRONTEND_PLATFORM_CONNECT
has been renamed toMICROFRONTEND_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 ofWorkbenchMicrofrontendConfig.platformHost.manifest
; either as URL or object literal - register applications in
MicrofrontendPlatformConfig.applications
instead ofWorkbenchMicrofrontendConfig.platform.apps
; - specify the symbolic name of the host in
MicrofrontendPlatformConfig.host.symbolicName
instead ofWorkbenchMicrofrontendConfig.platformHost.symbolicName
; - configure properties in
MicrofrontendPlatformConfig.properties
instead ofWorkbenchMicrofrontendConfig.platform.properties
; - specify global
manifestLoadTimeout
inMicrofrontendPlatformConfig.manifestLoadTimeout
instead ofWorkbenchMicrofrontendConfig.platform.manifestLoadTimeout
; - specify global
activatorLoadTimeout
inMicrofrontendPlatformConfig.activatorLoadTimeout
instead ofWorkbenchMicrofrontendConfig.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 toManifest
;
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
- property
-
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)
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
- workbench: allow controlling which view params to persist in the URL (dcb5ee1), closes #278
- workbench: migrate to @scion/microfrontend-platform v1.0.0-beta.20 (24dfec2), closes SchweizerischeBundesbahnen/scion-microfrontend-platform/#96
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 fromMicroApplicationConfig
toConnectOptions
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)
11.0.0-beta.8 (@scion/workbench)
11.0.0-beta.8 (2021-07-09)
chore
1.0.0-beta.7 (@scion/workbench-client)
1.0.0-beta.7 (2021-07-09)
chore
11.0.0-beta.7 (@scion/workbench)
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)
1.0.0-beta.6 (2021-04-13)
Features
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)
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 ofPopupConfig#viewRef
.
1.0.0-beta.5 (@scion/workbench-client)
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 ofPopupConfig#viewRef
.