Releases: zauberzeug/nicegui
Releases · zauberzeug/nicegui
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)
v1.2.12
New features and enhancements
- Support internationalization for Quasar elements (#874 by @phoskee, @falkoschindler)
- Allow moving elements with
element.move()
(#880 by @falkoschindler) - Support HTML and newlines in chat message (#881 by @falkoschindler)
- Include all possible IPs in welcome message (#855 by @ChrisJefferson, @falkoschindler)
- Improve performance using dataclasses with slots (#891 by @falkoschindler)
Bugfix
- Fix grabbing client ip from sio environ (#877 by @rodja)
Documentation
- Move detailed page documentation to "more" (#888 by @rodja)
- Add background demo to ui.query (#887 by @rodja)
- Improved discoverability for "more" documenation (#886 by @rodja)
- New "Chat with AI" example (#884 by @wptmdoorn, @falkoschindler)
- Fix timestamps in "Chat App" example (#882 by @phoskee)
- Add demo for tables in
ui.markdown
and improve styling (#876 by @rodja) - Add sqlite database example (#822 by @godsarmy, @rodja, @falkoschindler)
v1.2.11
New features and enhancements
- Allow awaiting button clicks (#849 by @rodja)
@ui.page('/')
async def index():
b = ui.button('Step')
await b.clicked()
ui.label('One')
await b.clicked()
ui.label('Two')
await b.clicked()
ui.label('Three')
- Use case-insensitive matching for
ui.input
's autocompletion (#856 by @phoskee) - Use
root_path
as prefix (#848, #857 by @wdroz)
Bugfixes
- Fix special characters in
ui.log
(#865 by @phoskee, @falkoschindler) - Fix wrong container for
ui.refreshable
with async functions (#863 by @markbaumgarten, @rodja)
Documentation
- Fix typo on documentation of
ui.button
(#853, #854 by @masykur8d, @rodja) - Add an example with an editable Pandas DataFrame (#851 by @miek770)
- Add new demos showing how to bind to dictionaries and global variables (#850 by @Devavrat8492, @falkoschindler)
v1.2.10
Improved bindings, ui.grid
, ui.chat_message
and more
New features and enhancements
- Add autocomplete for
ui.input
(#824 by @phoskee, @falkoschindler) - Allow binding dictionaries (#829 by @falkoschindler)
- Add binding methods for disableable elements (@falkoschindler)
- Introduce
ui.grid
(#827 by @falkoschindler) - Introduce
ui.chat_message
(#826 by @markbaumgarten, @rodja, @falkoschindler) - Support
ui.refreshable
with async functions (@rodja, @falkoschindler) - Style blockquotes in
ui.markdown
elements (#820, #825 by @atomicrichard, @falkoschindler) - Introduce
seek
method forui.video
(#812 by @rodja, @falkoschindler) - Support base64 and SVG favicons (#808 by @rodja)
- Add
mount_path
parameter toui.run_with
(#842 by @Viicos)
Bugfixes
- Fix layout issue with
ui.refreshable
(#841 by @falkoschindler) - Avoid memory leak with
ui.refreshable
(@rodja, @falkoschindler) - Fix new event registrations not being sent to the client (#834 by @falkoschindler)
Documentation
- Allow choosing from different elements for the live demo (#837 by @phoskee)
- Improve menu accessibility on mobile devices (#811 by @falkoschindler)
v1.2.9
"Refreshable" UI functions, better dark mode support and an interactive styling demo
New features and enhancements
- Introduce
ui.refreshable
(#782 by @rodja, @falkoschindler) - Add
enable
anddisable
methods for input elements (#560, #797 by @Help-i-am-lost, @falkoschindler) - Introduce
ui.dark_mode
(#342, #783 by @smojef, @falkoschindler) - Add min/max/step/prefix/suffix parameters to
ui.number
(#765, #790 by @1081, @falkoschindler) - Switch back to Starlette's
StaticFiles
(#714, #723 by @clueple, @falkoschindler) - Relax version restriction for FastAPI dependency (#805, #807 by @Viicos)
Bugfixes
- Fix
ui.upload
behind reverse proxy with subpath (#787 by @falkoschindler) - Fix hidden label when text is 0 (#791 by @AndrewMHenry, @falkoschindler)
Documentation
- Add an interactive demo for classes, style and props (#795 by @phoskee, @falkoschindler)
- Improve documentation for
ui.timer
(@falkoschindler) - Add a demo for creating a
ui.table
from a pandas dataframe (#30 by @bdshoener, @falkoschindler)
v1.2.8
- Fix updating and replacing
ui.link
s (#779 by @yonsh, @rodja, @falkoschindler) - Add FastAPI kwargs to
@ui.page
(#773 by @rodja) - Add support for emoji favicons (#767 by @rodja)
v1.2.7
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)
v1.2.6
Bugfix release #2 for windows venv: missing files in static folder (#714, #720 by @kiwifoxtrot, @clueple, @PabloCR, @falkoschindler and @rodja)
v1.2.5
Bugfix release for windows venv: missing files in static folder (#714 by @kiwifoxtrot, @clueple, @falkoschindler and @rodja)