github bazel-contrib/rules_go 0.18.0

latest releases: v0.50.1, v0.50.0, v0.49.0...
pre-release5 years ago

Compatibility

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_skylib has been updated to 0.7.0.
  • com_github_gogo_protobuf has been updated to v1.2.1.
  • com_github_golang_protobuf has been updated to v1.3.0.
  • com_github_kevinburke_go_bindata has been updated to v3.13.0.
  • com_github_mwitkow_go_proto_validators has been updated to master as of 2019-03-03.
  • com_google_protobuf has been updated to v3.7.0.
  • org_golang_google_grpc has been updated to v1.19.0.
  • org_golang_x_net has been updated to master as of 2019-03-03.
  • org_golang_x_sys has been updated to master as of 2019-03-03.
  • org_golang_x_tools has been updated to master as 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_test rule.

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()

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.