releasechange

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecordPath = "release/change-record.v2.json"
)

Variables

This section is empty.

Functions

func RenderMarkdown

func RenderMarkdown(record Record, npmPackage, pythonPackage string, pypiPublished bool) string

func RequireVersion

func RequireVersion(record Record, version string) error

Types

type Change

type Change struct {
	ChangeID string
	Summary  string
}

type Migration

type Migration struct {
	Required bool
	Steps    []string
}

type Record

type Record struct {
	Additions            []Change
	BreakingChanges      []Change
	ChangeClass          string
	KnownLimitations     []string
	Migration            Migration
	PlatformRequirements []string
	PreviousVersion      string
	RollbackStrategy     string
	SchemaVersion        int
	Version              string
}

func Admit

func Admit(raw any) (Record, error)

func Read

func Read(path string) (Record, error)

Jump to

Keyboard shortcuts

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