changelog

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package changelog generates markdown changelogs from conventional commits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepend

func Prepend(existing, newEntry string) string

func Render

func Render(entry Entry) string

Types

type Entry

type Entry struct {
	Version    string
	Date       time.Time
	Body       string
	CompareURL string
}

type Generator

type Generator struct {
	Sections   map[string]string
	Include    []string
	RepoURL    string
	PathPrefix string
	References config.ReferencesConfig
	Now        func() time.Time
	// contains filtered or unexported fields
}

func (*Generator) Generate

func (g *Generator) Generate(version string, previousTag string, commits []commit.Commit) Entry

Jump to

Keyboard shortcuts

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