The Query faster Release
This release optimizes query_one
and changes the semantics a little. query_one
will no longer raise a TooManyMatches if there is more than a single widget matching the selector. For the old behavior, you can use the new query_exactly_one
method.
See also https://textual.textualize.io/guide/devtools/#serve
Check below for the full details!
[0.79.0] - 2024-08-30
Added
- Added
DOMNode.check_consume_key
#4940 - Added
App.ESCAPE_TO_MINIMIZE
,App.screen_to_minimize
, andScreen.ESCAPE_TO_MINIMIZE
#4951 - Added
DOMNode.query_exactly_one
#4950 - Added
SelectorSet.is_simple
#4950