Skip to content

The Commanding release

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 15 Sep 15:43
· 3998 commits to main since this release
4dc8358

https://textual.textualize.io/blog/2023/09/15/textual-0370-adds-a-command-palette/

[0.37.0] - 2023-09-15

Added

  • Added the command palette #3058
  • Input is now validated when focus moves out of it #3193
  • Attribute Input.validate_on (and __init__ parameter of the same name) to customise when validation occurs #3193
  • Screen-specific (sub-)title attributes #3199:
    • Screen.TITLE
    • Screen.SUB_TITLE
    • Screen.title
    • Screen.sub_title
  • Properties Header.screen_title and Header.screen_sub_title #3199
  • Added DirectoryTree.DirectorySelected message #3200
  • Added widgets.Collapsible contributed by Sunyoung Yoo #2989

Fixed

  • Fixed a crash when removing an option from an OptionList while the mouse is hovering over the last option #3270
  • Fixed a crash in MarkdownViewer when clicking on a link that contains an anchor #3094
  • Fixed wrong message pump in pop_screen #3315

Changed

  • Widget.notify and App.notify are now thread-safe #3275
  • Breaking change: Widget.notify and App.notify now return None #3275
  • App.unnotify is now private (renamed to App._unnotify) #3275
  • Markdown.load will now attempt to scroll to a related heading if an anchor is provided #3244