Skip to content

v3.4.1 — Security, CSS trend chart, unified UI

Latest

Choose a tag to compare

@fastapiadmin fastapiadmin released this 28 Nov 13:08
· 246 commits to master since this release

FastapiAdmin 3.4.1

Security

  • AI read-only tools are now superuser-only. The tools expose server status, storage files, cron jobs and Redis keys; non-superusers requesting use_tools=true now receive no tools.
  • Data-scope codes aligned to 1=本人 / 2=本部门及以下 / 3=全部. Unsupported custom scopes (4/5) are rejected instead of being silently treated as all-data.

UI

  • Homepage trend chart replaced with a pure CSS chart — no more blank card on first screen, and the H5 bundle drops from ~2.1 MB to ~1.6 MB.
  • Brand primary color unified on #4F6BFF across themes, buttons, links and tabs.
  • Login page redesigned: brand canopy + white paper form, one screen on 390×844, dark mode supported.
  • 14-page UI consistency pass: cards, section headings, search fields, form controls, empty/error states and dark mode.
  • Fixed mobile tab bar see-through, {count} i18n placeholders, ticket horizontal overflow, and the AI chat bubble border.

Mobile

  • H5 and WeChat mini program 3.4.1 built and uploaded.
  • Mini program package: 1.5 MB total, 1.3 MB main, 230.6 KB subpackages.

Upgrade

  • Backend: rebuild/restart; no database migration required.
  • Frontend: rebuild Web/H5; mini program upload 3.4.1.
  • If you use AI tools from a non-superuser account, grant a superuser account or keep the switch off.

Demo

30-second demo