There is a newer version of the record available.

Published May 2, 2025 | Version v2.16.0
Software Open

NiceGUI: Web-based user interfaces with Python. The nice way.

Description

New features and enhancements

  • Introduce @background_tasks.await_on_shutdown to allow properly awaiting background tasks on shutdown, fixes app reset and RuntimeWarnings in pytests (#4312, #4592, #4608, #4641 by @evnchn, @ReubenVandezande, @rodja, @falkoschindler)
  • Introduce element.html_id property (#4633, #4672 by @evnchn, @falkoschindler)
  • Simplify change set processing for ui.codemirror (#4676 by @falkoschindler, @evnchn)

Bugfixes

  • Fix ui.codemirror not updating when value changes programmatically (#3337, #4586, #4635 by @zkx06111, @python-and-novella, @zak-45, @cipologic, @evnchn, @falkoschindler)
  • Get rid of "leaked semaphore object" warnings (#4129, #4131, #4132, #4653 by @ChipsAHoai, @MaxRev-Dev, @devturner, @TomFreudenberg, @rodja)
  • Improve efficiency of binding propagation by correctly keeping track of visited nodes (#4626, #4628 by @sfeltman, @evnchn, @falkoschindler)
  • Fix import and initialization of Mermaid in ui.mardown (#4620, #4623, #4625 by @yihuang, @evnchn, @falkoschindler)
  • Fix getElement when called with an HTMLElement (#4674, #4675 by @evnchn)

Documentation

  • Added documentation on how native app settings are ignored when using a main guard (#4319, #4627, #4658 by @J3ronimo, @evnchn, @civilwargeeky, @falkoschindler)
  • Add demo about HTML in ui.table cells (#4605, #4646 by @rafaelrdealmeida, @evnchn, @falkoschindler)
  • Update documentation on ui.upload after a breaking change in Starlette 0.46.0 (#4640 by @yudelevi, @evnchn)
  • Use a custom reST element for documentation to fix a layout glitch (#4647, #4648 by @kj4tmp, @evnchn, @falkoschindler)

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!

Notes

If you use this software, please cite it as below.

Files

zauberzeug/nicegui-v2.16.0.zip

Files (17.1 MB)

Name Size Download all
md5:0e8e63350a3b7e3727b279c38fe12cf5
17.1 MB Preview Download

Additional details

Related works