Give futher instruction for migrating to v8
This commit is contained in:
parent
801b08359a
commit
9c2bc19897
@ -138,11 +138,15 @@ 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
|
- 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.
|
we have lazy loading.
|
||||||
|
|
||||||
|
- `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.
|
||||||
|
|
||||||
- The `usePrepareTemplate` prototype has been changed, you can search and replace:
|
- The `usePrepareTemplate` prototype has been changed, you can search and replace:
|
||||||
|
|
||||||
`src/keycloak-theme/login/Template.tsx`
|
`src/keycloak-theme/login/Template.tsx`
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
url,
|
||||||
"stylesCommon": [
|
"stylesCommon": [
|
||||||
"node_modules/patternfly/dist/css/patternfly.min.css",
|
"node_modules/patternfly/dist/css/patternfly.min.css",
|
||||||
"node_modules/patternfly/dist/css/patternfly-additions.min.css",
|
"node_modules/patternfly/dist/css/patternfly-additions.min.css",
|
||||||
@ -167,6 +171,7 @@ and
|
|||||||
`src/keycloak-theme/account/Template.css`
|
`src/keycloak-theme/account/Template.css`
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
url,
|
||||||
"stylesCommon": ["node_modules/patternfly/dist/css/patternfly.min.css", "node_modules/patternfly/dist/css/patternfly-additions.min.css"],
|
"stylesCommon": ["node_modules/patternfly/dist/css/patternfly.min.css", "node_modules/patternfly/dist/css/patternfly-additions.min.css"],
|
||||||
"styles": ["css/account.css"],
|
"styles": ["css/account.css"],
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user