Textual v0.3.0 Release Notes
Release Date: 2022-10-31 // over 1 year ago-
๐ Fixed
- ๐ Fixed issue where scrollbars weren't being unmounted
- ๐ Fixed fr units for horizontal and vertical layouts https://github.com/Textualize/textual/pull/1067
- ๐ Fixed
textual run
breaking sys.argv https://github.com/Textualize/textual/issues/1064 - ๐ Fixed footer not updating styles when toggling dark mode
- ๐ Fixed how the app title in a
Header
is centred https://github.com/Textualize/textual/issues/1060 - ๐ Fixed the swapping of button variants https://github.com/Textualize/textual/issues/1048
- ๐ Fixed reserved characters in screenshots https://github.com/Textualize/textual/issues/993
- ๐ Fixed issue with TextLog max_lines https://github.com/Textualize/textual/issues/1058
๐ Changed
- DOMQuery now raises InvalidQueryFormat in response to invalid query strings, rather than cryptic CSS error
- Dropped quit_after, screenshot, and screenshot_title from App.run, which can all be done via auto_pilot
- Widgets are now closed in reversed DOM order
- Input widget justify hardcoded to left to prevent text-align interference
- ๐ Changed
textual run
so that it patchesargv
in more situations - DOM classes and IDs are now always treated fully case-sensitive https://github.com/Textualize/textual/issues/1047
โ Added
- โ Added Unmount event
- โ Added App.run_async method
- โ Added App.run_test context manager
- Added auto_pilot to App.run and App.run_async
- Added Widget._get_virtual_dom to get scrollbars
- โ Added size parameter to run and run_async
- โ Added always_update to reactive
- Returned an awaitable from push_screen, switch_screen, and install_screen https://github.com/Textualize/textual/pull/1061