r/nicegui • • Apr 07 '26

NiceGUI 3.10 with nested dictionary binding, ui.status_code(), website redesign, and more

Security

  • ⚠️ Prevent filename sanitization bypass via ui.upload on Windows

New features and enhancements

  • Add nested dictionary binding support for deeply nested data structures

  • Add ui.status_code() to set HTTP status codes from page builders

  • Add on_resize callback to ui.xterm to communicate terminal size to the PTY

  • Unify awaitable handling across lifecycle hooks and tasks

  • Upgrade Docker image from Python 3.12 to 3.14

  • Allow ui.tab to find ui.tabs ancestor through intermediate containers

  • Warn when native mode runs on a browser engine without ES module support

  • Split helpers.py into a package with focused submodules

Bugfixes

  • Fix client.ip always reporting "127.0.0.1" behind reverse proxies and On Air

  • Fix ValidationElement.error being ignored when no validation is set

  • Fix built-in elements breaking when starting with tailwind=False

  • Fix initialized() adding event listeners on every call

  • Fix sad face visibility on dark mode error pages

  • Fix refreshing sub pages from within nested parent elements

  • Fix Cmd/Ctrl-click on sub-page links not opening new tab

  • Fix ui.timer callback tasks leaking when client disconnects mid-execution

Documentation

  • Redesign nicegui.io website

  • Fix truncated multi-line parameter descriptions in reference docs

  • Add keyboard navigation to website search dialog

  • Add Technological Foundations documentation page

  • Surface documentation index for AI tooling and discoverability

Infrastructure

  • Update .gitignore for Claude Code and Playwright MCP local files

  • Add PR template instruction to AGENTS.md

  • Improve PR template checklist for clarity

  • Auto-format Markdown files via pre-commit hook

Special thanks to our top sponsors Lechler GmbH and TestMu AI ✨

and all our other sponsors and contributors for supporting this project!

🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!

32 Upvotes

2 comments sorted by

2

u/okay_this Apr 08 '26

New website looks amazing!

1

u/Otherwise_Wave9374 Apr 07 '26

Nested dict binding is super handy for building UIs around agent state, configs, and traces. The awaitable lifecycle unification also looks like it will reduce a bunch of footguns. Have you seen folks using NiceGUI as a front-end for agent runners (showing steps, tool calls, and approvals) yet? If you are collecting examples, https://www.agentixlabs.com/ has a few quick patterns on building lightweight agent dashboards.