unstale

pypi / textual

textual

What changed in textual 6 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

8 breaking41 new APIs and options9 performance14 behavior and defaults30 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

textual 845 changes

Breaking changes 4

  • In TextArea, alt+delete is now bound to delete the word to the right.

    8.2.7release notes

  • In TextArea, ctrl+u now deletes a newline when the cursor is at the start.

    8.2.7release notes

  • Fixed selection to the right of code fence blocks.

    8.2.6release notes

  • Replaces Select.BLANK with Select.NULL to avoid a name clash with the newer Widget.BLANK class variable.

    8.0.0release notes

New APIs and options 16

  • Adds support for the Kitty protocol's “Report all keys as escape codes” mode, enabling additional keys such as alt+backspace on supported terminals.

    8.2.7release notes

  • Adds an environment variable to disable Kitty key protocol support as a debugging aid.

    8.2.7release notes

  • Adds an ansi value to themes for configuring dedicated ANSI themes.

    8.2.5release notes

  • Adds the ansi-dark theme, available from the command palette.

    8.2.5release notes

  • Adds the ansi-light theme, available from the command palette.

    8.2.5release notes

  • Added DOM.update_classes.

    8.2.4release notes

  • Adds an App setting to control whether auto-scrolling on select is enabled.

    8.2.0release notes

  • Adds an App setting to tweak auto-scrolling lines.

    8.2.0release notes

  • Adds an App setting to tweak auto-scrolling speed.

    8.2.0release notes

  • Adds an experimental boolean option to pause garbage collection on scroll; it is disabled by default.

    8.1.0release notes

  • Adds a signal for mode changes.

    8.0.0release notes

  • Adds a signal for screen changes.

    8.0.0release notes

  • Adds the Catppuccin Frappe theme.

    8.0.0release notes

  • Adds the Macchiato theme.

    8.0.0release notes

  • Adds a mode argument to push a screen to a non-active mode.

    8.0.0release notes

  • Adds the Tabs.get_tab API.

    8.0.0release notes

Performance 5

  • Resize work now runs on a timer instead of while idle, reducing lag when resizing the window.

    8.2.3release notes

  • Textual apps adapt to terminal size changes more quickly by avoiding pointless style updates when resizing.

    8.2.2release notes

  • DOM references now use weak references instead of circular references to improve garbage-collection times.

    8.1.0release notes

  • DirectoryTree runs more operations in a thread to avoid micro-freezes.

    8.0.1release notes

  • Garbage collection was tweaked to reduce GC time.

    8.0.1release notes

Behavior and default changes 8

  • In Input and TextArea, super+backspace is now an alias for ctrl+u.

    8.2.8release notes

  • On terminals supporting the Kitty key protocol, modifier keys are detected as separate key events.

    8.2.7release notes

  • Applying text opacity below 50% to an ANSI theme now sets the dim attribute.

    8.2.7release notes

  • Text can be selected without first clicking on a content area or being as precise about selecting text.

    8.2.6release notes

  • App.ansi_color may be None to use the ansi value from the theme.

    8.2.5release notes

  • Text selection now auto-scrolls.

    8.2.0release notes

  • Text can now be selected across container widgets.

    8.2.0release notes

  • Themes are now listed in alphabetical order in the command palette.

    8.0.2release notes

Fixes and other changes 12

  • In Input and TextArea, alt+backspace has the same effect as ctrl+backspace; on Mac, this is option+backspace.

    8.2.8release notes

  • Parsing Kitty extended keys with multiple codepoints is fixed.

    8.2.8release notes

  • Clicking in the Screen's padding no longer causes a crash.

    8.2.8release notes

  • Undo, redo, copy, cut, and paste in TextArea now work with cmd+ on supported terminals.

    8.2.7release notes

  • Fixed Markdown code fences losing content when switching themes.

    8.2.6release notes

  • Fixed an anchor being released when scrolling down with the trackpad.

    8.2.4release notes

  • Fixes a crash when a widget disappears between selections.

    8.2.1release notes

  • Fixes animation on complete.

    8.1.1release notes

  • When an attribute is animated a second time, the original on_complete callback is now called.

    8.1.0release notes

  • Fixed issues with Directory Tree.

    8.0.2release notes

  • Dismissing a non-active screen now works instead of being a no-op with a warning, though the screen may not update if its mode is not active.

    8.0.0release notes

  • Screen switching adds a 50ms delay to allow state to update and prevent a janky flash of old content.

    8.0.0release notes

textual 717 changes

Breaking changes 1

  • A selected event is sent on click only if the cell, row, or column is currently highlighted.

    7.5.0release notes

New APIs and options 9

  • Adds the TCSS pointer style to set the mouse cursor shape over a widget; it requires terminal support for the Kitty pointer shapes protocol.

    7.4.0release notes

  • Added DOM.query_one_optional.

    7.3.0release notes

  • Added a default parameter to get_component_rich_style.

    7.3.0release notes

  • Added super+c (command on mac) as an alternative copy binding for terminals that support it.

    7.3.0release notes

  • Added Widget.BLANK, which can optimize rendering of large widgets, typically containers that scroll.

    7.1.0release notes

  • Adds the refresh_styles boolean to reduce style updates when popping screens.

    7.0.1release notes

  • The atom-one-dark theme has been added.

    7.0.0release notes

  • The atom-one-light theme has been added.

    7.0.0release notes

  • The method has gained an animate parameter, changing how developers can update node styles.

    7.0.0release notes

Performance 2

  • Fixed a performance issue with large scrollable containers.

    7.0.3release notes

  • Removed superfluous style updates when setting the display attribute.

    7.0.2release notes

Behavior and default changes 3

  • The row cursor extends to the full width when there is excess space.

    7.5.0release notes

  • Sparkline can now be any height, rather than being limited to 1.

    7.3.0release notes

  • The help panel now checks ancestor widgets for a usable HELP attribute when the focused widget has none.

    7.2.0release notes

Fixes and other changes 2

  • Fixed an exception raised by triple-clicking on the command palette.

    7.3.0release notes

  • Fixed an issue with missing refresh.

    7.1.0release notes

textual 640 changes

Breaking changes 3

  • Promoted the private _update_styes to update_node_styles.

    6.12.0release notes

  • Fixed alpha keys with modifiers not being lower cased; bindings such as ctrl+A should now be changed to ctrl+shift+a.

    6.8.0release notes

  • Simplified command palette system commands to a single word.

    6.4.0release notes

New APIs and options 16

Performance 2

  • Fixed unnecessary style updates when popping screens, reducing noticeable pauses when the base screen has many widgets.

    6.12.0release notes

  • An optimization may be noticeable with complex widgets.

    6.4.0release notes

Behavior and default changes 3

  • Updated toggle button styling for consistency; applications using toggle buttons may need snapshot test updates.

    6.10.0release notes

  • Changed the checkbox widget style; snapshot test files may be affected.

    6.6.0release notes

  • Changed Select highlighting to affect only the border, not the label.

    6.6.0release notes

Fixes and other changes 16

  • Fixed broken themes, which may affect the appearance of applications using them.

    6.10.0release notes

  • Fixed the fuzzy matcher showing incorrect matched characters when using a simple substring match.

    6.9.0release notes

  • Fixed the alt modifier on systems without extended Key Protocol.

    6.8.0release notes

  • Fixed the dim filter so it uses the background, which may prevent snapshot failures.

    6.8.0release notes

  • Fixed cursor color display in ANSI mode when ansi_color=True.

    6.8.0release notes

  • Fixed an exception when setting the loading attribute before mount.

    6.8.0release notes

  • Fixed Content.fold.

    6.7.1release notes

  • Fixed anchor with ScrollView widgets.

    6.7.0release notes

  • Fixed flicker with the hover pseudo class.

    6.6.0release notes

  • Fixed remove_children not refreshing layout.

    6.6.0release notes

  • Fixed cursor display on wrapped lines.

    6.6.0release notes

  • Fixed the scrollbar not updating after a textarea paste.

    6.6.0release notes

  • Fixed an issue with focus and scrolling.

    6.5.0release notes

  • Fixed type hint aliasing for App under TYPE_CHECKING.

    6.4.0release notes

  • Fixed a circular dependency affecting bazel users.

    6.4.0release notes

  • Fixed text selection with double width characters.

    6.4.0release notes