Releases: zauberzeug/nicegui
Releases · zauberzeug/nicegui
v1.2.23
New features and improvements
- Support the
clearable
prop withui.select
(#1069 by @CrystalWindSnake, @falkoschindler) - Only create storage directory if needed (#1080, #1085 by @rodja, @falkoschindler)
- Add
toggle()
method toui.menu
(#860 by @patrickwasp, @falkoschindler)
Bugfixes
- Always update
ui.input
after server-side value change (#1071, #1088 by @pythonormen, @eshyun, @falkoschindler) - Avoid
ui.input
to repeat change events in a loop (#1086 by @CrystalWindSnake, @falkoschindler) - Fix update of
ui.plotly
(#1037, #1070 by @duane-impulse, @falkoschindler) - Fix serving media files from subdirectories (#1076 by @falkoschindler)
- Ensure move events from joystick are only sent between start/end (#1082 by @rodja)
Documentation
- Fix typo in bindings docs (#1075 by @suspiciousRaccoon)
- Add example for NiceGUI with ROS2 (#1059, #1083 by @JensOgorek, @rodja)
- Add documentation for
ui.separator
(#1081 by @rodja) - Add log handler demo (#1078 by @BrianLandry)
v1.2.22
New features and improvements
- Support autocomplete
ui.input
on mobile devices (#852, #1063 by @rodja, @phoskee, @falkoschindler) - Add
error
property for input elements with validation (#894 by @itay-raveh, @falkoschindler) - Introduce
min
,max
andout_of_limits
forui.number
(#924, #1049 by @ukoehler, @falkoschindler) - Support dynamic column attributes like sort and format functions for
ui.table
(#1058, #1061 by @juledwar, @falkoschindler)
Bugfixes
- Fix
ui.select
when usingwith_input
andmultiple
(#1044 by @groucho86, @falkoschindler) - Fix image and media sources for reverse proxies with subpath (#934, #1038 by @rodja, @falkoschindler)
Development
- Condense mypy and pytest config files to pyproject.toml (#1053 by @xec-abailey)
v1.2.21
New features and improvements
- Introduce
ui.stepper
element based on Quasar's QStepper (#679, #1033 by @bobwatcherx, @falkoschindler) - Ignore events on disabled or hidden elements by default (#983, #1030 by @thetableman, @falkoschindler)
- Introduce
icon
parameter forui.button
(#1021 by @falkoschindler)
Documentation
- Provide
ui.image
demo for Base64 data (#1036 by @falkoschindler)
Bugfixes
- Fix
ui.image
on Windows (#1039 by @Hamza-Rafi, @falkoschindler) - Fix
ui.mermaid
when updated with content beginning with a line break (#1031 by @jsharer, @falkoschindler) - Avoid treating Base64 data as a filepath (#1023 by @GitUser000, @falkoschindler)
v1.2.20
v1.2.18
New features and improvements
- Use keep-alive for tab panels (#1017 by @rodja and @falkoschindler)
- Allow streaming of media files and auto-serve local files passed as source for
image
,interactive_image
,video
andaudio
(#1016 by @rodja) - mutli-select support for
ui.select
(#995 by @falkoschindler) - Ability to set storage_secret for
run_with
(#1012 by @awfulness) - Conda package does not need importlib-metadata anymore (#1002 by @ErikRtvl and @rodja)
- Allow passing
ui.tab
objects intoui.tab_panel
(#999 by @BrianLandry and @rodja) - Event_handler: allow passing lambdas which call an async function (#994 by @rodja)
Documentation
- Provide online search for the documentation (#1011 by @rodja and @falkoschindler)
- Add geolocation demo to demonstrate running async JavaScript (#1009 by @falkoschindler)
- Fixed docs in table.py (#992 by @Ruibin-Liu)
- Update menu_and_tabs example to use tab_panels (#1013, #1014 by @xec-abailey)
Bug Fixes
- no more content duplication when creating a
ui.log
element while client is already connected (#906 by @falkoschindler)
v1.2.17
New features and improvements
- save general and user specific data with new
app.storage
interface (#967, #978 by @rodja and @falkoschindler) - introduction of observable dict, list and set (#977 by @falkoschindler)
- allow binding to
Mapping
type and ignore missing attributes (#981 by @falkoschindler)
Documentation
- Extended and enhanced "generic events" documentation (#984 by @rodja and @falkoschindler )
v1.2.16
New features and improvements
- Allow using NiceGUI elements as link targets (#964 by @rodja)
- Allow using event handlers without event arguments but with a default argument (#965 by @falkoschindler)
- improved favicon routing (#963 by @rodja)
- Allow calling native window methods from NiceGUI's main thread (#917 by @rodja)
- Add a specialization of FastAPI's APIRouter to modularize large page structures (#897 by @rodja)
Documentation
- Refactored todo list example to use
on_change
callbacks (#970 by @rodja) - Add Lightbox example (#968 by @rodja)
v1.2.15
New features and enhancements
- Support dynamic props (#893, #896 by @falkoschindler, @duane-impulse)
- Implement
__iter__
for elements and slots (#958 by @falkoschindler, @DLu) - Support
clearable
prop forui.input()
,ui.number
andui.textarea
(#300 by @falkoschindler, @Mantanium) - Try websocket first and use long polling only as fallback (#959 by @rodja)
Bugfixes
- Fix unexpected behavior when using refreshable UI at multiple places (#938 by @falkoschindler)
- Correctly track count of
ui.chart
series (#948, #951 by @falkoschindler, @gengyudong) - Fix type annotation for
ui.page
decorator (#949 by @@falkoschindler, @AndrewMHenry) - Fix pyright typing issues with
on()
(#722 by @falkoschindler, @cj)
Documentation
- Add SimPy example (#955 by @rodja)
- Add a simple todo list example (#923, #954 by @falkoschindler, @metaperl)
- Add demo for reacting on content changes via binding (#950 by @rodja)
- Add tooltips to the icon-links on nicegui.io (#942 by @rodja, @falkoschindler)
- Add demo for masonry layout (#941 by @rodja)
- Add icon demo for
ui.button
(#933 by @rodja) - Fix
closeBtn
argument inui.notify
documentation (#928 by @CatamountJack)
v1.2.14
Enhanced ui.avatar
, more documentation, and bugfixes
Improvements
- Allow images inside
ui.avatar
(#903 by @rodja)
Documentation Updates
- Fixed type hint for
set_visibility()
method (#911 by @jonathanunderwood and @rodja) - New demo showing multiline notifications (#914 by @rodja)
- New demo showing how to add rows (#913 by @rodja)
Bug Fixes
- Special characters like
%
can't be pushed toui.log
(#899 by @falkoschindler and @phoskee) element.move()
does not work as expected in some cases (#898 by @falkoschindler)
v1.2.13
Bugfix
- Fix issue with table not rendering Decimal values (#901 by @stefan-sherwood, @falkoschindler)
- Ignore socket failures when gathering ip addresses (#900 by @rodja)