changelog

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx context.Context, aiClient ai.AIClient, cfg *config.Config, language string, opts Options) (string, error)

Generate produces a markdown changelog for commits in the given range.

func GroupCommitsByType

func GroupCommitsByType(commits []*gogitobj.Commit) map[string][]*gogitobj.Commit

GroupCommitsByType groups commits by their conventional commit type.

func ParseSince

func ParseSince(since string) (time.Time, error)

ParseSince parses a human-readable time string like "2 weeks ago" into a time.Time.

Types

type Options

type Options struct {
	FromRef string // e.g. "v0.10.0"
	ToRef   string // e.g. "v0.11.0"
	Since   string // e.g. "2 weeks ago"
}

Options controls changelog generation behavior.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL