Nicegui

Latest version: v2.8.0

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

Scan your dependencies

Page 1 of 44

2.8.0

New features and enhancements

- Add support for JSONSchema validation in `ui.json_editor` (4003, 4012 by jm-amt, falkoschindler)
- Add `max_cache_age` parameter to `add_static_files` and `add_static_file` (3998, 4032 by bl0x)
- Fix handling of invisible elements in `User` tests (4057 by rlcmtzc, falkoschindler)

Documentation

- Fix description for validation dictionaries (4041 by hephaisto)
- Add html module description to `ui.html` documentation (4027 by rodja)

Build pipeline

- Update pre-commit and ruff dependencies (4052 by codingpaula)
- Update Github Action to cache Docker to different locations for each platform (4051 by codingpaula)

Dependencies

- 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

_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

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!*

2.4.0

New features and enhancements

- Allow [customizing the crosshair](https://nicegui.io/documentation/interactive_image#crosshairs) in `ui.interactive_image` (3848, 3870 by parlance-zz, falkoschindler)
- Add support for dynamic argument conversion for `ui.aggrid` when using [`run_grid_method`](https://nicegui.io/documentation/aggrid) and [`run_row_method`](https://nicegui.io/documentation/aggrid#run_row_methods) (3866 by xaptronic)
- Add `children` property to 3D objects in [`ui.scene`](https://nicegui.io/documentation/scene) (#3864 by SeiteBroken, falkoschindler)
- Check value of choice elements against options (3809, 3829 by GMezWheel, kevinraymond, arshad-muhammad, falkoschindler)
- Add Cache-Control header to [static files](https://nicegui.io/documentation/section_pages_routing#add_a_directory_of_static_files) (3858, 3865 by python-and-fiction, daya0576)
- Expose additional [PyInstaller](https://nicegui.io/documentation/section_configuration_deployment#package_for_installation) arguments "icon" and "osx-bundle-identifier" (3853 by pikaro)
- Improve logging for [On Air](https://nicegui.io/documentation/section_configuration_deployment#nicegui_on_air) connections (3839 by rodja)

Bugfixes

- Fix inconsistency when replacing default classes, style and props (3826, 3843 by ghbm-itk, python-and-fiction, falkoschindler)
- Fix connection popup showing up behind [`ui.footer`](https://nicegui.io/documentation/page_layout) (#3835, 3836 by kfalcami, falkoschindler)

Documentation

- Add demo about [LaTeX formulas](https://nicegui.io/documentation/markdown#latex_formulas) in [`ui.markdown`](https://nicegui.io/documentation/markdown) (#696, 3860 by egormkn, al-eax, sonnygeorge, retsyo, frankvp11, stepheweffie, motorst1, falkoschindler)
- Mention duplicated tabs with respect to `app.storage.tab` (3867, 3868 by kfalcami, python-and-fiction, rodja)
- Fix link to Quasar's QColorPicker (3883 by ghbm-itk, falkoschindler)

Dependencies

- Bump uvicorn from 0.31.0 to 0.32.0 (3879 by dependabot)
- Bump aiohttp from 3.10.8 to 3.10.9 (3832 by dependabot)
- Bump ruff from 0.6.8 to 0.6.9 (3831 by dependabot)

2.3.0

New features and enhancements

- Allow faster creation of monochrome [point clouds](https://nicegui.io/documentation/scene#rendering_point_clouds) in `ui.scene` (3545 by voigta, falkoschindler)
- Improve type annotation for event handlers (3797, 3811 by marcuslimdw, falkoschindler)
- Make [On Air](https://nicegui.io/documentation/section_configuration_deployment#nicegui_on_air) reconnects more robust (3798 by rodja)
- Fix out-of-date citation file by uploading to Zenodo (3825 by falkoschindler, rodja)

Bugfix

- Fix KeyError when [`ui.carousel`](https://nicegui.io/documentation/carousel) has additional slots (#3812 by ruiheng, python-and-fiction, falkoschindler)

Documentation

- Fix [SASS demos](https://nicegui.io/documentation/add_style#add_sass_style_definitions_to_the_page) missing a package (3803, 3804 by ghbm-itk, rodja)

Dependencies

- Bump aiohttp from 3.10.6 to 3.10.8 (3795, 3816 by dependabot)
- Bump python-multipart from 0.0.10 to 0.0.12 (3817 by dependabot)
- Bump uvicorn from 0.30.6 to 0.31.0 (3796 by dependabot)

2.2.0

New features and enhancements

- Significantly reduce payload of [`ui.markdown`](https://nicegui.io/documentation/markdown) elements (#3745, 3792 by pierrecdn, falkoschindler)
- Add support for [custom colors](https://nicegui.io/documentation/colors#custom_colors) in `ui.colors` (3707, 3708 by Kolterdyx, falkoschindler)
- Improve conversion of [dynamic props](https://nicegui.io/documentation/echart#echart_with_dynamic_properties) (3732, 3791 by pier124, rodja, falkoschindler)
- Improve error message when passing wrong type to [`ui.navigate.to`](https://nicegui.io/documentation/navigate#ui_navigate_to_(formerly_ui_open)) (3699 by marcuslimdw, rodja, falkoschindler)
- Remove non-existent flag from `docker compose down` command in docker.sh (3709 by Kolterdyx)

Bugfixes

- Fix [`ui.plotly`](https://nicegui.io/documentation/plotly) causing `ReferenceErrors` in rare situations (#3784 by valankar, python-and-fiction, falkoschindler)
- Fix wrong change event value of [`ui.select`](https://nicegui.io/documentation/select), [`ui.radio`](https://nicegui.io/documentation/radio) and [`ui.toggle`](https://nicegui.io/documentation/toggle) (#3733, 3736 by sSasha-uwu, rodja)

Testing

- Support [`ui.radio`](https://nicegui.io/documentation/radio) and [`ui.toggle`](https://nicegui.io/documentation/toggle) in [`ElementFilter`](https://nicegui.io/documentation/element_filter) (#3789 by marcuslimdw, falkoschindler)
- Allow [testing](https://nicegui.io/documentation/user) 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`](https://nicegui.io/documentation/storage) (#3731 by python-and-fiction)
- Fix tiny mistake in documentation of [`ui.echart`](https://nicegui.io/documentation/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)

Page 1 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.