Update dependency textual to v0.79.1 #330
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.42.0
->==0.79.1
Release Notes
Textualize/textual (textual)
v0.79.1
Compare Source
Fixed
v0.79.0
Compare Source
Added
DOMNode.check_consume_key
https://github.com/Textualize/textual/pull/4940App.ESCAPE_TO_MINIMIZE
,App.screen_to_minimize
, andScreen.ESCAPE_TO_MINIMIZE
https://github.com/Textualize/textual/pull/4951DOMNode.query_exactly_one
https://github.com/Textualize/textual/pull/4950SelectorSet.is_simple
https://github.com/Textualize/textual/pull/4950Changed
DOMNode.query_one
will notraise TooManyMatches
https://github.com/Textualize/textual/pull/4950v0.78.0
Compare Source
Added
Screen.maximize
,Screen.minimize
,Screen.action_maximize
,Screen.action_minimize
,Widget.is_maximized
,Widget.allow_maximize
. https://github.com/Textualize/textual/pull/4931Widget.ALLOW_MAXIMIZE
,Screen.ALLOW_IN_MAXIMIZED_VIEW
classvars https://github.com/Textualize/textual/pull/4931v0.77.0
Compare Source
Added
tooltip
to Binding https://github.com/Textualize/textual/pull/4859show_command_palette=False
to disable) https://github.com/Textualize/textual/pull/4867TOOLTIP_DELAY
to App to customize time until a tooltip is displayedRegion.get_spacing_between
https://github.com/Textualize/textual/pull/4876App.COMMAND_PALETTE_KEY
to change default command palette key binding https://github.com/Textualize/textual/pull/4867App.get_key_display
https://github.com/Textualize/textual/pull/4890DOMNode.BINDING_GROUP
https://github.com/Textualize/textual/pull/4906DOMNode.HELP
classvar which contains Markdown help to be shown in the help panel https://github.com/Textualize/textual/pull/4915App.get_system_commands
https://github.com/Textualize/textual/pull/4920Changed
ctrl+p
https://github.com/Textualize/textual/pull/4867ctrl_to_caret
andupper_case_keys
from Footer. These can be implemented inApp.get_key_display
.SystemCommands
toSystemCommandsProvider
https://github.com/Textualize/textual/pull/4920ClassicFooter
widget (please use newFooter
widget) https://github.com/Textualize/textual/pull/4921Screen
instances inApp.SCREENS
andApp.MODES
Fixed
validate_on
value isn't a set https://github.com/Textualize/textual/pull/4868Input.cursor_blink
having no effect on the blink cycle after mounting https://github.com/Textualize/textual/pull/4869App.MODES
being the same for all instances -- per-instance modes now exist internallyv0.76.0
Compare Source
Changed
Size.cip_size
, which was a clone ofcrop_size
DOMNode._automatic_refresh
toDOMNode.automatic_refresh
to allow for customization https://github.com/Textualize/textual/pull/4847Fixed
Added
ESCDELAY
env var when detecting escape keys https://github.com/Textualize/textual/pull/4848v0.75.1
Compare Source
Fixed
v0.75.0
Compare Source
Added
App.open_url
to open URLs in the web browser. When running via the WebDriver, the URL will be opened in the browser that is controlling the app https://github.com/Textualize/textual/pull/4819Widget.is_mouse_over
https://github.com/Textualize/textual/pull/4818node
attribute toevents.Enter
andevents.Leave
https://github.com/Textualize/textual/pull/4818Changed
events.Enter
andevents.Leave
events now bubble. https://github.com/Textualize/textual/pull/4818Widget.mouse_over
toWidget.mouse_hover
https://github.com/Textualize/textual/pull/4818Fixed
mutate_reactive
and data binding https://github.com/Textualize/textual/pull/4828v0.74.0
Compare Source
Fixed
Changed
Screen.dismiss
with no arguments will invoke the screen callback withNone
(previously the callback wasn't invoke at all). https://github.com/Textualize/textual/pull/4795v0.73.0
Compare Source
Added
TextArea.line_number_start
reactive attribute https://github.com/Textualize/textual/pull/4471TextArea.matching_bracket_location
property https://github.com/Textualize/textual/pull/4764DOMNode.mutate_reactive
https://github.com/Textualize/textual/pull/4731textual.color.Gradient
https://github.com/Textualize/textual/pull/4739textual.color.Gradient.get_rich_color
https://github.com/Textualize/textual/pull/4739Widget.remove_children
now accepts an iterable if widgets in addition to a selector https://github.com/Textualize/textual/issues/4735ValueError
with improved error message when number of cells inserted usingDataTable.add_row
doesn't match the number of columns in the table https://github.com/Textualize/textual/pull/4742Tree.move_cursor
to programmatically move the cursor without selecting the node https://github.com/Textualize/textual/pull/4753Footer
component style handling of padding for the key/description https://github.com/Textualize/textual/pull/4651StringKey
is now exported fromdata_table
https://github.com/Textualize/textual/pull/4760TreeNode.add
andTreeNode.add_leaf
now acceptsbefore
andafter
arguments to position a new node https://github.com/Textualize/textual/pull/4772gradient
parameter to theProgressBar
widget https://github.com/Textualize/textual/pull/4774Fixed
Tabs
where disabled tabs could still be activated by clicking the underline https://github.com/Textualize/textual/issues/4701DataTable
poor performance on startup and focus change when rows contain multi-line content https://github.com/Textualize/textual/pull/4748Tree
andDirectoryTree
horizontal scrolling off-by-2 https://github.com/Textualize/textual/pull/4744Tree.select_node
sendsNodeSelected
message https://github.com/Textualize/textual/pull/4753CommandPalette
not focusing the input when opened whenApp.AUTO_FOCUS
doesn't match the input https://github.com/Textualize/textual/pull/4763SelectionList.SelectionToggled
will now be sent for each option when a bulk toggle is performed (e.g.toggle_all
). Previously no messages were sent at all. https://github.com/Textualize/textual/pull/4759Changed
TreeNodeSelected
messages are now posted beforeTreeNodeExpanded
messageswhen an expandable node is selechttps://github.com/Textualize/textual/pull/47534753
Markdown.LinkClicked.href
is now automatically unquoted https://github.com/Textualize/textual/pull/4749Tree
andDirectoryTree
will no longer linger after the mouse leaves the widget https://github.com/Textualize/textual/pull/4766v0.72.0
Changed
Fixed
v0.71.0
Changed
App.push_screen
now returns an Awaitable rather than a screen. https://github.com/Textualize/textual/pull/4672Screen.dismiss
now returns an Awaitable rather than a bool. https://github.com/Textualize/textual/pull/4672Fixed
Markdown.LinkClicked
message https://github.com/Textualize/textual/issues/4683v0.70.0
Compare Source
Fixed
v0.69.0
Compare Source
Added
App.simulate_key
https://github.com/Textualize/textual/pull/4657Fixed
Changed
App.check_bindings
is now privateApp.action_check_bindings
is nowApp.action_simulate_key
v0.68.0
Compare Source
Added
ContentSwitcher.add_content
Fixed
v0.67.1
Compare Source
Changed
v0.67.0
Compare Source
Added
ctrl+pageup
/ctrl+pagedown
will scroll page left/right in DataTable https://github.com/Textualize/textual/pull/4633g
/G
will scroll to the top/bottom of the DataTable https://github.com/Textualize/textual/pull/4633hjkl
key bindings to move the cursor in DataTable https://github.com/Textualize/textual/pull/4633Changed
home
andend
now works horizontally instead of vertically in DataTable https://github.com/Textualize/textual/pull/4633Tree
andDirectoryTree
nodes now have a bigger click target, spanning the full line https://github.com/Textualize/textual/pull/4636Fixed
App.CLOSE_TIMEOUT
https://github.com/Textualize/textual/pull/4635v0.66.0
Compare Source
Changed
get_content_height
will now return 0 if the renderable is Falsey https://github.com/Textualize/textual/pull/4617Screen.dismiss
is now a noop if the screen isn't active. Previously it would raise aScreenStackError
, now it returnsFalse
. https://github.com/Textualize/textual/pull/4621Added
Screen.is_active
icon
reactive to Header widget https://github.com/Textualize/textual/pull/4627time_format
reactive to Header widget https://github.com/Textualize/textual/pull/4627tooltip
parameter to input widgets https://github.com/Textualize/textual/pull/4625v0.65.2
Compare Source
Fixed
Added
v0.65.1
Compare Source
Fixed
v0.65.0
Compare Source
Added
Fixed
Changes
v0.64.0
Compare Source
Fixed
Markdown.goto_anchor
no longer scrolling the heading into view https://github.com/Textualize/textual/pull/4583v0.63.6
Compare Source
Fixed
v0.63.5
Compare Source
Fixed
Added
Styles.is_auto_width
andStyle.is_auto_height
v0.63.4
Compare Source
Added
immediate
switch toSignal.publish
Fixed
v0.63.3
Compare Source
Fixed
Footer
grid size https://github.com/Textualize/textual/pull/4545Changed
v0.63.2
Compare Source
Fixed
v0.63.1
Compare Source
Fixed
v0.63.0
Compare Source
Fixed
Changed
v0.62.0
Compare Source
Added
start
andend
properties to Markdown NavigatorWidget.anchor
,Widget.clear_anchor
, andWidget.is_anchored
https://github.com/Textualize/textual/pull/4530v0.61.1
Compare Source
Fixed
v0.61.0
Compare Source
Added
App.get_default_screen
https://github.com/Textualize/textual/pull/4520DOMNode.check_action
https://github.com/Textualize/textual/pull/4516"focused"
action namespace so you can bind a key to an action on the focused widget https://github.com/Textualize/textual/pull/4516Changed
App.namespace_bindings
toactive_bindings
v0.60.1
Compare Source
Fixed
v0.60.0
Compare Source
Fixed
Added
DOMNode.query_children
https://github.com/Textualize/textual/pull/4508v0.59.0
Compare Source
Fixed
SelectionList
issues after removing an option https://github.com/Textualize/textual/pull/4464ListView
bugs with the initial index https://github.com/Textualize/textual/pull/4452Select
not closing https://github.com/Textualize/textual/pull/4499loading=False
removing all child loading indicators https://github.com/Textualize/textual/pull/4499Changed
App.exit()
, the console no longer highlights things such as numbers.Added
message_signal
to MessagePump, to listen to events sent to another widget. https://github.com/Textualize/textual/pull/4487Widget.suppress_click
https://github.com/Textualize/textual/pull/4499v0.58.1
Compare Source
Fixed
v0.58.0
Compare Source
Fixed
TextArea
to end mouse selection only if currently selecting https://github.com/Textualize/textual/pull/4436Changed
v0.57.1
Compare Source
Fixed
Document.end
property https://github.com/Textualize/textual/issues/4426Added
Offset.clamp
andSize.clamp_offset
https://github.com/Textualize/textual/pull/4435v0.57.0
Compare Source
Fixed
Integer
validator missing failure description when not a number https://github.com/Textualize/textual/issues/4413DataTable
if you clicked a link in the border https://github.com/Textualize/textual/issues/4410Added
App.copy_to_clipboard
https://github.com/Textualize/textual/pull/4416v0.56.4
Compare Source
Fixed
v0.56.3
Compare Source
Fixed
v0.56.2
Compare Source
Fixed
v0.56.1
Compare Source
Fixed
Changed
v0.56.0
Compare Source
Added
Size.with_width
andSize.with_height
https://github.com/Textualize/textual/pull/4393Fixed
Changed
v0.55.1
Compare Source
Fixed
mouse=False
v0.55.0
Compare Source
Fixed
Changed
Widget.compose
or workers weren't bubbling up in tests https://github.com/Textualize/textual/issues/4282DataTable
scrolling issues by changingmax-height
back to 100% https://github.com/Textualize/textual/issues/4286Button
not rendering correctly with console markup https://github.com/Textualize/textual/issues/4328Added
Document.start
andend
location properties for convenience https://github.com/Textualize/textual/pull/4267TextArea
https://github.com/Textualize/textual/pull/4350inline
parameter torun
andrun_async
to run app inline (under the prompt). https://github.com/Textualize/textual/pull/4343mouse
parameter to disable mouse support https://github.com/Textualize/textual/pull/4343v0.54.0
Compare Source
Fixed
TextArea
when undoing an edit to a selection the selection was made backwards https://github.com/Textualize/textual/issues/4301total
reactive https://github.com/Textualize/textual/pull/4316Changed
Input
waits until an edit has been made, after entry to the widget, before offering a suggestion https://github.com/Textualize/textual/pull/4335v0.53.1
Compare Source
Fixed
v0.53.0
Compare Source
Added
App.ansi_theme_dark
andApp.ansi_theme_light
https://github.com/Textualize/textual/pull/4192Pilot.resize_terminal
to resize the terminal in testing https://github.com/Textualize/textual/issues/4212sort_children
method https://github.com/Textualize/textual/pull/4244Fixed
TextArea.code_editor
missing recently added attributes https://github.com/Textualize/textual/pull/4172Sparkline
not working with data in adeque
https://github.com/Textualize/textual/issues/3899DirectoryTree.path
no longer reacting to new values https://github.com/Textualize/textual/issues/4208grid-gutter
interaction with Pretty widget https://github.com/Textualize/textual/pull/4219TextArea
styling issue on alternate screens https://github.com/Textualize/textual/pull/4220RichLog
https://github.com/Textualize/textual/pull/4223RichLog.min_width
not being used https://github.com/Textualize/textual/pull/4223CollapsibleTitle.action_toggle
toaction_toggle_collapsible
to fix clash withDOMNode.action_toggle
https://github.com/Textualize/textual/pull/4221Switch.action_toggle
toaction_toggle_switch
to fix clash withDOMNode.action_toggle
https://github.com/Textualize/textual/issues/4262OptionList.OptionHighlighted
leaking out ofSelect
https://github.com/Textualize/textual/issues/4224Tab
enable/disable messages leaking intoTabbedContent
https://github.com/Textualize/textual/issues/4233TabbedContent
https://github.com/Textualize/textual/issues/4232TextArea
while mouse selection is happening https://github.com/Textualize/textual/issues/4292Changed
_
https://github.com/Textualize/textual/pull/4252Collapsible
Markdown
Select
SelectionList
TabbedContent
Tabs
TextArea
Tree
AppFocus
andAppBlur
are now posted when the terminal window gains or loses focus, if the terminal supports this https://github.com/Textualize/textual/pull/4265Tabs
) / tab pane (inTabbedContent
) can now be unset https://github.com/Textualize/textual/issues/4241v0.52.1
Compare Source
Fixed
LoadingIndicator
https://github.com/Textualize/textual/issues/4188v0.52.0
Compare Source
Changed
Added
asyncio
lock attributeWidget.lock
to be used to synchronize widget state https://github.com/Textualize/textual/issues/4134TEXTUAL_ANIMATIONS
to control what animations Textual displays https://github.com/Textualize/textual/pull/4062App.animation_level
to control whether animations on that app run or not https://github.com/Textualize/textual/pull/4062TEXTUAL_SCREENSHOT_LOCATION
environment variable to specify the location of an automated screenshot https://github.com/Textualize/textual/pull/4181/TEXTUAL_SCREENSHOT_FILENAME
environment variable to specify the filename of an automated screenshot https://github.com/Textualize/textual/pull/4181/asyncio
lock attributeWidget.lock
to be used to synchronize widget state https://github.com/Textualize/textual/issues/4134Widget.remove_children
now accepts a CSS selector to specify which children to remove https://github.com/Textualize/textual/pull/4183Widget.batch
combines widget locking and app update batching https://github.com/Textualize/textual/pull/4183v0.51.0
Compare Source
Added
read_only
mode https://github.com/Textualize/textual/pull/4151Fixed
Tab
not being scrolled into view whenTabs.active
is assigned https://github.com/Textualize/textual/issues/4150TabbedContent.TabActivate
not being posted whenTabbedContent.active
is assigned https://github.com/Textualize/textual/issues/4150Changed
TextArea.tab_behaviour
toTextArea.tab_behavior
https://github.com/Textualize/textual/pull/4124TextArea.theme
now defaults to"css"
instead of None, and is no longer optional https://github.com/Textualize/textual/pull/4157Fixed
v0.50.1
Compare Source
Fixed
v0.50.0
Compare Source
Fixed
watch
to create additional watchers would trigger other watch methods https://github.com/Textualize/textual/issues/3878Added
Markdown
https://github.com/Textualize/textual/issues/3997v0.49.0
Compare Source
Fixed
OptionList
by adding max height of 100% https://github.com/Textualize/textual/issues/4021DirectoryTree.clear_node
not clearing the node specified https://github.com/Textualize/textual/issues/4122Changed
DirectoryTree.reload
andDirectoryTree.reload_node
now preserve state when reloading https://github.com/Textualize/textual/issues/4056TextArea
will not useEscape
to shift focus if thetab_behaviour
is the default https://github.com/Textualize/textual/issues/4110TextArea
cursor will now be invisible before first focus https://github.com/Textualize/textual/pull/4128TextArea.cursor_blink
reactive when widget does not have focus https://github.com/Textualize/textual/pull/4128Added
Tree
(andDirectoryTree
) grew an attributelock
that can be used for synchronization across coroutines https://github.com/Textualize/textual/issues/4056v0.48.2
Compare Source
Fixed
OptionList
Option.id
mappings https://github.com/Textualize/textual/issues/4101Changed
RadioSet
,ListView
,OptionList
, andSelectionList
, no longer allows highlighting disabled items https://github.com/Textualize/textual/issues/3881[
v0.48.1
](https://redirect.github.com/Textualize/textConfiguration
📅 Schedule: Branch creation - "after 7am and before 4pm on monday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.