Nicegui

Latest version: v1.4.26

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

Scan your dependencies

Page 1 of 41

1.4.26

New features and enhancements

- Make `ui.code` a ContentElement to support binding (3077, 3089 by JeanBaptiste-dlb, falkoschindler)
- Warn about communication attempts with disconnected clients (3028, 3123 by Thermaltech, falkoschindler, rodja)
- Pass lifespan state when running NiceGUI with an existing FastAPI app (3094, 3097 by RomainEconomics)
- Only ignore specific missing imports with mypy (3113 by codingpaula)
- Use local files for testing `ui.interactive_image` (3118 by falkoschindler)

Bugfixes

- Prevent `ui.leaflet` from flickering after calling `flyTo()` (3035, 3125 by backbord, afullerx, falkoschindler)
- Add plotly package to Docker image (3098 by psy0rz, rodja)

Documentation

- Fix "NGINX Subpath" example by adding `proxy_redirect` (2977, 3108 by falkoschindler, Lucas-lyh)
- Update reference to `table_documentation.py` (3099 by emmanuel-ferdman)
- Add example to subscribe to audio events (3090 by rodja)
- Remove documentation for non-existing `on_pointer` parameter in `ui.interactive_image` (3078 by MLaurenceFournier)
- Add comment about caching in "Custom Vue Component" example (3074 by MLaurenceFournier, falkoschindler)
- Fix "Local File Picker" and "Editable AG Grid" example after restricting JavaScript on the auto-index page (3072 by epmb1n, mattloose, jweite-amazon, falkoschindler)

1.4.25

Bugfixes

- Fix animations being interrupted when initializing [`ui.echarts`](https://nicegui.io/documentation/echart) (#2932, 3056 by CrystalWindSnake, falkoschindler)
- Fix autocomplete for [`ui.input`](https://nicegui.io/documentation/input) on mobile (#3055 by falkoschindler)
- Fix accessibility issue with connection popup being always visible to screen readers (3050 by paulGeoghegan, falkoschindler)
- Avoid data loss when deep-copying [`app.storage`](https://nicegui.io/documentation/storage) (#3023, 3046 by natankeddem, falkoschindler)
- Add missing comma (3032 by sfermigier)
- Handle `options` and `value` pointing to the same object in [`ui.select`](https://nicegui.io/documentation/select) (#3014 by natankeddem, falkoschindler)
- Raise exception when awaiting JavaScript on [auto-index page](https://nicegui.io/documentation/section_pages_routing) to avoid aftereffects with multiple connected clients (#2951, 2983 by CrystalWindSnake, frankvp11, falkoschindler)
- Fix [`ui.aggrid`](https://nicegui.io/documentation/select) not resizing correctly with its parent container (#2850, 2852 by tz301, vickorian, wasabismile, falkoschindler)

1.4.24

New features and enhancements

- Introduce [`ui.codemirror`](https://nicegui.io/documentation/codemirror) element (#2760, 2775, 2913 by frankvp11, chrschorn, rodja, falkoschindler)
- Introduce [`ui.chip`](https://nicegui.io/documentation/chip) element (#2942 by chrschorn, falkoschindler)
- Introduce [`ui.scene_view`](https://nicegui.io/documentation/scene#scene_view) component (2608, 2947 by fabian0702, falkoschindler)
- Add `background_color` parameter to [`ui.scene`](https://nicegui.io/documentation/scene#custom_background) (2963 by chrschorn, falkoschindler)
- Improve performance of [3D scenes](https://nicegui.io/documentation/scene) by initializing all objects at once (#3009, 3022 by kovalp, falkoschindler)
- Improve [devcontainer](https://github.com/zauberzeug/nicegui/blob/main/CONTRIBUTING.md#dev-container) experience (2964 by chrschorn)
- Support Quasar's `col-*` classes in [`ui.row`](https://nicegui.io/documentation/row) (#2881, 3008 by me21, falkoschindler)

Bugfixes

- Fix layout issues with [`ui.plotly`](https://nicegui.io/documentation/plotly) and reduce unnecessary re-rendering of UI elements (#2917, 2957 by drummerboy2543, bmaranville, falkoschindler)
- Avoid sending UI content twice (2926 by Wramberg, falkoschindler)
- Use a more robust method to check for a client connection (2915 by CVxTz, rodja, ZAn-next, falkoschindler)

Documentation

- Add more documentation for [`ui.keyboard`](https://nicegui.io/documentation/keybard) and its event arguments (#2974, 3010 by ed2050, falkoschindler)
- Fix exception in the ["Infinite scroll" example](https://github.com/zauberzeug/nicegui/blob/main/examples/infinite_scroll/main.py) when the client disconnects (#2966 by psy0rz, falkoschindler)
- Fix a broken link on the [`ui.page`](https://nicegui.io/documentation/page) documentation (#2990 by Dronakurl, falkoschindler)

1.4.23

New features and enhancements

- Introduce [`ui.context`](https://github.com/zauberzeug/nicegui/blob/main/nicegui/context.py) as a simpler way to get client, slot and slot stack (#2879, 2905 by rodja, falkoschindler)
- Introduce [nicegui-pack](https://github.com/zauberzeug/nicegui/blob/main/nicegui/scripts/pack.py) to package NiceGUI apps using PyInstaller (#2549, 2789 by hrauch, JS-Aibel, alimate2023, gotev, falkoschindler)
- Introduce an [orthographic camera](https://nicegui.io/documentation/scene#camera_parameters) for `ui.scene` (2872, 2890 by vitamingcheng, falkoschindler)
- Introduce [camera parameters](https://nicegui.io/documentation/scene#camera_parameters) for `ui.scene` (2890, 2897 by falkoschindler)
- Allow [configuring webview settings](https://nicegui.io/documentation/section_configuration_deployment#native_mode) like "ALLOW_DOWNLOADS" (2877, 2884 by Smug246, falkoschindler)

Bugfixes

- Fix 100% CPU usage on Windows using asyncio events instead of repeated polling (2482, 2827, 2867 by pplno, anjomro, oidex, afullerx, rodja, falkoschindler)
- Fix setting [min/max property](https://nicegui.io/documentation/number) for `ui.number` (#2950 by mwarrens63, falkoschindler)
- Avoid infinite recursions with an early exit when setting the value of [`ui.state`](https://nicegui.io/documentation/refreshable#refreshable_ui_with_reactive_state) variables (2921, 2922 by vickorian, falkoschindler)
- Fix [`app.storage.tab`](https://nicegui.io/documentation/storage#storing_data_per_browser_tab) for NiceGUI On Air (2902 by rodja)
- Fix [`ui.select`](https://nicegui.io/documentation/select) and [`ui.radio`](https://nicegui.io/documentation/radio) for NiceGUI On Air (#2901 by thetableman, rodja)
- Fix [emoji favicons](https://nicegui.io/documentation/run#emoji_favicon) with `\uFE0F` "Variation Selector-16" (2888 by tewhalen, falkoschindler)

Documentation

- Add a [ZeroMQ example](https://github.com/zauberzeug/nicegui/tree/main/examples/zeromq/) (#2941 by keenanjohnson, falkoschindler)
- Add class demo to [modularization example](https://github.com/zauberzeug/nicegui/tree/main/examples/modularization) and improve overall structure (#2939, 2944 by BlankAdventure, rodja, falkoschindler)
- Show [scroll to bottom](https://nicegui.io/documentation/table#adding_rows) in `ui.table` demo (2907, 2927 by linkwww8, rodja)
- Fix typo in a URL to the FastAPI documentation (2908 by Ezbaze)

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)

Page 1 of 41

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.