v1.2.7
版本发布时间: 2023-04-14 22:12:22
zauberzeug/nicegui最新发布版本:v2.3.0(2024-10-04 19:07:30)
New features and enhancements
- allow creating
ui.aggrid
from pandas dataframe (#557 by @falkoschindler) - fix navigation links behind reverse proxy with subpath (#556 by @rodja, @falkoschindler)
- allow sending "leading" and/or "trailing" events when throttling (#751 by @falkoschindler)
- raise an exception when hiding internal routes with
app.add_static_files
(#742 by @2000Nic and @falkoschindler) - add “dark” color to
ui.colors
(#740 by @SilvesterSJ and @falkoschindler) - introduce
ui.download
(#656 by @terrytrent and @falkoschindler) - introduce color arguments for elements like
ui.button
that accept Quasar, Tailwind, and CSS colors (#371 by @Diegiwg, @miqsoft and @falkoschindler) - allow running in Python’s interactive mode by auto-disabling reload (by @rodja and @falkoschindler)
Documentation
- enhance Trello "drag and drop" example to use a ToDo data model (#749 by @rodja)
- add workaround to docs for native mode when WebView2Loader.dll fails load (#744 by @vonpawn)
- add documentation and demo about element borders inside a
ui.card
(#726 by @miqsoft and @falkoschindler) - add hint about exception when running executable with no console on Windows (#681 by @spehj, @hditano, @executionunit, @clueple, @edsase, @ymweagle and @falkoschindler)
Bugfixes
- wait until server is alive before calling
webview.start
(#607, #755 by @al-eax) - docker image fails; missing docutils (#739 by @Paradoxdruid and @rodja)
- apply
ui.number
’s format on blur (#736 by @tmichela and @falkoschindler) - fix overwritten and undeletable characters for
ui.input
with masks (#731 by @phoskee and @falkoschindler) - fix memory leak when clearing and redrawing a group in
ui.scene
(#727 by @h0uter and @falkoschindler) - fix replacement of custom elements like
ui.interactive_image
(#600 by @DavidLeBonk, @falkoschindler and @dclause)