Nicegui

Latest version: v1.4.22

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

Scan your dependencies

Page 1 of 40

1.4.22

Bugfix

- Fix auto-close behavior of `ui.menu`, `ui.color_input` and some demos (2894 by digidigital, falkoschindler, codingpaula)

1.4.21

New features and enhancements

- Introduce `app.storage.tab` as a [storage for the current tab](https://nicegui.io/documentation/storage#storing_data_per_browser_tab) (2837, 2866 by rodja, Alyxion, alexzaech, falkoschindler)
- Introduce `app.storage.client` as a [storage for volatile data for the current connection](https://nicegui.io/documentation/storage#short-term_memory) (1308, 2820 by rodja, amks1, sklibanov312, Alyxion, falkoschindler)
- Introduce `ui.matplotlib` element as an [object-oriented alternative to `ui.pyplot`](https://nicegui.io/documentation/matplotlib) (#2553 by tacaswell, falkoschindler)
- Refactor [`ui.list`](https://nicegui.io/documentation/list) and [`ui.menu`](https://nicegui.io/documentation/menu) items (#2855 by codingpaula, falkoschindler)
- Automatically await async results in [`ui.timer`](https://nicegui.io/documentation/timer) (#2856, 2859 by bmrast, falkoschindler)
- Add `maximize()` method for maximizing a [native application](https://nicegui.io/documentation/section_configuration_deployment#native_mode) (2836 by Aues6uen11Z)
- Replace `check_interval` for JavaScript requests with an asyncio event (2482, 2827 by pplno, anjomro, oidex, afullerx, rodja, falkoschindler)

Bugfixes

- Fix typo in [conftest.py](https://github.com/zauberzeug/nicegui/blob/main/nicegui/testing/conftest.py) (#2857 by kj4tmp)
- Fix update of [`ui.leaflet`](https://nicegui.io/documentation/leaflet) after calling `set_center` or `set_zoom` (#2825, 2826 by thetableman, falkoschindler)
- Fix update of invisible [`ui.markdown`](https://nicegui.io/documentation/markdown) elements (#2779, 2803 by me21, aniketkumar7, falkoschindler)
- Avoid ignoring dynamic properties starting with a line break (2845 by falkoschindler)

Documentation

- Add [audio recording example](https://github.com/zauberzeug/nicegui/tree/main/examples/audio_recorder/) (#1610, 2861 by rodja, CVxTz, falkoschindler)
- Add demos for [floating action buttons](https://nicegui.io/documentation/button#floating_action_button) (2832 by rodja)
- Improve the ["Chat with AI" example](https://github.com/zauberzeug/nicegui/blob/main/examples/chat_with_ai/main.py) (#2772, 2800 by merlinarer, rodja, falkoschindler)

Others

- Introduce ruff as an isort replacement and code checker with a pre-commit hook (2619 by mbrulatout, codingpaula, falkoschindler)
- Enable private vulnerability reporting (2870 by sunriseXu, falkoschindler)

1.4.20

New features and enhancements

- Introduce [`ui.button_group`](https://nicegui.io/documentation/section_controls#button_group) (2821 by codingpaula, falkoschindler)
- Introduce [`ui.dropdown_button`](https://nicegui.io/documentation/section_controls#dropdown_button) (2821 by codingpaula, falkoschindler)
- Introduce [`ui.range`](https://nicegui.io/documentation/range) (#1191, 2762 by frankvp11, codingpaula)
- Introduce [`ui.clipboard`](https://nicegui.io/documentation/clipboard) functions (#2575, 2594 by ZeroCool940711, falkoschindler)
- Add an `on_multi_upload` callback for [`ui.upload`](https://nicegui.io/documentation/upload) (#2698, 2765 by rcovic, d-meehan, falkoschindler)
- Add [SVG events](https://nicegui.io/documentation/interactive_image#svg_events) to `ui.interactive_image` (2745 by frankvp11, falkoschindler)
- Allow registering events _after_ element instantiation (2687, 2704, 2708 by petergaultney, falkoschindler)
- Make libsass optional, replacing [`ui.add_style` with `ui.add_css`, `ui.add_scss` and `ui.add_sass`](https://nicegui.io/documentation/add_style) (#2796, 2809 by psy0rz, rodja, falkoschindler)
- Let [`run.io_bound`](https://nicegui.io/documentation/section_action_events#running_i_o-bound_tasks) and [`run.cpu_bound`](https://nicegui.io/documentation/section_action_events#running_cpu-bound_tasks) maintain type signatures of their callbacks (2733 by petergaultney)
- Make [On Air](https://nicegui.io/documentation/section_configuration_deployment#nicegui_on_air) reconnect more robust (2818 by rodja)
- Terminate [On Air](https://nicegui.io/documentation/section_configuration_deployment#nicegui_on_air) connection more elegantly (2761 by rodja)

Bugfixes

- Fix jumping cursor for [`ui.editor`](https://nicegui.io/documentation/editor) (#2611, 2756 by Gilser, intrinsically, falkoschindler)
- Fix displayed order of [`ui.select`](https://nicegui.io/documentation/select) options (#2137 by CrystalWindSnake, falkoschindler)
- Update [`ui.number`](https://nicegui.io/documentation/number) after changing its limits (#2743, 2753 by eddie3ruff, falkoschindler)

Documentation

- Fix instruction about how to use the autopep8 command for [code contributions](https://github.com/zauberzeug/nicegui/blob/main/CONTRIBUTING.md) (#2750 by codingpaula, falkoschindler)

1.4.19

New features and enhancements

- Reduce payload by extracting nicegui.js to allow browser caching (2728 by falkoschindler)
- Reduce payload by skipping default element properties (2702 by falkoschindler)
- Allow passing functions to [`run_method`](https://nicegui.io/documentation/aggrid#filter_return_values) calls (2556, 2671, 2705 by ducnva, dr-yd, lapnd, Pikaro, falkoschindler)
- Introduce [`ui.add_style`](https://nicegui.io/documentation/add_style) for CSS, SASS and SCSS (#2531 by falkoschindler, rodja)
- Support [colored crosshairs](https://nicegui.io/documentation/interactive_image#crosshairs) for [`ui.interactive_image`](https://nicegui.io/documentation/interactive_image) (#2713, 2727 by hig-dev, falkoschindler)
- Automatically enable/disable scrolling of [`ui.log`](https://nicegui.io/documentation/log) (#2690, 2686 by frosch01, falkoschindler)
- Add support for additional [echart events](https://nicegui.io/documentation/echart#arbitrary_chart_events) (2679, 2716 by CSharpDummy, falkoschindler)
- Add support for custom row and column templates for [`ui.grid`](https://nicegui.io/documentation/grid#custom_grid_layout) (2701 by falkoschindler)
- Refine type annotation for [`ui.date`](https://nicegui.io/documentation/date) (#2681 by daya0576)

Bugfixes

- Fix rendering 404 error pages for [static file routes](https://nicegui.io/documentation/section_pages_routing#add_a_directory_of_static_files) (2568, 2570, 2722, 2746 by Anindya088, falkoschindler, Lucas-lyh, rodja)
- Fix [`ui.table.from_pandas`](https://nicegui.io/documentation/table#table_from_pandas_dataframe) for datetimes with timezones (1983, 2706 by rohitsathish, falkoschindler)
- Re-implement the [`ui.log` element](https://nicegui.io/documentation/log) to avoid problems inside tabs (#1869, 2686 by marcin-koziol, E-H-E-H, falkoschindler)
- Fix updating the UI when calling [`ui.select.set_options`](https://nicegui.io/documentation/select#update_options) (2682 by amks1, falkoschindler)

Documentation

- Add a [webserial example](https://github.com/zauberzeug/nicegui/tree/main/examples/webserial/) (#334, 2623 by BlankAdventure, rodja, falkoschindler)
- Add a new example with [global computation and progress bar](https://github.com/zauberzeug/nicegui/blob/main/examples/global_worker/main.py) (#2676, 2685 by mahesh11T, falkoschindler)
- Improve [macOS packaging instructions](https://nicegui.io/documentation/section_configuration_deployment) (#2707 by gotev)
- Improve the ["Table with drop down selection" demo](https://nicegui.io/documentation/table#table_with_drop_down_selection) (2695 by JS-Aibel, falkoschindler)

1.4.18

New features and enhancements

- Allow disabling the auto-validation on value change (2618, 2661 by Ch41r05, falkoschindler)
- Introduce `ui.navigate.reload()` (2659 by mbrulatout)
- Enable `new_value_mode="add"` for option dictionaries (2462, 2467 by me21, falkoschindler)

Bugfixes

- Remove all children when deleting an element (2643 by me21, falkoschindler)
- Fix AttributeError in `ui.select` (2641 by CrystalWindSnake, falkoschindler)

Documentation

- Add demo for altering the number of steps in a `ui.stepper` element (2655 by rodja)

1.4.17

Bugfix

- Add missing docutils module for `ui.restructured_text` (2624, 2629 by sswatson, rodja)

Page 1 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.