Releases: Textualize/textual
The Year Zero Release
Mostly fixes and a small (potentially breaking) change.
[0.74.0] - 2024-07-25
Fixed
- Fixed issues in Kitty terminal after exiting app #4779
- Fixed exception when removing Selects #4786
- Fixed issue with non-clickable Footer keys #4798
- Fixed issue with recompose not working from Mount handler #4802
Changed
- Calling
Screen.dismisswith no arguments will invoke the screen callback withNone(previously the callback wasn't invoke at all). #4795
The Taste the Rainbow Release
This is a rather large release. Lots of fixes and enhancements, including optimizations to the DataTable.
There's also a rather nifty addition to the ProgressBar widget. Checkout the gradient:
Screen.Recording.2024-07-18.at.14.17.05.mov
We've also polished the API docs, which should hopefully make them easier to navigate...
https://textual.textualize.io/api/app/
[0.73.0] - 2024-07-18
Added
- Added
TextArea.line_number_startreactive attribute #4471 - Added
TextArea.matching_bracket_locationproperty #4764 - Added
DOMNode.mutate_reactive#4731 - Added "quality" parameter to
textual.color.Gradient#4739 - Added
textual.color.Gradient.get_rich_color#4739 Widget.remove_childrennow accepts an iterable if widgets in addition to a selector #4735- Raise
ValueErrorwith improved error message when number of cells inserted usingDataTable.add_rowdoesn't match the number of columns in the table #4742 - Add
Tree.move_cursorto programmatically move the cursor without selecting the node #4753 - Added
Footercomponent style handling of padding for the key/description #4651 StringKeyis now exported fromdata_table#4760TreeNode.addandTreeNode.add_leafnow acceptsbeforeandafterarguments to position a new node #4772- Added a
gradientparameter to theProgressBarwidget #4774
Fixed
- Fixed issue with
Tabswhere disabled tabs could still be activated by clicking the underline #4701 - Fixed scroll_visible with margin #4719
- Fixed programmatically disabling button stuck in hover state #4724
- Fixed
DataTablepoor performance on startup and focus change when rows contain multi-line content #4748 - Fixed
TreeandDirectoryTreehorizontal scrolling off-by-2 #4744 - Fixed text-opacity in component styles #4747
- Ensure
Tree.select_nodesendsNodeSelectedmessage #4753 - Fixed message handlers not working when message types are assigned as the value of class vars #3940
- Fixed
CommandPalettenot focusing the input when opened whenApp.AUTO_FOCUSdoesn't match the input #4763 SelectionList.SelectionToggledwill now be sent for each option when a bulk toggle is performed (e.g.toggle_all). Previously no messages were sent at all. #4759- Fixed focus styles not being updated on blur #4771
Changed
- "Discover" hits in the command palette are no longer sorted alphabetically #4720
TreeNodeSelectedmessages are now posted beforeTreeNodeExpandedmessages
when an expandable node is selected #4753Markdown.LinkClicked.hrefis now automatically unquoted #4749- The mouse cursor hover effect of
TreeandDirectoryTreewill no longer linger after the mouse leaves the widget #4766
The Prune Release
A fixes release. The largest of which is a refactor to the logic of removing widgets, which should resolve some instability on shutdown in particular.
[0.72.0] - 2024-07-09
Changed
- More predictable DOM removals. #4708
Fixed
The Working on my Break Release
Mostly fixes and stability related changes, see below.
Note, there is a change to the SVG snapshots. The SVGs are now "normalized" to reduce the chances that they will break due to non-visual changes. Unfortunately this does mean that your snapshots will break with this release, but the upside is they will break less often in the future!
[0.71.0] - 2024-06-29
Changed
- Snapshot tests will normalize SVG output so that changes with no visual impact don't break snapshots, but this release will break most of them.
- Breaking change:
App.push_screennow returns an Awaitable rather than a screen. #4672 - Breaking change:
Screen.dismissnow returns an Awaitable rather than a bool. #4672
Fixed
The Buttoned Down Release
[0.70.0] - 2024-06-19
Fixed
- Fixed erroneous mouse 'ButtonDown' reporting for mouse movement when any-event mode is enabled in xterm. #3647
The "I'm not going there" Release
The Concurrency is hard Release
[0.68.0] - 2024-06-14
Added
- Added
ContentSwitcher.add_content
Fixed
- Improved handling of non-tty input #4647
The Less Users Release
We've had to revert the VIM keys in the DataTable for now.
[0.67.1] - 2024-06-12
Changed
- Reverts Vim keys in DataTable, provides alternatives #4638
The Trees and Keys Release
The highlight of this release is support for extended keys. More modern terminals will now have access to a greater number of keys, and modifiers.
There are also a number of quality of life improvements for the DataTable, Tree. And some fixes.
[0.67.0] - 2024-06-11
Added
- Added support for Kitty's key protocol #4631
ctrl+pageup/ctrl+pagedownwill scroll page left/right in DataTable #4633g/Gwill scroll to the top/bottom of the DataTable #4633- Added simple
hjklkey bindings to move the cursor in DataTable #4633
Changed
homeandendnow works horizontally instead of vertically in DataTable #4633TreeandDirectoryTreenodes now have a bigger click target, spanning the full line #4636
Fixed
The Two Thirds of the Number of the Beast Release
A few additions and changes
[0.66.0] - 2024-06-08
Changed
get_content_heightwill now return 0 if the renderable is Falsey #4617- Buttons may not be pressed within their "active_effect_duration" to prevent inadvertent activations #4621
Screen.dismissis now a noop if the screen isn't active. Previously it would raise aScreenStackError, now it returnsFalse. #4621- Increased window for escape processing to 100ms #4625
- Tooltips are now hidden when any key is pressed #4625