Skip to content

Commit

Permalink
release(workbench): v18.0.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwiehl authored and Marcarrian committed Aug 28, 2024
1 parent c4e68fd commit 117b105
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 12 deletions.
103 changes: 103 additions & 0 deletions CHANGELOG_WORKBENCH.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,106 @@
# [18.0.0-beta.4](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.3...18.0.0-beta.4) (2024-08-28)


### Bug Fixes

* **workbench/view:** update view properties between route deactivation and route activation ([5526eec](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/5526eeca84ca2c04d075fbc9414f1f27f89dd389))
* **workbench/router:** activate part only if specified by the navigation ([51ba3bb](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/51ba3bb5bcdc3d65d56967d9d3526cb5e9d88126))
* **workbench/popup:** render popup at the correct position when activating view ([a13e93f](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/a13e93f5e27a2dd67d61f48807039448cc2efc7d))
* **workbench/layout:** debounce storing workbench layout ([076c241](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/076c241954483c079a19e4cd17b235047eddbc8c))
* **workbench/layout:** do not display "Not Found" page when closing a view ([03681b5](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/03681b566355fc1915fc5e69d87f99a59b7e272e))
* **workbench/layout:** serialize properties with a `null` value ([49905f6](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/49905f6dc6da8bf9614255f72f93834a08773b2f))


### Features

* **workbench/perspective:** provide active perspective via `WorkbenchService` ([ee6d22b](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/ee6d22b419a35e0179fc70c2bd22f2f441ffd461))
* **workbench/view:** enable passing data to an empty-path navigation ([3b65d9b](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/3b65d9ba564f5ed8abe02aafacc6a8621e0adf6b))
* **workbench:** change `WorkbenchService` properties to signals to integrate with Angular reactive contexts ([17280b3](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/17280b34accc6127641fb053f321a8af0110b9c2))
* **workbench/perspective:** change `WorkbenchPerspective` properties to signals to integrate with Angular reactive contexts ([df6603a](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/df6603ac30415985f191567e5820ea12e7baa1dc))
* **workbench/part:** change `WorkbenchPart` properties to signals to integrate with Angular reactive contexts ([6aa6cd1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/6aa6cd18dcbf67aa2251b4ba1dccb526db3e14e8))
* **workbench/view:** change `WorkbenchView` properties to signals to integrate with Angular reactive contexts ([4498b52](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/4498b5271e4b8ffbbe957a39c014e248d3b81608))
* **workbench/dialog:** change `WorkbenchDialog` properties to signals to integrate with Angular reactive contexts ([53ab8bb](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/53ab8bb008cc205d3c7196f2a02ffff3ffd798c6))


### BREAKING CHANGES

* **workbench:** Migrating `WorkbenchService` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchService` properties as follows:
- `WorkbenchService.layout` => `WorkbenchService.layout()`
- `WorkbenchService.layout$ ` => `WorkbenchService.layout()`
- `WorkbenchService.parts` => `WorkbenchService.parts()`
- `WorkbenchService.parts$ ` => `WorkbenchService.parts()`
- `WorkbenchService.perspectives` => `WorkbenchService.perspectives()`
- `WorkbenchService.perspectives$ ` => `WorkbenchService.perspectives()`
- `WorkbenchService.theme$ ` => `WorkbenchService.theme()`
- `WorkbenchService.views` => `WorkbenchService.views()`
- `WorkbenchService.views$ ` => `WorkbenchService.views()`


* **workbench/perspective:** Migrating `WorkbenchPerspective` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchPerspective` properties as follows:
- `WorkbenchPerspective.active` => `WorkbenchPerspective.active()`
- `WorkbenchPerspective.active$ ` => `WorkbenchPerspective.active()`


* **workbench/part:** Migrating `WorkbenchPart` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchPart` properties as follows:
- `WorkbenchPart.actions` => `WorkbenchPart.actions()`
- `WorkbenchPart.actions$ ` => `WorkbenchPart.actions()`
- `WorkbenchPart.active` => `WorkbenchPart.active()`
- `WorkbenchPart.active$ ` => `WorkbenchPart.active()`
- `WorkbenchPart.activeViewId` => `WorkbenchPart.activeViewId()`
- `WorkbenchPart.activeViewId$ ` => `WorkbenchPart.activeViewId()`
- `WorkbenchPart.viewIds$ ` => `WorkbenchPart.viewIds()`
- `WorkbenchPart.viewIds` => `WorkbenchPart.viewIds()`


* **workbench/view:** Migrating `WorkbenchView` properties to signals has introduced a breaking change.

The breaking change refers to reading property values. Writable properties are still updated through value assignment. Some properties have also been renamed for consistency reasons.

Migrate reading of `WorkbenchView` properties as follows:
- `WorkbenchView.active` => `WorkbenchView.active()`
- `WorkbenchView.active$ ` => `WorkbenchView.active()`
- `WorkbenchView.cssClass` => `WorkbenchView.cssClass()`
- `WorkbenchView.closable` => `WorkbenchView.closable()`
- `WorkbenchView.dirty` => `WorkbenchView.dirty()`
- `WorkbenchView.first` => `WorkbenchView.first()`
- `WorkbenchView.heading` => `WorkbenchView.heading()`
- `WorkbenchView.last` => `WorkbenchView.last()`
- `WorkbenchView.navigationHint` => `WorkbenchView.navigationHint()`
- `WorkbenchView.part` => `WorkbenchView.part()`
- `WorkbenchView.position` => `WorkbenchView.position()`
- `WorkbenchView.urlSegments` => `WorkbenchView.urlSegments()`
- `WorkbenchView.scrolledIntoView` => `WorkbenchView.scrolledIntoView()`
- `WorkbenchView.state` => `WorkbenchView.navigationState()`
- `WorkbenchView.title` => `WorkbenchView.title()`


* **workbench/dialog:** Migrating `WorkbenchDialog` properties to signals has introduced a breaking change.

The breaking change refers to reading property values. Writable properties are still updated through value assignment.

Migrate reading of `WorkbenchDialog` properties as follows:
- `WorkbenchDialog.closable` => `WorkbenchDialog.closable()`
- `WorkbenchDialog.cssClass` => `WorkbenchDialog.cssClass()`
- `WorkbenchDialog.padding` => `WorkbenchDialog.padding()`
- `WorkbenchDialog.resizable` => `WorkbenchDialog.resizable()`
- `WorkbenchDialog.size.height` => `WorkbenchDialog.size.height()`
- `WorkbenchDialog.size.width` => `WorkbenchDialog.size.width()`
- `WorkbenchDialog.size.maxHeight` => `WorkbenchDialog.size.maxHeight()`
- `WorkbenchDialog.size.minHeight` => `WorkbenchDialog.size.minHeight()`
- `WorkbenchDialog.size.maxWidth` => `WorkbenchDialog.size.maxWidth()`
- `WorkbenchDialog.size.minWidth` => `WorkbenchDialog.size.minWidth()`
- `WorkbenchDialog.title` => `WorkbenchDialog.title()`
- Setting an observable as dialog title is no longer supported. Instead, manually subscribe to the observable and set the title.




# [18.0.0-beta.3](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.2...18.0.0-beta.3) (2024-06-21)


Expand Down
95 changes: 84 additions & 11 deletions CHANGELOG_WORKBENCH_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,99 @@
# [18.0.0-beta.3](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.2...18.0.0-beta.3) (2024-06-21)
# [18.0.0-beta.4](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.3...18.0.0-beta.4) (2024-08-28)


### Bug Fixes

* **workbench/perspective:** create default perspective if no perspective exists ([7010623](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/701062314d580110d2e368eff899d55869bd046a))
* **workbench/view:** align microfrontend with view bounds when moving it to another part of the same size ([e57f0d0](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/e57f0d00894851fb720cad70da4c77f2b3b5fcb1))
* **workbench/view:** do not error when initializing view in `ngOnInit` ([1374260](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/1374260523670f447ace5e9757890f5a24e81dc8))
* **workbench/view:** initialize microfrontend loaded into inactive view ([764f89e](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/764f89eee64e06685db4c9144ccaaf072d784449))
* **workbench/view:** update view properties between route deactivation and route activation ([5526eec](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/5526eeca84ca2c04d075fbc9414f1f27f89dd389))
* **workbench/router:** activate part only if specified by the navigation ([51ba3bb](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/51ba3bb5bcdc3d65d56967d9d3526cb5e9d88126))
* **workbench/popup:** render popup at the correct position when activating view ([a13e93f](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/a13e93f5e27a2dd67d61f48807039448cc2efc7d))
* **workbench/layout:** debounce storing workbench layout ([076c241](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/076c241954483c079a19e4cd17b235047eddbc8c))
* **workbench/layout:** do not display "Not Found" page when closing a view ([03681b5](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/03681b566355fc1915fc5e69d87f99a59b7e272e))
* **workbench/layout:** serialize properties with a `null` value ([49905f6](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/49905f6dc6da8bf9614255f72f93834a08773b2f))


### Features

* **workbench/perspective:** activate first view of each part if not specified ([161d05d](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/161d05d787caf0df2fbc74596b845a711e44891b))
* **workbench/perspective:** enable micro app to contribute perspective ([f20f607](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/f20f607333a480ad9f89f3c13f52ef472ff256c4)), closes [#449](https://github.com/SchweizerischeBundesbahnen/scion-workbench/issues/449)
* **workbench/view:** display "Not Found" page if microfrontend is not available ([93be385](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/93be3853734b248cf29364c96f641d329eef8d5b))
* **workbench/perspective:** provide active perspective via `WorkbenchService` ([ee6d22b](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/ee6d22b419a35e0179fc70c2bd22f2f441ffd461))
* **workbench/view:** enable passing data to an empty-path navigation ([3b65d9b](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/3b65d9ba564f5ed8abe02aafacc6a8621e0adf6b))
* **workbench:** change `WorkbenchService` properties to signals to integrate with Angular reactive contexts ([17280b3](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/17280b34accc6127641fb053f321a8af0110b9c2))
* **workbench/perspective:** change `WorkbenchPerspective` properties to signals to integrate with Angular reactive contexts ([df6603a](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/df6603ac30415985f191567e5820ea12e7baa1dc))
* **workbench/part:** change `WorkbenchPart` properties to signals to integrate with Angular reactive contexts ([6aa6cd1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/6aa6cd18dcbf67aa2251b4ba1dccb526db3e14e8))
* **workbench/view:** change `WorkbenchView` properties to signals to integrate with Angular reactive contexts ([4498b52](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/4498b5271e4b8ffbbe957a39c014e248d3b81608))
* **workbench/dialog:** change `WorkbenchDialog` properties to signals to integrate with Angular reactive contexts ([53ab8bb](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/53ab8bb008cc205d3c7196f2a02ffff3ffd798c6))


### BREAKING CHANGES

* **workbench/perspective:** The return type of the function to select the initial perspective has changed. To migrate, return the perspective id instead of the perspective instance.
* **workbench:** SCION Workbench requires `@scion/microfrontend-platform` version `1.3.0` or later.
* **workbench:** SCION Workbench requires `@scion/workbench-client` version `1.0.0-beta.24` or later.
* **workbench:** Migrating `WorkbenchService` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchService` properties as follows:
- `WorkbenchService.layout` => `WorkbenchService.layout()`
- `WorkbenchService.layout$` => `WorkbenchService.layout()`
- `WorkbenchService.parts` => `WorkbenchService.parts()`
- `WorkbenchService.parts$` => `WorkbenchService.parts()`
- `WorkbenchService.perspectives` => `WorkbenchService.perspectives()`
- `WorkbenchService.perspectives$` => `WorkbenchService.perspectives()`
- `WorkbenchService.theme$` => `WorkbenchService.theme()`
- `WorkbenchService.views` => `WorkbenchService.views()`
- `WorkbenchService.views$` => `WorkbenchService.views()`


* **workbench/perspective:** Migrating `WorkbenchPerspective` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchPerspective` properties as follows:
- `WorkbenchPerspective.active` => `WorkbenchPerspective.active()`
- `WorkbenchPerspective.active$` => `WorkbenchPerspective.active()`


* **workbench/part:** Migrating `WorkbenchPart` properties to signals has introduced a breaking change.

Migrate reading of `WorkbenchPart` properties as follows:
- `WorkbenchPart.actions` => `WorkbenchPart.actions()`
- `WorkbenchPart.actions$` => `WorkbenchPart.actions()`
- `WorkbenchPart.active` => `WorkbenchPart.active()`
- `WorkbenchPart.active$` => `WorkbenchPart.active()`
- `WorkbenchPart.activeViewId` => `WorkbenchPart.activeViewId()`
- `WorkbenchPart.activeViewId$` => `WorkbenchPart.activeViewId()`
- `WorkbenchPart.viewIds$` => `WorkbenchPart.viewIds()`
- `WorkbenchPart.viewIds` => `WorkbenchPart.viewIds()`


* **workbench/view:** Migrating `WorkbenchView` properties to signals has introduced a breaking change.

The breaking change refers to reading property values. Writable properties are still updated through value assignment. Some properties have also been renamed for consistency reasons.

Migrate reading of `WorkbenchView` properties as follows:
- `WorkbenchView.active` => `WorkbenchView.active()`
- `WorkbenchView.active$` => `WorkbenchView.active()`
- `WorkbenchView.cssClass` => `WorkbenchView.cssClass()`
- `WorkbenchView.closable` => `WorkbenchView.closable()`
- `WorkbenchView.dirty` => `WorkbenchView.dirty()`
- `WorkbenchView.first` => `WorkbenchView.first()`
- `WorkbenchView.heading` => `WorkbenchView.heading()`
- `WorkbenchView.last` => `WorkbenchView.last()`
- `WorkbenchView.navigationHint` => `WorkbenchView.navigationHint()`
- `WorkbenchView.part` => `WorkbenchView.part()`
- `WorkbenchView.position` => `WorkbenchView.position()`
- `WorkbenchView.urlSegments` => `WorkbenchView.urlSegments()`
- `WorkbenchView.scrolledIntoView` => `WorkbenchView.scrolledIntoView()`
- `WorkbenchView.state` => `WorkbenchView.navigationState()`
- `WorkbenchView.title` => `WorkbenchView.title()`


* **workbench/dialog:** Migrating `WorkbenchDialog` properties to signals has introduced a breaking change.

The breaking change refers to reading property values. Writable properties are still updated through value assignment.

Migrate reading of `WorkbenchDialog` properties as follows:
- `WorkbenchDialog.closable` => `WorkbenchDialog.closable()`
- `WorkbenchDialog.cssClass` => `WorkbenchDialog.cssClass()`
- `WorkbenchDialog.padding` => `WorkbenchDialog.padding()`
- `WorkbenchDialog.resizable` => `WorkbenchDialog.resizable()`
- `WorkbenchDialog.size.height` => `WorkbenchDialog.size.height()`
- `WorkbenchDialog.size.width` => `WorkbenchDialog.size.width()`
- `WorkbenchDialog.size.maxHeight` => `WorkbenchDialog.size.maxHeight()`
- `WorkbenchDialog.size.minHeight` => `WorkbenchDialog.size.minHeight()`
- `WorkbenchDialog.size.maxWidth` => `WorkbenchDialog.size.maxWidth()`
- `WorkbenchDialog.size.minWidth` => `WorkbenchDialog.size.minWidth()`
- `WorkbenchDialog.title` => `WorkbenchDialog.title()`
- Setting an observable as dialog title is no longer supported. Instead, manually subscribe to the observable and set the title.
Loading

0 comments on commit 117b105

Please sign in to comment.