github Textualize/textual v0.61.0
The Dynamic Actions release

latest releases: v0.71.1, v0.70.0, v0.69.0...
one month ago

The highlight of this release is the ability to implement "dynamic actions", so you can provide logic about which bindings should be displayed. See the docs for details: https://textual.textualize.io/guide/actions/#dynamic-actions

[0.61.0] - 2024-05-18

Added

  • Added App.get_default_screen #4520
  • Added dynamic binding via DOMNode.check_action #4516
  • Added "focused" action namespace so you can bind a key to an action on the focused widget #4516
  • Added "focused" to allowed action namespaces #4516

Changed

  • Breaking change: Actions (as used in bindings) will no longer check the app if they are unhandled. This was undocumented anyway, and not that useful. #4516
  • Breaking change: Renamed App.namespace_bindings to active_bindings

Don't miss a new textual release

NewReleases is sending notifications on new releases.