-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c830d28
commit 81dede8
Showing
5 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,5 @@ | ||
# Keycloak-Angular v19 🚀 | ||
# v19.0.1 | ||
|
||
We’re thrilled to release **Keycloak-Angular v19**, packed with modern features and improvements for Angular applications. 🎉 | ||
## ✨ Features | ||
|
||
## ✨ 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 | ||
|
||
- Migrate to `provideKeycloak` for setup. | ||
- Replace RxJS-based `keycloakEvents$` with Angular Signals. | ||
- Use `*kaHasRoles` for role-based DOM rendering. | ||
|
||
For full details, see the [migration guide](https://github.com/mauriciovigolo/keycloak-angular/docs/migration-guides/v19.md). 🚀 | ||
- **Fix links in documentation**: fix GitHub repository links with the wrong documentation URL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# v19.0.0 | ||
|
||
## ✨ 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 | ||
|
||
For full details, see the [migration guide](https://github.com/mauriciovigolo/keycloak-angular/blob/main/docs/migration-guides/v19.md). 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters