Releases: mauriciovigolo/keycloak-angular
Releases · mauriciovigolo/keycloak-angular
v20.0.0
✨ Key Highlights
- Support for Angular v20: Added support for the latest Angular release, v20. [#644, #649]
- Documentation: Fixed incorrect references, added instructions for loading an external configuration file, and improved the AutoRefreshToken documentation. [#614, #629, #638, #639]
- Examples: Added a new example demonstrating how to load an external configuration file in fetch_config.
- Interceptor: Applied a security fix to properly evaluate asynchronous conditions in the custom bearer token interceptor. [#619]
🙌 Special Thanks
This release was made possible with support from the following contributors. Thank you all for your great work and for helping improve the quality of this library!
v19.0.2
v19.0.1
✨ Key Highlights
- Documentation Update: Fixed broken links to the docs folder in the README.md file for improved navigation.
v19.0.0
✨ Key Highlights
- Functional Configuration: Simplify setup with
provideKeycloak—no moreKeycloakServiceorKeycloakAngularModule. - Angular Signals: Reactive handling of Keycloak events for a cleaner, modern approach.
- Enhanced Interceptors: Add tokens with explicit configuration using
includeBearerTokenInterceptorandcustomBearerTokenInterceptor. - Role-Based Rendering: New
*kaHasRolesdirective for conditional rendering based on roles. - Modular Features: Introduced
withAutoRefreshTokenfor seamless token refresh and session management. - Functional Route Guards: Create custom guards with
createAuthGuardfor streamlined route protection.
⚠️ Breaking Changes
- Deprecated
KeycloakService,KeycloakAngularModule,KeycloakAuthGuard, andkeycloakEvents$. - Bearer tokens are no longer added automatically to all HTTP requests—explicit configuration required.
🛠️ Legacy Version Still Bundled
The legacy implementation of Keycloak-Angular (KeycloakService, KeycloakAngularModule, etc.) is still bundled in this release for backward compatibility. However, it is deprecated and will be removed in a future major version. We strongly encourage migrating to the new APIs.
🛠️ Migration Guide
See the migration guide. 🚀
v16.1.0
Features ✨
- Add support to Keycloak v26.
Contributors 🙏🏻
- Special thanks to @tomaThomas for the Keycloak v26 update.
v16.0.1
Bug fixes ✨
- Fix version compatibility table in README.md, to update support to keycloak v.25.
v16.0.0
Features ✨
- Add support to Angular v18
- Add support to Keycloak v25
Contributors 🙏🏻
- Special thanks to @giboow for the Angular v18 update and @TDesjardins for fixing a typo in the README.
v15.3.0
Features ✨
- Add support to Keycloak v25
v14.4.0
Features ✨
- Add support to Keycloak v25