GPUI MaterialClose

Versioning and releases

English | 中文

Version policy

The latest release is 0.3.2. The Material crates and Gallery share the version in the root [workspace.package]. The public facade and integration contract define compatibility, including documented features, upstream types in public signatures, and supported platform behavior.

Changelog

Record user-visible changes to the Material crates and Gallery under Unreleased in CHANGELOG.md as they merge—features, observable fixes, accessibility and performance improvements, platform or dependency changes affecting integration, and migrations. Exclude website and documentation changes, even when submitted alongside code changes. Group entries by area, summarize user impact, and credit contributors where applicable. Format reference: GPUI Kit v0.9.1 release.

When preparing a release, reconcile Unreleased against the full commit range since the previous release tag, move the entries under the new version heading with the release date, and keep an empty Unreleased heading. The version section becomes the GitHub Release body (with a contributor list where applicable and a Full Changelog comparison link).

Prepare and publish

GitHub Releases provide release notes and source archives. Run Gallery from a source checkout with cargo gallery.

  1. Release PR: Update the shared workspace version, exact internal dependency versions, Cargo.lock, CHANGELOG.md, and documented version/migration notes.
  2. CI & desktop smoke check: Ensure CI required is green on main, and run a quick Windows 11 x64 smoke check on the release commit:
    • cargo gallery: confirm window title/icon, narrow-to-compact layout switch, status bar theme/version, and affected stories (including Microsoft Pinyin IME and Narrator for input/overlay changes).
    • cargo gallery --window-chrome: confirm title-bar drag, double-click maximize/restore, Windows Snap Layouts on Maximize hover, Block close toggle, and clean process exit when closing the last window.
  3. Dry run: Trigger the manual Release workflow on main with version = X.Y.Z and publish: false. It checks manifests, changelog extraction, and packages all six library crates (gpui-material-theme, gpui-material-foundation, gpui-material-components, gpui-material-extras, gpui-material, gpui-material-design-symbols) from independent downstream crates on the workspace MSRV.
  4. Publish: After owner approval, run the Release workflow on main with version = X.Y.Z and publish: true. After release environment approval, it authenticates to crates.io via Trusted Publishing (OIDC), publishes the six crates in dependency order (waiting for each to appear in the sparse index), and creates the annotated vX.Y.Z tag and GitHub Release.

Release workflow setup

The Release workflow uses GitHub Actions OIDC (rust-lang/crates-io-auth-action) with the release GitHub Environment instead of a long-lived CARGO_REGISTRY_TOKEN secret.

Close