Skip to content

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 11 May 15:20
· 28 commits to main since this release
8dbd7c6

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 --open flag to create PRs as ready for review; PRs are now created as drafts by default, with --open also converting existing drafts to ready for review.
  • PR template support: gh stack submit and gh stack link now automatically detect and use the repository's pull request template as the PR body.
  • gh stack view --json agent improvements: When --json is set and the stack is ambiguous, the command now returns a proper exit code instead of launching an interactive prompt.

Changed

  • gh stack unstack simplified: The optional [branch] argument is removed; the command always targets the active (currently checked-out) stack.
  • TUI load performance: API calls in sync and git operations in LoadBranchNodes are 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 modify as the primary stack restructuring tool.

Fixed

  • git push --force-with-lease failures on shallow clones: A targeted git fetch of 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