diff --git a/CHANGELOG_WORKBENCH.md b/CHANGELOG_WORKBENCH.md index 5fff479dc..7be3e8d43 100644 --- a/CHANGELOG_WORKBENCH.md +++ b/CHANGELOG_WORKBENCH.md @@ -1,3 +1,37 @@ +# [18.0.0-beta.2](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.1...18.0.0-beta.2) (2024-06-13) + + +### Code Refactoring + +* **workbench:** change default icon font directory from `/assets/fonts` to `/fonts` ([d347dae](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/d347daebc40f3917b867435586929725fc8c1acd)) + + +### BREAKING CHANGES + +* **workbench:** The default icon font directory has changed from `/assets/fonts` to `/fonts`. + + To migrate: + - Move the `fonts` folder from `/src/assets` to `/public`. + - Include content of the `public` folder in angular.json: + ```json + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ] + ``` + - Alternatively, to not change the folder structure, you can configure a custom path to the icon font directory in your `styles.scss`: + ```scss + use '@scion/workbench' with ( + $icon-font: ( + directory: 'assets/fonts' + ) + ); + ``` + + + # [18.0.0-beta.1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/17.0.0-beta.9...18.0.0-beta.1) (2024-06-10) diff --git a/CHANGELOG_WORKBENCH_LATEST.md b/CHANGELOG_WORKBENCH_LATEST.md index 69a06db88..6581ffdf2 100644 --- a/CHANGELOG_WORKBENCH_LATEST.md +++ b/CHANGELOG_WORKBENCH_LATEST.md @@ -1,18 +1,34 @@ -# [18.0.0-beta.1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/17.0.0-beta.9...18.0.0-beta.1) (2024-06-10) +# [18.0.0-beta.2](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.1...18.0.0-beta.2) (2024-06-13) -### Dependencies +### Code Refactoring -* **workbench:** update @scion/workbench to Angular 18 ([d39fa85](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/d39fa851908804fea3e54f3b25daedb539dd29a3)) +* **workbench:** change default icon font directory from `/assets/fonts` to `/fonts` ([d347dae](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/d347daebc40f3917b867435586929725fc8c1acd)) ### BREAKING CHANGES -* **workbench:** Updating `@scion/workbench` to Angular 18 introduced a breaking change. +* **workbench:** The default icon font directory has changed from `/assets/fonts` to `/fonts`. To migrate: - - update your application to Angular 18; for detailed migration instructions, refer to https://v18.angular.dev/update-guide; - - update @scion/components to version 18; for detailed migration instructions, refer to https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/CHANGELOG_COMPONENTS.md; + - Move the `fonts` folder from `/src/assets` to `/public`. + - Include content of the `public` folder in angular.json: + ```json + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ] + ``` + - Alternatively, to not change the folder structure, you can configure a custom path to the icon font directory in your `styles.scss`: + ```scss + use '@scion/workbench' with ( + $icon-font: ( + directory: 'assets/fonts' + ) + ); + ``` diff --git a/docs/site/changelog-workbench/changelog.md b/docs/site/changelog-workbench/changelog.md index 738ad93ee..93788907d 100644 --- a/docs/site/changelog-workbench/changelog.md +++ b/docs/site/changelog-workbench/changelog.md @@ -6,6 +6,40 @@ ## [Changelog][menu-changelog] > Workbench (@scion/workbench) +# [18.0.0-beta.2](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/18.0.0-beta.1...18.0.0-beta.2) (2024-06-13) + + +### Code Refactoring + +* **workbench:** change default icon font directory from `/assets/fonts` to `/fonts` ([d347dae](https://github.com/SchweizerischeBundesbahnen/scion-workbench/commit/d347daebc40f3917b867435586929725fc8c1acd)) + + +### BREAKING CHANGES + +* **workbench:** The default icon font directory has changed from `/assets/fonts` to `/fonts`. + + To migrate: + - Move the `fonts` folder from `/src/assets` to `/public`. + - Include content of the `public` folder in angular.json: + ```json + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ] + ``` + - Alternatively, to not change the folder structure, you can configure a custom path to the icon font directory in your `styles.scss`: + ```scss + use '@scion/workbench' with ( + $icon-font: ( + directory: 'assets/fonts' + ) + ); + ``` + + + # [18.0.0-beta.1](https://github.com/SchweizerischeBundesbahnen/scion-workbench/compare/17.0.0-beta.9...18.0.0-beta.1) (2024-06-10) diff --git a/projects/scion/workbench/package.json b/projects/scion/workbench/package.json index 2bff5ec13..a125bce6f 100644 --- a/projects/scion/workbench/package.json +++ b/projects/scion/workbench/package.json @@ -1,6 +1,6 @@ { "name": "@scion/workbench", - "version": "18.0.0-beta.1", + "version": "18.0.0-beta.2", "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,