From 8708f7b8bb102d1f66bd58d16c29b026f44365fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= <5621605+rodrigogiraoserrao@users.noreply.github.com> Date: Thu, 23 Mar 2023 15:01:50 +0000 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8afcb3a8e..bb64a6543 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - Textual will now render strings within renderables (such as tables) as Console Markup by default. You can wrap your text with rich.Text() if you want the original behavior. https://github.com/Textualize/textual/issues/2120 +- Some widget methods now return `self` instead of `None` https://github.com/Textualize/textual/pull/2102: + - `Widget`: `refresh`, `focus`, `reset_focus` + - `Button.press` + - `DataTable`: `clear`, `refresh_coordinate`, `refresh_row`, `refresh_column`, `sort` + - `Placehoder.cycle_variant` + - `Switch.toggle` + - `Tabs.clear` + - `TextLog`: `write`, `clear` + - `TreeNode`: `expand`, `expand_all`, `collapse`, `collapse_all`, `toggle`, `toggle_all` + - `Tree`: `clear`, `reset` ## [0.16.0] - 2023-03-22 @@ -33,16 +43,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Breaking change: changed default behaviour of `Vertical` (see `VerticalScroll`) https://github.com/Textualize/textual/issues/1957 - The default `overflow` style for `Horizontal` was changed to `hidden hidden` https://github.com/Textualize/textual/issues/1957 - `DirectoryTree` also accepts `pathlib.Path` objects as the path to list https://github.com/Textualize/textual/issues/1438 -- Some widget methods now return `self` instead of `None` https://github.com/Textualize/textual/pull/2102: - - `Widget`: `refresh`, `focus`, `reset_focus` - - `Button.press` - - `DataTable`: `clear`, `refresh_coordinate`, `refresh_row`, `refresh_column`, `sort` - - `Placehoder.cycle_variant` - - `Switch.toggle` - - `Tabs.clear` - - `TextLog`: `write`, `clear` - - `TreeNode`: `expand`, `expand_all`, `collapse`, `collapse_all`, `toggle`, `toggle_all` - - `Tree`: `clear`, `reset` ### Removed