v0.22.1
Pre-release
Pre-release
Bug fixes
Go
- The version of rules_go may now be inferred from
WORKSPACEif the repositoryio_bazel_rules_gohasn't been fetched yet. - The
gazelle_binaryrule should now work correctly with previous versions of rules_go. - In the
importandimport_aliasnaming conventions, dots will be replaced with underscores in generated test names. This avoids generating targets that have the same names as source files. update-repos -from_file=go.modshould no longer fail mysteriously whengo.modhas areplacedirective that uses a relative path. Local replacements are still not supported though. (thanks @dragonsinth)
WORKSPACE code
http_archive(
name = "bazel_gazelle",
sha256 = "72d339ff874a382f819aaea80669be049069f502d6c726a07759fdca99653c48",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.1/bazel-gazelle-v0.22.1.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.1/bazel-gazelle-v0.22.1.tar.gz",
],
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()