There is a newer version of the record available.

Published September 27, 2024 | Version v2.2.0
Software Open

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

Description

New features and enhancements

  • Significantly reduce payload of ui.markdown elements (#3745, #3792 by @pierrecdn, @falkoschindler)
  • Add support for custom colors in ui.colors (#3707, #3708 by @Kolterdyx, @falkoschindler)
  • Improve conversion of dynamic props (#3732, #3791 by @pier124, @rodja, @falkoschindler)
  • Improve error message when passing wrong type to ui.navigate.to (#3699 by @marcuslimdw, @rodja, @falkoschindler)
  • Remove non-existent flag from docker compose down command in docker.sh (#3709 by @Kolterdyx)

Bugfixes

  • Fix ui.plotly causing ReferenceErrors in rare situations (#3784 by @valankar, @python-and-fiction, @falkoschindler)
  • Fix wrong change event value of ui.select, ui.radio and ui.toggle (#3733, #3736 by @sSasha-uwu, @rodja)

Testing

  • Support ui.radio and ui.toggle in ElementFilter (#3789 by @marcuslimdw, @falkoschindler)
  • Allow testing for validation texts (#3759, #3765 by @GrazingScientist, @rodja)
  • Simplify clearing of value elements with simulated user interaction (#3747, #3750 by @MasterSergius, @rodja, @falkoschindler)
  • Improve error message when client is not yet initialized (#3698 by @marcuslimdw, @rodja, @falkoschindler)

Documentation

  • Improve documentation of app.storage (#3731 by @python-and-fiction)
  • Fix tiny mistake in documentation of ui.echart (#3703 by @python-and-fiction)

Dependencies

  • Bump aiohttp from 3.10.5 to 3.10.6 (#3778 by @dependabot)
  • Bump debugpy from 1.8.5 to 1.8.6 (#3777 by @dependabot)
  • Bump fastapi from 0.114.0 to 0.115.0 (#3714, #3727, #3743 by @dependabot)
  • Bump plotly from 5.24.0 to 5.24.1 (#3717 by @dependabot)
  • Bump pytest from 8.3.2 to 8.3.3 (#3712 by @dependabot)
  • Bump python-multipart from 0.0.9 to 0.0.10 (#3772 by @dependabot)
  • Bump ruff from 0.6.4 to 0.6.5 (#3728, #3764, #3771, #3788 by @dependabot)
  • Bump selenium from 4.24.0 to 4.25.0 (#3763 by @dependabot)
  • Bump urllib3 from 2.2.2 to 2.2.3 (#3718 by @dependabot)

Notes

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

Files

zauberzeug/nicegui-v2.2.0.zip

Files (20.1 MB)

Name Size Download all
md5:a13121277d508be15cfa9c9c20fef9cf
20.1 MB Preview Download

Additional details

Related works