Skip to content

0.5.0

Choose a tag to compare

@timmo001 timmo001 released this 10 Oct 18:33
· 80 commits to main since this release

Breaking changes

  • GhError has a new member, GhOutputLimitError. Exhaustive matches over GhError need a case for it.
  • Workflow Run now includes name and event, so test fixtures that fake gh run list or gh run view output need both fields.

New features

  • Gh.interactive runs gh on the terminal, so gh and git can show progress and prompt.
  • GhOptions.maxOutputBytes stops a command once stdout passes a size.
  • Api.empty, Api.text and Api.headers for no-content mutations, raw bodies and response headers.
  • PullRequest.get and PullRequest.query decode exactly the fields you select, plus create, edit, merge, disableAutoMerge and diff.
  • Issue.get and Issue.query with fields, plus create, edit, comment and close.
  • Workflow.jobs, Workflow.dispatch and Workflow.open.
  • Repository.clone, Repository.cloneInteractive and Repository.browse.
  • RateLimit.guard checks a cached quota before a request and waits for a near reset.
  • New Auth, Cli, Extension, Label, Release and Search modules.

Documentation

  • The README and agent skill now point consumers at typed operations, and at adding one to effect-gh when a command is missing, instead of the raw Gh methods.

Maintenance

  • Markdownlint ignores the linked .claude/skills directory.

Full Changelog: 0.4.0...0.5.0