Skip to content

build(deps): bump gpui-kit from 0.7.3 to 0.8.1 - #21

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/gpui-kit-0.8.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/gpui-kit-0.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor

Bumps gpui-kit from 0.7.3 to 0.8.1.

Release notes

Sourced from gpui-kit's releases.

v0.8.1

GPUI Kit v0.8.1

GPUI Kit 0.8.1 improves text selection, Markdown rendering, editor layout, scrolling, focus and accessibility. It also adds compatible customization APIs for text rendering, editor scrollbars and Diff parsing and highlighting.

To preserve Kit-owned API compatibility with v0.8.0, this patch defers the MotionTokens field additions from #3616 and the Textarea associated-type change from #2842. Behavior fixes remain included. The default backend is pinned to gpui-pre 0.3.10, and the optional GPUI Fast backend uses 0.1.12. These upstream snapshots change several GPUI APIs re-exported by Kit; see the migration notes below.

Editor and text input

  • Tab stops: code-editor tabs align to the configured tab stops during measurement, wrapping and painting. Horizontal scroll extents follow laid-out text widths. (#3622, #3604)
  • Custom scrollbars: set_scrollbar_renderer lets an application supply its editor scrollbar presentation using EditorScrollbarContext. (#3644)
  • Focused inputs ask surrounding scroll containers to reveal them, taps request the software keyboard, and accessibility semantics follow the actual editor focus. (#3625, #3623, #3585)

Markdown and text rendering

  • Selection: publish selection snapshots once per frame to avoid invalidating unrelated retained views. Double- and triple-click drags and subsequent Shift-clicks extend selections by words, lines or paragraphs, including paragraphs with hard breaks. Drags starting inside a table cell stay in that cell. (#3686, #3681, #3646)
  • Text styles: inline_code_style, list_style and blockquote_style refine the corresponding text presentation while inheriting unspecified properties from the resolved style. (#3663, #3687)
  • Image sources: Component TextView exposes image_source to resolve document images consistently for measurement and rendering. (#3694)
  • Preserve sparse Markdown table rows and release shaped text retained by dropped TextViews on the next frame. (#3673, #3628)

Diff

  • Truncated patches: DiffFile::parse_with and DiffParseOptions::truncated_hunks accept incomplete hunks without relaxing the default parser. DiffFile::is_truncated identifies affected files; unified file boundaries and empty-hunk ordering remain validated. (#3688)
  • Syntax highlighting: with_syntax_highlighter, set_syntax_highlighter and clear_syntax_highlighter let an application provide its own highlighting without resetting selection or scrolling. (#3618)

Scrolling and layout

  • Scrollable regions can scroll content beyond their maximum size. Bounce handling avoids rounding-induced overscroll and false overscroll at large offsets, and release inertia applies only to stretched edges. (#3613, #3632, #3661, #3631)
  • last_horizontal_scroll_claim exposes the last horizontal scroll step consumed by a mask. Resizable dividers read the active drag state when events arrive. (#3621, #3629)
  • on_prepaint reports bounds from the element's corner, aligning geometry callbacks with their intended coordinate origin. (#3689)

Components

  • Dialog: Dialog::centered and AlertDialog::centered center the surface vertically; exit animation matches entrance animation. Sheets and notifications avoid system bars and the software keyboard. (#3635, #3603, #3624)
  • Button: track_focus accepts an application-owned handle. Disabling a focused button preserves the focus binding so Tab can still leave it in either direction. (#3684, #3606)
  • DataTable: honor centered and right-aligned columns; expose table structure and cell labels to assistive technology through TableDelegate::cell_label. (#3617, #3667)
  • Toolbar: grow with taller content and preserve focus when blank toolbar space is clicked. (#3651, #3652)
  • HoverCard: trigger_style applies layout styling to the trigger container. (#3653)
  • ColorPicker: preserve the first hex edit after a programmatic value update and round color channels instead of truncating them. (#3641, #3640)
  • TimeField: pressing outside a segment focuses the first segment. Command applies empty-list padding only while its empty state is visible. (#3655, #3654)
  • Focus trap: stop Tab traversal at the first repeated stop. Dock restores legacy empty StackPanel layouts as empty splits. (#3642, #3610)

Shell and localization

The release also prepares gpui-shell for crates.io publication with matching quickjs-jit, quickjs-jit-runtime and quickjs-jit-stdlib 0.14.1 registry dependencies.

  • Shell Button: accessibility_label supplies an accessible name independently of the visible label. (#3665)
  • Add Brazilian Portuguese translations and preserve valid Portuguese words in spell checking. (#3638, #3664)

Upstream GPUI compatibility

... (truncated)

Changelog

Sourced from gpui-kit's changelog.

GPUI Kit v0.8.0

GPUI Kit 0.8.0 adds an installable JavaScript Shell runtime, Linux WebView support, and a public rendering boundary for external editors. It also adds lighter syntax highlighting with syntect, native-style scroll bounce, richer completion highlighting, and improvements to text selection, tables, focus and accessibility.

Runtime and platforms

  • Shell runtime: run and scaffold JavaScript applications with gpui-shell; package them with bundle, and use dev for reloading during development. (#3464, #3487)
  • WebView: use gpui-webview on macOS, Windows and Linux X11/XWayland. GPUI Fast enables overlays above native pages on macOS and Linux; bounds and clipping updates preserve the page viewport. (#3395, #3499, #3591)

This release updates the optional GPUI Fast backend to 0.1.10. The default backend remains pinned to gpui-pre 0.3.9, the latest published snapshot. The WebAssembly example uses wasm-bindgen 0.2.127 to match the updated backend dependency graph.

Editor and text input

  • External editors: gpui_kit::base::text::editor_host lets an editor render a BlockNode tree through TextView and collect keyed leaf geometry while retaining its own document model, selection, commands and undo. (#3580)
  • Syntax highlighting: enable the syntect feature for a lighter highlighter with bat’s syntax collection; tree-sitter takes precedence when both are enabled. (#3512)
  • Completion highlighting: configure Lsp::with_completion_highlighter or set_completion_highlighter with highlight_prefix, highlight_contains, highlight_characters, or a host callback returning byte ranges. (#3496)
  • Wrapping: display_map() and prewrap(...) are available on InputState and TextareaState as well as EditorState. Editor::size supports the shared control sizes. (#3483, #3495, #3564, #3480)
  • Software keyboards: configure input_action, autocorrect and autocapitalize; masked fields are identified as passwords, and clear/mask controls have accessible names. (#3557, #3555, #3554, #3562)
  • Fixed caret clipping in one-row viewports, caret visibility during reflow and height changes, vertical scroll clamping, scrollbar reach in auto-growing textareas, and caret crispness on click. (#3583, #3477, #3527, #3515)
  • Custom Find queries and case changes start near the viewport; an unchanged query retains its active occurrence. Android’s Back button keeps entered text when clean_on_escape is enabled. (#3584, #3556)

Markdown and text rendering

  • Selection format: SelectionFormat::SourceAcrossStyles copies plain text within a single style and Markdown source across styles. (#3517)
  • Copy uses the current gesture before repaint, including virtualized rich content. Unmounting a selection endpoint retires the old selection, so retaining and remounting a TextView cannot revive it. (#3589, #3588)
  • HTML <br> creates a line break, and <pre> / <pre><code> preserve their text and whitespace through HTML minification. (#3569, #3570, #3581)

Scrolling and motion

  • Scroll bounce: precise scrolling uses a shared boundary-bounce engine, enabled by default on macOS, iOS and Android. Desktop motion follows NSScrollView; ordinary line-wheel input does not bounce. Nested areas retain their own gestures. (#3500, #3484)
  • Horizontal strips: ScrollableMask::vertical_wheel maps a plain mouse wheel to horizontal scrolling and chains to the parent at the edge. (#3518)
  • Cubic-bezier easing preserves anticipation and overshoot, and transitions and presence retain duration precision. (#3432, #3590)

Components

  • DataTable: fit a column by double-clicking its resize handle or calling fit_col, with widths supplied by TableDelegate::fit_column; inspect the result with col_width. Configure fixed_cols_border, select_on_modifier_click and focus_ring. (#3489, #3482, #3523, #3565)
  • DataTable: Home/End select the first/last row in row mode; row selection preserves event propagation, and default column resizing is capped at 1200px while preserving explicitly assigned initial widths. (#3471, #3469, #3472)
  • Resizable: use the standalone resize_handle for application-owned handles and ResizablePanel::fixed to preserve a panel’s size when its container changes. (#3302, #3478)
  • Dock: subscribe to DockToggleEvent to distinguish user-driven dock toggles. (#3546)
  • MessageScroller: read the current reading position through MessageScrollerState::logical_scroll_top. (#3485)
  • Select: keyboard confirmation and reconciliation of changed items preserve the intended selection. (#3446)
  • Focus and accessibility: focus traps preserve containment and accessibility; disabled controls report their disabled state; sliders can be named with accessibility_label; settings fields inherit their setting’s title. (#3443, #3531, #3494, #3524, #3582)
  • Tooltip: switching between triggers is direction-independent; a pressed trigger remains dismissed until the pointer leaves, and removing a trigger dismisses its tooltip. (#3501, #3492, #3528)
  • Popover: keyboard activation inside content remains available. (#3586)
  • TabBar: overflow-menu actions call the tab’s own handler, the sliding indicator appears after the first frame, and TabVariant::Folder adds a folder presentation. (#3568, #3574, #3415)
  • Tree: selection and toggling happen on click rather than mouse-down. (#3567)

Shell APIs

  • Extensible catalog: gpui_shell::components::registry() returns the unfrozen component catalog for host additions. Registered state objects support release() so applications can promptly dispose of retained resources. (#3542, #3544)

... (truncated)

Commits
  • 99576db Bump v0.8.1
  • f07fa6a release: Defer source-breaking changes from v0.8.1
  • 650d394 text: Expose image source resolver on component TextView (#3694)
  • 75da1a0 diff: Parse truncated hunks through parse options (#3688)
  • b4af12b text: Support list and blockquote style overrides (#3687)
  • 973d7ae button: Accept a caller-owned focus handle (#3684)
  • 4c43e3f text_selection: Extend double- and triple-click drags by words and lines (#3681)
  • 278e78d text: Publish selection snapshots once per frame (#3686)
  • f6fe05c base: Report on_prepaint bounds from the element's corner (#3689)
  • 7b14e03 test: Read accessibility descriptions and placeholders in element snapshots (...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gpui-kit](https://github.com/longbridge/gpui-kit) from 0.7.3 to 0.8.1.
- [Release notes](https://github.com/longbridge/gpui-kit/releases)
- [Changelog](https://github.com/longbridge/gpui-kit/blob/main/release-notes.md)
- [Commits](longbridge/gpui-kit@v0.7.3...v0.8.1)

---
updated-dependencies:
- dependency-name: gpui-kit
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants