diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e9f3fd5a..86027123b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - `work` decorator accepts `description` parameter to add debug string https://github.com/Textualize/textual/issues/2597 - Added `SelectionList` widget https://github.com/Textualize/textual/pull/2652 - `App.AUTO_FOCUS` to set auto focus on all screens https://github.com/Textualize/textual/issues/2594 +- `Suggester` API to compose with widgets for automatic suggestions https://github.com/Textualize/textual/issues/2330 +- `SuggestFromList` class to let widgets get completions from a fixed set of options https://github.com/Textualize/textual/pull/2604 +- `Input` has a new component class `input--suggestion` https://github.com/Textualize/textual/pull/2604 - Added `Widget.remove_children` https://github.com/Textualize/textual/pull/2657 ### Changed @@ -27,6 +30,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Setting `Screen.AUTO_FOCUS` to `None` will inherit `AUTO_FOCUS` from the app instead of disabling it https://github.com/Textualize/textual/issues/2594 - Setting `Screen.AUTO_FOCUS` to `""` will disable it on the screen https://github.com/Textualize/textual/issues/2594 - Messages now have a `handler_name` class var which contains the name of the default handler method. +- `Message.control` is now a property instead of a class variable. https://github.com/Textualize/textual/issues/2528 +- `Tree` and `DirectoryTree` Messages no longer accept a `tree` parameter, using `self.node.tree` instead. https://github.com/Textualize/textual/issues/2529 +- Keybinding right in `Input` is also used to accept a suggestion if the cursor is at the end of the input https://github.com/Textualize/textual/pull/2604 +- `Input.__init__` now accepts a `suggester` attribute for completion suggestions https://github.com/Textualize/textual/pull/2604 ### Removed @@ -38,33 +45,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added -- Added Widget.can_view +- Added `Widget.can_view` ### Changed - Textual will now scroll focused widgets to center if not in view -## Unreleased - -### Changed - -- `Message.control` is now a property instead of a class variable. https://github.com/Textualize/textual/issues/2528 -- `Tree` and `DirectoryTree` Messages no longer accept a `tree` parameter, using `self.node.tree` instead. https://github.com/Textualize/textual/issues/2529 - -## Unreleased - -### Added - -- `Suggester` API to compose with widgets for automatic suggestions https://github.com/Textualize/textual/issues/2330 -- `SuggestFromList` class to let widgets get completions from a fixed set of options https://github.com/Textualize/textual/pull/2604 -- `Input` has a new component class `input--suggestion` https://github.com/Textualize/textual/pull/2604 - -### Changed - -- Keybinding right in `Input` is also used to accept a suggestion if the cursor is at the end of the input https://github.com/Textualize/textual/pull/2604 -- `Input.__init__` now accepts a `suggester` attribute for completion suggestions https://github.com/Textualize/textual/pull/2604 - - ## [0.25.0] - 2023-05-17 ### Changed