Changes
- Several internal changes and fixes have been made to the way we handle paths passed to the compiler and linker. These changes shouldn't affect most projects, but large builds on macOS and Windows should see fewer errors about long paths and command lines.
- Gazelle and its dependencies have been removed from
go_rules_dependencies()
. If you use Gazelle, you should load it fromgithub.com/bazelbuild/bazel-gazelle
instead. - The minimum supported Bazel version is now 0.16.0.
Updated dependencies
- The following repositories are no longer declared in
go_rules_dependencies
.bazel_gazelle
(github.com/bazelbuild/bazel-gazelle
)com_github_bazelbuild_buildtools
(github.com/bazelbuild/buildtools
)com_github_pelletier_go_toml
(github.com/pelletier/go-toml
)
org_golang_x_sys
(golang.org/x/sys
) has been added togo_rules_dependencies
, since it's now a dependency oforg_golang_google_grpc
(google.golang.org/grpc
).org_golang_google_genproto
(google.golang.org/genproto
) updated tomaster
as of 2018-08-13.go_googleapis
(github.com/googleapis/googleapis
) updated tomaster
as of 2018-08-08.
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.15.0/rules_go-0.15.0.tar.gz",
sha256 = "56d946edecb9879aed8dff411eb7a901f687e242da4fa95c81ca08938dd23bb4",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()