Skip to content

The focused release

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 18 Mar 14:32
· 2667 commits to main since this release
2c52fd7

Lots of refinements and enhancements here!

[0.53.0] - 2023-03-18

Added

  • Mapping of ANSI colors to hex codes configurable via App.ansi_theme_dark and App.ansi_theme_light #4192
  • Pilot.resize_terminal to resize the terminal in testing #4212
  • Added sort_children method #4244
  • Support for pseudo-classes in nested TCSS #4039

Fixed

  • Fixed TextArea.code_editor missing recently added attributes #4172
  • Fixed Sparkline not working with data in a deque #3899
  • Tooltips are now cleared when the related widget is no longer under them #3045
  • Simplified tree-sitter highlight queries for HTML, which also seems to fix segfault issue #4195
  • Fixed DirectoryTree.path no longer reacting to new values #4208
  • Fixed content size cache with Pretty widget #4211
  • Fixed grid-gutter interaction with Pretty widget #4219
  • Fixed TextArea styling issue on alternate screens #4220
  • Fixed writing to invisible RichLog #4223
  • Fixed RichLog.min_width not being used #4223
  • Rename CollapsibleTitle.action_toggle to action_toggle_collapsible to fix clash with DOMNode.action_toggle #4221
  • Markdown component classes weren't refreshed when watching for CSS #3464
  • Rename Switch.action_toggle to action_toggle_switch to fix clash with DOMNode.action_toggle #4262
  • Fixed OptionList.OptionHighlighted leaking out of Select #4224
  • Fixed Tab enable/disable messages leaking into TabbedContent #4233
  • Fixed a style leak from TabbedContent #4232
  • Fixed active hidden scrollbars not releasing the mouse #4274
  • Fixed the mouse not being released when hiding a TextArea while mouse selection is happening #4292
  • Fix mouse scrolling not working when mouse cursor is over a disabled child widget #4242

Changed

  • Clicking a non focusable widget focus ancestors #4236
  • BREAKING: widget class names must start with a capital letter or an underscore _ #4252
  • BREAKING: for many widgets, messages are now sent when programmatic changes that mirror user input are made #4256
    • Changed Collapsible
    • Changed Markdown
    • Changed Select
    • Changed SelectionList
    • Changed TabbedContent
    • Changed Tabs
    • Changed TextArea
    • Changed Tree
  • Improved ETA calculation for ProgressBar #4271
  • BREAKING: AppFocus and AppBlur are now posted when the terminal window gains or loses focus, if the terminal supports this #4265
    • When the terminal window loses focus, the currently-focused widget will also lose focus.
    • When the terminal window regains focus, the previously-focused widget will regain focus.
  • TextArea binding for ctrl+k will now delete the line if the line is empty #4277
  • The active tab (in Tabs) / tab pane (in TabbedContent) can now be unset #4241