New features and enhancements
- Introduce
@background_tasks.await_on_shutdown
to allow properly awaiting background tasks on shutdown, fixes app reset and RuntimeWarnings in pytests (#4312, #4592, #4608, #4641 by @evnchn, @ReubenVandezande, @rodja, @falkoschindler) - Introduce
element.html_id
property (#4633, #4672 by @evnchn, @falkoschindler) - Simplify change set processing for
ui.codemirror
(#4676 by @falkoschindler, @evnchn)
Bugfixes
- Fix
ui.codemirror
not updating when value changes programmatically (#3337, #4586, #4635 by @zkx06111, @python-and-novella, @zak-45, @cipologic, @evnchn, @falkoschindler) - Get rid of "leaked semaphore object" warnings (#4129, #4131, #4132, #4653 by @ChipsAHoai, @MaxRev-Dev, @devturner, @TomFreudenberg, @rodja)
- Improve efficiency of binding propagation by correctly keeping track of visited nodes (#4626, #4628 by @sfeltman, @evnchn, @falkoschindler)
- Fix import and initialization of Mermaid in
ui.mardown
(#4620, #4623, #4625 by @yihuang, @evnchn, @falkoschindler) - Fix
getElement
when called with anHTMLElement
(#4674, #4675 by @evnchn)
Documentation
- Added documentation on how native app settings are ignored when using a main guard (#4319, #4627, #4658 by @J3ronimo, @evnchn, @civilwargeeky, @falkoschindler)
- Add demo about HTML in
ui.table
cells (#4605, #4646 by @rafaelrdealmeida, @evnchn, @falkoschindler) - Update documentation on
ui.upload
after a breaking change in Starlette 0.46.0 (#4640 by @yudelevi, @evnchn) - Use a custom reST element for documentation to fix a layout glitch (#4647, #4648 by @kj4tmp, @evnchn, @falkoschindler)
Special thanks to all our sponsors and contributors! ✨
🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!