diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f2907d0b..bfec01b34 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -228,13 +228,13 @@ We use NPM distribution tags to differentiate between pre-releases (x.0.0-beta.0 ## Release guidelines Whenever you publish a new version to NPM (pre-release, major, minor, patch), please follow the instructions below: -- update all `package.json` files with the new version, e.g. `0.0.0-beta.23` (search and replace "0.0.0-beta.22" -> "0.0.0-beta.23") +- update all `package.json` files with the new version, e.g. `0.0.0-beta.24` (search and replace "0.0.0-beta.23" -> "0.0.0-beta.24") - run `npm i` to update the version in `package-lock.json` - generate the new `changelog.md` ([see below](#generating-change-logs)) - correct the generated `changelog.md`: move the header to the top -- create a release commit that consists of the changed files and a commit message like 'release: version 0.0.0-beta.23' +- create a release commit that consists of the changed files and a commit message like 'release: version 0.0.0-beta.24' - push the changes to a new branch e.g. `release/0.0.0-beta.23` and create a pull request (no comments needed) -- once merged to the master, tag your release commit with the exact version as tag name (e.g. `0.0.0-beta.23`). +- once merged to the master, tag your release commit with the exact version as tag name (e.g. `0.0.0-beta.24`). - based on the release tag, travis will automatically build & publish the necessary npm packages SCION workbench packages are published under `@scion` scope. To get access to SCION organization, please file an issue in the project issue tracker. diff --git a/package-lock.json b/package-lock.json index 72109a56a..29bd5e115 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "scion", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 01b87ce92..3a9f43230 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scion", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench helps to build multi-view web applications and integrates separate micro frontends into a consistent rich web application.", "license": "EPL-2.0", "homepage": "https://github.com/SchweizerischeBundesbahnen/scion-workbench", diff --git a/projects/app/common/package.json b/projects/app/common/package.json index d7e39a646..3b42b5206 100644 --- a/projects/app/common/package.json +++ b/projects/app/common/package.json @@ -1,6 +1,6 @@ { "name": "@scion/app/common", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "Contains a collection of UI components, styles and services used by E2E application.", "license": "EPL-2.0", "private": true, @@ -21,9 +21,9 @@ "@angular/common": "^8.0.0-rc.0 || ^8.0.0", "@angular/core": "^8.0.0-rc.0 || ^8.0.0", "@angular/cdk": "^8.0.0-rc.0 || ^8.0.0", - "@scion/viewport": "0.0.0-beta.22", - "@scion/dimension": "0.0.0-beta.22", - "@scion/workbench-application-platform.api": "0.0.0-beta.22", + "@scion/viewport": "0.0.0-beta.23", + "@scion/dimension": "0.0.0-beta.23", + "@scion/workbench-application-platform.api": "0.0.0-beta.23", "rxjs": "^6.0.0" }, "keywords": [ diff --git a/projects/scion/dimension/package.json b/projects/scion/dimension/package.json index 316610526..65acc236b 100644 --- a/projects/scion/dimension/package.json +++ b/projects/scion/dimension/package.json @@ -1,6 +1,6 @@ { "name": "@scion/dimension", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "Allows observing changes to host element's size.", "license": "EPL-2.0", "private": false, diff --git a/projects/scion/mouse-dispatcher/package.json b/projects/scion/mouse-dispatcher/package.json index dc2edac1c..633caf113 100644 --- a/projects/scion/mouse-dispatcher/package.json +++ b/projects/scion/mouse-dispatcher/package.json @@ -1,6 +1,6 @@ { "name": "@scion/mouse-dispatcher", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "Dispatches mouse events between the application window and another cross-origin window.", "license": "EPL-2.0", "private": false, diff --git a/projects/scion/viewport/package.json b/projects/scion/viewport/package.json index acca38070..988b6d314 100644 --- a/projects/scion/viewport/package.json +++ b/projects/scion/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@scion/viewport", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "Provides a viewport component with scrollbars that sit on top of the viewport client.", "license": "EPL-2.0", "private": false, @@ -21,7 +21,7 @@ "@angular/common": "^8.0.0-rc.0 || ^8.0.0", "@angular/core": "^8.0.0-rc.0 || ^8.0.0", "@angular/cdk": "^8.0.0-rc.0 || ^8.0.0", - "@scion/dimension": "0.0.0-beta.22", + "@scion/dimension": "0.0.0-beta.23", "rxjs": "^6.0.0" }, "keywords": [ diff --git a/projects/scion/workbench-application-platform.api/package.json b/projects/scion/workbench-application-platform.api/package.json index 2198e54c4..f6517b276 100644 --- a/projects/scion/workbench-application-platform.api/package.json +++ b/projects/scion/workbench-application-platform.api/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench-application-platform.api", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench Application Platform is an extension of SCION Workbench to integrate content from multiple web applications in a coherent way, thus enabling a micro frontend architecture for allowing different front-end frameworks to co-exist and independent delivery.\n\nThe platform provides the mechanics for client-side web application integration. Any web application can be integrated. If the site does not interact with the platform, there is no need for adaptation. For a deeper integration, the platform provides a framework-agnostic guest API.\n\nThis package contains data transfer objects to pass data between the platform and the application.", "license": "EPL-2.0", "private": false, diff --git a/projects/scion/workbench-application-platform/package.json b/projects/scion/workbench-application-platform/package.json index b42d8462c..511667d0e 100644 --- a/projects/scion/workbench-application-platform/package.json +++ b/projects/scion/workbench-application-platform/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench-application-platform", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench Application Platform is an extension of SCION Workbench to integrate content from multiple web applications in a coherent way, thus enabling a micro frontend architecture for allowing different front-end frameworks to co-exist and independent delivery.\n\nThe platform provides the mechanics for client-side web application integration. Any web application can be integrated. If the site does not interact with the platform, there is no need for adaptation. For a deeper integration, the platform provides a framework-agnostic guest API.", "license": "EPL-2.0", "private": false, @@ -17,14 +17,14 @@ }, "dependencies": { "js-sha256": "0.9.0", - "@scion/workbench-application-platform.api": "0.0.0-beta.22" + "@scion/workbench-application-platform.api": "0.0.0-beta.23" }, "peerDependencies": { "@angular/common": "^8.0.0-rc.0 || ^8.0.0", "@angular/core": "^8.0.0-rc.0 || ^8.0.0", "@angular/cdk": "^8.0.0-rc.0 || ^8.0.0", "@angular/router": "^8.0.0-rc.0 || ^8.0.0", - "@scion/workbench": "0.0.0-beta.22", + "@scion/workbench": "0.0.0-beta.23", "rxjs": "^6.0.0" }, "keywords": [ diff --git a/projects/scion/workbench-application.angular/package.json b/projects/scion/workbench-application.angular/package.json index abdb5b115..7f921de43 100644 --- a/projects/scion/workbench-application.angular/package.json +++ b/projects/scion/workbench-application.angular/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench-application.angular", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench Application Platform is an extension of SCION Workbench to integrate content from multiple web applications in a coherent way, thus enabling a micro frontend architecture for allowing different front-end frameworks to co-exist and independent delivery.\n\nThe platform provides the mechanics for client-side web application integration. Any web application can be integrated. If the site does not interact with the platform, there is no need for adaptation. For a deeper integration, the platform provides a framework-agnostic guest API.\n\nThis package allows an Angular application to interact with SCION Workbench Application Platform.", "license": "EPL-2.0", "private": false, @@ -16,7 +16,7 @@ "url": "https://github.com/SchweizerischeBundesbahnen/scion-workbench" }, "dependencies": { - "@scion/workbench-application.core": "0.0.0-beta.22" + "@scion/workbench-application.core": "0.0.0-beta.23" }, "peerDependencies": { "@angular/common": "^8.0.0-rc.0 || ^8.0.0", diff --git a/projects/scion/workbench-application.core/package.json b/projects/scion/workbench-application.core/package.json index a43bbea90..34ff877d9 100644 --- a/projects/scion/workbench-application.core/package.json +++ b/projects/scion/workbench-application.core/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench-application.core", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench Application Platform is an extension of SCION Workbench to integrate content from multiple web applications in a coherent way, thus enabling a micro frontend architecture for allowing different front-end frameworks to co-exist and independent delivery.\n\nThe platform provides the mechanics for client-side web application integration. Any web application can be integrated. If the site does not interact with the platform, there is no need for adaptation. For a deeper integration, the platform provides a framework-agnostic guest API.\n\nThis package allows an application to interact with SCION Workbench Application Platform. It is written in pure TypeScript.", "license": "EPL-2.0", "private": false, @@ -16,8 +16,8 @@ "url": "https://github.com/SchweizerischeBundesbahnen/scion-workbench" }, "dependencies": { - "@scion/mouse-dispatcher": "0.0.0-beta.22", - "@scion/workbench-application-platform.api": "0.0.0-beta.22" + "@scion/mouse-dispatcher": "0.0.0-beta.23", + "@scion/workbench-application-platform.api": "0.0.0-beta.23" }, "peerDependencies": { "rxjs": "^6.0.0" diff --git a/projects/scion/workbench/package.json b/projects/scion/workbench/package.json index b95e8dc54..92df31343 100644 --- a/projects/scion/workbench/package.json +++ b/projects/scion/workbench/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench", - "version": "0.0.0-beta.22", + "version": "0.0.0-beta.23", "description": "SCION Workbench provides a lightweight application frame and helps to build multi-view web applications. Views are shown within tabs which can be flexibly arranged and dragged around by the user.", "license": "EPL-2.0", "private": false, @@ -16,7 +16,7 @@ "url": "https://github.com/SchweizerischeBundesbahnen/scion-workbench" }, "dependencies": { - "@scion/mouse-dispatcher": "0.0.0-beta.22" + "@scion/mouse-dispatcher": "0.0.0-beta.23" }, "peerDependencies": { "@angular/common": "^8.0.0-rc.0 || ^8.0.0", @@ -25,8 +25,8 @@ "@angular/animations": "^8.0.0-rc.0 || ^8.0.0", "@angular/forms": "^8.0.0-rc.0 || ^8.0.0", "@angular/router": "^8.0.0-rc.0 || ^8.0.0", - "@scion/dimension": "0.0.0-beta.22", - "@scion/viewport": "0.0.0-beta.22", + "@scion/dimension": "0.0.0-beta.23", + "@scion/viewport": "0.0.0-beta.23", "rxjs": "^6.0.0" }, "keywords": [ diff --git a/resources/site/changelog.md b/resources/site/changelog.md index 8a611e520..c3e7e839b 100644 --- a/resources/site/changelog.md +++ b/resources/site/changelog.md @@ -5,6 +5,28 @@ # Changelog +# [0.0.0-beta.23](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/0.0.0-beta.22...0.0.0-beta.23) (2019-06-12) + + +### Bug Fixes + +* remove deprecated API ([24c6929](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/24c6929)) +* remove workaround for Angular issue [#25313](https://github.com/angular/angular/issues/25313) ([5ba0d16](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/5ba0d16)) + + +### Features + +* remove support for Angular 7 ([6dda04e](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/6dda04e)), closes [#147](https://github.com/SchweizerischeBundesbahnen/scion-workbench/issues/147) +* support Angular 8 ([cbceba2](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/cbceba2)), closes [#147](https://github.com/SchweizerischeBundesbahnen/scion-workbench/issues/147) [#37](https://github.com/SchweizerischeBundesbahnen/scion-workbench/issues/37) + + +### BREAKING CHANGES + +* SCION Workbench no longer supports Angular 6 and Angular 7. Migrate your project to run with Angular 8. + See Angular Update Guide for detailed instructions on how to upgrade to a newer Angular version. +* removed WorkbenchRouter.resolve: use `Router.navigate` and set `closeIfPresent` in `WbNavigationExtras` +* removed WbNavigationExtras.tryActivateView: use `WbNavigationExtras.activateIfPresent` instead + # [0.0.0-beta.22](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/0.0.0-beta.21...0.0.0-beta.22) (2019-05-08) ### Bug Fixes