Skip to content

The Streaming Release

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 12 Jul 09:51
· 271 commits to main since this release
e22a213

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