Skip to content

0.18.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@jayconrod jayconrod released this 09 Jul 17:13
· 16 commits to release-0.18 since this release

New Go versions

Go 1.12.7 and 1.11.12 are now supported.

Compatibility and bug fixes

Several small bug fixes and compatibility improvements are included in this release.

However, recent Bazel compatibility changes have required significant changes in rules_go that cannot be backported to this branch. In particular, the new C/C++ toolchain selection mechanism causes problems with rules_go cross-compilation. This is fixed on master, and we'll be releasing rules_go 0.19.0 soon. Until then, if you have issues with cross-compilation, you may need to use either Bazel 0.25.2 or rules_go at master.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

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/0.18.7/rules_go-0.18.7.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/0.18.7/rules_go-0.18.7.tar.gz",
    ],
    sha256 = "45409e6c4f748baa9e05f8f6ab6efaa05739aa064e3ab94e5a1a09849c51806a",
)

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

go_rules_dependencies()

go_register_toolchains()