Repository navigation
0.18.0
Pre-releaseCompatibility
If you're using go_repository rules and Go 1.12, Gazelle 0.17.0 is now required. Earlier versions of go_repository don't work with Go 1.12.
Updated dependencies
REMINDER: If you need a different version of anything declared in go_rules_dependencies, follow the instructions at Overriding dependencies.
bazel_skylibhas been updated to0.7.0.com_github_gogo_protobufhas been updated tov1.2.1.com_github_golang_protobufhas been updated tov1.3.0.com_github_kevinburke_go_bindatahas been updated tov3.13.0.com_github_mwitkow_go_proto_validatorshas been updated tomasteras of 2019-03-03.com_google_protobufhas been updated tov3.7.0.org_golang_google_grpchas been updated tov1.19.0.org_golang_x_nethas been updated tomasteras of 2019-03-03.org_golang_x_syshas been updated tomasteras of 2019-03-03.org_golang_x_toolshas been updated tomasteras of 2019-03-03.
http_archive rules that depended on unstable GitHub URLs have been migrated to git_repository.
shallow_since has been set on git_repository rules to improve performance and silence warnings.
Deprecations
No new features have been deprecated.
The following deprecated features have been removed.
- Go 1.9 support.
- The
go_vet_testrule.
See Deprecation schedule for more information.
WORKSPACE code
To use this release, add the code below to your WORKSPACE file.
REMINDER: All workspace definitions have moved to @io_bazel_rules_go//go:deps.bzl from def.bzl.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.18.0/rules_go-0.18.0.tar.gz"],
sha256 = "301c8b39b0808c49f98895faa6aa8c92cbd605ab5ad4b6a3a652da33a1a2ba2e",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()