Skip to content

Getting started ​

Four steps take you from install to a digest and a scan of a repository. relgap only reads: it changes no file and opens no pull request. Every output on this page is the output of relgap's own tests, which replay recorded GitHub answers.

1. Install ​

sh
mise use -g github:sassdavid/relgap

Install has the release archives, go install, the signature checks and shell completion.

2. Give it a GitHub token ​

relgap reads release notes and tags through the GitHub API. Without a token, GitHub allows 60 requests an hour, and relgap sends at most 2 at once. relgap looks for a token the way gh does: GH_TOKEN, then GITHUB_TOKEN, then gh's config file, then gh auth token. If you're logged in with gh, there is nothing to do. Otherwise, export a token:

sh
export GH_TOKEN=<your token>

A token with no scopes reads public repositories. relgap sends it to api.github.com and nowhere else; Network, privacy and tokens lists every host relgap talks to.

3. Read what changed between two versions ​

relgap digest takes a tool and a range. The range after 1.36.0 up to and including 1.37.2 covers every release after 1.36.0 up to and including 1.37.2. --only keeps two classes, so the output stays short, and --format plain prints text without colours:

sh
relgap digest kubectl 1.36.0..1.37.2 --only breaking --only deprecation --format plain
txt
kubectl 1.36.0..1.37.2  kubernetes/kubernetes
9 versions: 1.36.1, 1.36.2, 1.36.3, 1.36.4, 1.36.5, 1.36.6, 1.37.0, 1.37.1, 1.37.2
breaking 4, deprecation 4, security 0, feature 122, fix 193, other 125; 1 below --min-confidence hidden

Breaking changes
  1.37.0
    - ACTION REQUIRED: Graduated the `SELinuxMount` feature gate to GA. The feature is enabled by default in `v1.37`, which may break existing workloads in clusters with SELinux enabled. Please see [the Kubernetes blog post](https://kubernetes.io/blog/2026/04/22/breaking-changes-in-selinux-volume-labeling/) to identify potentially problematic workloads in a `v1.36` cluster and how to fix them or opt out of `SELinuxMount` changes before upgrading to `v1.37`. Admins of clusters without SELinux enabled can ignore this release note. ([#139956](https://github.com/kubernetes/kubernetes/pull/139956), [@jsafrane](https://github.com/jsafrane)) [SIG API Machinery, Apps and Node]
    - ACTION REQUIRED: Converted the `DisruptionMode` enum field to a struct to support future extensibility. Promoted the `scheduling.k8s.io` API group from `v1alpha2` to `v1alpha3` and dropped `v1alpha2` entirely.
      Remove all `v1alpha2` objects from the `kube-apiserver` before performing the cluster update. ([#138572](https://github.com/kubernetes/kubernetes/pull/138572), [@dom4ha](https://github.com/dom4ha)) [SIG API Machinery, Apps, CLI, Etcd, Node, Scheduling and Testing]
    - ACTION REQUIRED: Fixed `eventRecordQPS` handling in `kubelet` configuration to treat 0 as unlimited (no rate limit), aligning behavior with the documentation. Users relying on the previous default behavior should explicitly set a non-zero value (for example, 50). ([#117119](https://github.com/kubernetes/kubernetes/pull/117119), [@HirazawaUi](https://github.com/HirazawaUi)) [SIG API Machinery, Auth and Node]
    - ACTION REQUIRED: Updated the `kubelet` to log its effective configuration at startup. Because these logs can expose configuration details, cluster administrators should restrict the `nodes/logs` ClusterRole to trusted users. This is largely a reminder of an existing best practice, since most effective configuration values can already be inferred from other log messages or `kubelet` behavior. ([#139837](https://github.com/kubernetes/kubernetes/pull/139837), [@SergeyKanzhelev](https://github.com/SergeyKanzhelev)) [SIG Node]

Deprecations
  1.37.0
    - Changed `kubeadm` to explicitly set `KubeProxyConfiguration.mode` to iptables when `KubeProxyConfiguration` is not provided or when the `mode` field is empty. In `v1.37`, `kube-proxy` will warn if the field is not explicitly set as part of the planned transition to nftables as the default mode in a future release. ([#139777](https://github.com/kubernetes/kubernetes/pull/139777), [@neolit123](https://github.com/neolit123)) [SIG Cluster Lifecycle]
    - Deprecated the ignored `--filename`/`-f` flag on `kubectl run`. ([#138671](https://github.com/kubernetes/kubernetes/pull/138671), [@Suknna](https://github.com/Suknna)) [SIG CLI]
    - Locked the deprecated `DeclarativeValidationTakeover` feature gate to its default value; it can no longer be set. ([#139212](https://github.com/kubernetes/kubernetes/pull/139212), [@yongruilin](https://github.com/yongruilin)) [SIG API Machinery]
    - `kubeadm`: Added a (delayed) warning that `kube-proxy`'s ipvs mode is deprecated since `v1.35` and users on newer Linux kernels should be using the nftables mode instead, which became GA in `v1.33`. For older kernel versions, users can use iptables, which is still the default. ([#139067](https://github.com/kubernetes/kubernetes/pull/139067), [@neolit123](https://github.com/neolit123)) [SIG Cluster Lifecycle]

The first lines name the repository, the 9 versions in the range and the entries per class, of which --only lists two. One entry is under the --min-confidence threshold and hidden. Each entry keeps its links from the release notes. Drop --only to see every class, and drop --format plain in a terminal to get colours.

4. Check the pins of a repository ​

In a repository, relgap pins lists every tool version it pins, with the file and line. It reads files only and makes no network call. The output below is from a sample repository in relgap's tests, with a mise.toml, a Dockerfile, a main.tf and a GitHub Actions workflow:

sh
relgap pins --format plain
txt
TOOL          VALUE       DETECTOR    LOCATION
go            ≈1.25       ci          .github/workflows/ci.yml:9
image:alpine  3.22        dockerfile  Dockerfile:1
k9s           0.50.16     dockerfile  Dockerfile:2
terraform     ≈~> 1.15.0  terraform   main.tf:2
terraform     1.15.8      mise        mise.toml:2
helm          3.21.0      mise        mise.toml:3
gh            2.103.3     mise        mise.toml:4
uv            ≈0.13       mise        mise.toml:5
ruff          ≈latest     mise        mise.toml:6
node          ≈lts        mise        mise.toml:7

A value marked ≈ allows more than one version: a constraint, a prefix or a channel. relgap outdated compares each pin with the latest version on its release line:

sh
relgap outdated --format plain
txt
TOOL          CURRENT   LATEST   BEHIND  BREAKING  DEPRECATION  EOL               VULNS          PIN
gh            2.103.3   2.103.3  0       0         0            -                 0              mise.toml:4
go            ≈1.25.14  1.27.4   17      0         0            yes (2026-08-19)  28 (28 fixed)  .github/workflows/ci.yml:9
helm          3.21.0    3.22.1   6       0         0            -                 0              mise.toml:3
image:alpine  3.22      3.23     3       -         -            -                 ?              Dockerfile:1
k9s           0.50.16   0.51.0   3       1         0            -                 0              Dockerfile:2
node          ≈lts      -        -       -         -            -                 ?              mise.toml:7
ruff          ≈0.17.4   0.17.4   0       0         0            -                 0              mise.toml:6
terraform     ≈1.15.8   1.17.2   12      1         0            yes (2026-10-21)  0              main.tf:2
terraform     1.15.8    1.17.2   12      1         0            yes (2026-10-21)  0              mise.toml:2
uv            ≈0.13.7   0.13.7   0       0         0            -                 0              mise.toml:5

Notes:
  go 1.25 (.github/workflows/ci.yml:9): highest stable version with this prefix
  image:alpine 3.22 (Dockerfile:1): docker.io/library/alpine has no source label that names a GitHub repository, so the versions come from https://registry-1.docker.io/v2/library/alpine/tags/list without notes
  node lts (mise.toml:7): can't compare: "lts" is a channel
  ruff latest (mise.toml:6): latest channel
  terraform ~> 1.15.0 (main.tf:2): highest installed or locked version
  uv 0.13 (mise.toml:5): highest stable version with this prefix

Fix targets:
  go 1.25.14: upgrade to 1.26.11

Not checked for vulnerabilities (VULNS ?):
  image:alpine 3.22 (Dockerfile:1): no-advisory-source
  node lts (mise.toml:7): not-exact

6 of 9 compared pins are behind latest.

BEHIND counts the releases between CURRENT and LATEST. BREAKING and DEPRECATION count entries in the digest of that range. EOL comes from endoflife.date and VULNS from OSV, for tools whose registry entry names them. Image pins are skipped, and the last line counts the one in this repository. relgap digest --all prints the digest of every pin that is behind.

Next ​