mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-24 22:48:06 +00:00
4086667eba
* fix(manager/gomod): allow modules with an older `go` directive
As noted in #47313, when using `constraintsFiltering=strict`, any Go
modules which declare a `go` directive on an /older/ minor version than
the repository's are filtered out, even though they would not require
bumping the repository's `go` directive.
This seems to have been documented as the intent in
0e5e384237 - hence the test added to note
the behaviour - but this leads to us not updating versions we should do.
We can instead convert it into the range `<=1.26.x`, which allows the
same or older minor versions, and continues to filter out newer ones,
which applies with the `semver-coerced` versioning scheme.
Co-authored-by: Claude Opus 5.5 <jamie.tanna+amp@mend.io>
* fixup! fix(manager/gomod): allow modules with an older `go` directive
---------
Co-authored-by: Claude Opus 5.5 <jamie.tanna+amp@mend.io>