From bf372db796b456ba78670f36a46ea04585043903 Mon Sep 17 00:00:00 2001 From: danielwiehl Date: Wed, 11 Sep 2024 12:15:00 +0200 Subject: [PATCH] release(workbench-client): v1.0.0-beta.26 --- CHANGELOG_WORKBENCH_CLIENT.md | 30 +++++++++++++++++++ CHANGELOG_WORKBENCH_CLIENT_LATEST.md | 28 +++++++++++++++-- .../changelog-workbench-client/changelog.md | 30 +++++++++++++++++++ projects/scion/workbench-client/package.json | 2 +- 4 files changed, 86 insertions(+), 4 deletions(-) diff --git a/CHANGELOG_WORKBENCH_CLIENT.md b/CHANGELOG_WORKBENCH_CLIENT.md index f95257772..01843013b 100644 --- a/CHANGELOG_WORKBENCH_CLIENT.md +++ b/CHANGELOG_WORKBENCH_CLIENT.md @@ -1,3 +1,33 @@ +# [1.0.0-beta.26](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.25...workbench-client-1.0.0-beta.26) (2024-09-11) + + +### Features + +* **workbench-client/popup:** support returning result on focus loss ([ce5089e](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/ce5089e57ba48f53f17fede4ffe4fa72cf74a01b)) + + +### BREAKING CHANGES + +* **workbench-client/popup:** The method `closeWithError` has been removed from the `WorkbenchPopup` handle. Instead, pass an `Error` object to the `close` method. + +**Before migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).closeWithError('some error'); +``` + +**After migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).close(new Error('some error')); +``` + + + # [1.0.0-beta.25](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.24...workbench-client-1.0.0-beta.25) (2024-08-28) diff --git a/CHANGELOG_WORKBENCH_CLIENT_LATEST.md b/CHANGELOG_WORKBENCH_CLIENT_LATEST.md index 65d306154..281fe4674 100644 --- a/CHANGELOG_WORKBENCH_CLIENT_LATEST.md +++ b/CHANGELOG_WORKBENCH_CLIENT_LATEST.md @@ -1,8 +1,30 @@ -# [1.0.0-beta.25](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.24...workbench-client-1.0.0-beta.25) (2024-08-28) +# [1.0.0-beta.26](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.25...workbench-client-1.0.0-beta.26) (2024-09-11) -### Bug Fixes +### Features + +* **workbench-client/popup:** support returning result on focus loss ([ce5089e](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/ce5089e57ba48f53f17fede4ffe4fa72cf74a01b)) + + +### BREAKING CHANGES + +* **workbench-client/popup:** The method `closeWithError` has been removed from the `WorkbenchPopup` handle. Instead, pass an `Error` object to the `close` method. + +**Before migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).closeWithError('some error'); +``` + +**After migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).close(new Error('some error')); +``` -* **workbench-client/dialog:** unsubscribe previous title observable when setting new title observable ([2e72b39](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/2e72b395cb11f53456bf2e929eb6dec97043f4c4)) diff --git a/docs/site/changelog-workbench-client/changelog.md b/docs/site/changelog-workbench-client/changelog.md index b89207c61..399296142 100644 --- a/docs/site/changelog-workbench-client/changelog.md +++ b/docs/site/changelog-workbench-client/changelog.md @@ -6,6 +6,36 @@ ## [Changelog][menu-changelog] > Workbench Client (@scion/workbench-client) +# [1.0.0-beta.26](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.25...workbench-client-1.0.0-beta.26) (2024-09-11) + + +### Features + +* **workbench-client/popup:** support returning result on focus loss ([ce5089e](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/ce5089e57ba48f53f17fede4ffe4fa72cf74a01b)) + + +### BREAKING CHANGES + +* **workbench-client/popup:** The method `closeWithError` has been removed from the `WorkbenchPopup` handle. Instead, pass an `Error` object to the `close` method. + +**Before migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).closeWithError('some error'); +``` + +**After migration:** +```ts +import {Beans} from '@scion/toolkit/bean-manager'; +import {WorkbenchPopup} from '@scion/workbench-client'; + +Beans.get(WorkbenchPopup).close(new Error('some error')); +``` + + + # [1.0.0-beta.25](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/workbench-client-1.0.0-beta.24...workbench-client-1.0.0-beta.25) (2024-08-28) diff --git a/projects/scion/workbench-client/package.json b/projects/scion/workbench-client/package.json index 653df4cd4..540d7553e 100644 --- a/projects/scion/workbench-client/package.json +++ b/projects/scion/workbench-client/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench-client", - "version": "1.0.0-beta.25", + "version": "1.0.0-beta.26", "description": "SCION Workbench Client provides core API for a web app to interact with SCION Workbench and other microfrontends. It is a pure TypeScript library based on the framework-agnostic `@scion/microfrontend-platform` library and can be used with any web stack.", "license": "EPL-2.0", "private": false,