atlassian / bazel-tools

Reusable bits for Bazel
Apache License 2.0
113 stars 36 forks source link

Update dependency io_bazel_rules_go to v0.23.3 #93

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
io_bazel_rules_go http_archive minor 0.15.4 -> v0.23.3
io_bazel_rules_go http_archive minor v0.22.3 -> v0.23.3

Release Notes

bazelbuild/rules_go ### [`v0.23.3`](https://togithub.com/bazelbuild/rules_go/releases/v0.23.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.23.2...v0.23.3) #### New Go versions Go 1.14.4 and 1.13.12 are now supported. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "a8d6b1b354d371a646d2f7927319974e0f9e52f73a2452d2b3877118169eb6bb", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.3/rules_go-v0.23.3.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.23.3/rules_go-v0.23.3.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.23.2`](https://togithub.com/bazelbuild/rules_go/releases/v0.23.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.23.1...v0.23.2) #### Bug fixes - `race` and `msan` instrumentation is now disabled when `pure` mode is enabled. Both kinds of instrumentation require cgo, so they're not compatible with `pure`. - The coverage mode is set to `atomic` when `race` instrumentation is enabled. (Thanks to [@​linzhp](https://togithub.com/linzhp)) - `go_proto_library` targets for well known types in `@io_bazel_rules_go//proto/wkt` now compile pre-generated sources, which are specially built for compatibility with APIv2. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "0c10738a488239750dbf35336be13252bad7c74348f867d30c3c3e0001906096", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.23.1`](https://togithub.com/bazelbuild/rules_go/releases/v0.23.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.23.0...v0.23.1) #### New Go versions Go 1.14.3 and 1.13.11 are now supported. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "87f0fb9747854cb76a0a82430adccb6269f7d394237104a4523b51061c469171", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.1/rules_go-v0.23.1.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.23.1/rules_go-v0.23.1.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.23.0`](https://togithub.com/bazelbuild/rules_go/releases/v0.23.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.6...v0.23.0) #### Changes - rules_go now supports the [new API for protocol buffers](https://blog.golang.org/protobuf-apiv2). - To summarize the announcement, there's a new protobuf module, `google.golang.org/protobuf` (APIv2). The old module, `github.com/golang/protobuf` (APIv1) has been re-implemented in terms of the new module. Using either API is fine. - rules_go will continue to use `protoc-gen-go` from APIv1 for now, since the APIv2 does not support gRPC, and there is no gRPC generator yet. See the note on [gRPC support in the v1.20.0 release notes](https://togithub.com/protocolbuffers/protobuf-go/releases#v1.20-grpc-support). - Code generated with either module should work with both APIs. However, code generated with older versions of APIv1 will not not work with the latest version of either module. - rules_go has migrated to Starlark build settings and configuration transitions. - Instead of using feature flags like `--features=race`, you can now use flags like `--@​io_bazel_rules_go//go/config:race`. - `go_binary` and `go_test` mode attributes such as `race`, `pure`, `goos`, and `goarch` have been reimplemented using transitions. Conditional dependencies chosen with `select` should now work correctly. - `go_binary` and `go_test` now support a `gotags` attribute, which lets a binary and its dependencies be built with a list of build constraints. This can also be set on the command line with `--@​io_bazel_rules_go//go/config:tags`. - Output file paths no longer include extra configuration data. For example, `//tests/core/go_binary:hello` creates the file `bazel-bin/tests/core/go_binary/hello_/hello`. Note that output file paths are still not stable and should not be depended on unless the `"out"` attribute is set explicitly (for rules that support it). #### Compatibility - The minimum supported version of Bazel is now 2.2.0. This version bump was needed to take advantage of support for build settings and configuration transitions. - Go versions older than 1.13 are no longer supported. - The deprecated `searchpaths` and `searchpath` fields have been removed from `GoArchive` and `GoArchiveData`. #### Updated dependencies - `platforms` is updated to `master` as of 2020-05-12. - `rules_cc` is updated to `master` as of 2020-05-12. - `org_golang_x_tools` is updated to `master` as of 2020-05-12. - `org_golang_x_xerrors` ([golang.org/x/xerrors](https://pkg.go.dev/mod/golang.org/x/xerrors)) is added at `master` as of 2020-05-12. It's needed by `org_golang_x_tools`. - `org_golang_google_protobuf` ([google.golang.org/protobuf](https://pkg.go.dev/mod/golang.org/x/xerrors)) is added at `v1.22.0`, latest as of 2020-05-12. - `com_github_golang_protobuf` is updated to `v1.4.1`, latest as of 2020-05-12. - `org_golang_google_genproto` is updated to `master` as of 2020-05-12. - `go_googleapis` is updated to `master` as of 2020-05-12. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "6a68e269802911fa419abb940c850734086869d7fe9bc8e12aaf60a09641c818", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.0/rules_go-v0.23.0.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.23.0/rules_go-v0.23.0.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.22.6`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.6) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.5...v0.22.6) #### New Go versions Go 1.14.4 and 1.13.12 are now supported. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "e0d2e3d92ef8b3704f26ac19231ef9aba66c8a3bdec4aca91a22ad7d6e6f3ef7", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.6/rules_go-v0.22.6.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.22.6/rules_go-v0.22.6.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.22.5`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.5) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.4...v0.22.5) #### New Go versions Go 1.14.3 and 1.13.11 are now supported. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "dbde93957f2a96e6c97edb74e29107b7de1b2b57608b8304401e10326e02c66d", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.5/rules_go-v0.22.5.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.22.5/rules_go-v0.22.5.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.22.4`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.4) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.3...v0.22.4) ##### Bug fixes - A patch for `com_github_golang_protobuf` has been updated to no longer touch testdata files that were deleted in later versions upstream. This should make it easier to use newer versions of `protobuf`. - The `cgocall` analyzer is disabled in `tools_nogo` due to lack of support. - Some missing platforms and toolchains are added. - `go_embed_data` can now correctly embed `.c`, `.go`, and other source files. ##### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "7b9bbe3ea1fccb46dcfa6c3f3e29ba7ec740d8733370e21cdc8937467b4a4349", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.22.3`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.2...v0.22.3) #### New Go versions Go 1.14.2 and 1.13.10 are now supported. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "db2b2d35293f405430f553bc7a865a8749a8ef60c30287e90d2b278c32771afe", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.3/rules_go-v0.22.3.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.22.3/rules_go-v0.22.3.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.22.2`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.1...v0.22.2) #### New Go versions Go 1.14.1 and 1.13.9 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.22.2/rules_go-v0.22.2.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.22.2/rules_go-v0.22.2.tar.gz", ], sha256 = "142dd33e38b563605f0d20e89d9ef9eda0fc3cb539a14be1bdb1350de2eda659", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.22.1`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.22.0...v0.22.1) #### Bug fix This release fixes an issue with generated rules in the `@go_googleapis` repository ([#​2387](https://togithub.com/bazelbuild/rules_go/issues/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`](https://togithub.com/bazelbuild/rules_go/releases/v0.22.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.7...v0.22.0) #### 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 - `platforms` () has been added at `master` as of 2020-02-21 (see [bazelbuild/bazel#​8622](https://togithub.com/bazelbuild/bazel/issues/8622)). - `rules_cc` () has been added at `master` as of 2020-02-21 (see [bazelbuild/bazel#​8743](https://togithub.com/bazelbuild/bazel/issues/8743)). - `org_golang_x_tools` is updated to `master` as of 2020-02-21. - `com_github_golang_protobuf` is updated to `v1.3.3`, latest as of 2020-02-21. - `org_golang_google_genproto` is updated to `master` as of 2020-02-21. - `go_googleapis` is updated to `master` as of 2020-02-21. #### 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.7`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.7) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.6...v0.21.7) #### Bug fixes - A patch for `com_github_golang_protobuf` has been updated to no longer touch testdata files that were deleted in later versions upstream. This should make it easier to use newer versions of `protobuf`. - Some missing platforms and toolchains are added. - `go_embed_data` can now correctly embed `.c`, `.go`, and other source files. #### WORKSPACE code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "c1a5614131bbd4e4764ad782de261a2e9c4173c9528a50dbaefcbea6fce7d66a", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.21.7/rules_go-v0.21.7.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.21.7/rules_go-v0.21.7.tar.gz", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains() ### [`v0.21.6`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.6) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.5...v0.21.6) #### New Go versions Go 1.14.2 and 1.13.10 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.6/rules_go-v0.21.6.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.21.6/rules_go-v0.21.6.tar.gz", ], sha256 = "5791ab3fbca784b49f2bbbfbfd93dc41e6898daa0bb8998a53f76f6ea98135a7", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.21.5`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.5) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.4...v0.21.5) #### New Go versions Go 1.14.1 and 1.13.9 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.5/rules_go-v0.21.5.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.21.5/rules_go-v0.21.5.tar.gz", ], sha256 = "effce27c4ef53af96397d538c1b9e37e9b8546e4a912ed9eb43590bb33cbbf95", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.21.4`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.4) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.3...v0.21.4) #### 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`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.2...v0.21.3) #### 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.21.2`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.1...v0.21.2) #### 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.21.1`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.21.0...v0.21.1) #### 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.21.0`](https://togithub.com/bazelbuild/rules_go/releases/v0.21.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.7...v0.21.0) #### 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](https://togithub.com/bazelbuild/rules_go/blob/master/deprecation.rst) 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](https://groups.google.com/forum/#!forum/bazel-go-discuss) or on the `#bazel` channel on [Gophers Slack](https://invite.slack.golangbridge.org/). #### 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 - `platforms` () has been added at `master` as of 2020-01-02 (see [bazelbuild/bazel#​8622](https://togithub.com/bazelbuild/bazel/issues/8622)). - `rules_cc` () has been added at `master` as of 2020-01-06 (see [bazelbuild/bazel#​8743](https://togithub.com/bazelbuild/bazel/issues/8743)). - `org_golang_x_tools` is updated to `master` as of 2020-01-02. - `com_github_golang_protobuf` is updated to `v1.3.2`, latest as of 2020-01-03. - `com_github_mwitkow_go_proto_validators` is updated to `v0.3.0`, latest as of 2020-01-03. - `com_github_gogo_protobuf` is updated to `v1.3.1`, latest as of 2020-01-03. - `org_golang_google_genproto` is updated to `master` as of 2020-01-03. - `go_googleapis` is updated to `master` as of 2020-01-03. - If you use `proto_library`, you may need to migrate to `rules_proto` () (see [bazelbuild/bazel#​8922](https://togithub.com/bazelbuild/bazel/issues/8922)). #### 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() ### [`v0.20.7`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.7) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.6...v0.20.7) #### 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.20.6`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.6) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.5...v0.20.6) #### 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.20.5`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.5) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.4...v0.20.5) #### 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.20.4`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.4) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.3...v0.20.4) #### New Go versions Go 1.13.6 and 1.12.15 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.4/rules_go-v0.20.4.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.20.4/rules_go-v0.20.4.tar.gz", ], sha256 = "5855e8ef21778be10683431a37593b120e8555c72412e9971a22c1676008aad9", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.20.3`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.2...v0.20.3) #### New Go versions Go 1.13.5 and 1.12.14 are now supported. #### Bug fixes Several small bugs are fixed. Some compatibility issues with new versions of Bazel are addressed. #### 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.20.3/rules_go-v0.20.3.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.20.3/rules_go-v0.20.3.tar.gz", ], sha256 = "e88471aea3a3a4f19ec1310a55ba94772d087e9ce46e41ae38ecebe17935de7b", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.20.2`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.1...v0.20.2) #### New Go versions Go 1.13.4 and 1.12.13 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.20.2/rules_go-v0.20.2.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.20.2/rules_go-v0.20.2.tar.gz", ], sha256 = "b9aa86ec08a292b97ec4591cf578e020b35f98e12173bbd4a921f84f583aebd9", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.20.1`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.20.0...v0.20.1) #### New Go versions Go 1.12.11, 1.12.12, 1.13.2, and 1.13.3 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.20.1/rules_go-v0.20.1.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.20.1/rules_go-v0.20.1.tar.gz", ], sha256 = "842ec0e6b4fbfdd3de6150b61af92901eeb73681fd4d185746644c338f51d4c0", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.20.0`](https://togithub.com/bazelbuild/rules_go/releases/v0.20.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.10...v0.20.0) #### Compatibility - Support for Go 1.10 has been removed. - `objc = True` and related Objective C attributes have been removed. `go_library` can build Objective C code directly. See the [deprecation schedule](https://togithub.com/bazelbuild/rules_go/blob/master/deprecation.rst) for rationale and migration information. Nothing else is currently deprecated. #### Changes This release contains no significant user facing changes. Several bugs are fixed, and dependencies are updated. #### Updated dependencies - `bazel_skylib` is updated to `1.0.2`. - `org_golang_x_tools` is updated to `master` as of 2019-10-05. - `com_github_golang_protobuf` is updated to `v1.3.2`, latest as of 2019-10-05. - `com_github_mwitkow_proto_validators` is updated to `v0.2.0`, latest as of 2019-10-05. - `com_github_gogo_protobuf` is updated to `v1.3.0`, latest as of 2019-10-05. - `org_golang_google_genproto` is updated to `master` as of 2019-10-05. - `go_googleapis` is updated to `master` as of 2019-10-05. #### 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.20.0/rules_go-v0.20.0.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.20.0/rules_go-v0.20.0.tar.gz", ], sha256 = "078f2a9569fa9ed846e60805fb5fb167d6f6c4ece48e6d409bf5fb2154eaf0d8", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.10`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.10) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.9...v0.19.10) #### New Go versions Go 1.13.6 and 1.12.15 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.19.10/rules_go-v0.19.10.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.10/rules_go-v0.19.10.tar.gz", ], sha256 = "0a99597dd30ecfd94f64fc64717cd1b6c4bd9807918942a8501a3883990e4b1d", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.9`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.9) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.8...v0.19.9) #### New Go versions Go 1.13.5 and 1.12.14 are now supported. #### Bug fixes Several small bugs are fixed. Some compatibility issues with new versions of Bazel are addressed. #### 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.19.9/rules_go-v0.19.9.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.9/rules_go-v0.19.9.tar.gz", ], sha256 = "a391df56b95d4721004b10cd3fcc63ad4cc8fb2ce165453d1b78ce59162afe29", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.8`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.8) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.7...v0.19.8) #### New Go versions Go 1.12.13 and 1.13.4 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.19.8/rules_go-v0.19.8.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.8/rules_go-v0.19.8.tar.gz", ], sha256 = "9976c2572587aa71f81b502cc870ef8058f6de37f5fcfaade6a5996934b4a324", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.7`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.7) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.6...v0.19.7) #### New Go versions Go 1.12.10, 1.12.11, 1.13.2, and 1.13.3 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.19.7/rules_go-v0.19.7.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.7/rules_go-v0.19.7.tar.gz", ], sha256 = "b480589f57e8b09f4b0892437b9afe889e0d6660e92f5d53d3f0546c01e67ca5", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.6`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.6) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.5...v0.19.6) #### Bug fixes This release contains several bug fixes for cgo, linking, and `go/tools/bazel_testing`. #### 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.19.6/rules_go-v0.19.6.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.6/rules_go-v0.19.6.tar.gz", ], sha256 = "ee5036badbac6b338b19583575c204b3ba762f7f62ac20c4cbb37169ba30eca1", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.5`](https://togithub.com/bazelbuild/rules_go/releases/v0.19.5) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.4...v0.19.5) #### New Go versions Go 1.13.1 and 1.12.10 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.19.5/rules_go-v0.19.5.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.19.5/rules_go-v0.19.5.tar.gz", ], sha256 = "513c12397db1bc9aa46dd62f02dd94b49a9b5d17444d49b5a04c5a89f3053c1c", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.4`](https://togithub.com/bazelbuild/rules_go/releases/0.19.4) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.3...v0.19.4) #### New Go versions Go 1.13 is now supported. Note that versions of Gazelle prior to 0.18.2 are not compatible with Go 1.13, so make sure to upgrade Gazelle at the same time. #### Bug fixes Several bug fixes included, primarily for improving compatibility with Go 1.13. #### 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/0.19.4/rules_go-0.19.4.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.19.4/rules_go-0.19.4.tar.gz", ], sha256 = "ae8c36ff6e565f674c7a3692d6a9ea1096e4c1ade497272c2108a810fb39acd2", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.3`](https://togithub.com/bazelbuild/rules_go/releases/0.19.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.2...v0.19.3) #### New Go versions Go 1.12.9 is now supported. #### 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.19.3/rules_go-0.19.3.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.19.3/rules_go-0.19.3.tar.gz", ], sha256 = "313f2c7a23fecc33023563f082f381a32b9b7254f727a7dd2d6380ccc6dfe09b", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.2`](https://togithub.com/bazelbuild/rules_go/releases/0.19.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.1...v0.19.2) #### New Go versions Go 1.12.8 and 1.11.13 are now supported. #### 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.19.2/rules_go-0.19.2.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.19.2/rules_go-0.19.2.tar.gz", ], sha256 = "96b1f81de5acc7658e1f5a86d7dc9e1b89bc935d83799b711363a748652c471a", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.1`](https://togithub.com/bazelbuild/rules_go/releases/0.19.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.19.0...v0.19.1) #### Bug fixes This release contains fixes for coverage, debugging, and race mode that were discovered after the 0.19.0 release. #### 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.19.1/rules_go-0.19.1.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.19.1/rules_go-0.19.1.tar.gz", ], sha256 = "8df59f11fb697743cbb3f26cfb8750395f30471e9eabde0d174c3aebc7a1cd39", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.19.0`](https://togithub.com/bazelbuild/rules_go/releases/0.19.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.11...v0.19.0) #### Compatibility The minimum supported version of Bazel is now 0.23.0. Ubuntu 14.04 is no longer supported. #### Changes - When cross-compiling, a C/C++ toolchain is no longer required. Previously, a toolchain was required but usually not used. To cross-compile with cgo, add a `_cgo` suffix to the target platform. For example, `--platforms=@​io_bazel_rules_go//go/toolchain:linux_amd64_cgo`. - When stamping `go_binary` and `go_tests` with the `x_defs` attribute, the `--stamp` command-line flag must be used. Without this flag, link stamping is not done. This improves caching of link actions and is consistent with what `cc_binary` and other native Bazel rules do. - A repository named `go_sdk` is no longer required. `go_register_toolchains` will automatically detect any declared SDK workspaces. This simplifies workspaces that use both local and remote execution. - `linkmode = "pie"` is now supported in `go_binary` and `go_test`. - `go_library` now supports an `importpath_aliases` attribute that accepts a list of alternative strings that may be used to import the package. This is needed for [minimal module compatibility](https://togithub.com/golang/go/wiki/Modules#how-are-v2-modules-treated-in-a-build-if-modules-support-is-not-enabled-how-does-minimal-module-compatibility-work-in-197-1103-and-111). - Go packages are now built with a single `GoCompilePkg` action. We no longer use separate actions for compilation, coverage, assembly, packing, etc. cgo code is no longer built with `cc_library` and custom rules. This should reduce overhead in remote execution configurations. #### Deprecations - The `objc = True` feature is now deprecated. `go_library` and other rules can now compile .m and .mm files directly when `cgo = True` is set. - Go 1.10 support is now deprecated. See [Deprecation schedule](/deprecation.rst) for more information. #### Updated dependencies - `bazel_skylib` has been updated to 0.8.0. - `org_golang_x_tools` has been updated to `master` as of 2019-07-08. - `com_github_golang_protobuf` has been updated to v1.3.1. - `com_github_mwitkow_go_proto_validators` has been updated to `master` as of 2019-07-08. - `go_googleapis` has been updated to `master` as of 2019-07-09. Several workspaces are no longer declared in `go_rules_dependencies`. - `com_google_protobuf` is no longer declared. Users of `proto_library` and `go_proto_library` must declared it separately in WORKSPACE. Its dependencies must also be declared using its dependency macro, `protobuf_deps`, declared in `@com_google_protobuf//:protobuf_deps.bzl`. See [Proto dependencies](/go/workspace.rst#proto-dependencies) for more information. - `org_golang_google_grpc` is no longer declared. Recent versions have a large number of dependencies, and we can't realistically manage all of them. It's better to import them as [`go_repository`](https://togithub.com/bazelbuild/bazel-gazelle/blob/master/repository.rst#go_repository) rules using [`gazelle update-repos`](https://togithub.com/bazelbuild/bazel-gazelle#update-repos). See [gRPC dependencies](/go/workspace.rst#grpc-dependencies) for more information. - `org_golang_x_net`, `org_golang_x_text`, and `org_golang_x_sys` are no longer declared. They were provided as dependencies of gRPC. - `com_github_golang_glog` is no longer declared. It was only used in a legacy example. - `com_github_kevinburke_go_bindata` is now declared in the `go_embed_data_dependencies` macro in `@io_bazel_rules_go//extras:embed_data_deps.bzl`. It has been updated to v3.13.0, the latest version as of 2019-07-08. #### WORKSPACE code To use this release, add the code below to your WORKSPACE file. **REMINDER:** `com_google_protobuf` and some other proto repositories are no longer declared in `go_rules_dependencies`. See [Proto dependencies](/go/workspace.rst#proto-dependencies) and [gRPC dependencies](/go/workspace.rst#grpc-dependencies) for details. 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.19.0/rules_go-0.19.0.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.19.0/rules_go-0.19.0.tar.gz", ], sha256 = "9fb16af4d4836c8222142e54c9efa0bb5fc562ffc893ce2abeac3e25daead144", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.11`](https://togithub.com/bazelbuild/rules_go/releases/v0.18.11) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.10...v0.18.11) #### New Go versions Go 1.13.1 and 1.12.10 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://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.18.11/rules_go-v0.18.11.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.18.10/rules_go-v0.18.10.tar.gz", ], sha256 = "5c02dd4436332f8efa982ce2102daf7c041ae95c2bc7f2d26aceed20dc47def8", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.10`](https://togithub.com/bazelbuild/rules_go/releases/0.18.10) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.9...v0.18.10) #### New Go versions Go 1.13 is now supported. Note that versions of Gazelle prior to 0.18.2 are not compatible with Go 1.13, so make sure to upgrade Gazelle at the same time. #### Bug fixes Several bug fixes included, primarily for improving compatibility with Go 1.13. #### 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/0.18.10/rules_go-0.18.10.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.18.10/rules_go-0.18.10.tar.gz", ], sha256 = "cd2275aa07cc82d6cc740fed90dabbca1351d8d9abb4acac624bcc607adafe39", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.9`](https://togithub.com/bazelbuild/rules_go/releases/0.18.9) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.8...v0.18.9) #### New Go versions Go 1.12.9 is now supported. #### 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.9/rules_go-0.18.9.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.18.9/rules_go-0.18.9.tar.gz", ], sha256 = "f635b285d7e902ac7327637edbba98a4f110e8202c8f4fb49d2f6ecd837f704a", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.8`](https://togithub.com/bazelbuild/rules_go/releases/0.18.8) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.7...v0.18.8) #### New Go versions Go 1.12.8 and 1.11.13 are now supported. #### 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.8/rules_go-0.18.8.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.18.8/rules_go-0.18.8.tar.gz", ], sha256 = "2f09c340da7b4c14d2475f9c8c9d20c633740100345df67b97864d4f86dbe518", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.7`](https://togithub.com/bazelbuild/rules_go/releases/0.18.7) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.6...v0.18.7) #### 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() ### [`v0.18.6`](https://togithub.com/bazelbuild/rules_go/releases/0.18.6) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.5...v0.18.6) #### New Go versions Go 1.12.6 and 1.11.11 are now supported. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", urls = [ "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", ], sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.5`](https://togithub.com/bazelbuild/rules_go/releases/0.18.5) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.4...v0.18.5) #### Compatibility This release contains several compatibility improvements for upcoming Bazel releases. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.5/rules_go-0.18.5.tar.gz", sha256 = "a82a352bffae6bee4e95f68a8d80a70e87f42c4741e6a448bec11998fcc82329", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.4`](https://togithub.com/bazelbuild/rules_go/releases/0.18.4) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.3...v0.18.4) #### New Go versions Go 1.12.5 and 1.11.10 are now supported. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.4/rules_go-0.18.4.tar.gz", sha256 = "3743a20704efc319070957c45e24ae4626a05ba4b1d6a8961e87520296f1b676", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.3`](https://togithub.com/bazelbuild/rules_go/releases/0.18.3) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.2...v0.18.3) #### New Go versions Go 1.12.3, 1.12.4, 1.11.8, and 1.11.9 are now supported. 1.12.4 and 1.11.9 were rebuilt with a C/C++ toolchain compatible with older Linux distributions. Ubuntu 14.04 and Debian Jessie are supported again without additional configuration. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.3/rules_go-0.18.3.tar.gz", sha256 = "86ae934bd4c43b99893fc64be9d9fc684b81461581df7ea8fc291c816f5ee8c5", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.2`](https://togithub.com/bazelbuild/rules_go/releases/0.18.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.1...v0.18.2) #### New Go version Go 1.12.2 and 1.11.7 are now supported. NOTE: The default linker on Ubuntu 14.04 doesn't support relocations used in the 1.12.2 distributions. If you're on Ubuntu 14.04, there are a few possible workarounds: - Stay on `go1.12.1` by calling `go_register_toolchains(go_version = "1.12.1")` in your WORKSPACE. - Build without cgo by using `--features=pure` on the Bazel command line or `pure = "on"` in `go_binary` rules. - Configure a custom C/C++ toolchain with a newer linker. The upstream tracking issue is [golang/go#​31293](https://togithub.com/golang/go/issues/31293). #### Bug fixes - Workarounds for gRPC cross-compilation. As a reminder, the `goos` and `goarch` attributes do not work in conjunction with `select` expressions, which are used in the build files for `org_golang_google_grpc`. Use `--platforms` for cross-compilation if possible. See [Cross compilation](https://togithub.com/bazelbuild/rules_go/blob/master/go/core.rst#cross-compilation) for more information. - `x_defs` are now correctly applied to the `main` package. - Fix some incompatibilities with future Bazel versions. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.2/rules_go-0.18.2.tar.gz", sha256 = "31f959ecf3687f6e0bb9d01e1e7a7153367ecd82816c9c0ae149cd0e5a92bf8c", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.1`](https://togithub.com/bazelbuild/rules_go/releases/0.18.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.18.0...v0.18.1) #### New Go version Go 1.12.1 and 1.11.6 are now supported. #### WORKSPACE code To use this release, add this code to your WORKSPACE file: http_archive( name = "io_bazel_rules_go", url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.1/rules_go-0.18.1.tar.gz", sha256 = "77dfd303492f2634de7a660445ee2d3de2960cbd52f97d8c0dffa9362d3ddef9", ) load("@​io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") go_rules_dependencies() go_register_toolchains() ### [`v0.18.0`](https://togithub.com/bazelbuild/rules_go/releases/0.18.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.17.8...v0.18.0) #### Compatibility If you're using `go_repository` rules and Go 1.12, Gazelle [0.17.0](https://togithub.com/bazelbuild/bazel-gazelle/releases/tag/0.17.0) is now required. Earlier versions of `go_repository` don't work with Go 1.12. #### Updated dependencies **REMINDER:** If you need a different version of anything declared in `go_rules_dependencies`, follow the instructions at [Overriding dependencies](https://togithub.com/bazelbuild/rules_go/blob/master/go/workspace.rst#overriding-dependencies). - `bazel_skylib` has been updated to `0.7.0`. - `com_github_gogo_protobuf` has been updated to `v1.2.1`. - `com_github_golang_protobuf` has been updated to `v1.3.0`.

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

atlassian-cla-bot[bot] commented 4 years ago

Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution. If your email is listed below, please ensure that you sign the CLA with the same email address.
The following users still need to sign our CLA:
❌renovate-bot

Already signed the CLA? To re-check, try refreshing the page.