Skip to content

Releases: Textualize/textual

Fix run on Windows

28 Apr 19:58
8fac2c7
Compare
Choose a tag to compare

[0.22.3] - 2023-04-29

Fixed

  • Fixed textual run on Windows #2406
  • Fixed top border of button hover state

v0.22.2

28 Apr 17:11
c5053ec
Compare
Choose a tag to compare

[0.22.2] - 2023-04-29

Added

  • Added TreeNode.tree as a read-only public attribute #2413

Fixed

  • Fixed superfluous style updates for focus-within pseudo-selector

v0.22.1

28 Apr 11:39
e15df80
Compare
Choose a tag to compare

[0.22.1] - 2023-04-28

Fixed

  • Fixed timer issue #2416
  • Fixed textual run issue #2391

Making good Progress!

27 Apr 14:08
124c45e
Compare
Choose a tag to compare

[0.22.0] - 2023-04-27

Fixed

  • Fixed broken fr units when there is a min or max dimension #2378
  • Fixed plain text in Markdown code blocks with no syntax being difficult to read #2400

Added

  • Added ProgressBar widget #2333

Changed

  • All textual.containers are now 1fr in relevant dimensions by default #2386

Run Textual, Run

26 Apr 12:58
f20df9b
Compare
Choose a tag to compare

Mostly fixes and enhancements, but there are some breaking changes in containers. See below for the details.

[0.21.0] - 2023-04-26

Changed

  • textual run execs apps in a new context.
  • Textual console no longer parses console markup.
  • Breaking change: Container no longer shows required scrollbars by default #2361
  • Breaking change: VerticalScroll no longer shows a required horizontal scrollbar by default
  • Breaking change: HorizontalScroll no longer shows a required vertical scrollbar by default
  • Breaking change: Renamed App.action_add_class_ to App.action_add_class
  • Breaking change: Renamed App.action_remove_class_ to App.action_remove_class
  • Breaking change: RadioSet is now a single focusable widget #2372
  • Breaking change: Removed containers.Content (use containers.VerticalScroll now)

Added

  • Added -c switch to textual run which runs commands in a Textual dev environment.
  • Breaking change: standard keyboard scrollable navigation bindings have been moved off Widget and onto a new base class for scrollable containers (see also below addition) #2332
  • ScrollView now inherits from ScrollableContainer rather than Widget #2332
  • Containers no longer inherit any bindings from Widget #2331
  • Added ScrollableContainer; a container class that binds the common navigation keys to scroll actions (see also above breaking change) #2332

Fixed

  • Fixed dark mode toggles in a "child" screen not updating a "parent" screen #1999
  • Fixed "panel" border not exposed via CSS
  • Fixed TabbedContent.active changes not changing the actual content #2352
  • Fixed broken color on macOS Terminal #2359

Fix for stuck tabs

18 Apr 15:48
4981eff
Compare
Choose a tag to compare

A fix for an issue where the underline on tabs widgets may occasionally get stuck.

[0.20.1] - 2023-04-18

Fix

  • New fix for stuck tabs underline #2229

The remove row release

18 Apr 12:44
cc41a7f
Compare
Choose a tag to compare

[0.20.0] - 2023-04-18

Changed

  • Changed signature of Driver. Technically a breaking change, but unlikely to affect anyone.
  • Breaking change: Timer.start is now private, and returns None. There was no reason to call this manually, so unlikely to affect anyone.
  • A clicked tab will now be scrolled to the center of its tab container #2276
  • Style updates are now done immediately rather than on_idle #2304
  • ButtonVariant is now exported from textual.widgets.button #2264
  • HorizontalScroll and VerticalScroll are now focusable by default #2317

Added

  • Added DataTable.remove_row method #2253
  • option --port to the command textual console to specify which port the console should connect to #2258
  • Widget.scroll_to_center method to scroll children to the center of container widget #2255 and #2276
  • Added TabActivated message to TabbedContent #2260
  • Added "panel" border style #2292
  • Added border-title-color, border-title-background, border-title-style rules #2289
  • Added border-subtitle-color, border-subtitle-background, border-subtitle-style rules #2289

Fixed

  • Fixed order styles are applied in DataTable - allows combining of renderable styles and component classes #2272
  • Fix empty ListView preventing bindings from firing #2281
  • Fix get_component_styles returning incorrect values on first call when combined with pseudoclasses #2304
  • Fixed active_message_pump.get sometimes resulting in a LookupError #2301
  • Fixed issue arising when active tab was changed too quickly in succession #2305

Fix for broken vw and vh units

10 Apr 15:52
4f7b2d0
Compare
Choose a tag to compare

A bugfix release, see below...

[0.19.1] - 2023-04-10

Fixed

  • Fix viewport units using wrong viewport size #2247
  • Fixed layout not clearing arrangement cache #2249

DataTable cursor and Directory filtering

07 Apr 08:56
e9ec627
Compare
Choose a tag to compare

Mostly a bugfix release. But we also have filtering on the DirectoryTree, and the DataTable page up / down now moves the cursor as well as the view.

[0.19.0] - 2023-04-07

Added

  • Added support for filtering a DirectoryTree #2215

Changed

  • Allowed border_title and border_subtitle to accept Text objects
  • Added additional line around titles
  • When a container is auto, relative dimensions in children stretch the container. #2221
  • DataTable page up / down now move cursor

Fixed

  • Fixed margin not being respected when width or height is "auto" #2220
  • Fixed issue which prevent scroll_visible from working #2181
  • Fixed missing tracebacks on Windows #2027

New Worker API

04 Apr 12:19
b5689b1
Compare
Choose a tag to compare

https://textual.textualize.io/blog/2023/04/04/textual-0180-adds-api-for-managing-concurrent-workers/

[0.18.0] - 2023-04-04

Added

Changed

  • Breaking change: Markdown.update is no longer a coroutine #2182

[Fixed]

  • RadioSet is now far less likely to report pressed_button as None #2203