Ignore retracted versions of go dependencies
Author: secustorCreated Dec 8, 2021Updated Sep 29, 2026
Labelspriority-3-mediumdatasource:go
What would you like Renovate to be able to do?
Currently Renovate picks simply the tags of a dependency and uses semver to get the highest version.
In case the highest version is retracted this leads to unwanted upgrades.
Example: https://pkg.go.dev/k8s.io/[email protected]?tab=versions https://github.com/kubernetes/client-go/blob/v1.5.2/go.mod
Reproduction repo: https://github.com/secustor/renovate-go-redact-test
If you have any ideas on how this should be implemented, please tell us here.
- Get versions as it is done currently
- Fetch
go.modof highest semantic version - extract
retractdirective https://go.dev/ref/mod#go-mod-file-retract - Remove matching tags
Is this a feature you are interested in implementing yourself?
Maybe
Source: renovatebot/renovate