github Textualize/textual v0.17.0
You can see right through us!

latest releases: v0.79.1, v0.79.0, v0.78.0...
18 months ago

https://textual.textualize.io/blog/2023/03/29/textual-0170-adds-translucent-screens-and-option-list/

[0.17.0] - 2023-03-29

Fixed

  • Issue with parsing action strings whose arguments contained quoted closing parenthesis #2112
  • Issues with parsing action strings with tuple arguments #2112
  • Issue with watching for CSS file changes #2128
  • Fix for tabs not invalidating #2125
  • Fixed scrollbar layers issue #1358
  • Fix for interaction between pseudo-classes and widget-level render caches #2155

Changed

  • DataTable now has height: auto by default. #2117
  • Textual will now render strings within renderables (such as tables) as Console Markup by default. You can wrap your text with rich.Text() if you want the original behavior. #2120
  • Some widget methods now return self instead of None #2102:
    • Widget: refresh, focus, reset_focus
    • Button.press
    • DataTable: clear, refresh_coordinate, refresh_row, refresh_column, sort
    • Placehoder.cycle_variant
    • Switch.toggle
    • Tabs.clear
    • TextLog: write, clear
    • TreeNode: expand, expand_all, collapse, collapse_all, toggle, toggle_all
    • Tree: clear, reset
  • Screens with alpha in their background color will now blend with the background. #2139
  • Added "thick" border style. #2139
  • message_pump.app will now set the active app if it is not already set.
  • DataTable now has max height set to 100vh

Added

  • Added auto_scroll attribute to TextLog #2127
  • Added scroll_end switch to TextLog.write #2127
  • Added Widget.get_pseudo_class_state #2155
  • Added Screen.ModalScreen which prevents App from handling bindings. #2139
  • Added TEXTUAL_LOG env var which should be a path that Textual will write verbose logs to (textual devtools is generally preferred) #2148
  • Added textual.logging.TextualHandler logging handler
  • Added Query.set_classes, DOMNode.set_classes, and classes setter for Widget #1081
  • Added OptionList #2154

Don't miss a new textual release

NewReleases is sending notifications on new releases.