The Streaming Release
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
andquery_exactly_one
not raising documentedWrongType
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