Skip to content

v0.0.4

Choose a tag to compare

@github-actions github-actions released this 15 May 18:05
· 10 commits to main since this release
d3be1b5

What's new in v0.0.4

Added

  • gh stack sync --prune: New flag (and interactive prompt) to delete local branches and remote-tracking refs for merged PRs during sync.
  • gh stack init multi-branch support: Pass multiple branch names as arguments to init; existing branches are adopted automatically without any extra flag.
  • Contextual post-command hints: After add, push, submit, and checkout, the CLI now prints "what to do next" suggestions to guide users through the workflow.
  • Rebase workflow docs: New comprehensive "Rebasing Your Stack" section in the workflows guide covering cascading rebase, conflict resolution, and CLI vs. web UI differences.
  • Grouped root help: Root gh stack --help now organizes commands into categories (Core, Stack Management, Navigation, Other) with a "Learn More" footer linking to docs and feedback.

Changed

  • gh stack merge removed: The command was a placeholder that opened the browser rather than performing a real merge; it will be re-added once the merge API for Stacked PRs is available.
  • gh stack init prefix detection: The --adopt flag is deprecated (hidden but still accepted); branch prefix is now auto-derived from branch names (e.g. feat/a feat/b → prefix feat) instead of prompting upfront.
  • TUI merged-branch guards: Merged branches can no longer be selected via keyboard, mouse click, or Enter in the stack view or modify TUI; the cursor skips over them automatically.
  • Improved CLI help text: All commands now have Long descriptions and Example blocks with real-world, commented usage for better discoverability.

Fixed

  • gh stack submit on partially-merged stacks: Merged PRs are now included in the API payload, preventing "Stack contents have changed" rejections when some branches in a stack have already been merged.

Changelog

  • Bump astro from 6.1.8 to 6.3.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #86
  • Bump devalue from 5.6.4 to 5.8.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #90
  • commands help text by @skarim in #88
  • remove merge command by @skarim in #89
  • support multiple branches during init by @skarim in #91
  • docs on rebase workflow by @skarim in #93
  • prune merged branches by @skarim in #94

Full Diff: v0.0.3...v0.0.4