bazelbuild/bazel-gazelle (bazel_gazelle)
### [`v0.37.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.37.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0)
#### What's Changed
- Apply map_kind to args as well as rule kinds by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1722](https://togithub.com/bazelbuild/bazel-gazelle/pull/1722)
- Add a pointer to bzlmod guide by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1781](https://togithub.com/bazelbuild/bazel-gazelle/pull/1781)
- \[Extraction] prep for go.mod & go.work FilePath ReplaceDirective work by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://togithub.com/bazelbuild/bazel-gazelle/pull/1780)
- \[cmd/fetch_repo] make cache corruption failures more clear by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1782](https://togithub.com/bazelbuild/bazel-gazelle/pull/1782)
- Nit: pass -modcacherw in exec.Command. by [@hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1784](https://togithub.com/bazelbuild/bazel-gazelle/pull/1784)
- Mention JS extension in Aspect CLI by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1646](https://togithub.com/bazelbuild/bazel-gazelle/pull/1646)
- \[Feature] bzlmod & go.work by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1731](https://togithub.com/bazelbuild/bazel-gazelle/pull/1731)
- Add GIT_CONFIG_\* env vars to go_repository allow-list by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1791](https://togithub.com/bazelbuild/bazel-gazelle/pull/1791)
- Reformat with latest buildifier by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1792](https://togithub.com/bazelbuild/bazel-gazelle/pull/1792)
- \[Feature] go.mod FilePath ReplaceDirective Support by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1776](https://togithub.com/bazelbuild/bazel-gazelle/pull/1776)
- Fix README.rst by [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://togithub.com/bazelbuild/bazel-gazelle/pull/1795)
- Update README.rst by [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1796](https://togithub.com/bazelbuild/bazel-gazelle/pull/1796)
- Normalise newlines on Windows by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1798](https://togithub.com/bazelbuild/bazel-gazelle/pull/1798)
- Fix go.work use ROOT moddir by [@hunshcn](https://togithub.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://togithub.com/bazelbuild/bazel-gazelle/pull/1800)
- allow go_visibility directive to change command package's visibility by [@hunshcn](https://togithub.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1794](https://togithub.com/bazelbuild/bazel-gazelle/pull/1794)
- Ensure the Gazelle binary is built for the right platform by [@EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://togithub.com/bazelbuild/bazel-gazelle/pull/1803)
- Add support for `debug_mode` option to `go_deps` by [@davidbyttow](https://togithub.com/davidbyttow) in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://togithub.com/bazelbuild/bazel-gazelle/pull/1806)
- Remove special resolution of go_proto imports by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1807](https://togithub.com/bazelbuild/bazel-gazelle/pull/1807)
- address nogo complaints about variable shadowing by [@pmenglund](https://togithub.com/pmenglund) in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://togithub.com/bazelbuild/bazel-gazelle/pull/1808)
- Make `# gazelle:proto file` work without needing to set different `option go_package` in .proto files by [@jeromep-stripe](https://togithub.com/jeromep-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://togithub.com/bazelbuild/bazel-gazelle/pull/1765)
- go_deps: ignore go.work toolchain directive by [@malt3](https://togithub.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1809](https://togithub.com/bazelbuild/bazel-gazelle/pull/1809)
- prepare release 0.37.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1812](https://togithub.com/bazelbuild/bazel-gazelle/pull/1812)
#### New Contributors
- [@stefanpenner](https://togithub.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://togithub.com/bazelbuild/bazel-gazelle/pull/1780)
- [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://togithub.com/bazelbuild/bazel-gazelle/pull/1795)
- [@hunshcn](https://togithub.com/hunshcn) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://togithub.com/bazelbuild/bazel-gazelle/pull/1800)
- [@EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://togithub.com/bazelbuild/bazel-gazelle/pull/1803)
- [@davidbyttow](https://togithub.com/davidbyttow) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://togithub.com/bazelbuild/bazel-gazelle/pull/1806)
- [@pmenglund](https://togithub.com/pmenglund) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://togithub.com/bazelbuild/bazel-gazelle/pull/1808)
- [@jeromep-stripe](https://togithub.com/jeromep-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://togithub.com/bazelbuild/bazel-gazelle/pull/1765)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0
### [`v0.36.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.36.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.35.0...v0.36.0)
#### What's Changed
- Test with incompatible flags by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1696](https://togithub.com/bazelbuild/bazel-gazelle/pull/1696)
- adding more default gazelle overrides by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1701](https://togithub.com/bazelbuild/bazel-gazelle/pull/1701)
- rule: add accessor for attribute comments by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1700](https://togithub.com/bazelbuild/bazel-gazelle/pull/1700)
- rule: set update flag on Rule.AddArg by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1702](https://togithub.com/bazelbuild/bazel-gazelle/pull/1702)
- rule: rename GetAttrComments -> AttrComments by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1703](https://togithub.com/bazelbuild/bazel-gazelle/pull/1703)
- Remove some usage of deprecated ioutil by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1704](https://togithub.com/bazelbuild/bazel-gazelle/pull/1704)
- Allow passing Gazelle binary as a file by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1706](https://togithub.com/bazelbuild/bazel-gazelle/pull/1706)
- rule: allow usage of Label struct with Rule APIs by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1705](https://togithub.com/bazelbuild/bazel-gazelle/pull/1705)
- Remove ioutil usage by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1707](https://togithub.com/bazelbuild/bazel-gazelle/pull/1707)
- doc: fix link to Swift gazelle plugin by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1708](https://togithub.com/bazelbuild/bazel-gazelle/pull/1708)
- Fix two shellcheck warnings in gazelle.bash.in by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1710](https://togithub.com/bazelbuild/bazel-gazelle/pull/1710)
- implement expression conversions via BzlExprValue interface by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1714](https://togithub.com/bazelbuild/bazel-gazelle/pull/1714)
- update documentation for 0.35 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1712](https://togithub.com/bazelbuild/bazel-gazelle/pull/1712)
- Update circl to v1.3.7 in tests by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1718](https://togithub.com/bazelbuild/bazel-gazelle/pull/1718)
- rule: make value sorting configurable (alternative implementation) by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1719](https://togithub.com/bazelbuild/bazel-gazelle/pull/1719)
- Add check in `update-repos` to omit reading `WORKSPACE` on bzlmod only repos. by [@Megakuul](https://togithub.com/Megakuul) in [https://github.com/bazelbuild/bazel-gazelle/pull/1727](https://togithub.com/bazelbuild/bazel-gazelle/pull/1727)
- Add default gazelle override for github.com/cockroachdb/errors. by [@fardream](https://togithub.com/fardream) in [https://github.com/bazelbuild/bazel-gazelle/pull/1728](https://togithub.com/bazelbuild/bazel-gazelle/pull/1728)
- README: fix resolve_regexp doc by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1729](https://togithub.com/bazelbuild/bazel-gazelle/pull/1729)
- feat(bzlmod): allow `default_gazelle_attributes` for `go_deps` extension by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1716](https://togithub.com/bazelbuild/bazel-gazelle/pull/1716)
- add new std_packages from go 1.22 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1740](https://togithub.com/bazelbuild/bazel-gazelle/pull/1740)
- fix: wrap generation test labels with Label() by [@pedrobarco](https://togithub.com/pedrobarco) in [https://github.com/bazelbuild/bazel-gazelle/pull/1743](https://togithub.com/bazelbuild/bazel-gazelle/pull/1743)
- proto: Add Bzlmod support for well-known types by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1741](https://togithub.com/bazelbuild/bazel-gazelle/pull/1741)
- Test BCR with Bazel 6.5.0 and 7.0.2 by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1744](https://togithub.com/bazelbuild/bazel-gazelle/pull/1744)
- Set go_naming_convention for cel-go by [@riking](https://togithub.com/riking) in [https://github.com/bazelbuild/bazel-gazelle/pull/1746](https://togithub.com/bazelbuild/bazel-gazelle/pull/1746)
- nit: fix error message in go_repository by [@hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1750](https://togithub.com/bazelbuild/bazel-gazelle/pull/1750)
- Add `go_deps.config(env = ...)` as a replacement for `gazelle_dependencies(go_env = ...)` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1748](https://togithub.com/bazelbuild/bazel-gazelle/pull/1748)
- Warn if integrity not specified for archive_override by [@scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/bazel-gazelle/pull/1753](https://togithub.com/bazelbuild/bazel-gazelle/pull/1753)
- Use host module cache whithout build cache and verify it by [@scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/bazel-gazelle/pull/1755](https://togithub.com/bazelbuild/bazel-gazelle/pull/1755)
- Update default_gazelle_overrides.bzl by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1758](https://togithub.com/bazelbuild/bazel-gazelle/pull/1758)
- Mark `go_deps` extension as reproducible by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1761](https://togithub.com/bazelbuild/bazel-gazelle/pull/1761)
- Ignore `purego` build constraint by [@mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/bazel-gazelle/pull/1767](https://togithub.com/bazelbuild/bazel-gazelle/pull/1767)
- Expose path to root `go.mod` to rules_go by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1762](https://togithub.com/bazelbuild/bazel-gazelle/pull/1762)
- Fix and expand `reproducible` usage in extensions by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1763](https://togithub.com/bazelbuild/bazel-gazelle/pull/1763)
- Add is_bazel_module to deps.bzl. by [@spags-lacework](https://togithub.com/spags-lacework) in [https://github.com/bazelbuild/bazel-gazelle/pull/1771](https://togithub.com/bazelbuild/bazel-gazelle/pull/1771)
- prepare release 0.36 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1752](https://togithub.com/bazelbuild/bazel-gazelle/pull/1752)
#### New Contributors
- [@t-8ch](https://togithub.com/t-8ch) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1700](https://togithub.com/bazelbuild/bazel-gazelle/pull/1700)
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1704](https://togithub.com/bazelbuild/bazel-gazelle/pull/1704)
- [@Megakuul](https://togithub.com/Megakuul) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1727](https://togithub.com/bazelbuild/bazel-gazelle/pull/1727)
- [@fardream](https://togithub.com/fardream) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1728](https://togithub.com/bazelbuild/bazel-gazelle/pull/1728)
- [@pedrobarco](https://togithub.com/pedrobarco) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1743](https://togithub.com/bazelbuild/bazel-gazelle/pull/1743)
- [@riking](https://togithub.com/riking) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1746](https://togithub.com/bazelbuild/bazel-gazelle/pull/1746)
- [@hauserx](https://togithub.com/hauserx) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1750](https://togithub.com/bazelbuild/bazel-gazelle/pull/1750)
- [@scaiper](https://togithub.com/scaiper) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1753](https://togithub.com/bazelbuild/bazel-gazelle/pull/1753)
- [@mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1767](https://togithub.com/bazelbuild/bazel-gazelle/pull/1767)
- [@spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1771](https://togithub.com/bazelbuild/bazel-gazelle/pull/1771)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.35.0...v0.36.0
### [`v0.35.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.35.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.34.0...v0.35.0)
#### What's Changed
- Don't run on centos7 in BCR presubmit and add maintainers by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1663](https://togithub.com/bazelbuild/bazel-gazelle/pull/1663)
- update readme for v0.34.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1662](https://togithub.com/bazelbuild/bazel-gazelle/pull/1662)
- nit: doc `gazelle_generation_test` use of `arguments.txt` by [@vpanta](https://togithub.com/vpanta) in [https://github.com/bazelbuild/bazel-gazelle/pull/1660](https://togithub.com/bazelbuild/bazel-gazelle/pull/1660)
- feat(bzlmod): allow patches in `archive_override`s by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1665](https://togithub.com/bazelbuild/bazel-gazelle/pull/1665)
- fix(bzlmod): fail on unused overrides by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1669](https://togithub.com/bazelbuild/bazel-gazelle/pull/1669)
- Annotate more globs with `allow_empty = True` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1674](https://togithub.com/bazelbuild/bazel-gazelle/pull/1674)
- Generate BUILD files for grpc compiler by [@mering](https://togithub.com/mering) in [https://github.com/bazelbuild/bazel-gazelle/pull/1672](https://togithub.com/bazelbuild/bazel-gazelle/pull/1672)
- Disable lockfile check for BCR test module by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1673](https://togithub.com/bazelbuild/bazel-gazelle/pull/1673)
- Make isolated extensions usable for Go tools by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1678](https://togithub.com/bazelbuild/bazel-gazelle/pull/1678)
- bzlmod: support go.mod replace directives with a version qualifier on the left by [@andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/bazel-gazelle/pull/1679](https://togithub.com/bazelbuild/bazel-gazelle/pull/1679)
- fix CI by running both WORKSPACE and Bzlmod on select packages by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1690](https://togithub.com/bazelbuild/bazel-gazelle/pull/1690)
- disable lockfile by default by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1692](https://togithub.com/bazelbuild/bazel-gazelle/pull/1692)
- feat(resolve): optimize applying overrides to be efficient by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1687](https://togithub.com/bazelbuild/bazel-gazelle/pull/1687)
- feat(fix-update): allow user to profile commands with `pprof` by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1685](https://togithub.com/bazelbuild/bazel-gazelle/pull/1685)
- Fix partial execution with mapped kinds by [@HALtheWise](https://togithub.com/HALtheWise) in [https://github.com/bazelbuild/bazel-gazelle/pull/1680](https://togithub.com/bazelbuild/bazel-gazelle/pull/1680)
- prepare release 0.35.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1693](https://togithub.com/bazelbuild/bazel-gazelle/pull/1693)
#### New Contributors
- [@mering](https://togithub.com/mering) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1672](https://togithub.com/bazelbuild/bazel-gazelle/pull/1672)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.34.0...v0.35.0
### [`v0.34.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.34.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.33.0...v0.34.0)
#### What's Changed
- update readme for v0.33.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1627](https://togithub.com/bazelbuild/bazel-gazelle/pull/1627)
- Remove golang.org/x/crypto dep by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1631](https://togithub.com/bazelbuild/bazel-gazelle/pull/1631)
- Fix map_kind with empty rules by [@lbcjbb](https://togithub.com/lbcjbb) in [https://github.com/bazelbuild/bazel-gazelle/pull/1441](https://togithub.com/bazelbuild/bazel-gazelle/pull/1441)
- fix: add missing bzl_library declaration and dep by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1633](https://togithub.com/bazelbuild/bazel-gazelle/pull/1633)
- chore: add bzl_test to ensure that bzl_library declarations exist by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1634](https://togithub.com/bazelbuild/bazel-gazelle/pull/1634)
- Set runfiles environment variables for Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1632](https://togithub.com/bazelbuild/bazel-gazelle/pull/1632)
- address comments from [#1597](https://togithub.com/bazelbuild/bazel-gazelle/issues/1597) by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1628](https://togithub.com/bazelbuild/bazel-gazelle/pull/1628)
- Fix kinds and stmt by [@birunts](https://togithub.com/birunts) in [https://github.com/bazelbuild/bazel-gazelle/pull/1613](https://togithub.com/bazelbuild/bazel-gazelle/pull/1613)
- Export workspace file in go_repository_config.bzl by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1641](https://togithub.com/bazelbuild/bazel-gazelle/pull/1641)
- Add github.com/google/gnostic-models to default_gazelle_overrides.bzl by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1645](https://togithub.com/bazelbuild/bazel-gazelle/pull/1645)
- Support parsing labels that begin '@@' by [@mark-thm](https://togithub.com/mark-thm) in [https://github.com/bazelbuild/bazel-gazelle/pull/1651](https://togithub.com/bazelbuild/bazel-gazelle/pull/1651)
- Fix path for google/gnostic-models by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1652](https://togithub.com/bazelbuild/bazel-gazelle/pull/1652)
- fix(bzlmod): allow passing build_extra_args in gazelle_override by [@casuallyhostile](https://togithub.com/casuallyhostile) in [https://github.com/bazelbuild/bazel-gazelle/pull/1648](https://togithub.com/bazelbuild/bazel-gazelle/pull/1648)
- prepare release 0.34.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1656](https://togithub.com/bazelbuild/bazel-gazelle/pull/1656)
#### New Contributors
- [@casuallyhostile](https://togithub.com/casuallyhostile) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1648](https://togithub.com/bazelbuild/bazel-gazelle/pull/1648)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.33.0...v0.34.0
### [`v0.33.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.33.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.32.0...v0.33.0)
#### What's Changed
- Generate BUILD files for grpc-gateway by default by [@seh](https://togithub.com/seh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1578](https://togithub.com/bazelbuild/bazel-gazelle/pull/1578)
- Remove temporary workaround after rules_go 0.41.0 release by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1577](https://togithub.com/bazelbuild/bazel-gazelle/pull/1577)
- bzlmod: Use first host-compatible SDK to bootstrap Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1581](https://togithub.com/bazelbuild/bazel-gazelle/pull/1581)
- Update: golang.org/x/exp & golang.org/x/oauth2 deps. by [@sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) in [https://github.com/bazelbuild/bazel-gazelle/pull/1582](https://togithub.com/bazelbuild/bazel-gazelle/pull/1582)
- \[README.rst] Mention kotlin PoC by [@kolloch](https://togithub.com/kolloch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1590](https://togithub.com/bazelbuild/bazel-gazelle/pull/1590)
- Fix and let `# gazelle:follow` accept a glob by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1596](https://togithub.com/bazelbuild/bazel-gazelle/pull/1596)
- Add support for isolated `go_deps` usages by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1584](https://togithub.com/bazelbuild/bazel-gazelle/pull/1584)
- feat(bzlmod): support archive_override in go_deps by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1559](https://togithub.com/bazelbuild/bazel-gazelle/pull/1559)
- fix: avoid updating `WORKSPACE` file when running `update-repos` when bzlmod is enabled by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1589](https://togithub.com/bazelbuild/bazel-gazelle/pull/1589)
- Make `go_deps.from_file` compatible with Go 1.21 by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1605](https://togithub.com/bazelbuild/bazel-gazelle/pull/1605)
- go_repository: fix missing default GOPROXY by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1602](https://togithub.com/bazelbuild/bazel-gazelle/pull/1602)
- fix: patch support for dir named workspace by [@michaellzc](https://togithub.com/michaellzc) in [https://github.com/bazelbuild/bazel-gazelle/pull/1606](https://togithub.com/bazelbuild/bazel-gazelle/pull/1606)
- Revert "go_repository: fix missing default GOPROXY ([#1602](https://togithub.com/bazelbuild/bazel-gazelle/issues/1602))" by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1609](https://togithub.com/bazelbuild/bazel-gazelle/pull/1609)
- Upgrade `golang.org/x/mod` Vendor to Support Go 1.21 by [@alan910127](https://togithub.com/alan910127) in [https://github.com/bazelbuild/bazel-gazelle/pull/1611](https://togithub.com/bazelbuild/bazel-gazelle/pull/1611)
- fix: go_repository: never shadow a module with a compatibility mapping for major versions. by [@reltuk](https://togithub.com/reltuk) in [https://github.com/bazelbuild/bazel-gazelle/pull/1608](https://togithub.com/bazelbuild/bazel-gazelle/pull/1608)
- bug fix: don't generate invalid go_binary rules for empty main packages by [@andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/bazel-gazelle/pull/1618](https://togithub.com/bazelbuild/bazel-gazelle/pull/1618)
- Fix wrong Kotlin Support link in README. by [@duckladydinh](https://togithub.com/duckladydinh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1619](https://togithub.com/bazelbuild/bazel-gazelle/pull/1619)
- bzlmod: Verify that the lockfile is platform-independent by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1617](https://togithub.com/bazelbuild/bazel-gazelle/pull/1617)
- Add gazelle_rust under supported languages by [@Calsign](https://togithub.com/Calsign) in [https://github.com/bazelbuild/bazel-gazelle/pull/1620](https://togithub.com/bazelbuild/bazel-gazelle/pull/1620)
- replace golang.org/x/tools with golang.org/x/tools/go/vcs@v0.1.0-deprecated by [@malt3](https://togithub.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1603](https://togithub.com/bazelbuild/bazel-gazelle/pull/1603)
- Implement Merger interface by [@Whoaa512](https://togithub.com/Whoaa512) in [https://github.com/bazelbuild/bazel-gazelle/pull/1569](https://togithub.com/bazelbuild/bazel-gazelle/pull/1569)
- Improve Gazelle launcher's runfiles discovery on Windows by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1604](https://togithub.com/bazelbuild/bazel-gazelle/pull/1604)
- Add an entry for "github.com/googleapis/gax-go/v2" to default_gazelle_overrides.bzl by [@andrewmbenton](https://togithub.com/andrewmbenton) in [https://github.com/bazelbuild/bazel-gazelle/pull/1623](https://togithub.com/bazelbuild/bazel-gazelle/pull/1623)
- add a go_test directive to enable generating go_test targets per \_test.go file by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1597](https://togithub.com/bazelbuild/bazel-gazelle/pull/1597)
- Detect whether Gazelle itself is a Bazel module by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1624](https://togithub.com/bazelbuild/bazel-gazelle/pull/1624)
- prepare release 0.33 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1615](https://togithub.com/bazelbuild/bazel-gazelle/pull/1615)
#### New Contributors
- [@sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1582](https://togithub.com/bazelbuild/bazel-gazelle/pull/1582)
- [@kolloch](https://togithub.com/kolloch) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1590](https://togithub.com/bazelbuild/bazel-gazelle/pull/1590)
- [@shahms](https://togithub.com/shahms) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1596](https://togithub.com/bazelbuild/bazel-gazelle/pull/1596)
- [@michaellzc](https://togithub.com/michaellzc) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1606](https://togithub.com/bazelbuild/bazel-gazelle/pull/1606)
- [@alan910127](https://togithub.com/alan910127) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1611](https://togithub.com/bazelbuild/bazel-gazelle/pull/1611)
- [@reltuk](https://togithub.com/reltuk) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1608](https://togithub.com/bazelbuild/bazel-gazelle/pull/1608)
- [@andyscott](https://togithub.com/andyscott) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1618](https://togithub.com/bazelbuild/bazel-gazelle/pull/1618)
- [@duckladydinh](https://togithub.com/duckladydinh) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1619](https://togithub.com/bazelbuild/bazel-gazelle/pull/1619)
- [@Calsign](https://togithub.com/Calsign) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1620](https://togithub.com/bazelbuild/bazel-gazelle/pull/1620)
- [@malt3](https://togithub.com/malt3) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1603](https://togithub.com/bazelbuild/bazel-gazelle/pull/1603)
- [@andrewmbenton](https://togithub.com/andrewmbenton) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1623](https://togithub.com/bazelbuild/bazel-gazelle/pull/1623)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.32.0...v0.33.0
### [`v0.32.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.32.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.31.1...v0.32.0)
Starting this release, Gazelle no longer resolves Go and proto imports of Google APIs to `@go_googleapis`. Instead, Go packages from Google APIs will be treated as regular Go packages, and resolve to `@org_golang_google_genproto`, which contains the pre-generated Go code, with its version determined by Go modules. For proto files importing Google APIs proto and generating Go code, users need to:
1. Add an `http_archive` rule to download Google APIs, e.g.,
http_archive(
name = "googleapis",
sha256 = "9d1a930e767c93c825398b8f8692eca3fe353b9aaadedfbcf1fca2282c85df88",
strip_prefix = "googleapis-64926d52febbf298cb82a8f472ade4a3969ba922",
urls = [
"https://github.com/googleapis/googleapis/archive/64926d52febbf298cb82a8f472ade4a3969ba922.zip",
],
)
load("@googleapis//:repository_rules.bzl", "switched_rules_by_language")
switched_rules_by_language(
name = "com_google_googleapis_imports",
)
Note that the version of Google APIs archive needs to be compatible with the pre-generated code in `@org_golang_google_genproto`.
2. Resolve the proto manually. If Gazelle is being used, directives like the following need to be added to a parent directory of the proto files:
### gazelle:resolve proto proto google/rpc/status.proto @googleapis//google/rpc:status_proto
### gazelle:resolve proto go google/rpc/status.proto @org_golang_google_genproto//googleapis/rpc/status
### gazelle:resolve proto google/longrunning/operations.proto @googleapis//google/longrunning:operations_proto
### gazelle:resolve proto go google/longrunning/operations.proto @org_golang_google_genproto//googleapis/longrunning
#### What's Changed
- Decouple Google APIs by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1561](https://togithub.com/bazelbuild/bazel-gazelle/pull/1561)
- resolve: Add a resolve_regexp directive by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/bazel-gazelle/pull/1542](https://togithub.com/bazelbuild/bazel-gazelle/pull/1542)
- Remove module dependency on go_googleapis by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1563](https://togithub.com/bazelbuild/bazel-gazelle/pull/1563)
- Testing on macOS arm64 by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1568](https://togithub.com/bazelbuild/bazel-gazelle/pull/1568)
- Stop resolving to @io_bazel_rules_go//proto/wkt by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1567](https://togithub.com/bazelbuild/bazel-gazelle/pull/1567)
- Fix directive table in Readme file by [@farhaven](https://togithub.com/farhaven) in [https://github.com/bazelbuild/bazel-gazelle/pull/1571](https://togithub.com/bazelbuild/bazel-gazelle/pull/1571)
#### New Contributors
- [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1542](https://togithub.com/bazelbuild/bazel-gazelle/pull/1542)
- [@farhaven](https://togithub.com/farhaven) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1571](https://togithub.com/bazelbuild/bazel-gazelle/pull/1571)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.1...v0.32.0
### [`v0.31.1`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.31.1)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.31.0...v0.31.1)
#### What's Changed
- point sync.Once in walkConfig by [@jmhodges](https://togithub.com/jmhodges) in [https://github.com/bazelbuild/bazel-gazelle/pull/1532](https://togithub.com/bazelbuild/bazel-gazelle/pull/1532)
- add copylock vet to nogo by [@jmhodges](https://togithub.com/jmhodges) in [https://github.com/bazelbuild/bazel-gazelle/pull/1534](https://togithub.com/bazelbuild/bazel-gazelle/pull/1534)
- bzlmod: Remove deprecated override attributes on `go_deps.module` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1548](https://togithub.com/bazelbuild/bazel-gazelle/pull/1548)
- Add default directives for github.com/envoyproxy/protoc-gen-validate by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1553](https://togithub.com/bazelbuild/bazel-gazelle/pull/1553)
- cmd/gazelle: do not use the epoch as timestamp in diff output by [@siddharthab](https://togithub.com/siddharthab) in [https://github.com/bazelbuild/bazel-gazelle/pull/1552](https://togithub.com/bazelbuild/bazel-gazelle/pull/1552)
- fileinfo: fix not detecting 'unix' files to be OS specific by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1554](https://togithub.com/bazelbuild/bazel-gazelle/pull/1554)
- language/go: Emit apparent repo name of rules_go in select keys by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1555](https://togithub.com/bazelbuild/bazel-gazelle/pull/1555)
- Let `bazel_dep`s replace Go deps by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1526](https://togithub.com/bazelbuild/bazel-gazelle/pull/1526)
#### New Contributors
- [@mortenmj](https://togithub.com/mortenmj) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1553](https://togithub.com/bazelbuild/bazel-gazelle/pull/1553)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.0...v0.31.1
### [`v0.31.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.31.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.30.0...v0.31.0)
#### What's Changed
- feat: allow passing GIT_CONFIG_COUNT and it's related configs by [@manuelnaranjo](https://togithub.com/manuelnaranjo) in [https://github.com/bazelbuild/bazel-gazelle/pull/1462](https://togithub.com/bazelbuild/bazel-gazelle/pull/1462)
- feat(bzlmod): add `module_override` tag to allow patching in go_deps by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1500](https://togithub.com/bazelbuild/bazel-gazelle/pull/1500)
- fix typo `build_proto_file_mode` in message by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1504](https://togithub.com/bazelbuild/bazel-gazelle/pull/1504)
- fix: support running within a dir named workspace by [@jbedard](https://togithub.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1498](https://togithub.com/bazelbuild/bazel-gazelle/pull/1498)
- fix: check for gazelle command before adding -repo_config flag by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1501](https://togithub.com/bazelbuild/bazel-gazelle/pull/1501)
- language/go: Infer prefix from go.mod by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1497](https://togithub.com/bazelbuild/bazel-gazelle/pull/1497)
- don't overwrite directives by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1503](https://togithub.com/bazelbuild/bazel-gazelle/pull/1503)
- Support Bzlmod for gazelle itself by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1509](https://togithub.com/bazelbuild/bazel-gazelle/pull/1509)
- language/go: Add windows arm64 as a known platform. by [@connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/bazel-gazelle/pull/1507](https://togithub.com/bazelbuild/bazel-gazelle/pull/1507)
- Adding lifecycle manager by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1475](https://togithub.com/bazelbuild/bazel-gazelle/pull/1475)
- Disable protobuf generation for more modules by [@seh](https://togithub.com/seh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1514](https://togithub.com/bazelbuild/bazel-gazelle/pull/1514)
- Support '~' in label repo by [@mark-thm](https://togithub.com/mark-thm) in [https://github.com/bazelbuild/bazel-gazelle/pull/1518](https://togithub.com/bazelbuild/bazel-gazelle/pull/1518)
- language/go: Handle `unix` build tag. by [@connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/bazel-gazelle/pull/1512](https://togithub.com/bazelbuild/bazel-gazelle/pull/1512)
- Pass data arg through to sh_binary if defined by [@Preston4tw](https://togithub.com/Preston4tw) in [https://github.com/bazelbuild/bazel-gazelle/pull/1483](https://togithub.com/bazelbuild/bazel-gazelle/pull/1483)
- remove circular override hack by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1515](https://togithub.com/bazelbuild/bazel-gazelle/pull/1515)
- Add major version suffix download example by [@kriswuollett](https://togithub.com/kriswuollett) in [https://github.com/bazelbuild/bazel-gazelle/pull/1453](https://togithub.com/bazelbuild/bazel-gazelle/pull/1453)
- Relax parsing of labels by [@purkhusid](https://togithub.com/purkhusid) in [https://github.com/bazelbuild/bazel-gazelle/pull/1508](https://togithub.com/bazelbuild/bazel-gazelle/pull/1508)
- bzlmod: Add `build_file_generation` to `gazelle_override` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1522](https://togithub.com/bazelbuild/bazel-gazelle/pull/1522)
- Fix incremental build of to bootstrap Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1529](https://togithub.com/bazelbuild/bazel-gazelle/pull/1529)
- Support macros/rules packed within bazel `struct` by [@birunts](https://togithub.com/birunts) in [https://github.com/bazelbuild/bazel-gazelle/pull/1524](https://togithub.com/bazelbuild/bazel-gazelle/pull/1524)
- Prefer non-proto over proto deps in external repos by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1537](https://togithub.com/bazelbuild/bazel-gazelle/pull/1537)
- bzlmod: Return `extension_metadata` to automate `use_repo` fixes by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1511](https://togithub.com/bazelbuild/bazel-gazelle/pull/1511)
- Fix `go:embed` failing to add `embedsrcs` for subdirectories named build by [@sgavinio](https://togithub.com/sgavinio) in [https://github.com/bazelbuild/bazel-gazelle/pull/1539](https://togithub.com/bazelbuild/bazel-gazelle/pull/1539)
- Remove support for godep and dep by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1541](https://togithub.com/bazelbuild/bazel-gazelle/pull/1541)
- Avoid putting -repo_config after directories by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1544](https://togithub.com/bazelbuild/bazel-gazelle/pull/1544)
- Dropping -args by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1546](https://togithub.com/bazelbuild/bazel-gazelle/pull/1546)
#### New Contributors
- [@connyay](https://togithub.com/connyay) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1507](https://togithub.com/bazelbuild/bazel-gazelle/pull/1507)
- [@mark-thm](https://togithub.com/mark-thm) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1518](https://togithub.com/bazelbuild/bazel-gazelle/pull/1518)
- [@Preston4tw](https://togithub.com/Preston4tw) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1483](https://togithub.com/bazelbuild/bazel-gazelle/pull/1483)
- [@kriswuollett](https://togithub.com/kriswuollett) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1453](https://togithub.com/bazelbuild/bazel-gazelle/pull/1453)
- [@purkhusid](https://togithub.com/purkhusid) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1508](https://togithub.com/bazelbuild/bazel-gazelle/pull/1508)
- [@birunts](https://togithub.com/birunts) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1524](https://togithub.com/bazelbuild/bazel-gazelle/pull/1524)
- [@sgavinio](https://togithub.com/sgavinio) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1539](https://togithub.com/bazelbuild/bazel-gazelle/pull/1539)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.30.0...v0.31.0
### [`v0.30.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.30.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.29.0...v0.30.0)
#### What's Changed
- fix: add missing Starlark dependency and introduce `bzl_test` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1413](https://togithub.com/bazelbuild/bazel-gazelle/pull/1413)
- Upgrade rules_go and known imports by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1426](https://togithub.com/bazelbuild/bazel-gazelle/pull/1426)
- Regenerate known imports from downgraded go_googleapis by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1429](https://togithub.com/bazelbuild/bazel-gazelle/pull/1429)
- testdata with buildable Go pkg deep below by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1433](https://togithub.com/bazelbuild/bazel-gazelle/pull/1433)
- language/go: add //go:embed all: support by [@mbicz](https://togithub.com/mbicz) in [https://github.com/bazelbuild/bazel-gazelle/pull/1432](https://togithub.com/bazelbuild/bazel-gazelle/pull/1432)
- Fix `go mod download` output expectation for errors by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1442](https://togithub.com/bazelbuild/bazel-gazelle/pull/1442)
- Apply map_kind to existing rules as well as new ones by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1425](https://togithub.com/bazelbuild/bazel-gazelle/pull/1425)
- Ignore symlinks into Bazel output rather than relying on name by [@cpsauer](https://togithub.com/cpsauer) in [https://github.com/bazelbuild/bazel-gazelle/pull/1384](https://togithub.com/bazelbuild/bazel-gazelle/pull/1384)
- Use `short_path` for `go` in the wrapper by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1446](https://togithub.com/bazelbuild/bazel-gazelle/pull/1446)
- feature: gazelle wrapper allows to pass environment variables by [@manuelnaranjo](https://togithub.com/manuelnaranjo) in [https://github.com/bazelbuild/bazel-gazelle/pull/1438](https://togithub.com/bazelbuild/bazel-gazelle/pull/1438)
- Update directive documentation by [@moisesvega](https://togithub.com/moisesvega) in [https://github.com/bazelbuild/bazel-gazelle/pull/1454](https://togithub.com/bazelbuild/bazel-gazelle/pull/1454)
- Update gazelle directive documenmtation. by [@moisesvega](https://togithub.com/moisesvega) in [https://github.com/bazelbuild/bazel-gazelle/pull/1455](https://togithub.com/bazelbuild/bazel-gazelle/pull/1455)
- Default Visibility extension overwrite on descent (fixes [#1467](https://togithub.com/bazelbuild/bazel-gazelle/issues/1467)) by [@dnathe4th](https://togithub.com/dnathe4th) in [https://github.com/bazelbuild/bazel-gazelle/pull/1472](https://togithub.com/bazelbuild/bazel-gazelle/pull/1472)
- Allow keep to be explained by [@stevebarrau](https://togithub.com/stevebarrau) in [https://github.com/bazelbuild/bazel-gazelle/pull/1447](https://togithub.com/bazelbuild/bazel-gazelle/pull/1447)
- Respect repo_name in MODULE.bazel for load generation by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1463](https://togithub.com/bazelbuild/bazel-gazelle/pull/1463)
- Add `.ijwb` to `.gitignore` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1478](https://togithub.com/bazelbuild/bazel-gazelle/pull/1478)
- Use spaces instead of tabs in go_repositor_tools_srcs.bzl by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1479](https://togithub.com/bazelbuild/bazel-gazelle/pull/1479)
- Run buildifier by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1480](https://togithub.com/bazelbuild/bazel-gazelle/pull/1480)
- bzlmod: Test BCR test module on all platforms by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1481](https://togithub.com/bazelbuild/bazel-gazelle/pull/1481)
- bzlmod: Allow overriding default Go module configuration by [@seh](https://togithub.com/seh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1456](https://togithub.com/bazelbuild/bazel-gazelle/pull/1456)
- fix(bzlmod): apply go.sum sums after version resolution by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1477](https://togithub.com/bazelbuild/bazel-gazelle/pull/1477)
- fix(bzlmod/go_deps): don't read go.sum for empty go.mod files by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1484](https://togithub.com/bazelbuild/bazel-gazelle/pull/1484)
- feat(bzlmod): support go.mod replace directives by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1450](https://togithub.com/bazelbuild/bazel-gazelle/pull/1450)
- README update mentioning gazelle-haskell-modules by [@kczulko](https://togithub.com/kczulko) in [https://github.com/bazelbuild/bazel-gazelle/pull/1439](https://togithub.com/bazelbuild/bazel-gazelle/pull/1439)
- Exclude `.ijwb` from repository tools srcs by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1490](https://togithub.com/bazelbuild/bazel-gazelle/pull/1490)
- bzlmod: Fix interaction between replace and implicit upgrade check by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1492](https://togithub.com/bazelbuild/bazel-gazelle/pull/1492)
#### New Contributors
- [@darist](https://togithub.com/darist) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1410](https://togithub.com/bazelbuild/bazel-gazelle/pull/1410)
- [@mbicz](https://togithub.com/mbicz) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1432](https://togithub.com/bazelbuild/bazel-gazelle/pull/1432)
- [@cpsauer](https://togithub.com/cpsauer) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1384](https://togithub.com/bazelbuild/bazel-gazelle/pull/1384)
- [@manuelnaranjo](https://togithub.com/manuelnaranjo) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1438](https://togithub.com/bazelbuild/bazel-gazelle/pull/1438)
- [@moisesvega](https://togithub.com/moisesvega) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1454](https://togithub.com/bazelbuild/bazel-gazelle/pull/1454)
- [@stevebarrau](https://togithub.com/stevebarrau) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1447](https://togithub.com/bazelbuild/bazel-gazelle/pull/1447)
- [@seh](https://togithub.com/seh) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1456](https://togithub.com/bazelbuild/bazel-gazelle/pull/1456)
- [@kczulko](https://togithub.com/kczulko) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1439](https://togithub.com/bazelbuild/bazel-gazelle/pull/1439)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.29.0...v0.30.0
### [`v0.29.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.29.0)
[Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.28.0...v0.29.0)
#### What's Changed
- bzlmod: Update Publish to BCR app config by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1363](https://togithub.com/bazelbuild/bazel-gazelle/pull/1363)
- Fix: Skip default_visibility extension logic if no BUILD.bazel file present by [@dnathe4th](https://togithub.com/dnathe4th) in [https://github.com/bazelbuild/bazel-gazelle/pull/1364](https://togithub.com/bazelbuild/bazel-gazelle/pull/1364)
- fix updateStmt makeslice panic by [@pcj](https://togithub.com/pcj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1371](https://togithub.com/bazelbuild/bazel-gazelle/pull/1371)
- bzlmod: Add missing `strip_prefix` field to `source.template.json` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1375](https://togithub.com/bazelbuild/bazel-gazelle/pull/1375)
- feat: support common test args in `gazelle_generation_test` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1377](https://togithub.com/bazelbuild/bazel-gazelle/pull/1377)
- Make the new facts pacakge public by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1378](https://togithub.com/bazelbuild/bazel-gazelle/pull/1378)
- fix: add timeout message for `gazelle_generation_test` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1383](https://togithub.com/bazelbuild/bazel-gazelle/pull/1383)
- bzlmod: Add missing repository metadata by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1387](https://togithub.com/bazelbuild/bazel-gazelle/pull/1387)
- Replace `cfg = "host"` with `cfg = "exec"` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1395](https://togithub.com/bazelbuild/bazel-gazelle/pull/1395)
- upgrade rules_go to 0.37.0 by [@JamyDev](https://togithub.com/JamyDev) in [https://github.com/bazelbuild/bazel-gazelle/pull/1386](https://togithub.com/bazelbuild/bazel-gazelle/pull/1386)
- Fix embed on windows by [@st3veV](https://togithub.com/st3veV) in [https://github.com/bazelbuild/bazel-gazelle/pull/1361](https://togithub.com/bazelbuild/bazel-gazelle/pull/1361)
- Update bazel-skylib to 1.3.0. by [@benjaminp](https://togithub.com/benjaminp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1367](https://togithub.com/bazelbuild/bazel-gazelle/pull/1367)
- Fix Directives anchor by [@jmthvt](https://togithub.com/jmthvt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1353](https://togithub.com/bazelbuild/bazel-gazelle/pull/1353)
- Use `patch` from `@bazel_tools//tools/build_defs/repo` by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1381](https://togithub.com/bazelbuild/bazel-gazelle/pull/1381)
- Add link to BenchSci's rules_nodejs_gazelle extension by [@ColinHeathman](https://togithub.com/ColinHeathman) in [https://github.com/bazelbuild/bazel-gazelle/pull/1369](https://togithub.com/bazelbuild/bazel-gazelle/pull/1369)
- bzlmod: Skip Go modules available as Bazel modules by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1403](https://togithub.com/bazelbuild/bazel-gazelle/pull/1403)
- repo: opportunistically populate RemoteCache from go.mod by [@jayconrod](https://togithub.com/jayconrod) in [https://github.com/bazelbuild/bazel-gazelle/pull/1396](https://togithub.com/bazelbuild/bazel-gazelle/pull/1396)
- Fix Gazelle with `--incompatible_disallow_empty_glob` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1405](https://togithub.com/bazelbuild/bazel-gazelle/pull/1405)
- chore: remove experimental warning from bzlmod module by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1406](https://togithub.com/bazelbuild/bazel-gazelle/pull/1406)
- chore: add Swift extension to language list by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1412](https://togithub.com/bazelbuild/bazel-gazelle/pull/1412)
- Update everything for release prep, add releaser tool by [@dnathe4th](https://togithub.com/dnathe4th) in [https://github.com/bazelbuild/bazel-gazelle/pull/1373](https://togithub.com/bazelbuild/bazel-gazelle/pull/1373)
- adding go version and std_package_list to releaser by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1415](https:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.24.0
->v0.37.0
Release Notes
bazelbuild/bazel-gazelle (bazel_gazelle)
### [`v0.37.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.37.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0) #### What's Changed - Apply map_kind to args as well as rule kinds by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1722](https://togithub.com/bazelbuild/bazel-gazelle/pull/1722) - Add a pointer to bzlmod guide by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1781](https://togithub.com/bazelbuild/bazel-gazelle/pull/1781) - \[Extraction] prep for go.mod & go.work FilePath ReplaceDirective work by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://togithub.com/bazelbuild/bazel-gazelle/pull/1780) - \[cmd/fetch_repo] make cache corruption failures more clear by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1782](https://togithub.com/bazelbuild/bazel-gazelle/pull/1782) - Nit: pass -modcacherw in exec.Command. by [@hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1784](https://togithub.com/bazelbuild/bazel-gazelle/pull/1784) - Mention JS extension in Aspect CLI by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1646](https://togithub.com/bazelbuild/bazel-gazelle/pull/1646) - \[Feature] bzlmod & go.work by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1731](https://togithub.com/bazelbuild/bazel-gazelle/pull/1731) - Add GIT_CONFIG_\* env vars to go_repository allow-list by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1791](https://togithub.com/bazelbuild/bazel-gazelle/pull/1791) - Reformat with latest buildifier by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1792](https://togithub.com/bazelbuild/bazel-gazelle/pull/1792) - \[Feature] go.mod FilePath ReplaceDirective Support by [@stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1776](https://togithub.com/bazelbuild/bazel-gazelle/pull/1776) - Fix README.rst by [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://togithub.com/bazelbuild/bazel-gazelle/pull/1795) - Update README.rst by [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1796](https://togithub.com/bazelbuild/bazel-gazelle/pull/1796) - Normalise newlines on Windows by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1798](https://togithub.com/bazelbuild/bazel-gazelle/pull/1798) - Fix go.work use ROOT moddir by [@hunshcn](https://togithub.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://togithub.com/bazelbuild/bazel-gazelle/pull/1800) - allow go_visibility directive to change command package's visibility by [@hunshcn](https://togithub.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1794](https://togithub.com/bazelbuild/bazel-gazelle/pull/1794) - Ensure the Gazelle binary is built for the right platform by [@EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://togithub.com/bazelbuild/bazel-gazelle/pull/1803) - Add support for `debug_mode` option to `go_deps` by [@davidbyttow](https://togithub.com/davidbyttow) in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://togithub.com/bazelbuild/bazel-gazelle/pull/1806) - Remove special resolution of go_proto imports by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1807](https://togithub.com/bazelbuild/bazel-gazelle/pull/1807) - address nogo complaints about variable shadowing by [@pmenglund](https://togithub.com/pmenglund) in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://togithub.com/bazelbuild/bazel-gazelle/pull/1808) - Make `# gazelle:proto file` work without needing to set different `option go_package` in .proto files by [@jeromep-stripe](https://togithub.com/jeromep-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://togithub.com/bazelbuild/bazel-gazelle/pull/1765) - go_deps: ignore go.work toolchain directive by [@malt3](https://togithub.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1809](https://togithub.com/bazelbuild/bazel-gazelle/pull/1809) - prepare release 0.37.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1812](https://togithub.com/bazelbuild/bazel-gazelle/pull/1812) #### New Contributors - [@stefanpenner](https://togithub.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://togithub.com/bazelbuild/bazel-gazelle/pull/1780) - [@AugustKarlstedt](https://togithub.com/AugustKarlstedt) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://togithub.com/bazelbuild/bazel-gazelle/pull/1795) - [@hunshcn](https://togithub.com/hunshcn) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://togithub.com/bazelbuild/bazel-gazelle/pull/1800) - [@EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://togithub.com/bazelbuild/bazel-gazelle/pull/1803) - [@davidbyttow](https://togithub.com/davidbyttow) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://togithub.com/bazelbuild/bazel-gazelle/pull/1806) - [@pmenglund](https://togithub.com/pmenglund) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://togithub.com/bazelbuild/bazel-gazelle/pull/1808) - [@jeromep-stripe](https://togithub.com/jeromep-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://togithub.com/bazelbuild/bazel-gazelle/pull/1765) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0 ### [`v0.36.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.36.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.35.0...v0.36.0) #### What's Changed - Test with incompatible flags by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1696](https://togithub.com/bazelbuild/bazel-gazelle/pull/1696) - adding more default gazelle overrides by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1701](https://togithub.com/bazelbuild/bazel-gazelle/pull/1701) - rule: add accessor for attribute comments by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1700](https://togithub.com/bazelbuild/bazel-gazelle/pull/1700) - rule: set update flag on Rule.AddArg by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1702](https://togithub.com/bazelbuild/bazel-gazelle/pull/1702) - rule: rename GetAttrComments -> AttrComments by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1703](https://togithub.com/bazelbuild/bazel-gazelle/pull/1703) - Remove some usage of deprecated ioutil by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1704](https://togithub.com/bazelbuild/bazel-gazelle/pull/1704) - Allow passing Gazelle binary as a file by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1706](https://togithub.com/bazelbuild/bazel-gazelle/pull/1706) - rule: allow usage of Label struct with Rule APIs by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1705](https://togithub.com/bazelbuild/bazel-gazelle/pull/1705) - Remove ioutil usage by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1707](https://togithub.com/bazelbuild/bazel-gazelle/pull/1707) - doc: fix link to Swift gazelle plugin by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1708](https://togithub.com/bazelbuild/bazel-gazelle/pull/1708) - Fix two shellcheck warnings in gazelle.bash.in by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1710](https://togithub.com/bazelbuild/bazel-gazelle/pull/1710) - implement expression conversions via BzlExprValue interface by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1714](https://togithub.com/bazelbuild/bazel-gazelle/pull/1714) - update documentation for 0.35 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1712](https://togithub.com/bazelbuild/bazel-gazelle/pull/1712) - Update circl to v1.3.7 in tests by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1718](https://togithub.com/bazelbuild/bazel-gazelle/pull/1718) - rule: make value sorting configurable (alternative implementation) by [@t-8ch](https://togithub.com/t-8ch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1719](https://togithub.com/bazelbuild/bazel-gazelle/pull/1719) - Add check in `update-repos` to omit reading `WORKSPACE` on bzlmod only repos. by [@Megakuul](https://togithub.com/Megakuul) in [https://github.com/bazelbuild/bazel-gazelle/pull/1727](https://togithub.com/bazelbuild/bazel-gazelle/pull/1727) - Add default gazelle override for github.com/cockroachdb/errors. by [@fardream](https://togithub.com/fardream) in [https://github.com/bazelbuild/bazel-gazelle/pull/1728](https://togithub.com/bazelbuild/bazel-gazelle/pull/1728) - README: fix resolve_regexp doc by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1729](https://togithub.com/bazelbuild/bazel-gazelle/pull/1729) - feat(bzlmod): allow `default_gazelle_attributes` for `go_deps` extension by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1716](https://togithub.com/bazelbuild/bazel-gazelle/pull/1716) - add new std_packages from go 1.22 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1740](https://togithub.com/bazelbuild/bazel-gazelle/pull/1740) - fix: wrap generation test labels with Label() by [@pedrobarco](https://togithub.com/pedrobarco) in [https://github.com/bazelbuild/bazel-gazelle/pull/1743](https://togithub.com/bazelbuild/bazel-gazelle/pull/1743) - proto: Add Bzlmod support for well-known types by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1741](https://togithub.com/bazelbuild/bazel-gazelle/pull/1741) - Test BCR with Bazel 6.5.0 and 7.0.2 by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1744](https://togithub.com/bazelbuild/bazel-gazelle/pull/1744) - Set go_naming_convention for cel-go by [@riking](https://togithub.com/riking) in [https://github.com/bazelbuild/bazel-gazelle/pull/1746](https://togithub.com/bazelbuild/bazel-gazelle/pull/1746) - nit: fix error message in go_repository by [@hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1750](https://togithub.com/bazelbuild/bazel-gazelle/pull/1750) - Add `go_deps.config(env = ...)` as a replacement for `gazelle_dependencies(go_env = ...)` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1748](https://togithub.com/bazelbuild/bazel-gazelle/pull/1748) - Warn if integrity not specified for archive_override by [@scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/bazel-gazelle/pull/1753](https://togithub.com/bazelbuild/bazel-gazelle/pull/1753) - Use host module cache whithout build cache and verify it by [@scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/bazel-gazelle/pull/1755](https://togithub.com/bazelbuild/bazel-gazelle/pull/1755) - Update default_gazelle_overrides.bzl by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1758](https://togithub.com/bazelbuild/bazel-gazelle/pull/1758) - Mark `go_deps` extension as reproducible by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1761](https://togithub.com/bazelbuild/bazel-gazelle/pull/1761) - Ignore `purego` build constraint by [@mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/bazel-gazelle/pull/1767](https://togithub.com/bazelbuild/bazel-gazelle/pull/1767) - Expose path to root `go.mod` to rules_go by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1762](https://togithub.com/bazelbuild/bazel-gazelle/pull/1762) - Fix and expand `reproducible` usage in extensions by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1763](https://togithub.com/bazelbuild/bazel-gazelle/pull/1763) - Add is_bazel_module to deps.bzl. by [@spags-lacework](https://togithub.com/spags-lacework) in [https://github.com/bazelbuild/bazel-gazelle/pull/1771](https://togithub.com/bazelbuild/bazel-gazelle/pull/1771) - prepare release 0.36 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1752](https://togithub.com/bazelbuild/bazel-gazelle/pull/1752) #### New Contributors - [@t-8ch](https://togithub.com/t-8ch) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1700](https://togithub.com/bazelbuild/bazel-gazelle/pull/1700) - [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1704](https://togithub.com/bazelbuild/bazel-gazelle/pull/1704) - [@Megakuul](https://togithub.com/Megakuul) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1727](https://togithub.com/bazelbuild/bazel-gazelle/pull/1727) - [@fardream](https://togithub.com/fardream) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1728](https://togithub.com/bazelbuild/bazel-gazelle/pull/1728) - [@pedrobarco](https://togithub.com/pedrobarco) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1743](https://togithub.com/bazelbuild/bazel-gazelle/pull/1743) - [@riking](https://togithub.com/riking) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1746](https://togithub.com/bazelbuild/bazel-gazelle/pull/1746) - [@hauserx](https://togithub.com/hauserx) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1750](https://togithub.com/bazelbuild/bazel-gazelle/pull/1750) - [@scaiper](https://togithub.com/scaiper) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1753](https://togithub.com/bazelbuild/bazel-gazelle/pull/1753) - [@mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1767](https://togithub.com/bazelbuild/bazel-gazelle/pull/1767) - [@spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1771](https://togithub.com/bazelbuild/bazel-gazelle/pull/1771) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.35.0...v0.36.0 ### [`v0.35.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.35.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.34.0...v0.35.0) #### What's Changed - Don't run on centos7 in BCR presubmit and add maintainers by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1663](https://togithub.com/bazelbuild/bazel-gazelle/pull/1663) - update readme for v0.34.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1662](https://togithub.com/bazelbuild/bazel-gazelle/pull/1662) - nit: doc `gazelle_generation_test` use of `arguments.txt` by [@vpanta](https://togithub.com/vpanta) in [https://github.com/bazelbuild/bazel-gazelle/pull/1660](https://togithub.com/bazelbuild/bazel-gazelle/pull/1660) - feat(bzlmod): allow patches in `archive_override`s by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1665](https://togithub.com/bazelbuild/bazel-gazelle/pull/1665) - fix(bzlmod): fail on unused overrides by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1669](https://togithub.com/bazelbuild/bazel-gazelle/pull/1669) - Annotate more globs with `allow_empty = True` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1674](https://togithub.com/bazelbuild/bazel-gazelle/pull/1674) - Generate BUILD files for grpc compiler by [@mering](https://togithub.com/mering) in [https://github.com/bazelbuild/bazel-gazelle/pull/1672](https://togithub.com/bazelbuild/bazel-gazelle/pull/1672) - Disable lockfile check for BCR test module by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1673](https://togithub.com/bazelbuild/bazel-gazelle/pull/1673) - Make isolated extensions usable for Go tools by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1678](https://togithub.com/bazelbuild/bazel-gazelle/pull/1678) - bzlmod: support go.mod replace directives with a version qualifier on the left by [@andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/bazel-gazelle/pull/1679](https://togithub.com/bazelbuild/bazel-gazelle/pull/1679) - fix CI by running both WORKSPACE and Bzlmod on select packages by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1690](https://togithub.com/bazelbuild/bazel-gazelle/pull/1690) - disable lockfile by default by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1692](https://togithub.com/bazelbuild/bazel-gazelle/pull/1692) - feat(resolve): optimize applying overrides to be efficient by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1687](https://togithub.com/bazelbuild/bazel-gazelle/pull/1687) - feat(fix-update): allow user to profile commands with `pprof` by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1685](https://togithub.com/bazelbuild/bazel-gazelle/pull/1685) - Fix partial execution with mapped kinds by [@HALtheWise](https://togithub.com/HALtheWise) in [https://github.com/bazelbuild/bazel-gazelle/pull/1680](https://togithub.com/bazelbuild/bazel-gazelle/pull/1680) - prepare release 0.35.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1693](https://togithub.com/bazelbuild/bazel-gazelle/pull/1693) #### New Contributors - [@mering](https://togithub.com/mering) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1672](https://togithub.com/bazelbuild/bazel-gazelle/pull/1672) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.34.0...v0.35.0 ### [`v0.34.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.34.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.33.0...v0.34.0) #### What's Changed - update readme for v0.33.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1627](https://togithub.com/bazelbuild/bazel-gazelle/pull/1627) - Remove golang.org/x/crypto dep by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1631](https://togithub.com/bazelbuild/bazel-gazelle/pull/1631) - Fix map_kind with empty rules by [@lbcjbb](https://togithub.com/lbcjbb) in [https://github.com/bazelbuild/bazel-gazelle/pull/1441](https://togithub.com/bazelbuild/bazel-gazelle/pull/1441) - fix: add missing bzl_library declaration and dep by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1633](https://togithub.com/bazelbuild/bazel-gazelle/pull/1633) - chore: add bzl_test to ensure that bzl_library declarations exist by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1634](https://togithub.com/bazelbuild/bazel-gazelle/pull/1634) - Set runfiles environment variables for Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1632](https://togithub.com/bazelbuild/bazel-gazelle/pull/1632) - address comments from [#1597](https://togithub.com/bazelbuild/bazel-gazelle/issues/1597) by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1628](https://togithub.com/bazelbuild/bazel-gazelle/pull/1628) - Fix kinds and stmt by [@birunts](https://togithub.com/birunts) in [https://github.com/bazelbuild/bazel-gazelle/pull/1613](https://togithub.com/bazelbuild/bazel-gazelle/pull/1613) - Export workspace file in go_repository_config.bzl by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1641](https://togithub.com/bazelbuild/bazel-gazelle/pull/1641) - Add github.com/google/gnostic-models to default_gazelle_overrides.bzl by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1645](https://togithub.com/bazelbuild/bazel-gazelle/pull/1645) - Support parsing labels that begin '@@' by [@mark-thm](https://togithub.com/mark-thm) in [https://github.com/bazelbuild/bazel-gazelle/pull/1651](https://togithub.com/bazelbuild/bazel-gazelle/pull/1651) - Fix path for google/gnostic-models by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1652](https://togithub.com/bazelbuild/bazel-gazelle/pull/1652) - fix(bzlmod): allow passing build_extra_args in gazelle_override by [@casuallyhostile](https://togithub.com/casuallyhostile) in [https://github.com/bazelbuild/bazel-gazelle/pull/1648](https://togithub.com/bazelbuild/bazel-gazelle/pull/1648) - prepare release 0.34.0 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1656](https://togithub.com/bazelbuild/bazel-gazelle/pull/1656) #### New Contributors - [@casuallyhostile](https://togithub.com/casuallyhostile) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1648](https://togithub.com/bazelbuild/bazel-gazelle/pull/1648) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.33.0...v0.34.0 ### [`v0.33.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.33.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.32.0...v0.33.0) #### What's Changed - Generate BUILD files for grpc-gateway by default by [@seh](https://togithub.com/seh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1578](https://togithub.com/bazelbuild/bazel-gazelle/pull/1578) - Remove temporary workaround after rules_go 0.41.0 release by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1577](https://togithub.com/bazelbuild/bazel-gazelle/pull/1577) - bzlmod: Use first host-compatible SDK to bootstrap Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1581](https://togithub.com/bazelbuild/bazel-gazelle/pull/1581) - Update: golang.org/x/exp & golang.org/x/oauth2 deps. by [@sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) in [https://github.com/bazelbuild/bazel-gazelle/pull/1582](https://togithub.com/bazelbuild/bazel-gazelle/pull/1582) - \[README.rst] Mention kotlin PoC by [@kolloch](https://togithub.com/kolloch) in [https://github.com/bazelbuild/bazel-gazelle/pull/1590](https://togithub.com/bazelbuild/bazel-gazelle/pull/1590) - Fix and let `# gazelle:follow` accept a glob by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1596](https://togithub.com/bazelbuild/bazel-gazelle/pull/1596) - Add support for isolated `go_deps` usages by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1584](https://togithub.com/bazelbuild/bazel-gazelle/pull/1584) - feat(bzlmod): support archive_override in go_deps by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1559](https://togithub.com/bazelbuild/bazel-gazelle/pull/1559) - fix: avoid updating `WORKSPACE` file when running `update-repos` when bzlmod is enabled by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1589](https://togithub.com/bazelbuild/bazel-gazelle/pull/1589) - Make `go_deps.from_file` compatible with Go 1.21 by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1605](https://togithub.com/bazelbuild/bazel-gazelle/pull/1605) - go_repository: fix missing default GOPROXY by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1602](https://togithub.com/bazelbuild/bazel-gazelle/pull/1602) - fix: patch support for dir named workspace by [@michaellzc](https://togithub.com/michaellzc) in [https://github.com/bazelbuild/bazel-gazelle/pull/1606](https://togithub.com/bazelbuild/bazel-gazelle/pull/1606) - Revert "go_repository: fix missing default GOPROXY ([#1602](https://togithub.com/bazelbuild/bazel-gazelle/issues/1602))" by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1609](https://togithub.com/bazelbuild/bazel-gazelle/pull/1609) - Upgrade `golang.org/x/mod` Vendor to Support Go 1.21 by [@alan910127](https://togithub.com/alan910127) in [https://github.com/bazelbuild/bazel-gazelle/pull/1611](https://togithub.com/bazelbuild/bazel-gazelle/pull/1611) - fix: go_repository: never shadow a module with a compatibility mapping for major versions. by [@reltuk](https://togithub.com/reltuk) in [https://github.com/bazelbuild/bazel-gazelle/pull/1608](https://togithub.com/bazelbuild/bazel-gazelle/pull/1608) - bug fix: don't generate invalid go_binary rules for empty main packages by [@andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/bazel-gazelle/pull/1618](https://togithub.com/bazelbuild/bazel-gazelle/pull/1618) - Fix wrong Kotlin Support link in README. by [@duckladydinh](https://togithub.com/duckladydinh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1619](https://togithub.com/bazelbuild/bazel-gazelle/pull/1619) - bzlmod: Verify that the lockfile is platform-independent by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1617](https://togithub.com/bazelbuild/bazel-gazelle/pull/1617) - Add gazelle_rust under supported languages by [@Calsign](https://togithub.com/Calsign) in [https://github.com/bazelbuild/bazel-gazelle/pull/1620](https://togithub.com/bazelbuild/bazel-gazelle/pull/1620) - replace golang.org/x/tools with golang.org/x/tools/go/vcs@v0.1.0-deprecated by [@malt3](https://togithub.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1603](https://togithub.com/bazelbuild/bazel-gazelle/pull/1603) - Implement Merger interface by [@Whoaa512](https://togithub.com/Whoaa512) in [https://github.com/bazelbuild/bazel-gazelle/pull/1569](https://togithub.com/bazelbuild/bazel-gazelle/pull/1569) - Improve Gazelle launcher's runfiles discovery on Windows by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1604](https://togithub.com/bazelbuild/bazel-gazelle/pull/1604) - Add an entry for "github.com/googleapis/gax-go/v2" to default_gazelle_overrides.bzl by [@andrewmbenton](https://togithub.com/andrewmbenton) in [https://github.com/bazelbuild/bazel-gazelle/pull/1623](https://togithub.com/bazelbuild/bazel-gazelle/pull/1623) - add a go_test directive to enable generating go_test targets per \_test.go file by [@shahms](https://togithub.com/shahms) in [https://github.com/bazelbuild/bazel-gazelle/pull/1597](https://togithub.com/bazelbuild/bazel-gazelle/pull/1597) - Detect whether Gazelle itself is a Bazel module by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1624](https://togithub.com/bazelbuild/bazel-gazelle/pull/1624) - prepare release 0.33 by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1615](https://togithub.com/bazelbuild/bazel-gazelle/pull/1615) #### New Contributors - [@sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1582](https://togithub.com/bazelbuild/bazel-gazelle/pull/1582) - [@kolloch](https://togithub.com/kolloch) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1590](https://togithub.com/bazelbuild/bazel-gazelle/pull/1590) - [@shahms](https://togithub.com/shahms) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1596](https://togithub.com/bazelbuild/bazel-gazelle/pull/1596) - [@michaellzc](https://togithub.com/michaellzc) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1606](https://togithub.com/bazelbuild/bazel-gazelle/pull/1606) - [@alan910127](https://togithub.com/alan910127) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1611](https://togithub.com/bazelbuild/bazel-gazelle/pull/1611) - [@reltuk](https://togithub.com/reltuk) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1608](https://togithub.com/bazelbuild/bazel-gazelle/pull/1608) - [@andyscott](https://togithub.com/andyscott) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1618](https://togithub.com/bazelbuild/bazel-gazelle/pull/1618) - [@duckladydinh](https://togithub.com/duckladydinh) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1619](https://togithub.com/bazelbuild/bazel-gazelle/pull/1619) - [@Calsign](https://togithub.com/Calsign) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1620](https://togithub.com/bazelbuild/bazel-gazelle/pull/1620) - [@malt3](https://togithub.com/malt3) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1603](https://togithub.com/bazelbuild/bazel-gazelle/pull/1603) - [@andrewmbenton](https://togithub.com/andrewmbenton) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1623](https://togithub.com/bazelbuild/bazel-gazelle/pull/1623) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.32.0...v0.33.0 ### [`v0.32.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.32.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.31.1...v0.32.0) Starting this release, Gazelle no longer resolves Go and proto imports of Google APIs to `@go_googleapis`. Instead, Go packages from Google APIs will be treated as regular Go packages, and resolve to `@org_golang_google_genproto`, which contains the pre-generated Go code, with its version determined by Go modules. For proto files importing Google APIs proto and generating Go code, users need to: 1. Add an `http_archive` rule to download Google APIs, e.g., http_archive( name = "googleapis", sha256 = "9d1a930e767c93c825398b8f8692eca3fe353b9aaadedfbcf1fca2282c85df88", strip_prefix = "googleapis-64926d52febbf298cb82a8f472ade4a3969ba922", urls = [ "https://github.com/googleapis/googleapis/archive/64926d52febbf298cb82a8f472ade4a3969ba922.zip", ], ) load("@googleapis//:repository_rules.bzl", "switched_rules_by_language") switched_rules_by_language( name = "com_google_googleapis_imports", ) Note that the version of Google APIs archive needs to be compatible with the pre-generated code in `@org_golang_google_genproto`. 2. Resolve the proto manually. If Gazelle is being used, directives like the following need to be added to a parent directory of the proto files: ### gazelle:resolve proto proto google/rpc/status.proto @googleapis//google/rpc:status_proto ### gazelle:resolve proto go google/rpc/status.proto @org_golang_google_genproto//googleapis/rpc/status ### gazelle:resolve proto google/longrunning/operations.proto @googleapis//google/longrunning:operations_proto ### gazelle:resolve proto go google/longrunning/operations.proto @org_golang_google_genproto//googleapis/longrunning #### What's Changed - Decouple Google APIs by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1561](https://togithub.com/bazelbuild/bazel-gazelle/pull/1561) - resolve: Add a resolve_regexp directive by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/bazel-gazelle/pull/1542](https://togithub.com/bazelbuild/bazel-gazelle/pull/1542) - Remove module dependency on go_googleapis by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1563](https://togithub.com/bazelbuild/bazel-gazelle/pull/1563) - Testing on macOS arm64 by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1568](https://togithub.com/bazelbuild/bazel-gazelle/pull/1568) - Stop resolving to @io_bazel_rules_go//proto/wkt by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1567](https://togithub.com/bazelbuild/bazel-gazelle/pull/1567) - Fix directive table in Readme file by [@farhaven](https://togithub.com/farhaven) in [https://github.com/bazelbuild/bazel-gazelle/pull/1571](https://togithub.com/bazelbuild/bazel-gazelle/pull/1571) #### New Contributors - [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1542](https://togithub.com/bazelbuild/bazel-gazelle/pull/1542) - [@farhaven](https://togithub.com/farhaven) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1571](https://togithub.com/bazelbuild/bazel-gazelle/pull/1571) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.1...v0.32.0 ### [`v0.31.1`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.31.1) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.31.0...v0.31.1) #### What's Changed - point sync.Once in walkConfig by [@jmhodges](https://togithub.com/jmhodges) in [https://github.com/bazelbuild/bazel-gazelle/pull/1532](https://togithub.com/bazelbuild/bazel-gazelle/pull/1532) - add copylock vet to nogo by [@jmhodges](https://togithub.com/jmhodges) in [https://github.com/bazelbuild/bazel-gazelle/pull/1534](https://togithub.com/bazelbuild/bazel-gazelle/pull/1534) - bzlmod: Remove deprecated override attributes on `go_deps.module` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1548](https://togithub.com/bazelbuild/bazel-gazelle/pull/1548) - Add default directives for github.com/envoyproxy/protoc-gen-validate by [@mortenmj](https://togithub.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1553](https://togithub.com/bazelbuild/bazel-gazelle/pull/1553) - cmd/gazelle: do not use the epoch as timestamp in diff output by [@siddharthab](https://togithub.com/siddharthab) in [https://github.com/bazelbuild/bazel-gazelle/pull/1552](https://togithub.com/bazelbuild/bazel-gazelle/pull/1552) - fileinfo: fix not detecting 'unix' files to be OS specific by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1554](https://togithub.com/bazelbuild/bazel-gazelle/pull/1554) - language/go: Emit apparent repo name of rules_go in select keys by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1555](https://togithub.com/bazelbuild/bazel-gazelle/pull/1555) - Let `bazel_dep`s replace Go deps by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1526](https://togithub.com/bazelbuild/bazel-gazelle/pull/1526) #### New Contributors - [@mortenmj](https://togithub.com/mortenmj) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1553](https://togithub.com/bazelbuild/bazel-gazelle/pull/1553) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.0...v0.31.1 ### [`v0.31.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.31.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.30.0...v0.31.0) #### What's Changed - feat: allow passing GIT_CONFIG_COUNT and it's related configs by [@manuelnaranjo](https://togithub.com/manuelnaranjo) in [https://github.com/bazelbuild/bazel-gazelle/pull/1462](https://togithub.com/bazelbuild/bazel-gazelle/pull/1462) - feat(bzlmod): add `module_override` tag to allow patching in go_deps by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1500](https://togithub.com/bazelbuild/bazel-gazelle/pull/1500) - fix typo `build_proto_file_mode` in message by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1504](https://togithub.com/bazelbuild/bazel-gazelle/pull/1504) - fix: support running within a dir named workspace by [@jbedard](https://togithub.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1498](https://togithub.com/bazelbuild/bazel-gazelle/pull/1498) - fix: check for gazelle command before adding -repo_config flag by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1501](https://togithub.com/bazelbuild/bazel-gazelle/pull/1501) - language/go: Infer prefix from go.mod by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1497](https://togithub.com/bazelbuild/bazel-gazelle/pull/1497) - don't overwrite directives by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1503](https://togithub.com/bazelbuild/bazel-gazelle/pull/1503) - Support Bzlmod for gazelle itself by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1509](https://togithub.com/bazelbuild/bazel-gazelle/pull/1509) - language/go: Add windows arm64 as a known platform. by [@connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/bazel-gazelle/pull/1507](https://togithub.com/bazelbuild/bazel-gazelle/pull/1507) - Adding lifecycle manager by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1475](https://togithub.com/bazelbuild/bazel-gazelle/pull/1475) - Disable protobuf generation for more modules by [@seh](https://togithub.com/seh) in [https://github.com/bazelbuild/bazel-gazelle/pull/1514](https://togithub.com/bazelbuild/bazel-gazelle/pull/1514) - Support '~' in label repo by [@mark-thm](https://togithub.com/mark-thm) in [https://github.com/bazelbuild/bazel-gazelle/pull/1518](https://togithub.com/bazelbuild/bazel-gazelle/pull/1518) - language/go: Handle `unix` build tag. by [@connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/bazel-gazelle/pull/1512](https://togithub.com/bazelbuild/bazel-gazelle/pull/1512) - Pass data arg through to sh_binary if defined by [@Preston4tw](https://togithub.com/Preston4tw) in [https://github.com/bazelbuild/bazel-gazelle/pull/1483](https://togithub.com/bazelbuild/bazel-gazelle/pull/1483) - remove circular override hack by [@tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1515](https://togithub.com/bazelbuild/bazel-gazelle/pull/1515) - Add major version suffix download example by [@kriswuollett](https://togithub.com/kriswuollett) in [https://github.com/bazelbuild/bazel-gazelle/pull/1453](https://togithub.com/bazelbuild/bazel-gazelle/pull/1453) - Relax parsing of labels by [@purkhusid](https://togithub.com/purkhusid) in [https://github.com/bazelbuild/bazel-gazelle/pull/1508](https://togithub.com/bazelbuild/bazel-gazelle/pull/1508) - bzlmod: Add `build_file_generation` to `gazelle_override` by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1522](https://togithub.com/bazelbuild/bazel-gazelle/pull/1522) - Fix incremental build of to bootstrap Gazelle by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1529](https://togithub.com/bazelbuild/bazel-gazelle/pull/1529) - Support macros/rules packed within bazel `struct` by [@birunts](https://togithub.com/birunts) in [https://github.com/bazelbuild/bazel-gazelle/pull/1524](https://togithub.com/bazelbuild/bazel-gazelle/pull/1524) - Prefer non-proto over proto deps in external repos by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1537](https://togithub.com/bazelbuild/bazel-gazelle/pull/1537) - bzlmod: Return `extension_metadata` to automate `use_repo` fixes by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1511](https://togithub.com/bazelbuild/bazel-gazelle/pull/1511) - Fix `go:embed` failing to add `embedsrcs` for subdirectories named build by [@sgavinio](https://togithub.com/sgavinio) in [https://github.com/bazelbuild/bazel-gazelle/pull/1539](https://togithub.com/bazelbuild/bazel-gazelle/pull/1539) - Remove support for godep and dep by [@sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1541](https://togithub.com/bazelbuild/bazel-gazelle/pull/1541) - Avoid putting -repo_config after directories by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1544](https://togithub.com/bazelbuild/bazel-gazelle/pull/1544) - Dropping -args by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1546](https://togithub.com/bazelbuild/bazel-gazelle/pull/1546) #### New Contributors - [@connyay](https://togithub.com/connyay) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1507](https://togithub.com/bazelbuild/bazel-gazelle/pull/1507) - [@mark-thm](https://togithub.com/mark-thm) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1518](https://togithub.com/bazelbuild/bazel-gazelle/pull/1518) - [@Preston4tw](https://togithub.com/Preston4tw) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1483](https://togithub.com/bazelbuild/bazel-gazelle/pull/1483) - [@kriswuollett](https://togithub.com/kriswuollett) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1453](https://togithub.com/bazelbuild/bazel-gazelle/pull/1453) - [@purkhusid](https://togithub.com/purkhusid) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1508](https://togithub.com/bazelbuild/bazel-gazelle/pull/1508) - [@birunts](https://togithub.com/birunts) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1524](https://togithub.com/bazelbuild/bazel-gazelle/pull/1524) - [@sgavinio](https://togithub.com/sgavinio) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1539](https://togithub.com/bazelbuild/bazel-gazelle/pull/1539) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.30.0...v0.31.0 ### [`v0.30.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/v0.30.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.29.0...v0.30.0) #### What's Changed - fix: add missing Starlark dependency and introduce `bzl_test` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/bazel-gazelle/pull/1413](https://togithub.com/bazelbuild/bazel-gazelle/pull/1413) - Upgrade rules_go and known imports by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1426](https://togithub.com/bazelbuild/bazel-gazelle/pull/1426) - Regenerate known imports from downgraded go_googleapis by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1429](https://togithub.com/bazelbuild/bazel-gazelle/pull/1429) - testdata with buildable Go pkg deep below by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1433](https://togithub.com/bazelbuild/bazel-gazelle/pull/1433) - language/go: add //go:embed all:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.