feat(login): update to nextjs 16, improve caching, change default colors (#11629)

# Which Problems Are Solved

Updated the project to use the latest versions of Next.js and React, and
implemented a SWR caching strategy for key settings API calls to improve
performance. Adjusted configuration to ensure compatibility with Next.js
16.

# How the Problems Are Solved

- Updated next to 16.1.6, react & react-dom to 19.2.4, and next-intl to
4.8.3.
- Implemented `API_CACHE_ENABLED` and `API_CACHE_CONFIG` (replacing
deprecated unstable_cacheLife) for:
  - getBrandingSettings
  - getSecuritySettings
  - getPasswordComplexitySettings
  - getLoginSettings ...
- Updated default theme colors from blue to a more neutral black and
white

# Additional changes

- Updated login docker image to node 24

---------

Co-authored-by: Ramon <[email protected]>
This commit is contained in:
Max Peintner
2026-03-17 16:01:50 +01:00
committed by GitHub
co-authored by Ramon
parent fca2589fc3
commit a864434b4b
17 changed files with 330 additions and 491 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
"packageManager": "pnpm@10.30.3",
"private": true,
"name": "@zitadel/zitadel",
"pnpm": {
@@ -16,8 +16,8 @@
"@bufbuild/buf": "^1.65.0",
"@changesets/cli": "^2.29.8",
"nx": "21.6.9",
"shiki": "^3.21.0",
"sass": "^1.97.3",
"shiki": "^3.21.0",
"wait-on": "^9.0.3"
}
}