Releases: Textualize/textual
Releases Β· Textualize/textual
Fix run on Windows
[0.22.3] - 2023-04-29
Fixed
- Fixed
textual run
on Windows #2406 - Fixed top border of button hover state
v0.22.2
v0.22.1
Making good Progress!
Run Textual, Run
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_
toApp.action_add_class
- Breaking change: Renamed
App.action_remove_class_
toApp.action_remove_class
- Breaking change:
RadioSet
is now a single focusable widget #2372 - Breaking change: Removed
containers.Content
(usecontainers.VerticalScroll
now)
Added
- Added
-c
switch totextual 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 fromScrollableContainer
rather thanWidget
#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
Fix for stuck tabs
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
[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 fromtextual.widgets.button
#2264HorizontalScroll
andVerticalScroll
are now focusable by default #2317
Added
- Added
DataTable.remove_row
method #2253 - option
--port
to the commandtextual 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 toTabbedContent
#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 aLookupError
#2301 - Fixed issue arising when active tab was changed too quickly in succession #2305
Fix for broken vw and vh units
DataTable cursor and Directory filtering
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
New Worker API
https://textual.textualize.io/blog/2023/04/04/textual-0180-adds-api-for-managing-concurrent-workers/
[0.18.0] - 2023-04-04
Added
- Added Worker API #2182
Changed
- Breaking change: Markdown.update is no longer a coroutine #2182
[Fixed]
RadioSet
is now far less likely to reportpressed_button
asNone
#2203