v1.4.23
版本发布时间: 2024-04-25 23:36:35
zauberzeug/nicegui最新发布版本:v2.3.0(2024-10-04 19:07:30)
New features and enhancements
- Introduce
ui.context
as a simpler way to get client, slot and slot stack (#2879, #2905 by @rodja, @falkoschindler) - Introduce nicegui-pack to package NiceGUI apps using PyInstaller (#2549, #2789 by @hrauch, @JS-Aibel, @alimate2023, @gotev, @falkoschindler)
- Introduce an orthographic camera for
ui.scene
(#2872, #2890 by @vitamingcheng, @falkoschindler) - Introduce camera parameters for
ui.scene
(#2890, #2897 by @falkoschindler) - Allow configuring webview settings 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 for
ui.number
(#2950 by @mwarrens63, @falkoschindler) - Avoid infinite recursions with an early exit when setting the value of
ui.state
variables (#2921, #2922 by @vickorian, @falkoschindler) - Fix
app.storage.tab
for NiceGUI On Air (#2902 by @rodja) - Fix
ui.select
andui.radio
for NiceGUI On Air (#2901 by @thetableman, @rodja) - Fix emoji favicons with
\uFE0F
"Variation Selector-16" (#2888 by @tewhalen, @falkoschindler)
Documentation
- Add a ZeroMQ example (#2941 by @keenanjohnson, @falkoschindler)
- Add class demo to modularization example and improve overall structure (#2939, #2944 by @BlankAdventure, @rodja, @falkoschindler)
- Show scroll to bottom in
ui.table
demo (#2907, #2927 by @linkwww8, @rodja) - Fix typo in a URL to the FastAPI documentation (#2908 by @Ezbaze)