Skip to content

release: Version 2.0.0, installed from crates.io - #20

Merged
glani merged 2 commits into
mainfrom
release/v2.0.0
Nov 19, 2026
Merged

glani merged 2 commits into
mainfrom
release/v2.0.0

Conversation

@glani

@glani glani commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

The first release on crates.io: the crates move to 2.0.0, and the install instructions to crates.io. Merge it right before the first publication; the README asks for gpui-kit-grid = "2" from then on.

  • 2.0.0 (820f119, on its own so it can change): the move to gpui-kit 0.10 changes the public API (gpui-kit's types, actions::key_bindings(cx)), and 1.0.0 was released on GitHub only. From now on each minor release of gpui-kit the grid moves to, which pins a new GPUI snapshot, is a new major version. The four crates that share the library's version move together; the grid requires its derive at =2.0.0.
  • Install from crates.io (5764ecb): the README (a new Install section) and Getting started ask for gpui-kit-grid = "2" with gpui-kit = "0.10", the Columns guide for derive the same way, and both show which gpui-kit and Rust each major version needs (1.0 stays on GitHub, tag v1.0.0). The Release job checks that the snippets ask for the tag's major version and for the gpui-kit requirement of Cargo.toml, and the release notes show the crates.io lines with links to crates.io and docs.rs. CONTRIBUTING says why each gpui-kit minor release is a major version here.

Breaking Changes

Since 1.0.0 (#18): gpui-kit 0.10 from crates.io, Rust 1.98, actions::key_bindings(cx).

-gpui-kit = { git = "https://github.com/longbridge/gpui-kit", rev = "146ab45ac0d0cc9dad5f5fd05ecd38da9b3db6e7" }
-gpui-kit-grid = { git = "https://github.com/GigLaboCom/gpui-kit-grid", tag = "v1.0.0" }
+gpui-kit = "0.10"
+gpui-kit-grid = "2"

Public API

None beyond the version.

Checked

  • bun script/check-package.ts and cargo publish --dry-run --locked -p gpui-kit-grid-macros -p gpui-kit-grid at 2.0.0: gpui-kit-grid 73 files, 583 KB; the macros 9 files, 14 KB.
  • The Release job's tag check, run from ci.yml on this branch: v2.0.0 passes (requirement 2), v2.1.0 fails on the manifests' version.
  • bun test --cwd site, bun run --cwd site check, bun run --cwd site build.

After the merge

  1. Publish both crates by hand from this commit of main (cargo publish -p gpui-kit-grid-macros -p gpui-kit-grid, a publish-new token): crates.io takes a Trusted Publisher only for a crate it has.
  2. Set the Trusted Publisher on both crates (GigLaboCom / gpui-kit-grid / ci.yml, no environment).
  3. Tag that commit v2.0.0; the Release job finds both versions on crates.io and opens the GitHub release.

The move to gpui-kit 0.10 changes the public API (gpui-kit's types, and
`actions::key_bindings(cx)`), and 1.0.0 was released on GitHub only: the
first version on crates.io is 2.0.0, and from now on each minor release
of gpui-kit, which pins a new GPUI snapshot, is a new major version here.

The four crates of the workspace that share the library's version move
together; the grid requires its derive at `=2.0.0`.
The README (a new Install section) and the Getting started page ask for
`gpui-kit-grid = "2"` with `gpui-kit = "0.10"`, the Columns guide for
the derive feature the same way, and both show which gpui-kit release
and Rust each major version of the grid needs (1.0 stays on GitHub).

The Release job checks that the snippets ask for the tag's major version
and for the gpui-kit requirement of `Cargo.toml`, and the release notes
show the crates.io lines with links to crates.io and docs.rs. CONTRIBUTING
says why each gpui-kit minor release is a new major version here, and
what a version change touches.
@glani
glani merged commit 599bae6 into main Nov 19, 2026
12 checks passed
@glani
glani deleted the release/v2.0.0 branch November 19, 2026 14:12
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.

1 participant