github Textualize/textual v0.85.0
The Freddy's Revenge Release

9 hours ago

This versions updates the demo app. The previous demo was written quite a while ago and needed a refresh. It's not quite finished (there are plenty more widgets to cover), but it is still a bug improvement over the old one.

python -m textual

Give it a shot, we think it is pretty fun to play with.

Screen.Recording.2024-10-25.at.16.02.46.mov

There are a number of other updates in this release, and some under-the-hood changes for even smoother updates and optimizations. See below for the full list...

Enjoy!

[0.85.0] - 2024-10-25

Changed

  • Grid will now size children to the maximum height of a row #5113
  • Markdown links will be opened with App.open_url automatically #5113
  • The universal selector (*) will now not match widgets with the class -textual-system (scrollbars, notifications etc) #5113
  • Renamed Screen.can_view and Widget.can_view to Screen.can_view_entire and Widget.can_view_entire #5174

Added

  • Added Link widget #5113
  • Added open_links to Markdown and MarkdownViewer widgets #5113
  • Added App.DEFAULT_MODE #5113
  • Added Containers.HorizontalGroup and Containers.VerticalGroup #5113
  • Added $, £, , (, ) symbols to Digits #5113
  • Added Button.action parameter to invoke action when clicked #5113
  • Added immediate parameter to scroll methods #5164
  • Added textual._loop.loop_from_index #5164
  • Added min_color and max_color to Sparklines constructor, which take precedence over CSS #5174
  • Added new demo python -m textual, not quite finished but better than the old one #5174
  • Added Screen.can_view_partial and Widget.can_view_partial #5174
  • Added App.is_web property to indicate if the app is running via a web browser #5128
  • Enter and Leave events can now be used with the on decorator #5159

Fixed

  • Fixed glitchy ListView #5163

Don't miss a new textual release

NewReleases is sending notifications on new releases.