Releases: mauriciovigolo/keycloak-angular
Releases · mauriciovigolo/keycloak-angular
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 moreKeycloakService
orKeycloakAngularModule
. - Angular Signals: Reactive handling of Keycloak events for a cleaner, modern approach.
- Enhanced Interceptors: Add tokens with explicit configuration using
includeBearerTokenInterceptor
andcustomBearerTokenInterceptor
. - Role-Based Rendering: New
*kaHasRoles
directive for conditional rendering based on roles. - Modular Features: Introduced
withAutoRefreshToken
for seamless token refresh and session management. - Functional Route Guards: Create custom guards with
createAuthGuard
for 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
v15.2.1
v15.2.0
Features ✨
- Add support to Keycloak v24 #545
Hint:
Please have a look into the keycloak-js@24 release notes. PKCE is enabled by default
Note
Version v15.2.0 signed as deprecated on npm due to the issue in the package.json keycloak-js@24 version. More info: #550.
Please use instead v15.2.1.