Skip to content

Commit e97fe43

Browse files
huacnleeclaude
andauthored
chore: Bump v0.11.0 (#4092)
Release prep for GPUI Kit v0.11.0. - Bump all crates to 0.11.0, gpui-pre to 0.3.14 and GPUI Fast to 0.1.19; refresh Cargo.lock and the gpui-shell version in docs. - Port to upstream GPUI API changes: - gpui-pre now also has the blanket `impl<T: Element> IntoElement for T`, so every own `IntoElement` impl on an element type is removed (gated or not). - `Path` is no longer generic and cannot be moved after `build()`. `PathCache` now folds the origin into its key and the plot shapes build at the real origin, so a cached path is reused only while the chart stays at the same origin (a scrolling chart rebuilds its path). - `Window::paint_layer` takes no bounds on gpui-pre; GPUI Fast still takes them, so scrollbar and shimmer call it per backend. - `WindowBounds::centered` now takes `Option<DisplayId>` (`None` in examples/docs). - `FillOptions::tolerance` is gone (tab shape uses the default fill); `dismiss_system_notification` returns a `Task`, now detached. - Minor bump: #4060 (X11 backend optional) and #4015 (calendar chrono → jiff) are breaking, plus the upstream GPUI changes above. CI fixes after the bump: - gpui-pre 0.3.14 / GPUI Fast 0.1.19 split a rounded or bordered quad into an unrounded interior plus four edges with identical bounds. Text selection tests and the TextView table header radius test now dedupe or pick the rounded piece. - Toggle hover color test updated for the new hover style behavior. Verification gap: upstream `Path` no longer exposes its bounds, so the rounded-corner gap geometry test now only checks that the path builds; the geometry itself is no longer asserted. Verified locally (Linux): `cargo clippy --workspace --exclude gpui-shell --exclude webview`, webview fast clippy, `gpui-shell --all-targets` clippy, `gpui-component --no-default-features` check. Tests are left to CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 [Noop](https://huacnlee.github.io/noop) (release-manager) · AI agent acting for @huacnlee --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 48e53b1 commit e97fe43

123 files changed

Lines changed: 346 additions & 851 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Cargo.lock‎

Lines changed: 137 additions & 153 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ publish = false
4949
edition = "2024"
5050

5151
[workspace.dependencies]
52-
gpui-kit = { path = "crates/kit", version = "0.10.0" }
53-
gpui-component = { path = "crates/component", version = "0.10.0" }
54-
gpui-base = { path = "crates/base", version = "0.10.0" }
55-
gpui-component-macros = { path = "crates/component-macros", version = "0.10.0" }
56-
gpui-kit-assets = { path = "crates/assets", version = "0.10.0" }
57-
gpui-fps = { path = "crates/fps", version = "0.10.0" }
58-
gpui-shell = { path = "crates/shell", version = "0.10.0" }
59-
gpui-webview = { path = "crates/webview", version = "0.10.0" }
52+
gpui-kit = { path = "crates/kit", version = "0.11.0" }
53+
gpui-component = { path = "crates/component", version = "0.11.0" }
54+
gpui-base = { path = "crates/base", version = "0.11.0" }
55+
gpui-component-macros = { path = "crates/component-macros", version = "0.11.0" }
56+
gpui-kit-assets = { path = "crates/assets", version = "0.11.0" }
57+
gpui-fps = { path = "crates/fps", version = "0.11.0" }
58+
gpui-shell = { path = "crates/shell", version = "0.11.0" }
59+
gpui-webview = { path = "crates/webview", version = "0.11.0" }
6060
story = { path = "crates/story" }
6161

6262
# GPUI comes from the `gpui-pre-*` snapshots of Zed's crates, and any snapshot
@@ -66,18 +66,18 @@ story = { path = "crates/story" }
6666
# onto a newer snapshot that gpui-component did not compile with (#3156). Bump
6767
# every snapshot crate together with its Cargo.lock entry; `script/check-gpui-pin.ts`
6868
# fails CI when a pin is not exact.
69-
gpui = { package = "gpui-pre", version = "=0.3.12" }
70-
gpui_platform = { package = "gpui-pre-platform", version = "=0.3.12", features = ["font-kit", "wayland", "runtime_shaders"] }
71-
gpui_web = { package = "gpui-pre-web", version = "=0.3.12" }
69+
gpui = { package = "gpui-pre", version = "=0.3.14" }
70+
gpui_platform = { package = "gpui-pre-platform", version = "=0.3.14", features = ["font-kit", "wayland", "runtime_shaders"] }
71+
gpui_web = { package = "gpui-pre-web", version = "=0.3.14" }
7272
# Fast is optional; existing crates select it through their gpui-fast feature.
7373
# Explicit package fields make Cargo use these dependency keys as Rust crate names;
7474
# the packages declare the same library names as the pre backend.
75-
gpui-fast = { package = "gpui-fast", version = "0.1.17", features = ["windows-manifest-provided-by-host"] }
76-
gpui-fast-platform = { package = "gpui-fast-platform", version = "0.1.17", features = ["font-kit", "wayland", "runtime_shaders"] }
77-
gpui-fast-web = { package = "gpui-fast-web", version = "0.1.17" }
78-
gpui_macros = { package = "gpui-pre-macros", version = "=0.3.12" }
79-
reqwest_client = { package = "gpui-pre-reqwest-client", version = "=0.3.12" }
80-
sum-tree = { package = "gpui-pre-sum-tree", version = "=0.3.12" }
75+
gpui-fast = { package = "gpui-fast", version = "0.1.19", features = ["windows-manifest-provided-by-host"] }
76+
gpui-fast-platform = { package = "gpui-fast-platform", version = "0.1.19", features = ["font-kit", "wayland", "runtime_shaders"] }
77+
gpui-fast-web = { package = "gpui-fast-web", version = "0.1.19" }
78+
gpui_macros = { package = "gpui-pre-macros", version = "=0.3.14" }
79+
reqwest_client = { package = "gpui-pre-reqwest-client", version = "=0.3.14" }
80+
sum-tree = { package = "gpui-pre-sum-tree", version = "=0.3.14" }
8181
reqwest = { package = "gpui-pre-reqwest", version = "=0.12.15", default-features = false, features = [
8282
"charset",
8383
"http2",

‎crates/assets/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/longbridge/gpui-kit"
99
readme = "README.md"
1010
edition.workspace = true
1111
publish = true
12-
version = "0.10.0"
12+
version = "0.11.0"
1313

1414
# Retain Cargo icon-directory metadata for existing build-script consumers.
1515
links = "gpui-kit-default-icons"

‎crates/base/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude = ["examples/"]
99
repository = "https://github.com/longbridge/gpui-kit"
1010
homepage = "https://gpui-kit.com"
1111
documentation = "https://docs.rs/gpui-base"
12-
version = "0.10.0"
12+
version = "0.11.0"
1313
publish = true
1414
edition.workspace = true
1515

‎crates/base/examples/motion/mod.rs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,11 @@ pub fn run() {
696696
.detach();
697697
cx.open_window(
698698
WindowOptions {
699-
window_bounds: Some(WindowBounds::centered(gpui::size(px(820.), px(620.)), cx)),
699+
window_bounds: Some(WindowBounds::centered(
700+
None,
701+
gpui::size(px(820.), px(620.)),
702+
cx,
703+
)),
700704
..Default::default()
701705
},
702706
|_, cx| cx.new(|_| MotionExample::new()),

‎crates/base/examples/native/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "gpui-base-examples"
33
default-run = "components"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
publish = false
66
edition.workspace = true
77

‎crates/base/examples/native/src/bin/scroll_bounce.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn main() {
152152
.detach();
153153
cx.open_window(
154154
WindowOptions {
155-
window_bounds: Some(WindowBounds::centered(size(px(900.), px(650.)), cx)),
155+
window_bounds: Some(WindowBounds::centered(None, size(px(900.), px(650.)), cx)),
156156
..Default::default()
157157
},
158158
|_, cx| {

‎crates/base/examples/showcase/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ pub fn run(app: Application, component: impl Into<String>) {
735735
.expect("failed to load gpui-base example font");
736736
let options = WindowOptions {
737737
#[cfg(not(target_family = "wasm"))]
738-
window_bounds: Some(WindowBounds::centered(size(px(840.), px(640.)), cx)),
738+
window_bounds: Some(WindowBounds::centered(None, size(px(840.), px(640.)), cx)),
739739
..WindowOptions::default()
740740
};
741741
cx.open_window(options, move |window, cx| {

‎crates/base/examples/wasm/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gpui-base-examples-wasm"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
publish = false
55
edition.workspace = true
66

‎crates/base/src/a11y_disabled.rs‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ impl<E: Element<PrepaintState = Option<gpui::Hitbox>> + InteractiveElement> A11y
6060
}
6161
}
6262

63-
#[cfg(not(feature = "gpui-fast"))]
64-
impl<E: Element> IntoElement for A11yDisabled<E> {
65-
type Element = Self;
66-
67-
fn into_element(self) -> Self {
68-
self
69-
}
70-
}
71-
7263
impl<E: InteractiveElement> InteractiveElement for A11yDisabled<E> {
7364
fn interactivity(&mut self) -> &mut Interactivity {
7465
self.inner.interactivity()

0 commit comments

Comments
 (0)