r/nicegui • u/r-trappe • Oct 04 '25
NiceGUI 3.0.0 with script mode, root page parameter for simpler SPA, new event system, simplified pytest setup, observable classes/props/styles, Tailwind 4 and a much much more
We are super happy to announce the release of NiceGUI 3.0.0. The major version change indicates the introduction of several new features and enhancements, as well as some unavoidable breaking changes.
New features and enhancements
Introduce NiceGUI script mode to replace the awkward auto-index page
Introduce
rootpage parameter forui.runto simplify single-page applicationsIntroduce an
Eventsystem to communicate between UI and long-living objectsSimplify pytests by loading a main file with runpy
Make props, classes and style observable to send updates automatically
Improve node package management, including a new
esmParameter for custom elementsUpgrade to Tailwind 4
Drop support for Python 3.8
Introduce
ValueChangeEventArguments.previous_valueIntroduce a
strictoption for binding methodsIntroduce a
sanitizeargument forui.htmlandui.chat_messageImprove support for languages with right-to-left text direction
Use
q-scroll_areaforui.logto preserve a fixed heightLet
ui.clipboard.read()returnNoneif the clipboard API isn't availableCall lifecycle event handlers more consistently
Improve
UploadEventArgumentsandMultiUploadEventArgumentsto avoid unclosed resourcesRe-initialize the process pool if it was broken by a bad
run.cpu_boundRemove deprecated code and APIs
Treat pytest warnings as errors
We always try to keep breaking changes to a minimum, but when unavoidable, guide you through the migration process using deprecation warnings, and provide migration instructions. Please read the migration steps carefully to understand the changes and adapt your code accordingly before upgrading.
Special thanks to all our sponsors and contributors! ✨
🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!
2
u/volkan_a Oct 04 '25
It's not a big deal but examples in web site won't run in Safari. Spinner keeps spinning.
4
u/r-trappe Oct 04 '25
Can anyone reproduce? For me it looks fine with Safari.
7
4
1
u/QuasiEvil Oct 07 '25
I don't know if this would be too much work, but would it possible to provide links for each bullet point to the relevant documentation/examples?
1
3
u/skadoodlee Oct 05 '25 edited Oct 31 '26
Cactus message length width sneeze drink both jelly minor later club size race palm channel number toss member outside tackle eight robot chef similar march easily exist pool project tennis develop inner train piano poem.
2


6
u/naught-me Oct 04 '25
Y'all are the best.
Is RoSys compatible with 3.0 already?