2021-02-20 11:51:44 +01:00
< p align = "center" >
2022-01-26 10:40:08 +01:00
< img src = "https://user-images.githubusercontent.com/6702424/109387840-eba11f80-7903-11eb-9050-db1dad883f78.png" >
2021-02-20 11:51:44 +01:00
< / p >
< p align = "center" >
2022-09-06 19:12:59 +02:00
< i > 🔏 Create Keycloak themes using React 🔏< / i >
2021-02-20 11:51:44 +01:00
< br >
< br >
2021-12-23 14:01:52 +01:00
< a href = "https://github.com/garronej/keycloakify/actions" >
< img src = "https://github.com/garronej/keycloakify/workflows/ci/badge.svg?branch=main" >
< / a >
< a href = "https://www.npmjs.com/package/keycloakify" >
2022-06-11 03:36:03 +02:00
< img src = "https://img.shields.io/npm/dm/keycloakify" >
2021-12-23 14:01:52 +01:00
< / a >
< a href = "https://github.com/garronej/keycloakify/blob/main/LICENSE" >
< img src = "https://img.shields.io/npm/l/keycloakify" >
< / a >
2023-03-24 04:14:41 +01:00
< a href = "https://github.com/keycloakify/keycloakify/blob/729503fe31a155a823f46dd66ad4ff34ca274e0a/tsconfig.json #L14 " >
2021-12-23 14:01:52 +01:00
< img src = "https://camo.githubusercontent.com/0f9fcc0ac1b8617ad4989364f60f78b2d6b32985ad6a508f215f14d8f897b8d3/68747470733a2f2f62616467656e2e6e65742f62616467652f547970655363726970742f7374726963742532302546302539462539322541412f626c7565" >
< / a >
2021-05-15 22:41:30 +02:00
< a href = "https://github.com/thomasdarimont/awesome-keycloak" >
< img src = "https://awesome.re/mentioned-badge.svg" / >
< / a >
2023-06-09 12:17:17 +02:00
< a href = "https://discord.gg/kYFZG7fQmn" >
2023-04-18 04:29:02 +02:00
< img src = "https://img.shields.io/discord/1097708346976505977" / >
< / a >
2022-04-23 22:01:15 +02:00
< p align = "center" >
< a href = "https://www.keycloakify.dev" > Home< / a >
-
< a href = "https://docs.keycloakify.dev" > Documentation< / a >
2022-09-07 13:45:34 +02:00
-
2023-04-20 05:52:04 +02:00
< a href = "https://storybook.keycloakify.dev" > Storybook< / a >
2023-03-22 03:46:30 +01:00
-
2023-02-26 17:32:35 +01:00
< a href = "https://github.com/codegouvfr/keycloakify-starter" > Starter project< / a >
2022-09-07 13:45:34 +02:00
< / p >
2021-04-12 04:21:18 +02:00
< / p >
2021-10-26 14:50:57 +02:00
< p align = "center" >
2023-06-05 06:01:47 +02:00
< i > This build tool generates a Keycloak theme < a href = "https://www.keycloakify.dev" > Learn more< / a > < / i >
2022-04-23 22:01:15 +02:00
< img src = "https://user-images.githubusercontent.com/6702424/110260457-a1c3d380-7fac-11eb-853a-80459b65626b.png" >
2021-10-26 14:50:57 +02:00
< / p >
2023-05-02 04:36:20 +02:00
> Whether or not React is your preferred framework, Keycloakify
> offers a solid option for building Keycloak themes.
> It's not just a convenient way to create a Keycloak theme
> when using React; it's a well-regarded solution that many
> developers appreciate.
2023-05-02 04:22:06 +02:00
2023-08-19 19:44:49 +02:00
> 📣 🛑 Account themes generated by Keycloakify are not currently compatible with Keycloak 22.
2023-08-19 19:44:13 +02:00
> We are working on a solution. [Follow progress](https://github.com/keycloakify/keycloakify/issues/389).
2023-09-01 17:44:39 +02:00
> Login and email themes are not affected.
> UPDATE: [The PR](https://github.com/keycloak/keycloak/pull/22317) that should future proof Keycloakify account themes has been greenlighted
> by the Keycloak team. Resolution is only a matter of time.
2023-08-02 09:15:10 +02:00
2023-06-21 14:19:28 +02:00
Keycloakify is fully compatible with Keycloak, starting from version 11 and is anticipated to maintain compatibility with all future versions.
You can update your Keycloak, your Keycloakify generated theme won't break.
2023-08-02 09:15:10 +02:00
To understand the basis of my confidence in this, you can [visit this discussion thread where I've explained in detail ](https://github.com/keycloakify/keycloakify/discussions/346#discussioncomment-5889791 ).
2023-06-21 14:19:28 +02:00
2023-04-14 23:06:51 +00:00
## Sponsor 👼
2023-03-27 17:47:26 +02:00
2023-05-02 18:14:41 +02:00
We are exclusively sponsored by [Cloud IAM ](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github ), a French company offering Keycloak as a service.
2023-04-15 00:44:48 +02:00
Their dedicated support helps us continue the development and maintenance of this project.
2022-09-06 19:12:59 +02:00
2023-04-25 01:13:47 +02:00
[Cloud IAM ](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github ) provides the following services:
2023-04-15 00:44:48 +02:00
2023-04-20 22:15:02 +02:00
- Simplify and secure your Keycloak Identity and Access Management. Keycloak as a Service.
2023-04-15 00:44:48 +02:00
- Custom theme building for your brand using Keycloakify.
2023-04-25 01:13:47 +02:00
< div align = "center" >

< / div >
< div align = "center" >

< / div >
2023-04-15 00:44:48 +02:00
< p align = "center" >
2023-04-25 01:13:47 +02:00
< i > Checkout < a href = "https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github" > Cloud IAM< / a > and use promo code < code > keycloakify5< / code > < / i >
2023-04-15 00:44:48 +02:00
< br / >
< i > 5% of your annual subscription will be donated to us, and you'll get 5% off too.< / i >
< / p >
2023-04-25 01:13:47 +02:00
Thank you, [Cloud IAM ](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github ), for your support!
2023-04-15 00:44:48 +02:00
2023-04-14 23:06:51 +00:00
## Contributors ✨
Thanks goes to these wonderful people ([emoji key ](https://allcontributors.org/docs/en/emoji-key )):
<!-- ALL - CONTRIBUTORS - LIST:START - Do not remove or modify this section -->
<!-- prettier - ignore - start -->
<!-- markdownlint - disable -->
< table >
< tbody >
< tr >
2023-04-14 23:55:12 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/lordvlad" > < img src = "https://avatars.githubusercontent.com/u/1217769?v=4?s=100" width = "100px;" alt = "Waldemar Reusch" / > < br / > < sub > < b > Waldemar Reusch< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=lordvlad" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://willwill96.github.io/the-ui-dawg-static-site/en/introduction/" > < img src = "https://avatars.githubusercontent.com/u/10997562?v=4?s=100" width = "100px;" alt = "William Will" / > < br / > < sub > < b > William Will< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=willwill96" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/Ann2827" > < img src = "https://avatars.githubusercontent.com/u/32645809?v=4?s=100" width = "100px;" alt = "Bystrova Ann" / > < br / > < sub > < b > Bystrova Ann< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=Ann2827" title = "Code" > 💻< / a > < / td >
2023-04-15 01:59:01 +02:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/mkreuzmayr" > < img src = "https://avatars.githubusercontent.com/u/20108212?v=4?s=100" width = "100px;" alt = "Michael Kreuzmayr" / > < br / > < sub > < b > Michael Kreuzmayr< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=mkreuzmayr" title = "Code" > 💻< / a > < / td >
2023-04-14 23:36:44 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://coolmathgames.tech" > < img src = "https://avatars.githubusercontent.com/u/6877780?v=4?s=100" width = "100px;" alt = "Mary " / > < br / > < sub > < b > Mary < / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=Mstrodl" title = "Code" > 💻< / a > < / td >
2023-04-14 23:55:12 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://tasyp.xyz/" > < img src = "https://avatars.githubusercontent.com/u/6623212?v=4?s=100" width = "100px;" alt = "German Öö" / > < br / > < sub > < b > German Öö< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=Tasyp" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://revolunet.com" > < img src = "https://avatars.githubusercontent.com/u/124937?v=4?s=100" width = "100px;" alt = "Julien Bouquillon" / > < br / > < sub > < b > Julien Bouquillon< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=revolunet" title = "Code" > 💻< / a > < / td >
2023-04-14 23:36:44 +00:00
< / tr >
< tr >
2023-04-14 23:55:12 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/aidangilmore" > < img src = "https://avatars.githubusercontent.com/u/32880357?v=4?s=100" width = "100px;" alt = "Aidan Gilmore" / > < br / > < sub > < b > Aidan Gilmore< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=aidangilmore" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/0x-Void" > < img src = "https://avatars.githubusercontent.com/u/32745739?v=4?s=100" width = "100px;" alt = "Void" / > < br / > < sub > < b > Void< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=0x-Void" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/juffe" > < img src = "https://avatars.githubusercontent.com/u/5393231?v=4?s=100" width = "100px;" alt = "juffe" / > < br / > < sub > < b > juffe< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=juffe" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/lazToum" > < img src = "https://avatars.githubusercontent.com/u/4764837?v=4?s=100" width = "100px;" alt = "Lazaros Toumanidis" / > < br / > < sub > < b > Lazaros Toumanidis< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=lazToum" title = "Code" > 💻< / a > < / td >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/marcmrf" > < img src = "https://avatars.githubusercontent.com/u/9928519?v=4?s=100" width = "100px;" alt = "Marc" / > < br / > < sub > < b > Marc< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=marcmrf" title = "Code" > 💻< / a > < / td >
2023-04-14 23:44:44 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "http://kasir-barati.github.io" > < img src = "https://avatars.githubusercontent.com/u/73785723?v=4?s=100" width = "100px;" alt = "Kasir Barati" / > < br / > < sub > < b > Kasir Barati< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=kasir-barati" title = "Documentation" > 📖< / a > < / td >
2023-04-19 15:34:48 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/asashay" > < img src = "https://avatars.githubusercontent.com/u/10714670?v=4?s=100" width = "100px;" alt = "Alex Oliynyk" / > < br / > < sub > < b > Alex Oliynyk< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=asashay" title = "Code" > 💻< / a > < / td >
< / tr >
< tr >
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://www.gravitysoftware.be" > < img src = "https://avatars.githubusercontent.com/u/1140574?v=4?s=100" width = "100px;" alt = "Thomas Silvestre" / > < br / > < sub > < b > Thomas Silvestre< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=thosil" title = "Code" > 💻< / a > < / td >
2023-05-02 14:21:19 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://github.com/satanshiro" > < img src = "https://avatars.githubusercontent.com/u/38865738?v=4?s=100" width = "100px;" alt = "satanshiro" / > < br / > < sub > < b > satanshiro< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=satanshiro" title = "Code" > 💻< / a > < / td >
2023-05-15 14:42:30 +00:00
< td align = "center" valign = "top" width = "14.28%" > < a href = "https://poelhekke.dev" > < img src = "https://avatars.githubusercontent.com/u/1632377?v=4?s=100" width = "100px;" alt = "Koen Poelhekke" / > < br / > < sub > < b > Koen Poelhekke< / b > < / sub > < / a > < br / > < a href = "https://github.com/keycloakify/keycloakify/commits?author=kpoelhekke" title = "Code" > 💻< / a > < / td >
2023-04-14 23:06:51 +00:00
< / tr >
< / tbody >
< / table >
<!-- markdownlint - restore -->
<!-- prettier - ignore - end -->
<!-- ALL - CONTRIBUTORS - LIST:END -->
2023-04-19 17:57:21 +02:00
# Changelog highlights
2023-08-28 20:10:05 +02:00
## 8.0
2023-08-24 09:44:00 +02:00
- Much smaller .jar size. 70.2 MB -> 7.8 MB.
Keycloakify now detects which of the static resources from the default theme are actually used by your theme and only include those in the .jar.
2023-08-28 20:09:48 +02:00
- Build time: The first build is slowed but the subsequent build are faster. [Update your CI so that the cache is persisted across CI build ](https://github.com/keycloakify/keycloakify-starter/commit/bc378d5afb67e796f520afbc348185f3e319d9d0 ).
2023-08-24 09:44:00 +02:00
### Breaking changes
There are very few breaking changes in this major version.
- The [`--external-assets` build option has been removed ](https://docs.keycloakify.dev/v/v7/build-options#external-assets-deprecated ) it was a performance optimization that is no longer relevant now that
we have lazy loading.
2023-08-28 19:12:06 +02:00
- `kcContext.usernameEditDisabled` is now `kcContext.usernameHidden` , the type was lying, it has been updated to reflect what's actually on the `kcContext` at runtime.
If you want to see in detail what should be updated [see issue ](https://github.com/keycloakify/keycloakify/pull/399 ), or you can search and replace `usernameEditDisabled` -> `usernameHidden` it'll do the trick.
2023-08-24 09:44:00 +02:00
- The `usePrepareTemplate` prototype has been changed, you can search and replace:
`src/keycloak-theme/login/Template.tsx`
```ts
2023-08-28 19:12:06 +02:00
url,
2023-08-24 09:44:00 +02:00
"stylesCommon": [
"node_modules/patternfly/dist/css/patternfly.min.css",
"node_modules/patternfly/dist/css/patternfly-additions.min.css",
"lib/zocial/zocial.css"
],
"styles": ["css/login.css"],
```
by
```ts
"styles": [
`${url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly.min.css` ,
`${url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly-additions.min.css` ,
`${url.resourcesCommonPath}/lib/zocial/zocial.css` ,
`${url.resourcesPath}/css/login.css`
],
```
and
`src/keycloak-theme/account/Template.css`
```ts
2023-08-28 19:12:06 +02:00
url,
2023-08-24 09:44:00 +02:00
"stylesCommon": ["node_modules/patternfly/dist/css/patternfly.min.css", "node_modules/patternfly/dist/css/patternfly-additions.min.css"],
"styles": ["css/account.css"],
```
by
```ts
"styles": [
`${url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly.min.css` ,
`${url.resourcesCommonPath}/node_modules/patternfly/dist/css/patternfly-additions.min.css` ,
`${url.resourcesPath}/css/account.css`
],
```
2023-07-24 01:11:18 +02:00
## 7.15
- The i18n messages you defines in your theme are now also maid available to Keycloak.
In practice this mean that you can now customize the `kcContext.message.summary` that
display a general alert and the values returned by `kcContext.messagesPerField.get()` that
2023-08-25 08:42:00 +02:00
are used to display specific error on some field of the form.
2023-07-24 01:11:18 +02:00
[See video ](https://youtu.be/D6tZcemReTI )
2023-08-25 08:42:00 +02:00
## 7.14
2023-06-21 03:56:30 +02:00
- Deprecate the `extraPages` build option. Keycloakify is now able to analyze your code to detect extra pages.
2023-06-19 00:52:17 +02:00
## 7.13
2023-06-21 18:08:02 +02:00
- Deprecate `customUserAttribute` , Keycloakify now analyze your code to predict field name usage. [See doc ](https://docs.keycloakify.dev/build-options#customuserattributes ).
It's now mandatory to [adopt the new directory structure ](https://docs.keycloakify.dev/migration-guides/v6-greater-than-v7 ).
2023-06-19 00:52:17 +02:00
2023-06-08 23:25:30 +02:00
## 7.12
- You can now pack multiple themes variant in a single `.jar` bundle. In vanilla Keycloak themes you have the ability to extend a base theme.
There is now an idiomatic way of achieving the same result. [Learn more ](https://docs.keycloakify.dev/build-options#keycloakify.extrathemenames ).
2023-04-19 17:57:21 +02:00
## 7.9
- Separate script for copying the default theme static assets to the public directory.
Theses assets are only needed for testing your theme locally in Storybook or with a `mockPageId` .
You are now expected to have a `"prepare": "copy-keycloak-resources-to-public",` in your package.json scripts.
This script will create `public/keycloak-assets` when you run `yarn install` (If you are using another package manager
like `pnpm` makes sure that `"prepare"` is actually ran.)
2023-04-25 01:42:42 +02:00
[See the updated starter ](https://github.com/keycloakify/keycloakify-starter/blob/94532fcf10bf8b19e0873be8575fd28a8958a806/package.json#L11 ). `public/keycloak-assets` shouldn't be tracked by GIT and is automatically ignored.
2023-01-27 00:27:46 +01:00
2023-04-25 01:13:47 +02:00
## 7.7
2023-04-17 01:41:30 +02:00
- Better storybook support, see [the starter project ](https://github.com/keycloakify/keycloakify-starter ).
2023-03-22 01:55:49 +01:00
## 7.0 🍾
- Account theme support 🚀
- It's much easier to customize pages at the CSS level, you can now see in the browser dev tool the customizable classes.
- New interactive CLI tool `npx eject-keycloak-page` , that enables to select the page you want to customize at the component level.
2023-03-22 03:48:21 +01:00
- There is [a Storybook ](https://storybook.keycloakify.dev )
2023-03-24 04:14:41 +01:00
- [Remember me is fixed ](https://github.com/keycloakify/keycloakify/pull/272 )
2023-03-22 01:55:49 +01:00
2023-03-13 10:47:02 +01:00
## 6.13
2023-03-24 04:14:41 +01:00
- Build work behind corporate proxies, [see issue ](https://github.com/keycloakify/keycloakify/issues/257 ).
2023-03-13 10:47:02 +01:00
2023-02-26 16:41:47 +01:00
## 6.12
Massive improvement in the developer experience:
- There is now only one starter repo: https://github.com/codegouvfr/keycloakify-starter
- A lot of comments have been added in the code of the starter to make it easier to get started.
- The doc has been updated: https://docs.keycloakify.dev
- A lot of improvements in the type system.
2023-02-05 14:58:38 +01:00
## 6.11.4
2023-02-04 20:22:45 +01:00
2023-03-24 04:14:41 +01:00
- You no longer need to have Maven installed to build the theme. Thanks to @lordvlad , [see PR ](https://github.com/keycloakify/keycloakify/pull/239 ).
2023-02-04 20:22:45 +01:00
- Feature new build options: [`bundler` ](https://docs.keycloakify.dev/build-options#keycloakify.bundler ), [`groupId` ](https://docs.keycloakify.dev/build-options#keycloakify.groupid ), [`artifactId` ](https://docs.keycloakify.dev/build-options#keycloakify.artifactid ), [`version` ](https://docs.keycloakify.dev/build-options#version ).
Theses options can be user to customize the output name of the .jar. You can use environnement variables to overrides the values read in the package.json. Thanks to @lordvlad .
2023-01-27 15:46:30 +01:00
## 6.10.0
2023-01-27 00:27:46 +01:00
2023-03-24 04:14:41 +01:00
- Widows compat (thanks to @lordvlad , [see PR ](https://github.com/keycloakify/keycloakify/pull/226 )). WSL is no longer required 🎉
2021-10-26 14:59:15 +02:00
2022-10-16 00:51:11 +02:00
## 6.8.4
2023-01-27 00:32:41 +01:00
- `@emotion/react` is no longer a peer dependency of Keycloakify.
2022-10-16 00:51:11 +02:00
2022-10-13 12:03:24 +02:00
## 6.8.0
- It is now possible to pass a custom `<Template />` component as a prop to `<KcApp />` and every
individual page (`<Login />` , `<RegisterUserProfile />` , ...) it enables to customize only the header and footer for
2023-03-24 04:14:41 +01:00
example without having to switch to a full-component level customization. [See issue ](https://github.com/keycloakify/keycloakify/issues/191 ).
2022-10-13 12:03:24 +02:00
2022-10-06 20:43:42 +02:00
## 6.7.0
2023-03-24 04:14:41 +01:00
- Add support for `webauthn-authenticate.ftl` thanks to [@mstrodl ](https://github.com/Mstrodl )'s hacktoberfest [PR ](https://github.com/keycloakify/keycloakify/pull/185 ).
2022-10-06 20:43:42 +02:00
2022-10-04 21:42:47 +02:00
## 6.6.0
2023-03-24 04:14:41 +01:00
- Add support for `login-password.ftl` thanks to [@mstrodl ](https://github.com/Mstrodl )'s hacktoberfest [PR ](https://github.com/keycloakify/keycloakify/pull/184 ).
2022-10-04 21:42:47 +02:00
2022-10-04 21:34:42 +02:00
## 6.5.0
2023-03-24 04:14:41 +01:00
- Add support for `login-username.ftl` thanks to [@mstrodl ](https://github.com/Mstrodl )'s hacktoberfest [PR ](https://github.com/keycloakify/keycloakify/pull/183 ).
2022-10-04 21:34:42 +02:00
2022-09-27 21:35:16 +02:00
## 6.4.0
- You can now optionally pass a `doFetchDefaultThemeResources: boolean` prop to every page component and the default `<KcApp />`
This enables you to prevent the default CSS and JS that comes with the builtin Keycloak theme to be downloaded.
You'll get [a black slate ](https://user-images.githubusercontent.com/6702424/192619083-4baa5df4-4a21-4ec7-8e28-d200d1208299.png ).
2022-08-28 12:10:45 +07:00
## 6.0.0
- Bundle size drastically reduced, locals and component dynamically loaded.
- First print much quicker, use of React.lazy() everywhere.
- Real i18n API.
- Actual documentation for build options.
2022-09-06 19:12:59 +02:00
Checkout [the migration guide ](https://docs.keycloakify.dev/v5-to-v6 )
2022-08-28 12:10:45 +07:00
2022-07-28 04:38:04 +02:00
## 5.8.0
2022-07-07 13:53:20 +02:00
2023-03-24 04:14:41 +01:00
- [React.lazy() ](https://reactjs.org/docs/code-splitting.html#reactlazy ) support 🎉. [#141 ](https://github.com/keycloakify/keycloakify/issues/141 )
2022-07-28 04:27:38 +02:00
## 5.7.0
2023-03-24 04:14:41 +01:00
- Feat `logout-confirm.ftl` . [PR ](https://github.com/keycloakify/keycloakify/pull/120 )
2022-07-07 13:53:20 +02:00
2022-07-06 02:05:45 +02:00
## 5.6.4
Fix `login-verify-email.ftl` page. [Before ](https://user-images.githubusercontent.com/6702424/177436014-0bad22c4-5bfb-45bb-8fc9-dad65143cd0c.png ) - [After ](https://user-images.githubusercontent.com/6702424/177435797-ec5d7db3-84cf-49cb-8efc-3427a81f744e.png )
2022-06-28 21:53:02 +02:00
## v5.6.0
2023-03-24 04:14:41 +01:00
Add support for `login-config-totp.ftl` page [#127 ](https://github.com/keycloakify/keycloakify/pull/127 ).
2022-06-28 21:53:02 +02:00
2022-04-28 09:35:53 +02:00
## v5.3.0
Rename `keycloak_theme_email` to `keycloak_email` .
If you already had a `keycloak_theme_email` you should rename it `keycloak_email` .
2022-04-27 23:32:47 +02:00
## v5.0.0
2022-07-21 19:49:10 +02:00
[Migration guide ](https://github.com/garronej/keycloakify-demo-app/blob/a5b6a50f24bc25e082931f5ad9ebf47492acd12a/src/index.tsx#L46-L63 )
New i18n system.
2022-07-22 17:34:52 +02:00
Import of terms and services have changed. [See example ](https://github.com/garronej/keycloakify-demo-app/blob/a5b6a50f24bc25e082931f5ad9ebf47492acd12a/src/index.tsx#L46-L63 ).
2022-04-27 23:32:47 +02:00
2022-04-25 13:26:24 +02:00
## v4.10.0
2023-03-24 04:14:41 +01:00
Add `login-idp-link-email.ftl` page [See PR ](https://github.com/keycloakify/keycloakify/pull/92 ).
2022-04-25 13:26:24 +02:00
2022-04-20 21:15:58 +02:00
## v4.8.0
[Email template customization. ](#email-template-customization )
2022-04-20 20:22:19 +02:00
## v4.7.4
2022-04-09 20:17:20 +02:00
**M1 Mac** support (for testing locally with a dockerized Keycloak).
2022-04-20 20:22:19 +02:00
## v4.7.2
2022-04-07 01:35:19 +02:00
2022-04-08 15:01:21 +02:00
> WARNING: This is broken.
2023-03-24 04:14:41 +01:00
> Testing with local Keycloak container working with M1 Mac. Thanks to [@eduardosanzb](https://github.com/keycloakify/keycloakify/issues/43#issuecomment-975699658).
2022-04-08 15:01:21 +02:00
> Be aware: When running M1s you are testing with Keycloak v15 else the local container spun will be a Keycloak v16.1.0.
2022-04-07 01:35:19 +02:00
2022-04-20 20:22:19 +02:00
## v4.7.0
2022-03-18 00:46:12 +01:00
Register with user profile enabled: Out of the box `options` validator support.
[Example ](https://user-images.githubusercontent.com/6702424/158911163-81e6bbe8-feb0-4dc8-abff-de199d7a678e.mov )
2022-04-20 20:22:19 +02:00
## v4.6.0
2022-03-07 01:50:25 +01:00
`tss-react` and `powerhooks` are no longer peer dependencies of `keycloakify` .
After updating Keycloakify you can remove `tss-react` and `powerhooks` from your dependencies if you don't use them explicitly.
## v4.5.3
There is a new recommended way to setup highly customized theme. See [here ](https://github.com/garronej/keycloakify-demo-app/blob/look_and_feel/src/KcApp/KcApp.tsx ).
Unlike with [the previous recommended method ](https://github.com/garronej/keycloakify-demo-app/blob/a51660578bea15fb3e506b8a2b78e1056c6d68bb/src/KcApp/KcApp.tsx ),
with this new method your theme wont break on minor Keycloakify update.
## v4.3.0
Feature [`login-update-password.ftl` ](https://user-images.githubusercontent.com/6702424/147517600-6191cf72-93dd-437b-a35c-47180142063e.png ).
Every time a page is added it's a breaking change for non CSS-only theme.
Change [this ](https://github.com/garronej/keycloakify-demo-app/blob/df664c13c77ce3c53ac7df0622d94d04e76d3f9f/src/KcApp/KcApp.tsx#L17 ) and [this ](https://github.com/garronej/keycloakify-demo-app/blob/df664c13c77ce3c53ac7df0622d94d04e76d3f9f/src/KcApp/KcApp.tsx#L37 ) to update.
2022-01-01 18:23:10 +01:00
2021-10-26 14:59:15 +02:00
## v4
- Out of the box [frontend form validation ](#user-profile-and-frontend-form-validation ) 🥳
- Improvements (and breaking changes in `import { useKcMessage } from "keycloakify"` .
## v3
No breaking changes except that `@emotion/react` , [`tss-react` ](https://www.npmjs.com/package/tss-react ) and [`powerhooks` ](https://www.npmjs.com/package/powerhooks ) are now `peerDependencies` instead of being just dependencies.
It's important to avoid problem when using `keycloakify` alongside [`mui` ](https://mui.com ) and
2023-03-24 04:14:41 +01:00
[when passing params from the app to the login page ](https://github.com/keycloakify/keycloakify#implement-context-persistence-optional ).
2021-10-26 14:59:15 +02:00
## v2.5
2023-03-24 04:14:41 +01:00
- Feature [Use advanced message ](https://github.com/keycloakify/keycloakify/blob/59f106bf9e210b63b190826da2bf5f75fc8b7644/src/lib/i18n/useKcMessage.tsx#L53-L66 )
and [`messagesPerFields` ](https://github.com/keycloakify/keycloakify/blob/59f106bf9e210b63b190826da2bf5f75fc8b7644/src/lib/getKcContext/KcContextBase.ts#L70-L75 ) (implementation [here ](https://github.com/keycloakify/keycloakify/blob/59f106bf9e210b63b190826da2bf5f75fc8b7644/src/bin/build-keycloak-theme/generateFtl/common.ftl#L130-L189 ))
2021-10-26 14:59:15 +02:00
- Test container now uses Keycloak version `15.0.2` .
## v2
- It's now possible to implement custom `.ftl` pages.
- Support for Keycloak plugins that introduce non standard ftl values.
(Like for example [this plugin ](https://github.com/micedre/keycloak-mail-whitelisting ) that define `authorizedMailDomains` in `register.ftl` ).