v0.74.0

Textualize/textualv0.74.0Jul 25, 2024by willmcgugan

AI Summary

Focuses on fixing terminal exit issues (specifically with Kitty), resolving exceptions during widget removal, and improving screen dismissal behavior.

Key Highlights

  • Fixed issues in Kitty terminal after exiting the app.
  • Fixed exception when removing Select widgets.
  • `Screen.dismiss` now invokes the callback with `None` if no arguments are passed.

New Features

  • `TextArea.line_number_start` reactive attribute
  • `TextArea.matching_bracket_location` property
  • `DOMNode.mutate_reactive`
  • Quality parameter for `textual.color.Gradient`
  • `Gradient.get_rich_color` method
  • `Widget.remove_children` accepts iterable
  • `Tree.move_cursor`
  • `ProgressBar` gradient parameter

Full Release Notes

Mostly fixes and a small (potentially breaking) change.

## [0.74.0] - 2024-07-25

### Fixed

- Fixed issues in Kitty terminal after exiting app https://github.com/Textualize/textual/issues/4779
- Fixed exception when removing Selects https://github.com/Textualize/textual/pull/4786
- Fixed issue with non-clickable Footer keys https://github.com/Textualize/textual/pull/4798
- Fixed issue with recompose not working from Mount handler https://github.com/Textualize/textual/pull/4802

### Changed

- Calling `Screen.dismiss` with no arguments will invoke the screen callback with `None` (previously the callback wasn't invoke at all). https://github.com/Textualize/textual/pull/4795