Starting with v3.0.0, the ldflag prefix now also includes `v3`. It's unclear if this will change with each major release. This is something we should keep an eye on. The commit right after this will add a simple version test for this based on `testers.testVersion`. https://github.com/grafana/loki/releases/tag/v3.0.0 changelog: c914272268/CHANGELOG.md diff (unusable, 5000+ edits because upstream vendors go deps): https://github.com/grafana/loki/compare/v2.9.6...v3.0.0
c914272268/CHANGELOG.md