-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
637e8bd
commit d716026
Showing
6 changed files
with
158 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,51 @@ | ||
# [16.0.0-beta.10](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/16.0.0-beta.9...16.0.0-beta.10) (2023-11-08) | ||
# [17.0.0-beta.1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/16.0.0-beta.10...17.0.0-beta.1) (2023-11-21) | ||
|
||
|
||
### Bug Fixes | ||
### Dependencies | ||
|
||
* **workbench:** show splash if instructed by the capability, but only if not navigating to the same capability ([54095b3](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/54095b3703ae36ab56479dbe4870fa890205985c)) | ||
* **workbench:** do not render divider preceding tab dragged out of its tabbar ([390178a](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/390178a5629fee2ef5be9da81a6609f45fd914e6)) | ||
* **workbench:** update @scion/workbench to Angular 17 ([637e8bd](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/637e8bdce05a9e9ceeba4b9903ba5176b4e34901)), closes [#485](https://github.com/SchweizerischeBundesbahnen/scion-workbench/issues/485) | ||
|
||
|
||
### Features | ||
|
||
* **workbench:** provide workbench dialog ([34e5acc](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/34e5acc96b6c1b7ee78625fa8a7b19434e35f778)) | ||
|
||
|
||
### BREAKING CHANGES | ||
|
||
* **workbench:** Updating `@scion/workbench` to Angular 17 introduced a breaking change. | ||
|
||
To migrate: | ||
- update your application to Angular 17.x; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; | ||
- update @scion/components to version 17; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; | ||
- If deploying the application in a subdirectory, use a relative directory path for the browser to load the icon files relative to the document base URL (as specified in the `<base>` HTML tag). Note that using a relative path requires to exclude the icon files from the application build. Depending on building the application with esbuild `@angular-devkit/build-angular:application` or webpack `@angular-devkit/build-angular:browser`, different steps are required to exclude the icons from the build. | ||
|
||
**Using @angular-devkit/build-angular:application (esbuild)** | ||
|
||
Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: | ||
```scss | ||
@use '@scion/workbench' with ( | ||
$icon-font: ( | ||
directory: 'path/to/font' // no leading slash, typically `assets/fonts` | ||
) | ||
); | ||
``` | ||
|
||
Add the path to the `externalDependencies` build option in the `angular.json` file: | ||
```json | ||
"externalDependencies": [ | ||
"path/to/font/scion-workbench-icons.*" | ||
] | ||
``` | ||
|
||
**Using @angular-devkit/build-angular:browser (webpack)** | ||
|
||
Configure the `@scion/workbench` SCSS module to load the icon font relative to the document base URL: | ||
|
||
```scss | ||
@use '@scion/workbench' with ( | ||
$icon-font: ( | ||
directory: '^path/to/font' // no leading slash but with a caret (^), typically `^assets/fonts` | ||
) | ||
); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters