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
ghandclaudeCLI calls, replacing previously discarded diagnostic information
Internal
- Refactor all
ghCLI calls through a centralizedrunGHhelper with stdout/stderr capture and retry logic - Remove redundant
GetReleasefunction —FindPreviousReleasealready 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