Skip to content

Find pins behind latest or past EOL ​

relgap outdated scans a project the way relgap pins does and compares each pin with the newest stable version on the tool's release line. For each pin it counts the releases in between, the breaking changes and deprecations in their notes, whether the pinned release cycle has reached its end of life, and the known vulnerabilities.

Run it ​

sh
relgap outdated
relgap outdated ~/src/infra --format md

The path defaults to the current directory. On the sample project from Getting started, the Markdown output is:

sh
relgap outdated --format md
md
| 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 |

- 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.

CURRENT and LATEST ​

CURRENT is the version a pin stands for. An exact pin is itself. A value marked ≈ allows more than one version, and the notes under the table say which version relgap used:

  • A constraint such as ~> 1.15 takes the highest exact pin of the tool in the same repository that satisfies it, such as a provider version in .terraform.lock.hcl. Without one, it takes the lowest version that satisfies it.
  • A prefix such as 26 or 1.25 takes the highest stable version that starts with it, which is what mise installs.
  • The latest channel is the latest version. Other channels, such as lts, aren't compared.

LATEST is the newest stable version on the release line that the tool's registry entry sets, or the newest stable version when it sets none. Pins and detectors lists the files relgap reads, and Versions, ranges and release lines the version rules.

The columns ​

BEHIND counts the releases after CURRENT up to LATEST. BREAKING and DEPRECATION count the entries of those kinds in the digest of CURRENT..LATEST, the same digest that relgap digest <tool> <current>.. prints. Entries below --min-confidence aren't counted.

EOL says whether CURRENT's release cycle has reached its end on endoflife.date: yes with the date, no, or ? when endoflife.date doesn't list the cycle. VULNS counts the OSV advisories that affect CURRENT, and in parentheses how many of them upgrading to LATEST fixes. A dash in EOL means the tool's registry entry names no endoflife.date product. A ? in VULNS means relgap didn't ask OSV about the pin, and the list under "Not checked for vulnerabilities" says why (Unchecked pins). 0 means OSV has no advisories for it. EOL and vulnerabilities has the details, and Supported tools shows which tools have that data.

Skipped pins ​

tfprovider: pins are looked up in the Terraform registry and chart: pins in Artifact Hub, which name the source repository. bitbucket: and gitlab: pins read the tags of their repository (Terraform modules on Bitbucket and GitLab).

Image pins compare with the tags of their registry: Docker Hub, ghcr.io, registry.k8s.io, quay.io, public.ecr.aws, mcr.microsoft.com and the hosts in images.registries. Only tags with the pin's variant count, so nginx:1.27.0-alpine is image:nginx:*-alpine and moves to a newer -alpine tag. When the image's source label (org.opencontainers.image.source) names a GitHub repository, the counts come from that repository's notes; otherwise the row has versions only and a note says why.

GitHub Action pins (scan.detectors.ci_actions) compare with the action's releases. A pin by commit SHA stands for the version its line comment names, such as # v4.1.3.

Tools without a repository relgap can read, and images on another or a private registry, are skipped. The last line counts them, they appear in the list of pins not checked for vulnerabilities, and --format json lists each with the reason in note:

sh
relgap outdated --format json | jq '.data.pins[] | select(.status == "skipped") | {tool, note}'

A pin whose name maps to no tool shows up in relgap pins --unresolved; Map unresolved pins and private tools fixes it.

Check installed Go binaries ​

--binaries also reads the Go build info of each pinned tool's installed executables, on PATH and in mise's installs directory. It lists the OSV vulnerabilities of the Go version and the main module each one was built with:

sh
relgap outdated --binaries --format json | jq '.data.binaries[]'

It works like govulncheck's binary mode, without the check that the binary calls the vulnerable code. The executable names come from the registry entry's bin list, or the tool name.

Read the notes behind the numbers ​

relgap digest --all digests every pin that is behind, with the same ranges:

sh
relgap digest --all ~/src/infra --format md > upgrade-notes.md

To fail a CI job on these findings, see Gate CI on breaking changes, EOL and vulnerabilities. Audit pinned versions for vulnerabilities covers the vulnerabilities alone, over many repositories. Ignore rules in the config (ignore) drop pins you don't want reported, as the configuration reference shows.