Skip to content

Run Textual, Run

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 26 Apr 12:58
· 3477 commits to main since this release
f20df9b

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_ to App.action_add_class
  • Breaking change: Renamed App.action_remove_class_ to App.action_remove_class
  • Breaking change: RadioSet is now a single focusable widget #2372
  • Breaking change: Removed containers.Content (use containers.VerticalScroll now)

Added

  • Added -c switch to textual 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 from ScrollableContainer rather than Widget #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

Fixed

  • Fixed dark mode toggles in a "child" screen not updating a "parent" screen #1999
  • Fixed "panel" border not exposed via CSS
  • Fixed TabbedContent.active changes not changing the actual content #2352
  • Fixed broken color on macOS Terminal #2359