What's Changed
- fix(tests): fix gazelle_generation_test expected stderr update by @jbedard in #1220
- Add an e2e test confirming no output on success by @achew22 in #1216
- Update extend.md with a practical languages example by @Anthony-Bible in #1222
- fix: Remove gazelle_binary import collision by @illicitonion in #1226
- Broaden label name regex by @illicitonion in #1229
- gazelle_generation_test: redact workspace path from output by @dr-dime in #1231
- Add -print0 to print names of rewritten files by @dr-dime in #1213
- Code Quality Improvements by @sluongng in #1197
- Add -strict to exit on build file and directive errors by @dr-dime in #1214
- fix(lang/proto): include imports from different targets by @nickgooding in #1237
- Update rules example in README to v0.25.0 by @yujunz in #1240
- Allow static dependency resolution for Gazelle rule by @uhthomas in #1242
- Handle wrapped errors by @illicitonion in #1234
- Go: Update tests to use cmp.Diff instead of reflect.DeepEqual by @thempatel in #1244
- Fix startup script manifest resolution with --nolegacy_external_runfiles by @jvolkman in #1247
- Label's package may contain @s by @illicitonion in #1249
- Trim runfiles prefix consistently by @uhthomas in #1257
- Respect .bazelignore by @Whoaa512 in #1245
- Implement very minimalistic support for go workspaces by @HakanSunay in #1250
- Fix typo in comment by @yujunz in #1270
- Use
patch
from@bazel_tools//tools/build_defs/repo:utils.bzl
by @bozaro in #1269 - Update rules_go to 0.33.0 by @fmeum in #1263
- Add support for auth_patterns in go_repository by @dmivankov in #1254
- Sluongng/revert patch by @sluongng in #1277
- Stop inferring import path for empty packages by @linzhp in #1280
- Don't exclude spaces from the label name regex by @illicitonion in #1271
New Contributors
- @Anthony-Bible made their first contribution in #1222
- @dr-dime made their first contribution in #1231
- @sluongng made their first contribution in #1197
- @nickgooding made their first contribution in #1237
- @yujunz made their first contribution in #1240
- @uhthomas made their first contribution in #1242
- @thempatel made their first contribution in #1244
- @Whoaa512 made their first contribution in #1245
- @HakanSunay made their first contribution in #1250
- @bozaro made their first contribution in #1269
- @fmeum made their first contribution in #1263
- @dmivankov made their first contribution in #1254
Full Changelog: v0.25.0...v0.26.0
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_gazelle",
sha256 = "501deb3d5695ab658e82f6f6f549ba681ea3ca2a5fb7911154b5aa45596183fa",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.26.0/bazel-gazelle-v0.26.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.26.0/bazel-gazelle-v0.26.0.tar.gz",
],
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
############################################################
# Define your own dependencies here using go_repository.
# Else, dependencies declared by rules_go/gazelle will be used.
# The first declaration of an external repository "wins".
############################################################
gazelle_dependencies()