github Textualize/textual v3.1.0
The Dim the Lights Release

latest release: v3.1.1
17 days ago

Mostly fixes, some API enhancements. See below.

[3.1.0] - 2025-04-12

Fixed

  • Fixed markup escaping edge cases #5697
  • Fixed incorrect auto height in Collapsible #5703
  • Fixed issue with keymaps and single-letter keys #5726
  • Fixed OptionList size after removing or clearing options #5728
  • Fixed footer / key panel not updating when keymaps are applied #5724
  • Fixed alignment not being applied when there are min and max limits on dimensions #5732
  • Fixed issues with OptionList scrollbar not updating #5736
  • Fixed allow_focus method not overriding can_focus() #5737
  • Fixed overlap of Input / TextArea selection with arbitrary text selection #5739

Changed

  • Collapsible title now accepts str, Text, or Content #5697
  • Rich Text objects will be converted to Content in OptionList and other widgets #5712
  • Textual will always convert dim attributes to RGB by default #5715
  • Notifications will now use content markup (previously they used Console markup) #5719

Added

  • Added TEXTUAL_DIM_FACTOR env var to set the opacity of the 'dim' ANSI attribute #5715
  • notify() now accepts a markup parameter to disable rendering the message as markup #5719
  • Added Screen.text_selection_started_signal #5739
  • Added App.clear_selection() helper method to clear arbitrary text selection of active screen #5739

Don't miss a new textual release

NewReleases is sending notifications on new releases.