Skip to content

v0.25.0

Compare
Choose a tag to compare
@blico blico released this 23 Mar 23:00
· 356 commits to master since this release
6473a8b

Go changes

  • Introduce static dependency resolution mode which prevents Gazelle from calling out the network. go_repository rules now default to this mode, showing significant performance improvements for some repo rules by @blico in #1201
  • go_repository rules no longer log Gazelle warnings, unless debug mode is explictly set by @blico in #1205
  • Support canonical_id attribute for go_repository by @kmicklas in #1121

Proto changes

  • Add per-file mode for proto_library generation by @wolfd in #1033

General changes

Full Changelog: v0.24.0...v0.25.0

WORKSPACE code

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_gazelle",
    sha256 = "5982e5463f171da99e3bdaeff8c0f48283a7a5f396ec5282910b9e8a49c0dd7e",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.25.0/bazel-gazelle-v0.25.0.tar.gz",
        "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.25.0/bazel-gazelle-v0.25.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()