github bazelbuild/rules_go 0.7.1

latest releases: v0.47.1, v0.47.0, v0.46.0...
pre-release6 years ago

Bug fixes and small features

This is a fairly small release with a few bug fixes and small features. This is the last release before we upgrade to Bazel 0.8, which incorporates several features for cross-platform support which we plan to use as soon as possible.

The following changes are included in this release:

  • Bazel 0.7 is now the minimum Bazel version.
  • Several bug fixes for aspect-based builds. This mostly affects "pure" mode and cross-compilation.
  • Several fixes for performance regressions. This resolved some restructuring of our providers to avoid hashing a large amount of data in depsets.
  • Gazelle converts library attributes to embed. These attributes cover the same concept, but embed accepts a list of targets instead of one.
  • go_source is a new rule which specifies a group of srcs and deps that can be used as a target in embed attributes. Unlike go_library, these rules cannot be built independently.
  • Dropped support for Go 1.7.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.7.1/rules_go-0.7.1.tar.gz",
    sha256 = "341d5eacef704415386974bc82a1783a8b7ffbff2ab6ba02375e1ca20d9b031c",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

Direct download: rules_go-0.7.1.tar.gz

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.