Skip to content

Releases: bazel-contrib/rules_go

v0.22.1

26 Feb 21:07
Compare
Choose a tag to compare
v0.22.1 Pre-release
Pre-release

Bug fix

This release fixes an issue with generated rules in the @go_googleapis repository (#2387).

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.22.0

26 Feb 16:09
742678a
Compare
Choose a tag to compare
v0.22.0 Pre-release
Pre-release

New Go versions

Go 1.14 is now supported.

Compatibility

This release is outside the normal release schedule. It updates the version of com_github_golang_protobuf declared in go_rules_dependencies (along with other dependencies) in order to maintain compatibility with the newest version of com_google_cloud_go and other repositories that require the latest proto compiler.

Updated dependencies

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.21.4

26 Feb 16:09
Compare
Choose a tag to compare
v0.21.4 Pre-release
Pre-release

New Go versions

Go 1.14 is now supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.21.3

13 Feb 19:22
Compare
Choose a tag to compare
v0.21.3 Pre-release
Pre-release

New Go versions

Go 1.13.8 and 1.12.17 are now supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.20.7

13 Feb 19:22
Compare
Choose a tag to compare
v0.20.7 Pre-release
Pre-release

New Go versions

Go 1.13.8 and 1.12.17 are now supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.21.2

03 Feb 18:43
Compare
Choose a tag to compare
v0.21.2 Pre-release
Pre-release

Changes

This release fixes a compatibility issue with Bazel at HEAD.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.20.6

03 Feb 18:43
Compare
Choose a tag to compare
v0.20.6 Pre-release
Pre-release

Changes

This release fixes a compatibility issue with Bazel at HEAD.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.21.1

28 Jan 19:46
Compare
Choose a tag to compare
v0.21.1 Pre-release
Pre-release

New Go versions

Go 1.13.7 and 1.12.16 are now supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.20.5

28 Jan 19:46
Compare
Choose a tag to compare
v0.20.5 Pre-release
Pre-release

New Go versions

Go 1.13.7 and 1.12.16 are now supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()

v0.21.0

10 Jan 16:24
54ed32e
Compare
Choose a tag to compare
v0.21.0 Pre-release
Pre-release

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