Textual v0.4.0 Release Notes
Release Date: 2022-11-08 // over 1 year ago-
https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
๐ Changed
- โฌ๏ธ Dropped support for mounting "named" and "anonymous" widgets via
App.mount
andWidget.mount
. Both methods now simply take one or more widgets as positional arguments. - ๐ป
DOMNode.query_one
now raises aTooManyMatches
exception if there is more than one matching node. https://github.com/Textualize/textual/issues/1096 App.mount
andWidget.mount
have newbefore
andafter
parameters https://github.com/Textualize/textual/issues/778
โ Added
- โ Added
init
param to reactive.watch CSS_PATH
can now be a list of CSS files https://github.com/Textualize/textual/pull/1079- โ Added
DOMQuery.only_one
https://github.com/Textualize/textual/issues/1096 - Writes to stdout are now done in a thread, for smoother animation. https://github.com/Textualize/textual/pull/1104
- โฌ๏ธ Dropped support for mounting "named" and "anonymous" widgets via