Skip to content

Releases: Textualize/textual

The nested specificity fixed release

05 Jan 11:38
aced854

Choose a tag to compare

A hotfix for a bug in nested CSS.

[0.47.1] - 2023-01-05

Fixed

  • Fixed nested specificity #3963

The Nested Release

04 Jan 15:21
b7f998a

Choose a tag to compare

Two highlights of this release, Textual CSS now supports nesting, and there is a new method for waiting on the result of screens.

Screenshot 2024-01-04 at 11 54 40 Screenshot 2024-01-03 at 14 10 56

There are also a few fixes. See below for the details...

[0.47.0] - 2024-01-04

Fixed

  • Widget.move_child would break if before/after is set to the index of the widget in child #1743
  • Fixed auto width text not processing markup #3918
  • Fixed Tree.clear not retaining the root's expanded state #3557

Changed

  • Breaking change: Widget.move_child parameters before and after are now keyword-only #3896
  • Style tweak to toasts #3955

Added

  • Added textual.lazy #3936
  • Added App.push_screen_wait #3955
  • Added nesting of CSS #3946

The last release of `23 release

17 Dec 20:20
1c8dc5d

Choose a tag to compare

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 TabbedContent now prefix their IDs to stop any clash with their associated TabPane #3815
  • Breaking change: tab is no longer a @on decorator selector for TabbedContent.TabActivated -- use pane instead #3815

Added

  • Added Collapsible.title reactive attribute #3830
  • Added a pane attribute to TabbedContent.TabActivated #3815
  • Added caching of rules attributes and cache parameter to Stylesheet.apply #3880

The styles should update on mount now release

12 Dec 21:22
4bfb82a

Choose a tag to compare

A hotfix for #3858

[0.45.1] - 2023-12-12

Fixed

  • Fixed issues were styles wouldn't update if changed in mount. #3860

The speedy release

12 Dec 14:45
21ba7db

Choose a tag to compare

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_cell not raising an error with an invalid column key #3335
  • Fixed Input showing 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_rules from Stylesheet.apply #3844

Added

  • Added get_loading_widget to Widget and App customize the loading widget. #3816
  • Added messages Collapsible.Expanded and Collapsible.Collapsed that inherit from Collapsible.Toggled. #3824

The Buttery Release

04 Dec 14:00
ad3934b

Choose a tag to compare

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

01 Dec 11:54
e537125

Choose a tag to compare

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-background renamed to link-background-hover
  • link-hover-color renamed to link-color-hover
  • link-hover-style renamed to link-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

  • Fixed NoWidget when mouse goes outside window #3790
  • Removed spurious print statements from press_keys #3785

The NoWidget fix release

29 Nov 13:31
1a76b62

Choose a tag to compare

[0.43.2] - 2023-11-29

Fixed

  • Fixed NoWidget error #3779

The fixed scrollbar release

29 Nov 10:45

Choose a tag to compare

A hotfix.

[0.43.1] - 2023-11-29

Fixed

  • Fixed clicking on scrollbar moves TextArea cursor #3763

The Nothing to See Here Release

28 Nov 14:38
60766a3

Choose a tag to compare

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.

Screenshot 2023-11-23 at 21 11 53

See below for the full changelog.

[0.43.0] - 2023-11-28

Fixed

  • Fixed mouse targeting issue in TextArea when tabs were not fully expanded #3725
  • Fixed Select not updating after changing the prompt reactive #2983
  • Fixed flicker when updating Markdown #3757

Added

  • Added experimental Canvas class #3669
  • Added keyline rule #3669
  • Widgets can now have an ALLOW_CHILDREN (bool) classvar to disallow adding children to a widget #3758
  • Added the ability to set the label property of a Checkbox #3765
  • Added the ability to set the label property of a RadioButton #3765
  • Added app focus/blur for textual-web #3767

Changed

  • Method MarkdownTableOfContents.set_table_of_contents renamed to MarkdownTableOfContents.rebuild_table_of_contents #3730
  • Exception Tree.UnknownNodeID moved out of Tree, import from textual.widgets.tree #3730
  • Exception TreeNode.RemoveRootError moved out of TreeNode, import from textual.widgets.tree #3730
  • Optimized startup time #3753
  • App.COMMANDS or Screen.COMMANDS can now accept a callable which returns a command palette provider #3756