v1.4.37
版本发布时间: 2024-08-29 22:26:55
zauberzeug/nicegui最新发布版本:v2.3.0(2024-10-04 19:07:30)
New features and enhancements
- Provide a public API for accessing
_props
,_classes
and_style
(#3588 by @falkoschindler, @marcuslimdw) - Introduce
IconElement
mixin to allow binding the icon of various elements (#3596, #3600 by @WolfgangFahl, @falkoschindler) - Provide sorted and filtered rows from
ui.aggrid
viaget_client_data()
(#3581, #3582 by @JeppeKlitgaard, @falkoschindler) - Use correct version for citation file (#3587 by @falkoschindler)
Bugfixes
- Warn about accessing the clipboard in non-secure environments (#3564, #3636 by @JeppeKlitgaard, @falkoschindler)
- Ensure
cv2.VideoCapture
is only called once (#2321, #3619 by @jiang131072, @rodja) - Allow testing NiceGUI apps without selenium being installed (#3510, #3511, #3585 by @marcuslimdw, @falkoschindler, @rodja)
- Fix
ui.page_title()
in native mode (#3583 by @MastSE, @python-and-fiction, @rodja, @falkoschindler) - Delay events before handshake (#3530, #3580 by @vmlstandard, @rodja, @falkoschindler)
- Fix support for creating background tasks from awaitables (#3579 by @falkoschindler)
- Fix user and group IDs in the docker image (#3437, #3567 by @zan73, @rodja)
Documentation
- Add a demo about toggling the theme with
ui.aggrid
(#3611, #3612 by @mxiaonian, @python-and-fiction, @falkoschindler) - Add possible values for
align_items
inui.row
,ui.column
andui.card
(#3602 by @frankhuurman, @falkoschindler) - Fix typo in the "Descope Auth" example (#3593 by @deeppunster)
- Add a demo about customizing a
ui.color_picker
(#3571 by @zobac, @falkoschindler) - Add a section about testing complex elements with the
User
simulation (#3616, #3635 by @zx000097, @rodja, @falkoschindler)
Dependencies
- Bump watchfiles from 0.23.0 to 0.24.0 (#3634 by @dependabot)
- Bump selenium from 4.23.1 to 4.24.0 (#3633 by @dependabot)
- Bump pytest-watcher from 0.4.2 to 0.4.3 (#3632 by @dependabot)
- Bump httpx from 0.27.0 to 0.27.2 (#3615 by @dependabot)
- Bump ruff from 0.6.1 to 0.6.2 (#3574 by @dependabot)
- Bump pytest-asyncio from 0.23.8 to 0.24.0 (#3573 by @dependabot)