github bazelbuild/bazel-gazelle 0.9

latest releases: v0.39.0, v0.38.0, v0.37.0...
pre-release6 years ago
  • Added the update-repos command.
    • This can be used to import dependencies from dep's Gopkg.lock file as go_repository rules in WORKSPACE.
    • This should support more vendoring formats in the future.
    • We also plan to be able to add repositories automatically using unresolved import paths.
  • Added the help command.
  • go_grpc_library rules are now migrated to go_proto_library rules with a compilers attribute.
  • The prefix attribute is now optional in the gazelle rule.
  • Strings are never duplicated between generic, OS-specific, architecture-specific, and OS-and-architecture-specific sections in srcs, deps, and other attributes. This fixes an error that Bazel reports when the same dependency appeared to be OS-specific and architecture-specific.
  • Merged rules may now be deleted if they have no attributes that make them buildable (e.g., srcs, deps, embed). Previously, rules couldn't be deleted if they had attributes other than name and visibility. This caused rules to be preserved that only had attributes like proto and importpath.

Don't miss a new bazel-gazelle release

NewReleases is sending notifications on new releases.