Mostly fixes and enhancements, but there are some breaking changes in containers. See below for the details.
[0.21.0] - 2023-04-26
Changed
textual run
execs apps in a new context.- Textual console no longer parses console markup.
- Breaking change:
Container
no longer shows required scrollbars by default #2361 - Breaking change:
VerticalScroll
no longer shows a required horizontal scrollbar by default - Breaking change:
HorizontalScroll
no longer shows a required vertical scrollbar by default - Breaking change: Renamed
App.action_add_class_
toApp.action_add_class
- Breaking change: Renamed
App.action_remove_class_
toApp.action_remove_class
- Breaking change:
RadioSet
is now a single focusable widget #2372 - Breaking change: Removed
containers.Content
(usecontainers.VerticalScroll
now)
Added
- Added
-c
switch totextual run
which runs commands in a Textual dev environment. - Breaking change: standard keyboard scrollable navigation bindings have been moved off
Widget
and onto a new base class for scrollable containers (see also below addition) #2332 ScrollView
now inherits fromScrollableContainer
rather thanWidget
#2332- Containers no longer inherit any bindings from
Widget
#2331 - Added
ScrollableContainer
; a container class that binds the common navigation keys to scroll actions (see also above breaking change) #2332