Skip to content

Commit

Permalink
release(workbench): v18.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwiehl authored and Marcarrian committed Oct 29, 2024
1 parent 40fdd80 commit 2b31eb2
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 5 deletions.
64 changes: 64 additions & 0 deletions CHANGELOG_WORKBENCH.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,67 @@
# [18.0.0-beta.8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.7...18.0.0-beta.8) (2024-10-28)


### Bug Fixes

* **workbench/popup:** ensure the popup anchor not leaving view boundaries ([c629f49](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/c629f49f3ba520c2cd700a008e4ed0af1c86e01f))
* **workbench/view:** ensure view overlays align with view boundaries when view position changes ([2998295](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/29982951bf8290108d3b09104ebc456f3acb9f6c))


### Features

* **workbench:** prevent tracking unwanted dependencies in effects ([7a7eaf8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/7a7eaf847f3ed54dcc7eeab300cbde53700b8e46))


### BREAKING CHANGES

* **workbench:** SCION Workbench requires `@scion/toolkit` version `1.6.0` or later.
* **workbench:** SCION Workbench requires `@scion/components` version `18.1.1` or later.
* **workbench:** Calling following workbench methods in a reactive (tracking) context (e.g., `effect`) now throws an error. Migrate by using Angular's `untracked()` function.
- `WorkbenchRouter.navigate`
- `WorkbenchService.registerPerspective`
- `WorkbenchService.switchPerspective`
- `WorkbenchService.resetPerspective`
- `WorkbenchService.closeViews`
- `WorkbenchService.switchTheme`
- `WorkbenchService.registerPartAction`
- `WorkbenchService.registerViewMenuItem`
- `WorkbenchLauncher.launch`
- `WorkbenchDialogService.open`
- `WorkbenchMessageBoxService.open`
- `NotificationService.notify`
- `PopupService.open`
- `WorkbenchPart.activate`
- `WorkbenchView.activate`
- `WorkbenchView.close`
- `WorkbenchView.move`
- `WorkbenchView.registerMenuItem`
- `WorkbenchDialog.close`
- `Popup.close`

**Migration Example**
```ts
import {effect, inject, untracked} from '@angular/core';
import {WorkbenchRouter} from '@scion/workbench';

const workbenchRouter = inject(WorkbenchRouter);

// Before
effect(() => {
if (someSignal()) {
workbenchRouter.navigate(['path/to/view']);
}
});

// After
effect(() => {
if (someSignal()) {
untracked(() => workbenchRouter.navigate(['path/to/view']));
}
});
```



# [18.0.0-beta.7](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.6...18.0.0-beta.7) (2024-10-11)


Expand Down
61 changes: 57 additions & 4 deletions CHANGELOG_WORKBENCH_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,64 @@
# [18.0.0-beta.7](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.6...18.0.0-beta.7) (2024-10-11)
# [18.0.0-beta.8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.7...18.0.0-beta.8) (2024-10-28)


### Bug Fixes

* **workbench/dialog:** enable updating dialog properties in an Angular effect ([7da2418](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/7da24185e8cc94db2f45a31a6d367c190c5f4104))
* **workbench/view:** enable updating view properties in an Angular effect ([a7d3594](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/a7d3594193c31715ac5fcb5da2d8015e803bb0aa))
* **workbench:** position document root as required by `@scion/toolkit` ([0d2f6c2](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/0d2f6c2229d6c75f8271795b6e399affaa43eef1))
* **workbench/popup:** ensure the popup anchor not leaving view boundaries ([c629f49](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/c629f49f3ba520c2cd700a008e4ed0af1c86e01f))
* **workbench/view:** ensure view overlays align with view boundaries when view position changes ([2998295](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/29982951bf8290108d3b09104ebc456f3acb9f6c))


### Features

* **workbench:** prevent tracking unwanted dependencies in effects ([7a7eaf8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/7a7eaf847f3ed54dcc7eeab300cbde53700b8e46))


### BREAKING CHANGES

* **workbench:** SCION Workbench requires `@scion/toolkit` version `1.6.0` or later.
* **workbench:** SCION Workbench requires `@scion/components` version `18.1.1` or later.
* **workbench:** Calling following workbench methods in a reactive (tracking) context (e.g., `effect`) now throws an error. Migrate by using Angular's `untracked()` function.
- `WorkbenchRouter.navigate`
- `WorkbenchService.registerPerspective`
- `WorkbenchService.switchPerspective`
- `WorkbenchService.resetPerspective`
- `WorkbenchService.closeViews`
- `WorkbenchService.switchTheme`
- `WorkbenchService.registerPartAction`
- `WorkbenchService.registerViewMenuItem`
- `WorkbenchLauncher.launch`
- `WorkbenchDialogService.open`
- `WorkbenchMessageBoxService.open`
- `NotificationService.notify`
- `PopupService.open`
- `WorkbenchPart.activate`
- `WorkbenchView.activate`
- `WorkbenchView.close`
- `WorkbenchView.move`
- `WorkbenchView.registerMenuItem`
- `WorkbenchDialog.close`
- `Popup.close`

**Migration Example**
```ts
import {effect, inject, untracked} from '@angular/core';
import {WorkbenchRouter} from '@scion/workbench';

const workbenchRouter = inject(WorkbenchRouter);

// Before
effect(() => {
if (someSignal()) {
workbenchRouter.navigate(['path/to/view']);
}
});

// After
effect(() => {
if (someSignal()) {
untracked(() => workbenchRouter.navigate(['path/to/view']));
}
});
```



64 changes: 64 additions & 0 deletions docs/site/changelog-workbench/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,70 @@
## [Changelog][menu-changelog] > Workbench (@scion/workbench)


# [18.0.0-beta.8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.7...18.0.0-beta.8) (2024-10-28)


### Bug Fixes

* **workbench/popup:** ensure the popup anchor not leaving view boundaries ([c629f49](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/c629f49f3ba520c2cd700a008e4ed0af1c86e01f))
* **workbench/view:** ensure view overlays align with view boundaries when view position changes ([2998295](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/29982951bf8290108d3b09104ebc456f3acb9f6c))


### Features

* **workbench:** prevent tracking unwanted dependencies in effects ([7a7eaf8](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/7a7eaf847f3ed54dcc7eeab300cbde53700b8e46))


### BREAKING CHANGES

* **workbench:** SCION Workbench requires `@scion/toolkit` version `1.6.0` or later.
* **workbench:** SCION Workbench requires `@scion/components` version `18.1.1` or later.
* **workbench:** Calling following workbench methods in a reactive (tracking) context (e.g., `effect`) now throws an error. Migrate by using Angular's `untracked()` function.
- `WorkbenchRouter.navigate`
- `WorkbenchService.registerPerspective`
- `WorkbenchService.switchPerspective`
- `WorkbenchService.resetPerspective`
- `WorkbenchService.closeViews`
- `WorkbenchService.switchTheme`
- `WorkbenchService.registerPartAction`
- `WorkbenchService.registerViewMenuItem`
- `WorkbenchLauncher.launch`
- `WorkbenchDialogService.open`
- `WorkbenchMessageBoxService.open`
- `NotificationService.notify`
- `PopupService.open`
- `WorkbenchPart.activate`
- `WorkbenchView.activate`
- `WorkbenchView.close`
- `WorkbenchView.move`
- `WorkbenchView.registerMenuItem`
- `WorkbenchDialog.close`
- `Popup.close`

**Migration Example**
```ts
import {effect, inject, untracked} from '@angular/core';
import {WorkbenchRouter} from '@scion/workbench';

const workbenchRouter = inject(WorkbenchRouter);

// Before
effect(() => {
if (someSignal()) {
workbenchRouter.navigate(['path/to/view']);
}
});

// After
effect(() => {
if (someSignal()) {
untracked(() => workbenchRouter.navigate(['path/to/view']));
}
});
```



# [18.0.0-beta.7](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.6...18.0.0-beta.7) (2024-10-11)


Expand Down
2 changes: 1 addition & 1 deletion projects/scion/workbench/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scion/workbench",
"version": "18.0.0-beta.7",
"version": "18.0.0-beta.8",
"description": "SCION Workbench enables the creation of Angular web applications that require a flexible layout to arrange content side-by-side or stacked, all personalizable by the user via drag & drop.",
"license": "EPL-2.0",
"private": false,
Expand Down

0 comments on commit 2b31eb2

Please sign in to comment.