Skip to content

go_toolchain-v1.5.1

Choose a tag to compare

@github-actions github-actions released this 23 Aug 20:18
· 5 commits to master since this release
Immutable release. Only release title and notes can be modified.

🐞 Fixes

  • Test binary pseudo-packages are no longer inferred as relationships. go list -deps -test reports a synthetic pkg.test package for each tested package; its .test suffix kept it from matching the package under test, so it resolved to whatever ancestor project it nested under (typically the module root) as a phantom development edge. It is now reduced to the real package path and recognised as ownership.
  • go.sum is now reported as a project-graph input alongside the module's go.mod. As the lock file pinning resolved dependency versions, a change there (a dependency added, upgraded, or dropped) can alter what go list resolves for relationship inference, so reporting it keeps a locally cached graph from going stale. Only reported when present, since a module with no dependencies has no go.sum.