Skip to content

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 08 May 10:36

Release Notes v1.0.4

v1.0.4 improves AI-generated commit messages for large diffs, newly added files, and noisy change sets.

Changes

  • Improved commit prompt context with semantic summaries per file.
  • Added better handling for large diffs by extracting meaningful symbols, headings, config keys, and representative changed lines.
  • Added stronger conventional commit prefix guidance for feat, fix, docs, refactor, test, build, ci, chore, and related tags.
  • Added validation to reject weak AI outputs such as feat: null handle, generic “update files” messages, or malformed subjects.
  • Added one automatic retry when the AI returns a vague commit message.
  • Added deterministic fallback commit messages when AI output is still unusable.
  • Added tests for large new-file context, commit-message validation, and fallback prefix selection.

Verification

gofmt -w main.go main_test.go
GOCACHE=/tmp/gocache go test ./...
GOCACHE=/tmp/gocache go build ./...
git diff --check

Changelog

  • 2e7219d feat: add commit message generation