whatchanged

command
v0.113.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command whatchanged prints the behaviour changes between two go-common releases and maintains the feed they are read from.

go run github.com/baditaflorin/go-common/scripts/whatchanged@latest v0.102.60 v0.105.0

prints a markdown section for a pull request body: the CHANGELOG.md bullets marked **BREAKING...** in releases newer than the first version, up to and including the second (the newest when it is left out), each as its one-line summary: and, when it has one, the off-switch: that restores the old behaviour. Running it with @latest reads the newest feed, which is the point: the feed is embedded in the compat package.

The feed is compat/changes.json, generated from CHANGELOG.md:

go run ./scripts/whatchanged -gen             write compat/changes.json
go run ./scripts/whatchanged -check           exit 1 if CHANGELOG.md breaks the grammar or the file is stale
go run ./scripts/whatchanged -release 0.105.1 -latest-tag v0.105.0   the checks a change that claims that release must pass

docs/releasing.md has the grammar. scripts/release-check.sh runs -release in CI. Exit status: 0 ok, 1 a problem was found (printed), 2 it could not run.

Jump to

Keyboard shortcuts

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