v0.0.3
What's new in v0.0.3
Added
gh stack modify: New interactive TUI command to restructure a stack — drop, fold, rename, and reorder branches — applied atomically with cascading rebases and conflict recovery (--continue/--abort).gh stack submit --open: New--openflag to create PRs as ready for review; PRs are now created as drafts by default, with--openalso converting existing drafts to ready for review.- PR template support:
gh stack submitandgh stack linknow automatically detect and use the repository's pull request template as the PR body. gh stack view --jsonagent improvements: When--jsonis set and the stack is ambiguous, the command now returns a proper exit code instead of launching an interactive prompt.
Changed
gh stack unstacksimplified: The optional[branch]argument is removed; the command always targets the active (currently checked-out) stack.- TUI load performance: API calls in
syncand git operations inLoadBranchNodesare now parallelized; a "Loading stack..." indicator is shown while data is fetched. - Reduced GraphQL footprint: Removed ~15 unused fields across 5 queries and deleted one dead query, reducing API rate limit consumption.
- Docs corrections: FAQ answers updated to reflect atomic landing behavior, merge queue grouping, and
gh stack modifyas the primary stack restructuring tool.
Fixed
git push --force-with-leasefailures on shallow clones: A targetedgit fetchof active branches now runs before every push, ensuring remote tracking refs are up to date.- GraphQL int32 overflow: PR numbers are now validated before conversion to
graphql.Int, preventing silent truncation on very large PR numbers.
Changelog
- Bump astro from 6.0.8 to 6.1.8 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #60
- Guard GraphQL PR number conversion against int32 overflow by @Copilot in #56
- docs: stack object in pull_request webhooks by @Copilot in #67
- modify command by @skarim in #72
- Bump postcss from 8.5.8 to 8.5.14 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #73
- docs content updates by @skarim in #83
- simplify unstack to only target the active stack by @skarim in #74
- run fetch before push operations by @skarim in #75
- open PRs as draft by default by @skarim in #76
- use PR template when opening PRs by @skarim in #77
- trim GraphQL queries by @skarim in #78
- optimize TUI load times by @skarim in #79
- improve agent friendliness of view --json by @skarim in #80
Full Diff: v0.0.2...v0.0.3