cmd/go: list -m -u all
does not output deprecation or retraction notices if dependency is replaced
#60210
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Using the following
go.mod
file rungo list -json -m -u all
What did you expect to see?
A JSON with the Retracted field.
What did you see instead?
A JSON without the Retracted field.
Why is it important?
Dependent packages will get the required dependency, not the replacement. As a developer, I want to be notified if the declared dependency is deprecated.
P.S. the same behaviour happens with deprecated packages.
The text was updated successfully, but these errors were encountered: