Improved reliability of GitHub API interactions and cleaner LLM output by adding rate-limit retries and stripping conversational preamble from generated release notes.

Features

  • Strip conversational preamble (e.g. "Here are the release notes:") from Claude-generated output, including optional thematic breaks following preamble lines

Bug Fixes

  • Retry GitHub API calls up to 3 times with exponential backoff on HTTP 429 rate limiting
  • Surface stderr output in error messages for both gh and claude CLI calls, replacing previously discarded diagnostic information

Internal

  • Refactor all gh CLI calls through a centralized runGH helper with stdout/stderr capture and retry logic
  • Remove redundant GetRelease function — FindPreviousRelease already validates tag existence
  • Update prompt template to explicitly instruct the LLM not to include preamble text

Full Changelog: https://github.com/AndreyAkinshin/herald/compare/v1.0.3...v1.0.4

Release notes generated by herald v1.0.4