Features ✨
- Add support for Angular 14 (#411)
- Keep the support of keycloak-js from version 10 to 17.
Breaking changes 💥
- keycloak-js has two dependencies (base64-js and js-sha256) that generate warnings when the building the app with Angular 14. As follows:
Warning: /.../oss/keycloak-angular/example/node_modules/keycloak-js/dist/keycloak.mjs depends on 'base64-js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Warning: /.../oss/keycloak-angular/example/node_modules/keycloak-js/dist/keycloak.mjs depends on 'js-sha256'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
To solve this issue, both dependencies need to be updated to be ESM and after, the keycloak-js library needs to update to the recent versions.
Temporary, please follow the instructions of https://angular.io/guide/build#configuring-commonjs-dependencies.