Update dependency textual to v4 #579
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:
==1.0.0
->==4.0.0
Release Notes
Textualize/textual (textual)
v4.0.0
Compare Source
Fixed
query_one
andquery_exactly_one
not raising documentedWrongType
exception. https://github.com/Textualize/textual/pull/5945Changed
Widget.anchor
now has different semantics. It should be applied to a container and anchors to the bottom of the scroll position. https://github.com/Textualize/textual/pull/5950Added
Markdown.append
https://github.com/Textualize/textual/pull/5950Widget.release_anchor
https://github.com/Textualize/textual/pull/5950compact
parameter toMaskedInput
https://github.com/Textualize/textual/pull/5952v3.7.1
Compare Source
Fixed
v3.7.0
Compare Source
Added
show_cursor
boolean to TextArea https://github.com/Textualize/textual/pull/5934Changed
query_one
andquery_exactly_one
search to breadth first https://github.com/Textualize/textual/pull/5930Fixed
v3.6.0
Compare Source
Added
show_cursor
boolean to TextArea https://github.com/Textualize/textual/pull/5934Changed
query_one
andquery_exactly_one
search to breadth first https://github.com/Textualize/textual/pull/5930Fixed
v3.5.0
Compare Source
Changed
code_indent_guides
boolean on Markdown widget https://github.com/Textualize/textual/pull/5874v3.4.0
Compare Source
Fixed
TextArea
rendering https://github.com/Textualize/textual/issues/5841vcommAdded
Changed
v3.3.0
Compare Source
Fixed
VERTICAL_BREAKPOINTS
doesn't work https://github.com/Textualize/textual/pull/5785Button
allowing text selection https://github.com/Textualize/textual/pull/5770App.run
afterasyncio.run
https://github.com/Textualize/textual/pull/5799Input
invalid cursor position after updating the value https://github.com/Textualize/textual/issues/5811DEFAULT_CLASSES
when applied to App https://github.com/Textualize/textual/pull/5827Added
CollapsibleTitle
https://github.com/Textualize/textual/pull/5810Color.hsv
property andColor.from_hsv
class method https://github.com/Textualize/textual/pull/5803cursor_at_start
andcursor_at_end
properties to theInput
widget https://github.com/Textualize/textual/pull/5830Changed
python -m textual.markup
playground https://github.com/Textualize/textual/pull/5823v3.2.0
Compare Source
Fixed
OptionList
causing excessive redrawing https://github.com/Textualize/textual/pull/5766TEXTUAL_DEBUG
is set https://github.com/Textualize/textual/pull/5782Added
:first-child
and:last-child
pseudo classes https://github.com/Textualize/textual/pull/5776toggle_class
parameter to reactives https://github.com/Textualize/textual/pull/5778compact
parameter and reactive toButton
,Input
,ToggleButton
,RadioSet
,OptionList
,TextArea
https://github.com/Textualize/textual/pull/5778HORIZONTAL_BREAKPOINTS
andVERTICAL_BREAKPOINTS
toApp
andScreen
https://github.com/Textualize/textual/pull/5779Changed
RadioSet
now has a default width of1fr
https://github.com/Textualize/textual/pull/5778v3.1.1
Compare Source
Fixed
v3.1.0
Compare Source
Fixed
OptionList
size after removing or clearing options https://github.com/Textualize/textual/issues/5728can_focus()
https://github.com/Textualize/textual/pull/5737Changed
Added
TEXTUAL_DIM_FACTOR
env var to set the opacity of the 'dim' ANSI attribute https://github.com/Textualize/textual/pull/5715notify()
now accepts amarkup
parameter to disable rendering the message as markup https://github.com/Textualize/textual/pull/5719Screen.text_selection_started_signal
https://github.com/Textualize/textual/pull/5739App.clear_selection()
helper method to clear arbitrary text selection of active screen https://github.com/Textualize/textual/pull/5739v3.0.1
Compare Source
Fixed
v3.0.0
Compare Source
Changed
App.query
and friends will now always query the default (first) screen, not necessarily the active screen.Content()
is equivalent toContent("")
textual-input
,textual-output
. These should become visible in monitoring tools (ps, top, htop) as of Python 3.14. https://github.com/Textualize/textual/pull/5654Fixed
scroll_end
parameter to theLog.write_line
method https://github.com/Textualize/textual/pull/5672overflow: hidden
https://github.com/Textualize/textual/pull/5681Added
Content.first_line
property https://github.com/Textualize/textual/pull/5657Content.from_text
constructor https://github.com/Textualize/textual/pull/5657Content.empty
constructor https://github.com/Textualize/textual/pull/5657Content.pad
method https://github.com/Textualize/textual/pull/5657Style.has_transparent_foreground
property https://github.com/Textualize/textual/pull/5657v2.1.2
Compare Source
Fixed
v2.1.1
Compare Source
Fixed
Link
binding to open the link https://github.com/Textualize/textual/issues/5564v2.1.0
Compare Source
Fixed
Content.from_markup
not stripping control codes https://github.com/Textualize/textual/pull/5557delta_x
anddelta_y
in mouse events when smooth scrolling is enabled https://github.com/Textualize/textual/pull/5556Added
pointer_x
,pointer_y
,pointer_screen_x
, andpointer_screen_y
attributes to mouse events https://github.com/Textualize/textual/pull/5556Changed
TerminalSupportsInBandWindowResize
toInBandWindowResize
https://github.com/Textualize/textual/pull/5558v2.0.4
Compare Source
Fixed
v2.0.3
Compare Source
Fixed
v2.0.2
Compare Source
Fixed
v2.0.1
Compare Source
Fixed
v2.0.0
Compare Source
Added
Select.type_to_search
which allows you to type to move the cursor to a matching option https://github.com/Textualize/textual/pull/5403from_app_focus
toFocus
event to indicate if a widget is being focused because the app itself has regained focus or not https://github.com/Textualize/textual/pull/5379Blurred
message toInput
widget (matchingSubmitted
andChanged
) to make it easier to synchronize withvalidate_on
parameter when set to 'blur'.Offset.transpose
https://github.com/Textualize/textual/pull/5409screen--selection
component class to define style for selection https://github.com/Textualize/textual/pull/5409Widget.select_container
property https://github.com/Textualize/textual/pull/5409Widget.select_all
https://github.com/Textualize/textual/pull/5409Region.bottom_right_inclusive
https://github.com/Textualize/textual/pull/5409DOMNode.query_ancestor
https://github.com/Textualize/textual/pull/5409text-wrap
andtext-overflow
CSS values https://github.com/Textualize/textual/pull/5485Content.from_markup
https://github.com/Textualize/textual/pull/5485Fixed
Pilot.click
not working withtimes
parameter https://github.com/Textualize/textual/pull/5398Input
will now only be automatically selected when the widget is focused by the user, not when the app itself has regained focus (similar to web browsers). https://github.com/Textualize/textual/pull/5379TextArea
andInput
behavior when there is a selection and the user presses left or right https://github.com/Textualize/textual/pull/5400shift
https://github.com/Textualize/textual/pull/5404Input
to post aBlurred
messageHeader
icon showing command palette tooltip when disabled https://github.com/Textualize/textual/pull/5427Changed
Separator
, a separator may be specified withNone
TEXTUAL_SMOOTH_SCROLL=0
to disable.Removed
wrap
argument from OptionList (use CSStext-wrap: nowrap; text-overflow: ellipsis
)tooltip
argument from OptionList. Usetooltip
attribute orwith_tooltip(...)
method.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.