Skip to content

0.3.0

Choose a tag to compare

@timmo001 timmo001 released this 29 Sep 20:37
· 131 commits to main since this release

Highlights

  • Transient retries: Gh.retryTransient and retryTransient retry GhError failures that look temporary (timeouts, rate limits, HTTP 408, 429 and 5xx, and network failures) using defaultRetrySchedule, a jittered exponential backoff capped at 10 seconds. The default is 3 retries.
  • Error helpers: isTransient, isRateLimited and httpStatus classify GhError values so callers can decide how to handle them.
  • Rate limits: RateLimit.get reads the current core, graphql or search limit, and RateLimit.cached(ttl) caches it per resource. Failed lookups are not cached.
  • Command output: GhCommandError now carries stdout (the last 64 KB) and stdoutTruncated.

Breaking changes

  • GhCommandError has new stdout and stdoutTruncated fields. Code that builds this error by hand needs to supply them.

Maintenance

  • Updated @timmo001/oxlint-rules to 0.5.0.

What's Changed

  • Lock file maintenance by @renovate[bot] in #80
  • Update timmo001/workflows action to v20260929.0 by @renovate[bot] in #82

Full Changelog: 0.2.0...0.3.0