Skip to content

docs: Update gpui-kit dependency version to 0.7 in READMEs - #3304

Merged
huacnlee merged 1 commit into
mainfrom
docs/readme-gpui-kit-0.7
Sep 28, 2026
Merged

huacnlee merged 1 commit into
mainfrom
docs/readme-gpui-kit-0.7

Conversation

@obito-t

@obito-t obito-t commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Description

The README examples use gpui_kit::open_window, which was added in 0.7.0 (#3152). The install snippets next to them still say gpui-kit = "0.6".

For 0.x crates, Cargo treats "0.6" as >=0.6.0, <0.7.0, so anyone who copies the README gets 0.6.6. The example then fails to compile:

error[E0425]: cannot find function `open_window` in crate `gpui_kit`

This PR changes every hardcoded gpui-kit requirement in Markdown from 0.6 to 0.7:

  • README.md
  • README.zh-CN.md
  • crates/kit/README.md (the crates.io readme; the published page updates with the next release)
  • crates/base/README.md
  • examples/app_assets/README.md
  • skills/gpui-kit/references/usage.md

The website docs are not affected because they use {{gpui_kit_version}}.

script/bump-version.sh only runs cargo set-version, which does not touch Markdown. These snippets will need a manual update again on the next minor release.

How to Test

  • git grep -nE 'gpui-kit = (\{ *version = )?"[0-9]' -- '*.md' lists only 0.7.
  • A new project with gpui-kit = "0.7" and the README example resolves to 0.7.0 and calls gpui_kit::open_window.

Checklist

  • I have read the CONTRIBUTING document and followed the guidelines.
  • Reviewed the changes in this PR and confirmed AI generated code (If any) is accurate.
  • Passed cargo run for story tests related to the changes.
  • Tested macOS, Windows and Linux platforms performance (if the change is platform-specific)

🤖 Generated with Claude Code

The README examples call `gpui_kit::open_window`, which was added in 0.7.0
(#3152), but the install snippets still asked for `gpui-kit = "0.6"`.
Cargo resolves "0.6" to 0.6.x only, so copying the README fails with
`cannot find function open_window in crate gpui_kit`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@huacnlee
huacnlee merged commit 25d59c0 into main Sep 28, 2026
12 checks passed
@huacnlee
huacnlee deleted the docs/readme-gpui-kit-0.7 branch September 28, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants