bazelbuild/bazel-gazelle (bazel_gazelle)
### [`v0.39.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.39.0)
[Compare Source](https://redirect.github.com/bazelbuild/bazel-gazelle/compare/v0.38.0...v0.39.0)
#### What's Changed
- Add QNX and OSX to known platforms by [@hofbi](https://redirect.github.com/hofbi) in [https://github.com/bazelbuild/bazel-gazelle/pull/1853](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1853)
- Allow `+` in repo names by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1856](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1856)
- go_repository_cache: set GOTOOLCHAIN to 'local' by [@lbcjbb](https://redirect.github.com/lbcjbb) in [https://github.com/bazelbuild/bazel-gazelle/pull/1859](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1859)
- Fix Issue [#1855](https://redirect.github.com/bazelbuild/bazel-gazelle/issues/1855): "All Bazel commands fail when changing a Go dependency when using Bzlmod extension" by [@Buzz-Lightyear](https://redirect.github.com/Buzz-Lightyear) in [https://github.com/bazelbuild/bazel-gazelle/pull/1861](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1861)
- Add default directives for github.com/containerd by [@mering](https://redirect.github.com/mering) in [https://github.com/bazelbuild/bazel-gazelle/pull/1866](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1866)
- Add gazelle-overrides for argo, grpcgateway by [@udaya2899](https://redirect.github.com/udaya2899) in [https://github.com/bazelbuild/bazel-gazelle/pull/1867](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1867)
- refactor: remove file reference from ruleRecord by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1869](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1869)
- refactor: compute transitive embeds during indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1868](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1868)
- refactor: compute labelMap when indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1872](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1872)
- refactor: remove reference to rule.Rule in mapResolver interface by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1873](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1873)
- refactor: ensure rule index not modified after indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1877](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1877)
- docs: fix incorrect gazelle_generation_test param name by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1876](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1876)
- refactor: embed gazelle generation_test_binary in gazelle_generation_test instead of recompiling by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1875](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1875)
- refactor: make ruleRecord serializable by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1878](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1878)
- Add package metadata to `go_repository`s by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1852](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1852)
- refactor: process KindMap even when not indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1882](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1882)
- refactor: move walk util methods into struct by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1881](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1881)
- refactor: add nil assignments to verify interface implementations by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1883](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1883)
- perf: preload .bazelignore before configure, do not use globs by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1886](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1886)
- refactor: remove nested walk function literal by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1884](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1884)
- Preserve canonical labels as such by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1863](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1863)
- perf: check if directory in .bazelignore before readdir by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1890](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1890)
- revert [#1873](https://redirect.github.com/bazelbuild/bazel-gazelle/issues/1873) by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1897](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1897)
- rename `main()` entrypoints to `main.go` by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1901](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1901)
- Support timeout and size in gazelle_test by [@rockwotj](https://redirect.github.com/rockwotj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1909](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1909)
- feat: include package URL in package_info by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1917](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1917)
- perf: Improve rule.Kind by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1919](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1919)
- Fix patch file creation using Gazelle in diff mode by [@alandonham](https://redirect.github.com/alandonham) in [https://github.com/bazelbuild/bazel-gazelle/pull/1915](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1915)
- perf: Improve merger.Mergefile by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1920](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1920)
- test: add bazelignore test by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1912](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1912)
- perf: walk workspace directories in parallel by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1893](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1893)
- refactor: reduce path.join while walking repo by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1913](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1913)
- chore: upgrade go mod dependencies by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1911](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1911)
- prepare gazelle release 0.39 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1925](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1925)
- Add gazelle overrides to enable building rclone by [@dmcardle](https://redirect.github.com/dmcardle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1933](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1933)
#### New Contributors
- [@hofbi](https://redirect.github.com/hofbi) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1853](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1853)
- [@Buzz-Lightyear](https://redirect.github.com/Buzz-Lightyear) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1861](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1861)
- [@udaya2899](https://redirect.github.com/udaya2899) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1867](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1867)
- [@rockwotj](https://redirect.github.com/rockwotj) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1909](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1909)
- [@alandonham](https://redirect.github.com/alandonham) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1915](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1915)
- [@dmcardle](https://redirect.github.com/dmcardle) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1933](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1933)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.38.0...v0.39.0
### [`v0.38.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.38.0)
[Compare Source](https://redirect.github.com/bazelbuild/bazel-gazelle/compare/v0.37.0...v0.38.0)
#### What's Changed
- Add support for `include()` in `MODULE.bazel` by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1810](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1810)
- feat: gazelle_test test rule by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1785](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1785)
- Handle arm64 host platform for MacOS by [@smocherla-brex](https://redirect.github.com/smocherla-brex) in [https://github.com/bazelbuild/bazel-gazelle/pull/1817](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1817)
- go_repository: add 'clean' build_file_generation by [@TvdW](https://redirect.github.com/TvdW) in [https://github.com/bazelbuild/bazel-gazelle/pull/1802](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1802)
- fix: support leading ./ in .bazelignore by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1828](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1828)
- Restore compatibility with Go 1.18 by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1833](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1833)
- Remove reliance on specific canonical repo name scheme by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1835](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1835)
- temporarily disable `//internal:bazel_test` on Mac to fix CI by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1842](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1842)
- update readmes for latest release by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1840](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1840)
- \[Gazelle] Fix Duplicate Load Bug by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1841](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1841)
- \[Proto] Require space between 'service' and service name in regex matching by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1845](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1845)
- \[Proto] Keep track of the names of Services, Messages, and Enums by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1844](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1844)
- Always check files in generation tests by [@Whoaa512](https://redirect.github.com/Whoaa512) in [https://github.com/bazelbuild/bazel-gazelle/pull/1847](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1847)
- Support label using regexp in directive `gazelle:resolve_regexp` by [@lkassar-stripe](https://redirect.github.com/lkassar-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1822](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1822)
- Add `external/...` prefix to `${SRCDIR}` in external repos by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1850](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1850)
- feat(tools): add a tool to automate the generation of go_deps overrides by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1677](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1677)
- prepare release 0.38 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1849](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1849)
#### New Contributors
- [@smocherla-brex](https://redirect.github.com/smocherla-brex) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1817](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1817)
- [@TvdW](https://redirect.github.com/TvdW) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1802](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1802)
- [@ckilian867](https://redirect.github.com/ckilian867) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1841](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1841)
- [@lkassar-stripe](https://redirect.github.com/lkassar-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1822](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1822)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.37.0...v0.38.0
### [`v0.37.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.37.0)
[Compare Source](https://redirect.github.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://redirect.github.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1722](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1722)
- Add a pointer to bzlmod guide by [@sluongng](https://redirect.github.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1781](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1781)
- \[Extraction] prep for go.mod & go.work FilePath ReplaceDirective work by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1780)
- \[cmd/fetch_repo] make cache corruption failures more clear by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1782](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1782)
- Nit: pass -modcacherw in exec.Command. by [@hauserx](https://redirect.github.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1784](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1784)
- Mention JS extension in Aspect CLI by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1646](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1646)
- \[Feature] bzlmod & go.work by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1731](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1731)
- Add GIT_CONFIG_\* env vars to go_repository allow-list by [@mortenmj](https://redirect.github.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1791](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1791)
- Reformat with latest buildifier by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1792](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1792)
- \[Feature] go.mod FilePath ReplaceDirective Support by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1776](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1776)
- Fix README.rst by [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1795)
- Update README.rst by [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1796](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1796)
- Normalise newlines on Windows by [@illicitonion](https://redirect.github.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1798](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1798)
- Fix go.work use ROOT moddir by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1800)
- allow go_visibility directive to change command package's visibility by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1794](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1794)
- Ensure the Gazelle binary is built for the right platform by [@EdSchouten](https://redirect.github.com/EdSchouten) in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1803)
- Add support for `debug_mode` option to `go_deps` by [@davidbyttow](https://redirect.github.com/davidbyttow) in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1806)
- Remove special resolution of go_proto imports by [@linzhp](https://redirect.github.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1807](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1807)
- address nogo complaints about variable shadowing by [@pmenglund](https://redirect.github.com/pmenglund) in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://redirect.github.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://redirect.github.com/jeromep-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1765)
- go_deps: ignore go.work toolchain directive by [@malt3](https://redirect.github.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1809](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1809)
- prepare release 0.37.0 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1812](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1812)
#### New Contributors
- [@stefanpenner](https://redirect.github.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1780)
- [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1795)
- [@hunshcn](https://redirect.github.com/hunshcn) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1800)
- [@EdSchouten](https://redirect.github.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1803)
- [@davidbyttow](https://redirect.github.com/davidbyttow) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1806)
- [@pmenglund](https://redirect.github.com/pmenglund) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1808)
- [@jeromep-stripe](https://redirect.github.com/jeromep-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1765)
**Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0
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 is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v0.36.0
->v0.39.0
0.36.0
->0.38.0
Release Notes
bazelbuild/bazel-gazelle (bazel_gazelle)
### [`v0.39.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.39.0) [Compare Source](https://redirect.github.com/bazelbuild/bazel-gazelle/compare/v0.38.0...v0.39.0) #### What's Changed - Add QNX and OSX to known platforms by [@hofbi](https://redirect.github.com/hofbi) in [https://github.com/bazelbuild/bazel-gazelle/pull/1853](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1853) - Allow `+` in repo names by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1856](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1856) - go_repository_cache: set GOTOOLCHAIN to 'local' by [@lbcjbb](https://redirect.github.com/lbcjbb) in [https://github.com/bazelbuild/bazel-gazelle/pull/1859](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1859) - Fix Issue [#1855](https://redirect.github.com/bazelbuild/bazel-gazelle/issues/1855): "All Bazel commands fail when changing a Go dependency when using Bzlmod extension" by [@Buzz-Lightyear](https://redirect.github.com/Buzz-Lightyear) in [https://github.com/bazelbuild/bazel-gazelle/pull/1861](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1861) - Add default directives for github.com/containerd by [@mering](https://redirect.github.com/mering) in [https://github.com/bazelbuild/bazel-gazelle/pull/1866](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1866) - Add gazelle-overrides for argo, grpcgateway by [@udaya2899](https://redirect.github.com/udaya2899) in [https://github.com/bazelbuild/bazel-gazelle/pull/1867](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1867) - refactor: remove file reference from ruleRecord by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1869](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1869) - refactor: compute transitive embeds during indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1868](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1868) - refactor: compute labelMap when indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1872](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1872) - refactor: remove reference to rule.Rule in mapResolver interface by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1873](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1873) - refactor: ensure rule index not modified after indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1877](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1877) - docs: fix incorrect gazelle_generation_test param name by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1876](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1876) - refactor: embed gazelle generation_test_binary in gazelle_generation_test instead of recompiling by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1875](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1875) - refactor: make ruleRecord serializable by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1878](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1878) - Add package metadata to `go_repository`s by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1852](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1852) - refactor: process KindMap even when not indexing by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1882](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1882) - refactor: move walk util methods into struct by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1881](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1881) - refactor: add nil assignments to verify interface implementations by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1883](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1883) - perf: preload .bazelignore before configure, do not use globs by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1886](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1886) - refactor: remove nested walk function literal by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1884](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1884) - Preserve canonical labels as such by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1863](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1863) - perf: check if directory in .bazelignore before readdir by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1890](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1890) - revert [#1873](https://redirect.github.com/bazelbuild/bazel-gazelle/issues/1873) by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1897](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1897) - rename `main()` entrypoints to `main.go` by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1901](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1901) - Support timeout and size in gazelle_test by [@rockwotj](https://redirect.github.com/rockwotj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1909](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1909) - feat: include package URL in package_info by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1917](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1917) - perf: Improve rule.Kind by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1919](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1919) - Fix patch file creation using Gazelle in diff mode by [@alandonham](https://redirect.github.com/alandonham) in [https://github.com/bazelbuild/bazel-gazelle/pull/1915](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1915) - perf: Improve merger.Mergefile by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazelbuild/bazel-gazelle/pull/1920](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1920) - test: add bazelignore test by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1912](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1912) - perf: walk workspace directories in parallel by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1893](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1893) - refactor: reduce path.join while walking repo by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1913](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1913) - chore: upgrade go mod dependencies by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1911](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1911) - prepare gazelle release 0.39 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1925](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1925) - Add gazelle overrides to enable building rclone by [@dmcardle](https://redirect.github.com/dmcardle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1933](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1933) #### New Contributors - [@hofbi](https://redirect.github.com/hofbi) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1853](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1853) - [@Buzz-Lightyear](https://redirect.github.com/Buzz-Lightyear) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1861](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1861) - [@udaya2899](https://redirect.github.com/udaya2899) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1867](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1867) - [@rockwotj](https://redirect.github.com/rockwotj) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1909](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1909) - [@alandonham](https://redirect.github.com/alandonham) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1915](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1915) - [@dmcardle](https://redirect.github.com/dmcardle) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1933](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1933) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.38.0...v0.39.0 ### [`v0.38.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.38.0) [Compare Source](https://redirect.github.com/bazelbuild/bazel-gazelle/compare/v0.37.0...v0.38.0) #### What's Changed - Add support for `include()` in `MODULE.bazel` by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1810](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1810) - feat: gazelle_test test rule by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1785](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1785) - Handle arm64 host platform for MacOS by [@smocherla-brex](https://redirect.github.com/smocherla-brex) in [https://github.com/bazelbuild/bazel-gazelle/pull/1817](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1817) - go_repository: add 'clean' build_file_generation by [@TvdW](https://redirect.github.com/TvdW) in [https://github.com/bazelbuild/bazel-gazelle/pull/1802](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1802) - fix: support leading ./ in .bazelignore by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/bazelbuild/bazel-gazelle/pull/1828](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1828) - Restore compatibility with Go 1.18 by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1833](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1833) - Remove reliance on specific canonical repo name scheme by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1835](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1835) - temporarily disable `//internal:bazel_test` on Mac to fix CI by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1842](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1842) - update readmes for latest release by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1840](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1840) - \[Gazelle] Fix Duplicate Load Bug by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1841](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1841) - \[Proto] Require space between 'service' and service name in regex matching by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1845](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1845) - \[Proto] Keep track of the names of Services, Messages, and Enums by [@ckilian867](https://redirect.github.com/ckilian867) in [https://github.com/bazelbuild/bazel-gazelle/pull/1844](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1844) - Always check files in generation tests by [@Whoaa512](https://redirect.github.com/Whoaa512) in [https://github.com/bazelbuild/bazel-gazelle/pull/1847](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1847) - Support label using regexp in directive `gazelle:resolve_regexp` by [@lkassar-stripe](https://redirect.github.com/lkassar-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1822](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1822) - Add `external/...` prefix to `${SRCDIR}` in external repos by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1850](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1850) - feat(tools): add a tool to automate the generation of go_deps overrides by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1677](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1677) - prepare release 0.38 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1849](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1849) #### New Contributors - [@smocherla-brex](https://redirect.github.com/smocherla-brex) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1817](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1817) - [@TvdW](https://redirect.github.com/TvdW) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1802](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1802) - [@ckilian867](https://redirect.github.com/ckilian867) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1841](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1841) - [@lkassar-stripe](https://redirect.github.com/lkassar-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1822](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1822) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.37.0...v0.38.0 ### [`v0.37.0`](https://redirect.github.com/bazelbuild/bazel-gazelle/releases/tag/v0.37.0) [Compare Source](https://redirect.github.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://redirect.github.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1722](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1722) - Add a pointer to bzlmod guide by [@sluongng](https://redirect.github.com/sluongng) in [https://github.com/bazelbuild/bazel-gazelle/pull/1781](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1781) - \[Extraction] prep for go.mod & go.work FilePath ReplaceDirective work by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1780) - \[cmd/fetch_repo] make cache corruption failures more clear by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1782](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1782) - Nit: pass -modcacherw in exec.Command. by [@hauserx](https://redirect.github.com/hauserx) in [https://github.com/bazelbuild/bazel-gazelle/pull/1784](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1784) - Mention JS extension in Aspect CLI by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/bazel-gazelle/pull/1646](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1646) - \[Feature] bzlmod & go.work by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1731](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1731) - Add GIT_CONFIG_\* env vars to go_repository allow-list by [@mortenmj](https://redirect.github.com/mortenmj) in [https://github.com/bazelbuild/bazel-gazelle/pull/1791](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1791) - Reformat with latest buildifier by [@fmeum](https://redirect.github.com/fmeum) in [https://github.com/bazelbuild/bazel-gazelle/pull/1792](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1792) - \[Feature] go.mod FilePath ReplaceDirective Support by [@stefanpenner](https://redirect.github.com/stefanpenner) in [https://github.com/bazelbuild/bazel-gazelle/pull/1776](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1776) - Fix README.rst by [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1795) - Update README.rst by [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) in [https://github.com/bazelbuild/bazel-gazelle/pull/1796](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1796) - Normalise newlines on Windows by [@illicitonion](https://redirect.github.com/illicitonion) in [https://github.com/bazelbuild/bazel-gazelle/pull/1798](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1798) - Fix go.work use ROOT moddir by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1800) - allow go_visibility directive to change command package's visibility by [@hunshcn](https://redirect.github.com/hunshcn) in [https://github.com/bazelbuild/bazel-gazelle/pull/1794](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1794) - Ensure the Gazelle binary is built for the right platform by [@EdSchouten](https://redirect.github.com/EdSchouten) in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1803) - Add support for `debug_mode` option to `go_deps` by [@davidbyttow](https://redirect.github.com/davidbyttow) in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1806) - Remove special resolution of go_proto imports by [@linzhp](https://redirect.github.com/linzhp) in [https://github.com/bazelbuild/bazel-gazelle/pull/1807](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1807) - address nogo complaints about variable shadowing by [@pmenglund](https://redirect.github.com/pmenglund) in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://redirect.github.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://redirect.github.com/jeromep-stripe) in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1765) - go_deps: ignore go.work toolchain directive by [@malt3](https://redirect.github.com/malt3) in [https://github.com/bazelbuild/bazel-gazelle/pull/1809](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1809) - prepare release 0.37.0 by [@tyler-french](https://redirect.github.com/tyler-french) in [https://github.com/bazelbuild/bazel-gazelle/pull/1812](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1812) #### New Contributors - [@stefanpenner](https://redirect.github.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1780](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1780) - [@AugustKarlstedt](https://redirect.github.com/AugustKarlstedt) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1795](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1795) - [@hunshcn](https://redirect.github.com/hunshcn) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1800](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1800) - [@EdSchouten](https://redirect.github.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1803](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1803) - [@davidbyttow](https://redirect.github.com/davidbyttow) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1806](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1806) - [@pmenglund](https://redirect.github.com/pmenglund) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1808](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1808) - [@jeromep-stripe](https://redirect.github.com/jeromep-stripe) made their first contribution in [https://github.com/bazelbuild/bazel-gazelle/pull/1765](https://redirect.github.com/bazelbuild/bazel-gazelle/pull/1765) **Full Changelog**: https://github.com/bazelbuild/bazel-gazelle/compare/v0.36.0...v0.37.0Configuration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.