Merge pull request #2124 from Textualize/rodrigogiraoserrao-patch-1

Update CHANGELOG.md
This commit is contained in:
Rodrigo Girão Serrão
2023-03-23 15:44:01 +00:00
committed by GitHub

View File

@@ -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