github bazelbuild/bazel-gazelle v0.20.0

latest releases: v0.36.0, v0.35.0, v0.34.0...
pre-release4 years ago

General changes

  • When update-repos is invoked with -to_macro, Gazelle will add a call to the macro and a # gazelle:repository_macro directive to WORKSPACE if neither is present.

Go changes

  • Gazelle will avoid generating duplicate go_repository rules when two module paths differ only in case. Thanks to @linzhp.
  • When deriving a repository name from an import path, all non-word characters will be replaced with underscores, not just dots and slashes. Consecutive non-word characters will be collapsed to a single underscore. Thanks to @carnott-snap.
  • Imported repository rules are now sorted.

Proto changes

  • Gazelle will add load statements for proto_library to comply with --incompatible_load_proto_rules_from_bzl. Thanks to @Yannic.
  • Fixed a bug recognizing services in .proto files. Thanks to @asv.

Don't miss a new bazel-gazelle release

NewReleases is sending notifications on new releases.