Skip to content

Releases: mauriciovigolo/keycloak-angular

v19.0.2

24 Dec 04:21
5fa0962
Compare
Choose a tag to compare

Bug fixes ✨

  • Solve issues #600 and #601, related to the Keycloak initialization and AuthGuardData values in createAuthGuard.

v19.0.1

24 Dec 03:58
81dede8
Compare
Choose a tag to compare

✨ Key Highlights

  • Documentation Update: Fixed broken links to the docs folder in the README.md file for improved navigation.

v19.0.0

23 Dec 04:05
c830d28
Compare
Choose a tag to compare

✨ Key Highlights

  • Functional Configuration: Simplify setup with provideKeycloak—no more KeycloakService or KeycloakAngularModule.
  • Angular Signals: Reactive handling of Keycloak events for a cleaner, modern approach.
  • Enhanced Interceptors: Add tokens with explicit configuration using includeBearerTokenInterceptor and customBearerTokenInterceptor.
  • 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, and keycloakEvents$.
  • 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

04 Nov 02:02
9a002d5
Compare
Choose a tag to compare

Features ✨

  • Add support to Keycloak v26.

Contributors 🙏🏻

  • Special thanks to @tomaThomas for the Keycloak v26 update.

v16.0.1

17 Jun 01:29
4d32d41
Compare
Choose a tag to compare

Bug fixes ✨

  • Fix version compatibility table in README.md, to update support to keycloak v.25.

v16.0.0

17 Jun 01:21
9fed287
Compare
Choose a tag to compare

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

17 Jun 01:17
275279b
Compare
Choose a tag to compare

Features ✨

  • Add support to Keycloak v25

v14.4.0

17 Jun 01:17
8348085
Compare
Choose a tag to compare

Features ✨

  • Add support to Keycloak v25

v15.2.1

19 Mar 14:09
d911e55
Compare
Choose a tag to compare

Bug fixes ✨

v15.2.0

19 Mar 02:08
cd2a575
Compare
Choose a tag to compare

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.