Skip to content

Releases

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 06:28
1de051f

Added

  • Parsing of the commit kind in Commits(): every provided commit carries its kind — merge, revert, or default — available via the commit.Commit.Kind from types
  • internal/commit/message package with a Parser that classifies a commit message as a revert commit by the Revert subject prefix or the revert subject type

Changed

  • Commits() emits merge commits structurally by their parents via the git rev-list --parents command

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 17:57
1f168ac

Added

  • Go module configuration for the project
  • Base project template files, including Makefile and golangci-lint configuration
  • errs package with shared domain errors for empty commit hashes and failed git execution
  • client/git package with a Git client to interact with Git repositories
  • Implemented CommitMessage() to retrieve the commit message for a given commit hash
  • Implemented Commits() to retrieve commits that come from the provided commit hash
  • Implemented CurrentBranch() to retrieve the current branch with its name
  • Implemented MergeBase() to retrieve the merge base commit hash between two branches or commits
  • Test fixtures and fake shell execution coverage for the Git client
  • Integration tests run with a Docker container via testcontainers
  • Added AGENTS.md documentation for AI assistants workflow integration

Fixed

  • Adjusted golangci-lint configuration and enabled additional linters.