NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #1109 by repository stars
Latest stable
v0.10.2
Last release 1 months ago
13 Oct 2026
Ships fairly regularly
a new release about every 2 months
Some releases are documented
notes for 26 of 45 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
83 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
c1d43bcbce1a6e03ec2b2936a20a33dbe6440af0 go.mod: bump dependencies
pkgset: explain go's misleading "updates to go.mod needed" / "missing go.sum entry" errors when a pattern such as github.com/... reaches outside the m
Your coding agent can read these notes before it upgrades. Set up the MCP server →
weight: -limit was ignored or panicked; full symbol names for generic instantiations; deterministic ordering
Fixes:
Other:
Full Changelog: https://github.com/loov/goda/compare/v0.9.2...v0.9.4
Full Changelog: https://github.com/loov/goda/compare/v0.9.2...v0.9.4
pkgset: deadcode, fix some false-negatives
pkgset: deadcode, fix some false-negatives
The main addition in this release is the deadcode query function, which identifies packages that directly or indirectly cause dead code via reflect.Va
The main addition in this release is the deadcode query function, which identifies packages that directly or indirectly cause dead code via reflect.Value.MethodByName or similar calls that disable the linker's dead code elimination for interface methods.
goda list -std "deadcode(./...:all)"
A new weight-diff command compares binary weight between two builds, with aliases support, cumulative delta reporting, and deterministic sorting. Both weight and weight-diff now exclude BSS symbols from totals.
goda weight-diff <1> <2> <3>
The graph command gained Mermaid diagram output and GraphML coloring with edges colored by destination node. The tree command now prints line numbers and source locations.
Full Changelog: https://github.com/loov/goda/compare/v0.7.1...v0.9.2
tree: print line numbers and where things were printed
tree: print line numbers and where things were printed
Add initial deadcode support.
Add initial deadcode support.
README: special section for binary size
README: special section for binary size
Nothing published for this version
weight-diff: add cumulative delta
weight-diff: add cumulative delta
weight-diff: add aliases support
weight-diff: add aliases support
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
-color flag allows to specify color for expression, for example:
-color flag allows to specify color for expression, for example:
goda graph -color red=./... ./...:all
Will set the color of all packages in the current module to red. It's possible to specify the -color flag multiple times.
Similarly there are fixes for tree listing to correctly calculate roots and visit nodes.
Full Changelog: https://github.com/loov/goda/compare/v0.7.0...v0.7.1
This release unfortunately removes Repo information, because finding out that information can be extremely slow in some cases. This information is usu
Full Changelog: https://github.com/loov/goda/compare/v0.6.1...v0.7.0
This release unfortunately removes Repo information, because finding out that information can be extremely slow in some cases. This information is usually not needed. If the need arises, we can add it back, but to calculate it only dynamically.
This can improve goda performance by 20x, in some cases.
internal/pkgset: add assignment support by @egonelbre in https://github.com/loov/goda/pull/67
Full Changelog: https://github.com/loov/goda/compare/v0.6.0...v0.6.1
Nothing published for this version
This release adds :module and :mod selectors.
This release adds :module and :mod selectors.
It's useful to draw a graph for a single command in a larger repository. Currently it was possible to achieve this via
shared(github.com/example/cmd/x:all, github.com/example/...)
However, it's very cumbersome, so the equivalent can be done via:
github.com/example/cmd/x:mod
If you wish to include another module to the mix, then you would need to add one specific package from the other module, e.g. if we wanted to include golang.org/x/sync packages, then we can do:
(github.com/example/cmd/x + golang.org/x/sync):mod
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
When using go build -a -toolexec "goda exec" . then it will also print maxrss on unix platforms.
When using go build -a -toolexec "goda exec" . then it will also print maxrss on unix platforms.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
pkgtree: fix panics by @ChrisHines in https://github.com/loov/goda/pull/61
Full Changelog: https://github.com/loov/goda/compare/v0.5.0...v0.5.1
Nothing published for this version
goda graph -cluster now works based on modules instead of nested packages. This gives slightly better structure.
goda graph -cluster now works based on modules instead of nested packages. This gives slightly better structure.
Full Changelog: https://github.com/loov/goda/compare/v0.4.5...v0.5.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add a command for information about formatting.
Add a command for information about formatting.
It's now possible to use Module information, when available, for formatting labels.
It's now possible to use Module information, when available, for formatting labels.
As an example:
goda list -f "{{.ID}}{{with .Module.Version}}@{{.}}{{end}}" ./...:all
Fixes a bug with "goda graph alpha beta" being handled differently from "goda graph alpha + beta".
Fixes a bug with "goda graph alpha beta" being handled differently from "goda graph alpha + beta".
This release also includes an experimental "goda weight-diff binary1 binary2" to diff the symbol sizes between binaries. This command might be removed in the future.
Nothing published for this version
Nothing published for this version
This release introduces new syntax for tests and shorthand for operations.
This release introduces new syntax for tests and shorthand for operations.
Selector prefix X:+S is a shorthand for X + X:S and X:-S is a shorthand for X - X:S.
// To select test packages (currently only within the current module)
X:test
// To select packages and including test packages:
X:+test
// To remove main packages:
X:-test
// To remove source packages (previously `X:nosource`):
X:-source
Nothing published for this version
Currently :deps is slightly ambiguous, instead use :import that makes it clearer. For convenience there's a shorthand :imp.
Currently :deps is slightly ambiguous, instead use :import that makes it clearer. For convenience there's a shorthand :imp.
To select all dependencies you can use :import:all.
Nothing published for this version
Nothing published for this version
removes :root, this is the default behavior when specifying packages
:root, this is the default behavior when specifying packages:noroot, and replaces it with :deps:all, to select all the dependencies:main, to select main pacakgesWhen using the expression syntax, the first usage is often to target
all the roots and the dependencies... however most subtractions use
:root.
Usage before:
goda graph X - golang.org/x/tools/...:root - github.com/xyz/...:root
Usage after:
goda graph X:all - golang.org/x/tools/... - github.com/xyz/...
incoming(X, Y) - packages from X that directly import a package in Y
New expression:
incoming(X, Y) - packages from X that directly import a package in YNew option for goda graph -type flag:
tgf - Trivial Graph Format, which is one of the simplest graph formats.graphml - GraphML comprehensive format that can be used together with tools like yEd.digraph - that can be used together with digraph tool.edges - outputs each import edge on a separate line, can be useful grepping.Label formatting has two new utility functions, which help to make the graph/list labels shorter:
{{ .ID | rel "github.com/loov/goda" }}, uses relative names for packages starting with "github.com/loov/goda".{{ .ID | rename "github.com" "$gh" }}, renames package path "github.com" with "$gh", as an example "github.com/loov/goda" would be renamed to "$gh/loov/goda".One column per quarter.