github bazelbuild/rules_go v0.24.0

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

Changes

  • Coverage mode is set to atomic when race mode is enabled (thanks @linzhp).
  • The flag --@io_bazel_rules_go//go/config:incompatible_package_conflict_is_error may be used to opt into an error when multiple packages with the same package path are passed to the linker. In v0.25.0, this flag will be removed and the behavior will always be on (thanks @Yannic).
  • Improved compatibility with proto APIv2. Note that we are not yet using APIv2 generators until the gRPC generator is stable. See #2522 for details.
  • Export data and nogo facts are copied into a separate archive from compiled code. This should reduce the need to recompile dependent packages after incremental changes (thanks @linzhp).

Compatibility

  • No significant changes to Bazel or Go compatibility in this release.
  • Removal of deprecated features postponed to next release. See Deprecation schedule for details.

Updated dependencies

  • platforms is updated to master as of 2020-08-24.
  • rules_cc is updated to master as of 2020-08-24.
  • org_golang_x_tools is updated to master as of 2020-08-24.
  • org_golang_x_xerrors is updated to master as of 2020-08-24.
  • org_golang_google_protobuf is updated to v1.25.0.
  • com_github_golang_protobuf is updated to v1.4.2.
  • com_github_mwitkow_go_proto_validators is updated to v0.3.2.
  • org_golang_google_genproto is updated to master as of 2020-08-24.
  • go_googleapis is updated to master as of 2020-08-24.

WORKSPACE code

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "08369b54a7cbe9348eea474e36c9bbb19d47101e8860cec75cbf1ccd4f749281",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.0/rules_go-v0.24.0.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.24.0/rules_go-v0.24.0.tar.gz",
    ],
)

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains()

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.