We've been busy!
There are a few breaking changes here, which we cover in the following blog post:
https://textual.textualize.io/blog/2023/03/09/textual-0140-shakes-up-posting-messages/
Here's the full release notes.
[0.14.0] - 2023-03-09
Changed
- Breaking change: There is now only
post_message
to post events, which is non-async,post_message_no_wait
was dropped. #1940 - Breaking change: The Timer class now has just one method to stop it,
Timer.stop
which is non sync #1940 - Breaking change: Messages don't require a
sender
in their constructor #1940 - Many messages have grown a
control
property which returns the control they relate to. #1940 - Updated styling to make it clear DataTable grows horizontally #1946
- Changed the
Checkbox
character due to issues with Windows Terminal and Windows 10 #1934 - Changed the
RadioButton
character due to issues with Windows Terminal and Windows 10 and 11 #1934 - Changed the
Markdown
initial bullet character due to issues with Windows Terminal and Windows 10 and 11 #1982
Added
- Added
data_table
attribute to DataTable events #1940 - Added
list_view
attribute toListView
events #1940 - Added
radio_set
attribute toRadioSet
events #1940 - Added
switch
attribute toSwitch
events #1940 - Added
hover
andclick
methods toPilot
#1966 - Breaking change: Added
toggle_button
attribute to RadioButton and Checkbox events, replacesinput
#1940 - A percentage alpha can now be applied to a border #1863
- Added
Color.multiply_alpha
. - Added
ContentSwitcher
#1945