Skip to content

v0.11.0

Latest

Choose a tag to compare

@huacnlee huacnlee released this 23 Nov 12:56
e97fe43

GPUI Kit v0.11.0

GPUI Kit 0.11.0 is a minor release. It moves to gpui-pre 0.3.14 and GPUI Fast 0.1.19, makes the Linux X11 backend an optional default feature, replaces chrono with jiff in the date and time components, and brings a long run of editor, Markdown, diff and accessibility work. The X11 feature, the jiff types and the upstream GPUI API changes are breaking, so this is a minor release.

Breaking Changes

  • Linux X11 is a feature: gpui-kit/x11 is now a default feature. Apps that turn off the defaults and still run on X11 must ask for it; Wayland-only apps no longer link libxkbcommon-x11. (#4060)
    - gpui-kit = { version = "0.10", default-features = false }
    + gpui-kit = { version = "0.11", default-features = false, features = ["x11"] }
  • Calendar, DatePicker, TimeField use jiff: Date, Matcher, CalendarState and TimeFieldState take jiff::civil::Date / Time instead of chrono types, so cargo deny no longer flags the unmaintained chrono (RUSTSEC-2026-0543). Format strings are unchanged. (#4015)
  • Upstream GPUI: gpui-pre now also gives every Element a blanket IntoElement, so drop your own impl IntoElement on element types on both backends. Path is no longer generic, WindowBounds::centered takes Option<DisplayId>, and FillOptions::tolerance is gone. (#4092)

New APIs

  • Input: a suggestion list under the field like <input list>; public fold_all, unfold_all, fold_at_level and set_folded. (#3785, #4028)
  • Editor: GutterStyle for the line-number gap, color and font; show the active line only while focused. (#3737, #4067)
  • Diff: span_highlights for character spans, the character under the pointer for hosting links, and partial files at their own line numbers. (#4011, #4042, #4043)
  • Components: resizable handle drag state, SelectableText range reveal, a left-side vertical scrollbar, and a DockSkin option to hide the resting split divider. (#4039, #4052, #4078, #4084)
  • Shell: PluginManager::with_host_module. (#3948)

Editor and text input

  • Faster soft wrap for large and non-ASCII documents; f64 vertical coordinates past 2^24 px and 9-digit line numbers; clip text to its side of the gutter. (#3974, #4022, #4077)
  • End IME composition on blur, redact IME surrounding text in masked inputs, report the document length so the iOS keyboard shows. (#4032, #4059, #4082)
  • Ctrl+Delete stops at white space and line breaks; a single-line input drops tabs like newlines; each paragraph of a text area starts at the edge it reads from; the input text takes the theme foreground. (#4034, #4071, #4016, #4051)
  • Less accessibility text-run memory on large documents. (#4090)

Markdown and text rendering

  • Inline flows lay out once in a shrinking bubble and wrap without rescanning the paragraph; inline-code paragraphs keep their text between frames; closing marks stay on the word's line. (#4029, #4058, #4063, #4087)
  • Show Markdown as plain text if the parser panics; stop sweeping retained layouts that are all alive; select a wrapped row's first character; share linked-image clicks; expose the rendered body to the accessibility tree. (#4013, #4000, #4012, #4053, #4056, #4054)
  • Highlighter injection layers follow the caller's parse timeout. (#4074)

Components

  • Diff: file headers and annotation cards stay in the viewport while scrolling horizontally. (#3996, #4009)
  • Dialog, Notification, Popover, Root: the backdrop stays inside the client frame; notifications sit above modal layers; a controlled popover moves focus after the frame; Tab works before anything is focused. (#4049, #3577, #4023, #4017)
  • Menu, Scrollbar, Table, Tabs, Resizable: no scrollbar on a menu that fits; only the primary button drags the track; set_selected_* no longer scrolls; Tabs focus on pointer down; resizing skips hidden panels. (#4014, #4038, #4046, #4002, #4064)
  • Title bar, Kbd, Motion, Icon, Button: follow Linux window button layouts; shifted-symbol shortcuts on Windows; a closed Presence reports Absent; warn once for a missing icon path; expose the expanded state. (#4018, #3993, #4062, #4075, #4035)
  • WebView: no gaps at fractional sizes on macOS, clip partly visible WebViews on Windows. (#4065, #4066)

Docs and tooling

  • A Claude Code plugin for the GPUI Kit skills, fixed guide links in the standalone skills, a fuller zh-CN List guide, and the right canvas size for web examples in Firefox. (#4089, #4088, #4030, #4045, #4048, #4047)

Dependencies

  • gpui-pre 0.3.14 and GPUI Fast 0.1.19 (via 0.1.17); chrono replaced by jiff 1.0; Cargo.lock updated for 8 RustSec advisories; unused anyhow removed. (#4027, #4092, #4015, #4080, #4081)

Contributors

Thank you to everyone who contributed to this release

@huacnlee, @dux-web, @lurenjia534, @sassman, @bcl-dev, @hlcfan, @iam4x, @ylinwind, @ketansingrole, @ManasDasri, @Abdulrahman-AlGhamdi, @HappyFox001, @madcodelife, @jeeeeetshahhhhh, @byht1, @TheVSAKeeper, @yuluod, @costajohnt, @leonmarq, @sator-imaging, @bhavishyasharma, @iamichi, @subhdotsol, @wangdiandao, @superoskin, @peterdpong, @wyattjoh, @mwatts, @PeatBoy, @erenatas, @webmalex, @jowch, @glani, @HarpeLm.

What's Changed
  • notification: Keep notifications above modal layers by @dux-web in #3577
  • text: Stop sweeping retained layouts that are all alive by @lurenjia534 in #4000
  • diff: Keep file headers inside the viewport under horizontal scrolling by @sassman in #3996
  • kbd: Show a shifted-symbol shortcut as bound on Windows by @bcl-dev in #3993
  • diff: Keep line annotation cards inside the viewport under horizontal scrolling by @sassman in #4009
  • shell: Fix command_host second-draw test by @huacnlee in #4003
  • diff: Add span_highlights to emphasize character spans such as search matches by @sassman in #4011
  • editor: Speed up soft wrap for large and non-ASCII documents by @hlcfan in #3974
  • tabs: Focus the roving handle on pointer down by @huacnlee in #4002
  • text: Select a wrapped row's first character by @iam4x in #4012
  • menu: Stop a scrollable menu that fits from showing a scrollbar by @ylinwind in #4014
  • text: Show Markdown as plain text when the parser panics by @huacnlee in #4013
  • calendar: Replace chrono with jiff by @ketansingrole in #4015
  • titlebar: Follow Linux window button layouts by @ManasDasri in #4018
  • input: Start each paragraph of a text area at the edge it reads from by @Abdulrahman-AlGhamdi in #4016
  • root: Make Tab work before anything is focused by @HappyFox001 in #4017
  • popover: Move focus after the frame when a controlled popover syncs open by @HappyFox001 in #4023
  • docs: Use ListState in the zh-CN List guide's delegate examples by @lurenjia534 in #4030
  • gpui: Upgrade to gpui-fast 0.1.17 by @madcodelife in #4027
  • text: Lay an inline flow out once in a bubble that shrinks to its text by @lurenjia534 in #4029
  • fix(input): end IME composition on blur by @jeeeeetshahhhhh in #4032
  • input: public fold_all, unfold_all, fold_at_level and set_folded by @byht1 in #4028
  • editor: Preserve f64 vertical coordinates past 2^24 px and allow 9-digit line numbers by @TheVSAKeeper in #4022
  • test: Resolve test images synchronously for deterministic layout by @yuluod in #3952
  • input: Stop Ctrl+Delete at whitespace and line breaks by @huacnlee in #4034
  • button: expose expanded accessibility state by @jeeeeetshahhhhh in #4035
  • scrollbar: Only drag or jump the track on the primary button by @costajohnt in #4038
  • docs: Translate the missing sections of the zh-CN List guide by @lurenjia534 in #4045
  • table: Stop set_selected_* from scrolling the selection into view by @huacnlee in #4046
  • website: Correct Firefox canvas size in web examples by @huacnlee in #4047
  • docs: Say the List search input needs searchable(true) by @lurenjia534 in #4048
  • dialog: Keep the backdrop inside the client frame by @leonmarq in #4049
  • editor: Add GutterStyle for line-number gap, color and font by @sator-imaging in #3737
  • input: Offer a List under the field, like by @bhavishyasharma in #3785
  • resizable: Expose whether a handle is being dragged by @costajohnt in #4039
  • text_selection: Reveal the line of a SelectableText range by @iamichi in #4052
  • text_view: Share linked image click handling by @iamichi in #4053
  • text_view: Expose the rendered body to the accessibility tree by @subhdotsol in #4056
  • diff: Report the character under the pointer so a diff can host links by @sassman in #4042
  • diff: Show parts of a file for reference at their own line numbers by @sassman in #4043
  • text: Wrap each line of an inline flow without rescanning the rest of its paragraph by @lurenjia534 in #4058
  • text_selection: Clear the press latch after mouse-down dispatch by @iamichi in #4054
  • input: Redact IME surrounding text for masked inputs by @wangdiandao in #4059
  • text: Keep the text of a paragraph with inline code between frames by @lurenjia534 in #4063
  • webview: Fix gaps at fractional viewport sizes on macOS by @superoskin in #4065
  • resizable: Skip hidden panels when resizing by @superoskin in #4064
  • fix(motion): Report a Presence that starts closed as Absent instead of Running by @peterdpong in #4062
  • editor: Let an editor show its active line only while focused by @wyattjoh in #4067
  • input: Drop tabs from a single-line input like newlines by @costajohnt in #4071
  • input: Hand the theme foreground to the input's text by @mwatts in #4051
  • shell: Add PluginManager::with_host_module by @PeatBoy in #3948
  • webview: Clip partially visible WebViews on Windows by @superoskin in #4066
  • kit: Make the Linux X11 backend optional by @erenatas in #4060
  • input: Align paste tests with single-line tab normalization by @huacnlee in #4079
  • icon: Warn once when an icon path does not load by @huacnlee in #4075
  • input: Report the document length so the iOS keyboard shows by @webmalex in #4082
  • text: Keep closing marks and spaces after a word as wide as the line on its line by @jowch in #4087
  • dock: Allow DockSkin to hide the resting split divider line by @huacnlee in #4084
  • highlighter: Let injection layers follow the caller's parse timeout by @costajohnt in #4074
  • editor: Clip the text to its own side of the gutter by @glani in #4077
  • scrollbar: Let the vertical scrollbar sit on the left side by @glani in #4078
  • chore(deps): update Cargo.lock for 8 RustSec advisories by @HarpeLm in #4080
  • chore: Remove unused anyhow dependencies by @HarpeLm in #4081
  • docs: Fix guide links in standalone skills by @huacnlee in #4088
  • skills: Add Claude Code plugin by @huacnlee in #4089
  • input: Reduce accessibility text run memory on large documents by @huacnlee in #4090
  • chore: Bump v0.11.0 by @huacnlee in #4092
New Contributors

Full Changelog: v0.10.0...v0.11.0