github Textualize/textual v4.0.0
The Streaming Release

latest releases: v6.1.0, v6.0.0, v5.3.0...
one month ago

The highlight of this release is the new Markdown.append method which can be used to efficiently stream markdown content (like you might get from an LLM).

Screen.Recording.2025-07-12.at.10.46.30.mov

The Widget.anchor method has changed semantics (and also works much better), which is the reason for the major version bump. This will only impact you if you are actually using that method.

And there are a few fixes and additions. Thanks to the community for these contributions.

[4.0.0] - 2025-07-12

Fixed

  • Fixed query_one and query_exactly_one not raising documented WrongType exception. #5945
  • Fixed logging to a file on Windows #5941
  • Fixed eight bit colors crashing when applying dim style #5957

Changed

  • Breaking change: Widget.anchor now has different semantics. It should be applied to a container and anchors to the bottom of the scroll position. #5950

Added

  • Added Markdown.append #5950
  • Added Widget.release_anchor #5950
  • Added compact parameter to MaskedInput #5952

Don't miss a new textual release

NewReleases is sending notifications on new releases.