Skip to content

v0.21.0

Pre-release
Pre-release

Choose a tag to compare

@jayconrod jayconrod released this 10 Jan 16:24
· 19 commits to release-0.21 since this release
54ed32e

Compatibility

  • The minimum supported version of Bazel is now 1.2.0 (was 0.23.0). Some of our dependencies are no longer compatible with old versions of Bazel, so we needed to drop some support.
  • The go_rule wrapper function is now deprecated, since it doesn't work well after some Bazel compatibility changes in 2.0.0. See the deprecation schedule for rationale and migration information. In general, we're evaluating a change to the way we handle toolchains and flags in order to better support configurations. If you have custom rules declared with go_rule or go_context or if you use custom toolchains compatible with go_toolchain, please reach out via go-bazel-discuss or on the #bazel channel on Gophers Slack.

Changes

This release contains no significant user facing changes. Several bugs are fixed, and dependencies are updated. Compatibility with Bazel 2.0.0 and later versions is improved.

Updated dependencies

WORKSPACE code

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

http_archive(
    name = "io_bazel_rules_go",
    urls = [
        "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.21.0/rules_go-v0.21.0.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.21.0/rules_go-v0.21.0.tar.gz",
    ],
    sha256 = "b27e55d2dcc9e6020e17614ae6e0374818a3e3ce6f2024036e688ada24110444",
)

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

go_rules_dependencies()

go_register_toolchains()