Nicegui

Latest version: v2.13.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 45

2.9.1

Bugfixes

- Avoid browser storage being shared across clients when accessing via On Air ([GHSA-v6jv-p6r8-j78w](https://github.com/zauberzeug/nicegui/security/advisories/GHSA-v6jv-p6r8-j78w) by streamcfd, rodja)
- Fix closing tag in `ui.editor` (4148 by Alyxion)

Documentation

- Only create subheading if we have class docs (4126 by rodja)

Dependency

- Bump mypy from 1.13.0 to 1.14.0 (4130 by dependabot)

2.9.0

Not secure
New features and enhancements

- Retransmit messages after short connection interruptions to keep client in sync (3143, 3199 by FeldrinH, afullerx, me21, falkoschindler, rodja)
- Introduce [`app.timer`](https://nicegui.io/documentation/timer#global_app_timer) (3187, 3225, 4091 by adosikas, falkoschindler, v479038280, rodja)
- Introduce `getHtmlElement` function (3019, 4087, 4123 by chrschorn, Alyxion, falkoschindler)
- Disallow typing into disabled UI elements when testing with the [`User` fixture](https://nicegui.io/documentation/user) (#4080, 4098 by randy-seng, rodja)
- Allow to configure the documentation pages via [`fastapi_docs` parameter](https://nicegui.io/documentation/section_configuration_deployment) in `ui.run()` (#4050 by Yuerchu, falkoschindler)

Bugfix

- Prevent `ui.leaflet` from oscillating between two locations (4061, 4121 by hal2000gh, falkoschindler)

Documentation

- Add reference for [`ui.menu_item`](https://nicegui.io/documentation/menu#reference_for_ui_menu_item) (4107, 4115 by ed2050, falkoschindler)
- Add demo for[ binding `ui.input` to `ui.date`](https://nicegui.io/documentation/date#date_range_input) with date range selection (4077 by Mte90, falkoschindler)

Dependencies

- Bump python-socketio from 5.11.4 to 5.12.0 (4124 by dependabot)
- Bump certifi from 2024.8.30 to 2024.12.14 (4113 by dependabot)
- Bump uvicorn from 0.32.1 to 0.33.0 (4112 by dependabot)

---

Special thanks to our top sponsors [DigiQuip AS](https://github.com/digiquip), [egs-hub](https://github.com/egs-hub), and [Davi Borges](https://github.com/daviborges666) ✨

and all our other [sponsors](https://github.com/sponsors/zauberzeug) and [contributors](https://github.com/zauberzeug/nicegui/graphs/contributors) for supporting this project!

🙏 *Want to support this project? Check out our [GitHub Sponsors page](https://github.com/sponsors/zauberzeug) to help us keep building amazing features!*

2.8.1

Not secure
Build pipeline

- Fix missing Docker image for ARM64 (4072 by codingpaula)

**As always:** Kudos to [DigiQuip AS](https://github.com/digiquip), [egs-hub](https://github.com/egs-hub), [Davi Borges](https://github.com/daviborges666) and many more for supporting this project ✨

2.8.0

Not secure
New features and enhancements

- Add support for [JSONSchema validation in `ui.json_editor`](https://nicegui.io/documentation/json_editor#validation) (4003, 4012 by jm-amt, falkoschindler)
- Add [`max_cache_age`](https://nicegui.io/documentation/section_pages_routing#add_a_directory_of_static_files:~:text=symlinks%20(default%3A%20False)-,max_cache_age%3A,-value%20for%20max) parameter to `add_static_files` and `add_static_file` (3998, 4032 by bl0x)
- Fix handling of invisible elements in [`User` tests](https://nicegui.io/documentation/user). (#4057 by rlcmtzc, rodja, falkoschindler)
**NOTE:** existing tests may break if you relied on the bug that invisible elements being accessible by the user

Documentation

- Fix description for [validation dictionaries](https://nicegui.io/documentation/number) (#4041 by hephaisto)
- Add html module description to [`ui.html`](https://nicegui.io/documentation/html) documentation (#4027 by rodja)

Build pipeline

- Update Github Action to cache Docker to different locations for each platform (4051 by codingpaula)

Dependencies

- Update pre-commit and ruff dependencies (4052 by codingpaula)
- Remove upper bound of setuptools dependency (2485, 4033 by sohnemann, rodja)
- Bump nanasess/setup-chromedriver from 2.2.2 to 2.3.0 (4058 by dependabot)
- Bump httpx from 0.27.2 to 0.28.0 (4048 by dependabot, rodja)
- Bump ruff from 0.7.4 to 0.8.0 (4026 by dependabot)

---

Special thanks to our top sponsors [DigiQuip AS](https://github.com/digiquip), [egs-hub](https://github.com/egs-hub), and [Davi Borges](https://github.com/daviborges666) ✨

and all our other [sponsors](https://github.com/sponsors/zauberzeug) and [contributors](https://github.com/zauberzeug/nicegui/graphs/contributors) for supporting this project!

🙏 *Want to support this project? Check out our [GitHub Sponsors page](https://github.com/sponsors/zauberzeug) to help us keep building amazing features!*

2.7.0

Not secure
_Huh, where's 2.6.0? - Yeah, counting is hard..._ 🤦🏻‍♂️

New features and enhancements

- Allow creating [`ui.table`](https://nicegui.io/documentation/table#table_from_polars_dataframe) and [`ui.aggrid`](https://nicegui.io/documentation/aggrid#create_grid_from_polars_dataframe) from [Polars](https://pola.rs/) dataframes (#3969 by trivedihoney, falkoschindler)
- Add support for [async validation functions](https://nicegui.io/documentation/input#input_validation) (4004, 4024 by barrywhart, falkoschindler)
- Allow toggling CSS classes (4013, 4019 by Mte90, falkoschindler)
- Allow [attaching and detaching 3D objects](https://nicegui.io/documentation/scene#attaching_detaching_objects) to and from groups (4015, 4018 by mauku, falkoschindler)
- Add support for [autocompletion to the `User` fixture](https://nicegui.io/documentation/user#autocomplete) (3886, 4001 by GrazingScientist, rodja, falkoschindler)
- Enable SVG rendering for [`ui.echart`](https://nicegui.io/documentation/echart) (#3936 by Piguite, falkoschindler)
- Add `tr` and `header` element to the [`html` module](https://nicegui.io/documentation/section_text_elements#other_html_elements) (4005 by kleynjan, falkoschindler)
- Allow [getting all clients for a certain page path](https://nicegui.io/documentation/element_filter#find_elements_on_other_pages) (3828, 3968 by aranvir, falkoschindler)
- Show a warning when [`ui.dark_mode`](https://nicegui.io/documentation/dark_mode) breaks Tailwind (#3753, 3994 by petergaultney, jdoiro3, falkoschindler)

Documentation

- Add a demo about [submenus](https://nicegui.io/documentation/menu#menu_with_sub-menus) (3947 by xaptronic, falkoschindler)
- Add a missing space in [storage documentation](https://nicegui.io/documentation/storage) (#3963 by NiklasNeugebauer)

Build pipeline

- Add precommit, mypy, and pylint to the test pipeline (3996 by codingpaula)
- Add Python 3.13 to test pipeline (3993 by falkoschindler)

Dependencies

- Bump aiohttp from 3.10.10 to 3.10.11 (3989 by dependabot)
- Bump selenium from 4.25.0 to 4.26.1 (3938 by dependabot)

---

Special thanks to our top sponsors [DigiQuip AS](https://github.com/digiquip), [egs-hub](https://github.com/egs-hub), and [Davi Borges](https://github.com/daviborges666) ✨

and all our other [sponsors](https://github.com/sponsors/zauberzeug) and [contributors](https://github.com/zauberzeug/nicegui/graphs/contributors) for supporting this project!

🙏 *Want to support this project? Check out our [GitHub Sponsors page](https://github.com/sponsors/zauberzeug) to help us keep building amazing features!*

2.5.0

Not secure
New features and enhancements

- Introduce an [`html` module](https://nicegui.io/documentation/section_text_elements#other_html_elements) with plain HTML elements (572, 3900 by ofenbach, dridk, rodja, falkoschindler)
- Set selection, expansion and tick props for [`ui.tree`](https://nicegui.io/documentation/tree) only when needed (#3840, 3902 by inessilva4-lis, python-and-fiction, falkoschindler)
- Show warning when [`force_reload()`](https://nicegui.io/documentation/image#force_reload) is used on images with data sources (2566, 3895 by scottrcarlson, rp10007, rodja)

Bugfixes

- Fix camera in [`ui.scene`](https://nicegui.io/documentation/scene) looking back to the origin after calling `move_camera()` (#3920 by pascalzauberzeug, falkoschindler)
- Fix [`app.storage.tab`](https://nicegui.io/documentation/storage#storing_data_per_browser_tab) not being unique for duplicated tabs (3867, 3872, 3876 by kfalcami, python-and-fiction, rodja, falkoschindler)

Documentation

- Fix back button in the [single page application example](https://github.com/zauberzeug/nicegui/tree/main/examples/single_page_app/) (#3910 by Salex406, falkoschindler)
- Improve documentation about the [`User` pytest fixture](https://nicegui.io/documentation/user#user_fixture) (3913 by rodja)
- Add [sponsor section to website](https://nicegui.io/#sponsors) (3906 by rodja, falkoschindler)

Build pipeline

- Pipeline improvements (3893 by codingpaula)
- Improve startup tests (3896 by falkoschindler)
- Fix Docker cache in GitHub Actions (3918 by codingpaula)

Dependencies

- Bump actions/cache from 3 to 4 (3908 by dependabot)
- Bump ruff from 0.6.9 to 0.7.0 (3894 by dependabot)
- Bump pywebview from 5.2 to 5.3 (3888 by dependabot)

---

Special thanks to our top sponsor [Davi Borges](https://github.com/daviborges666) ✨

and all our other [sponsors](https://github.com/sponsors/zauberzeug) and [contributors](https://github.com/zauberzeug/nicegui/graphs/contributors) for supporting this project!

🙏 *Want to support this project? Check out our [GitHub Sponsors page](https://github.com/sponsors/zauberzeug) to help us keep building amazing features!*

Page 2 of 45

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.