This is a maintenance release to support Bazel 5.0. No new feature was added since last release.
Changes
- Add support for bazel 5.0.0 (#3068). Thanks to @moisesvega
- Update documents (#3057, #3067). Thanks to @bcspragu and @jeongukjae
- BUILD file clean up. Thanks to @JamyDev
- symlink everything under lib/ when using local SDK (#3074). Thanks to @irfansharif
Updated dependencies
As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.
platforms
updated to 0.0.5 as of 2022-03-14.bazel_skylib
updated to 1.2.1 as of 2022-03-14.org_golang_x_tools
updated to v0.1.9 as of 2022-03-14.org_golang_x_sys
updated tomaster
as of 2022-03-14.org_golang_google_genproto
updated tomain
as of 2022-03-14.go_googleapis
updated tomaster
as of 2022-03-14.
Thanks @moisesvega for updating the dependencies and preparing the release notes.
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "f2dcd210c7095febe54b804bb1cd3a58fe8435a909db2ec04e31542631cf715c",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.18")