Releases: Textualize/textual
The nested specificity fixed release
The Nested Release
Two highlights of this release, Textual CSS now supports nesting, and there is a new method for waiting on the result of screens.
There are also a few fixes. See below for the details...
[0.47.0] - 2024-01-04
Fixed
Widget.move_childwould break ifbefore/afteris set to the index of the widget inchild#1743- Fixed auto width text not processing markup #3918
- Fixed
Tree.clearnot retaining the root's expanded state #3557
Changed
- Breaking change:
Widget.move_childparametersbeforeandafterare now keyword-only #3896 - Style tweak to toasts #3955
Added
The last release of `23 release
It's been a busy year at Textualize towers. This is probably the last release of the year (barring hotfixes). See you in `24.
A few fixes and smaller changes. Also a nice little speed increase for CSS processing.
[0.46.0] - 2023-12-17
Fixed
- Disabled radio buttons could be selected with the keyboard #3839
- Fixed zero width scrollbars causing content to disappear #3886
Changed
- The tabs within a
TabbedContentnow prefix their IDs to stop any clash with their associatedTabPane#3815 - Breaking change:
tabis no longer a@ondecorator selector forTabbedContent.TabActivated-- usepaneinstead #3815
Added
The styles should update on mount now release
The speedy release
A relative minor release, feature wise, but this version much faster CSS processing. You may notice this if you have UIs with 100s of widgets.
Also see a new HowTo: https://textual.textualize.io/how-to/render-and-compose/
[0.45.0] - 2023-12-12
Fixed
- Fixed
DataTable.update_cellnot raising an error with an invalid column key #3335 - Fixed
Inputshowing suggestions when not focused #3808 - Fixed loading indicator not covering scrollbars #3816
Removed
- Removed renderables/align.py which was no longer used.
Changed
- Dropped ALLOW_CHILDREN flag introduced in 0.43.0 #3814
- Widgets with an auto height in an auto height container will now expand if they have no siblings #3814
- Breaking change: Removed
limit_rulesfrom Stylesheet.apply #3844
Added
The Buttery Release
A patch to improve scrolling speed when there are many widgets in the screen.
Scrolling show now be buttery smooth for the screen and other scrolling containers (like the ListView).
[0.44.1] - 2023-12-4
Fixed
- Fixed slow scrolling when there are many widgets #3801
The so long 3.7 release
This release drops support for Python3.7
Additionally, there are a few fixes and some changes. See below for details
[0.44.0] - 2023-12-1
Changed
- Breaking change: Dropped 3.7 support #3766
- Breaking changes #1530
link-hover-backgroundrenamed tolink-background-hoverlink-hover-colorrenamed tolink-color-hoverlink-hover-stylerenamed tolink-style-hover- Brought rxvt's use of shift-numpad keys in line with most other terminals #3769
Added
- Added support for Ctrl+Fn and Ctrl+Shift+Fn keys in urxvt #3737
- Friendly error messages when trying to mount non-widgets #3780
Fixed
The NoWidget fix release
The fixed scrollbar release
The Nothing to See Here Release
The highlight of this release, is the new keyline rule which draws lines around widgets in the margins.
This is similar to border, but keyline can overlap with neighbouring widgets. Here's a screenshot. Note how the green borders around the widgets intersect with each other.
See below for the full changelog.
[0.43.0] - 2023-11-28
Fixed
- Fixed mouse targeting issue in
TextAreawhen tabs were not fully expanded #3725 - Fixed
Selectnot updating after changing thepromptreactive #2983 - Fixed flicker when updating Markdown #3757
Added
- Added experimental Canvas class #3669
- Added
keylinerule #3669 - Widgets can now have an ALLOW_CHILDREN (bool) classvar to disallow adding children to a widget #3758
- Added the ability to set the
labelproperty of aCheckbox#3765 - Added the ability to set the
labelproperty of aRadioButton#3765 - Added app focus/blur for textual-web #3767
Changed
- Method
MarkdownTableOfContents.set_table_of_contentsrenamed toMarkdownTableOfContents.rebuild_table_of_contents#3730 - Exception
Tree.UnknownNodeIDmoved out ofTree, import fromtextual.widgets.tree#3730 - Exception
TreeNode.RemoveRootErrormoved out ofTreeNode, import fromtextual.widgets.tree#3730 - Optimized startup time #3753
- App.COMMANDS or Screen.COMMANDS can now accept a callable which returns a command palette provider #3756