bazelbuild / rules_cc

C++ Rules for Bazel
https://bazel.build
Apache License 2.0
176 stars 88 forks source link

Update dependency io_bazel_rules_go to v0.49.0 #214

Open renovate-bot opened 8 months ago

renovate-bot commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
io_bazel_rules_go http_archive minor v0.42.0 -> v0.49.0

Release Notes

bazelbuild/rules_go (io_bazel_rules_go) ### [`v0.49.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.49.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.48.1...v0.49.0) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "d93ef02f1e72c82d8bb3d5169519b36167b33cf68c252525e3b9d3d5dd143de7", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.49.0/rules_go-v0.49.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.49.0/rules_go-v0.49.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.5") #### What's Changed - Add support for path mapping by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3915](https://togithub.com/bazelbuild/rules_go/pull/3915) - Introduce rules_go_unsupported_feature by [@​cramertj](https://togithub.com/cramertj) in [https://github.com/bazelbuild/rules_go/pull/3955](https://togithub.com/bazelbuild/rules_go/pull/3955) - Automatically run `bazel mod tidy` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3927](https://togithub.com/bazelbuild/rules_go/pull/3927) - Fix revive warning in testmain.go files by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_go/pull/3958](https://togithub.com/bazelbuild/rules_go/pull/3958) - Revert "feat(mode): add `purego` tag when `pure` ([#​3901](https://togithub.com/bazelbuild/rules_go/issues/3901))" by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3961](https://togithub.com/bazelbuild/rules_go/pull/3961) - prepare patch release 0.48.1 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3963](https://togithub.com/bazelbuild/rules_go/pull/3963) - Fix broken link to https://bazel.build/concepts/dependencies#data-dependencies by [@​alexbozhenko](https://togithub.com/alexbozhenko) in [https://github.com/bazelbuild/rules_go/pull/3960](https://togithub.com/bazelbuild/rules_go/pull/3960) - docs: Discourage use `go_sdk.host()` in bzlmod.md (see [#​713](https://togithub.com/bazelbuild/rules_go/issues/713)) by [@​vorburger](https://togithub.com/vorburger) in [https://github.com/bazelbuild/rules_go/pull/3968](https://togithub.com/bazelbuild/rules_go/pull/3968) - Add linux/ppc64le to GOARCH constraints by [@​c16a](https://togithub.com/c16a) in [https://github.com/bazelbuild/rules_go/pull/3975](https://togithub.com/bazelbuild/rules_go/pull/3975) - gopackagesdriver: Make kind query regexes anchored by [@​jscissr](https://togithub.com/jscissr) in [https://github.com/bazelbuild/rules_go/pull/3978](https://togithub.com/bazelbuild/rules_go/pull/3978) - Add a full `fs.FS` implementation to `runfiles` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3969](https://togithub.com/bazelbuild/rules_go/pull/3969) - update readmes for latest release by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3988](https://togithub.com/bazelbuild/rules_go/pull/3988) - prepare release 0.49.0 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3989](https://togithub.com/bazelbuild/rules_go/pull/3989) #### New Contributors - [@​cramertj](https://togithub.com/cramertj) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3955](https://togithub.com/bazelbuild/rules_go/pull/3955) - [@​alexbozhenko](https://togithub.com/alexbozhenko) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3960](https://togithub.com/bazelbuild/rules_go/pull/3960) - [@​vorburger](https://togithub.com/vorburger) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3968](https://togithub.com/bazelbuild/rules_go/pull/3968) - [@​c16a](https://togithub.com/c16a) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3975](https://togithub.com/bazelbuild/rules_go/pull/3975) - [@​jscissr](https://togithub.com/jscissr) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3978](https://togithub.com/bazelbuild/rules_go/pull/3978) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.48.0...v0.49.0 ### [`v0.48.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.48.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.48.0...v0.48.1) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "b2038e2de2cace18f032249cb4bb0048abf583a36369fa98f687af1b3f880b26", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.4") **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.48.0...v0.48.1 ### [`v0.48.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.48.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.47.1...v0.48.0) #### Important Changes! `--incompatible_enable_proto_toolchain_resolution` is now supported in `rules_go`. This means that protoc should now be supplied as a toolchain. `protoc` can be registered using https://github.com/aspect-build/toolchains_protoc, or a local proto toolchain can be added. [`rules_proto`](https://togithub.com/bazelbuild/rules_proto) 6.0.0 is required to use Go proto rules. #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "33acc4ae0f70502db4b893c9fc1dd7a9bf998c23e7ff2c4517741d4049a976f8", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.3") #### What's Changed - Update docs to cover new FilePath ReplaceDirective Support by [@​stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/rules_go/pull/3931](https://togithub.com/bazelbuild/rules_go/pull/3931) - go_test: use different mnemonic for compilation by [@​sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/rules_go/pull/3936](https://togithub.com/bazelbuild/rules_go/pull/3936) - Add go.work support to the documentation by [@​stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/rules_go/pull/3932](https://togithub.com/bazelbuild/rules_go/pull/3932) - feat(mode): add `purego` tag when `pure` by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/rules_go/pull/3901](https://togithub.com/bazelbuild/rules_go/pull/3901) - generate_test_main: Move timeout handling back to bzltestutil by [@​DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_go/pull/3939](https://togithub.com/bazelbuild/rules_go/pull/3939) - Add support for `--incompatible_enable_proto_toolchain_resolution` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3919](https://togithub.com/bazelbuild/rules_go/pull/3919) - Add exec_compatible_with to @​go_sdk//:builder by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_go/pull/3943](https://togithub.com/bazelbuild/rules_go/pull/3943) - prepare v0.48.0 release by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3946](https://togithub.com/bazelbuild/rules_go/pull/3946) #### New Contributors - [@​stefanpenner](https://togithub.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3931](https://togithub.com/bazelbuild/rules_go/pull/3931) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.47.1...v0.48.0 ### [`v0.47.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.47.0...v0.47.1) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.2") #### What's Changed - bzltestutil: restore timeout signal handler by [@​sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/rules_go/pull/3929](https://togithub.com/bazelbuild/rules_go/pull/3929) - feat: support syso files in srcs. by [@​connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763) - prepare patch release 0.47.1 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3933](https://togithub.com/bazelbuild/rules_go/pull/3933) #### New Contributors - [@​connyay](https://togithub.com/connyay) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.47.0...v0.47.1 ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.2") #### What's Changed - Add Bazel version matrix to BCR `presubmit.yml` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3861](https://togithub.com/bazelbuild/rules_go/pull/3861) - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3864](https://togithub.com/bazelbuild/rules_go/pull/3864) - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863) - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3867](https://togithub.com/bazelbuild/rules_go/pull/3867) - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869) - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3866](https://togithub.com/bazelbuild/rules_go/pull/3866) - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872) - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874) - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3880](https://togithub.com/bazelbuild/rules_go/pull/3880) - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881) - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882) - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885) - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [https://github.com/bazelbuild/rules_go/pull/3856](https://togithub.com/bazelbuild/rules_go/pull/3856) - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891) - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [https://github.com/bazelbuild/rules_go/pull/3893](https://togithub.com/bazelbuild/rules_go/pull/3893) - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3892](https://togithub.com/bazelbuild/rules_go/pull/3892) - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896) - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/rules_go/pull/3899](https://togithub.com/bazelbuild/rules_go/pull/3899) - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/rules_go/pull/3898](https://togithub.com/bazelbuild/rules_go/pull/3898) - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3903](https://togithub.com/bazelbuild/rules_go/pull/3903) - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908) - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3910](https://togithub.com/bazelbuild/rules_go/pull/3910) - GoLink action. Use -extar if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916) - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3911](https://togithub.com/bazelbuild/rules_go/pull/3911) - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_go/pull/3918](https://togithub.com/bazelbuild/rules_go/pull/3918) - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3909](https://togithub.com/bazelbuild/rules_go/pull/3909) - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3920](https://togithub.com/bazelbuild/rules_go/pull/3920) - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3923](https://togithub.com/bazelbuild/rules_go/pull/3923) #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863) - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869) - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872) - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874) - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881) - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882) - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885) - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891) - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896) - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908) - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0 ### [`v0.46.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.46.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.45.1...v0.46.0) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.0") #### What's Changed - Support custom `GOARM` architecture levels via platform constraints by [@​LINKIWI](https://togithub.com/LINKIWI) in [https://github.com/bazelbuild/rules_go/pull/3837](https://togithub.com/bazelbuild/rules_go/pull/3837) - Emit nogo facts into a separate archive by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3789](https://togithub.com/bazelbuild/rules_go/pull/3789) - go_test: ensure external source compilation has data by [@​sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/rules_go/pull/3848](https://togithub.com/bazelbuild/rules_go/pull/3848) - Fix invocation of assembler for go1.22 by [@​jquirke](https://togithub.com/jquirke) in [https://github.com/bazelbuild/rules_go/pull/3756](https://togithub.com/bazelbuild/rules_go/pull/3756) - nogo: Create a go_register_nogo wrapper for WORKSPACE users. by [@​DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_go/pull/3842](https://togithub.com/bazelbuild/rules_go/pull/3842) - prepare minor release 0.46 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3854](https://togithub.com/bazelbuild/rules_go/pull/3854) #### New Contributors - [@​LINKIWI](https://togithub.com/LINKIWI) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3837](https://togithub.com/bazelbuild/rules_go/pull/3837) - [@​jquirke](https://togithub.com/jquirke) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3756](https://togithub.com/bazelbuild/rules_go/pull/3756) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.45.1...v0.46.0 ### [`v0.45.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.45.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.45.0...v0.45.1) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "6734a719993b1ba4ebe9806e853864395a8d3968ad27f9dd759c196b3eb3abe8", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.1/rules_go-v0.45.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.45.1/rules_go-v0.45.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.6") #### What's Changed - Disable `layering_check` feature in CGo tests by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3829](https://togithub.com/bazelbuild/rules_go/pull/3829) - Print stack traces without panicking on test timeout by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3833](https://togithub.com/bazelbuild/rules_go/pull/3833) - Fix regression in empty `.go` file filtering for nogo by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3832](https://togithub.com/bazelbuild/rules_go/pull/3832) - release patch version 0.45.1 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3836](https://togithub.com/bazelbuild/rules_go/pull/3836) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.45.0...v0.45.1 ### [`v0.45.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.45.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.44.2...v0.45.0) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "de7974538c31f76658e0d333086c69efdf6679dbc6a466ac29e65434bf47076d", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.6") #### What's Changed - nogo: use original source files instead of coverage-instrumented by [@​emmaxy](https://togithub.com/emmaxy) in [https://github.com/bazelbuild/rules_go/pull/3770](https://togithub.com/bazelbuild/rules_go/pull/3770) - Allow compilers to be overwritten in go_grpc_library() by [@​mering](https://togithub.com/mering) in [https://github.com/bazelbuild/rules_go/pull/3812](https://togithub.com/bazelbuild/rules_go/pull/3812) - update documentation for 0.44 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3813](https://togithub.com/bazelbuild/rules_go/pull/3813) - Temporarily undo deprecation of `//proto:go_grpc` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3818](https://togithub.com/bazelbuild/rules_go/pull/3818) - Rename bazel_features polyfill to prevent conflicts by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3817](https://togithub.com/bazelbuild/rules_go/pull/3817) - Handle prerelease versions in polyfill by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_go/pull/3821](https://togithub.com/bazelbuild/rules_go/pull/3821) - Extend gomock to allow passing an source_importpath instead of library when operating in source mode by [@​therve](https://togithub.com/therve) in [https://github.com/bazelbuild/rules_go/pull/3822](https://togithub.com/bazelbuild/rules_go/pull/3822) - Fix coverage collection with modified `COVERAGE_DIR` env variable by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3820](https://togithub.com/bazelbuild/rules_go/pull/3820) - improving logging for subcommand failure by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3824](https://togithub.com/bazelbuild/rules_go/pull/3824) - release rules go 0.45.0 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3825](https://togithub.com/bazelbuild/rules_go/pull/3825) #### New Contributors - [@​emmaxy](https://togithub.com/emmaxy) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3770](https://togithub.com/bazelbuild/rules_go/pull/3770) - [@​therve](https://togithub.com/therve) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3822](https://togithub.com/bazelbuild/rules_go/pull/3822) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.44.2...v0.45.0 ### [`v0.44.2`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.44.2) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.44.1...v0.44.2) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "7c76d6236b28ff695aa28cf35f95de317a9472fd1fb14ac797c9bf684f09b37c", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.2/rules_go-v0.44.2.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.44.2/rules_go-v0.44.2.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.5") #### What's Changed - Make C++ toolchain optional by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_go/pull/3390](https://togithub.com/bazelbuild/rules_go/pull/3390) - Fix a race detected only if a test times out by [@​patrickmscott](https://togithub.com/patrickmscott) in [https://github.com/bazelbuild/rules_go/pull/3808](https://togithub.com/bazelbuild/rules_go/pull/3808) - registering timeout handler synchronously by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3810](https://togithub.com/bazelbuild/rules_go/pull/3810) - patch release 0.44.2 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3811](https://togithub.com/bazelbuild/rules_go/pull/3811) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.44.1...v0.44.2 ### [`v0.44.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.44.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.44.0...v0.44.1) #### Why a patch release This patch release is to include https://github.com/bazelbuild/rules_go/commit/43c40a9a596fcf37a5b7b0ae5f32832277393587 which reverts a change to forcefully upgrade genproto transitively, which is causing linker failures since `google.golang.org/genproto/googleapis/rpc` was separated from `google.golang.org/genproto` #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "b6828eb2d03bb5ef76f2077f8670b211fe792e77ddb83450ea9f887df04db9c7", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.5") #### What's Changed - Slightly tweak deprecation wording for //proto:go_grpc by [@​ryanpbrewster](https://togithub.com/ryanpbrewster) in [https://github.com/bazelbuild/rules_go/pull/3790](https://togithub.com/bazelbuild/rules_go/pull/3790) - Let `@rules_go//go` file path end with `/bin/go` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3791](https://togithub.com/bazelbuild/rules_go/pull/3791) - Always attempt to set RUNFILES_DIR and JAVA_RUNFILES in `runfiles.Env` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3778](https://togithub.com/bazelbuild/rules_go/pull/3778) - Update Bzlmod guide by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3794](https://togithub.com/bazelbuild/rules_go/pull/3794) - add maintainers to metadata.json template by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3797](https://togithub.com/bazelbuild/rules_go/pull/3797) - Link to the isolated extension usages issue in Bzlmod guide by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3800](https://togithub.com/bazelbuild/rules_go/pull/3800) - Support `--nolegacy_external_runfiles` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3795](https://togithub.com/bazelbuild/rules_go/pull/3795) - downgrade genproto in go.mod by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3803](https://togithub.com/bazelbuild/rules_go/pull/3803) - prepare patch release 0.44.1 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3804](https://togithub.com/bazelbuild/rules_go/pull/3804) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.44.0...v0.44.1 ### [`v0.44.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.44.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.43.0...v0.44.0) ### IMPORTANT CHANGES #### Tests now call `panic()` when they timeout This means there is a running goroutine (which will fail [goleak](https://togithub.com/uber-go/goleak) detection) [Goroutine 26 in state chan receive, with github.com/bazelbuild/rules_go/go/tools/bzltestutil.RegisterTimeoutHandler.func1 on top of the This also means there may be some different behavior when calling `SIGTERM` directly from within a test. For more information see: [https://github.com/bazelbuild/rules_go/pull/3749](https://togithub.com/bazelbuild/rules_go/pull/3749) #### Bzlmod support for `nogo` This can be added in your `MODULE.bazel` file: go_sdk = use_extension("@​rules_go//go:extensions.bzl", "go_sdk") go_sdk.download( name = "go_sdk", ... ) go_sdk.nogo( nogo = "//:default_nogo", ) For more information see [https://github.com/bazelbuild/rules_go/pull/3782](https://togithub.com/bazelbuild/rules_go/pull/3782) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "c8035e8ae248b56040a65ad3f0b7434712e2037e5dfdcebfe97576e620422709", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.0/rules_go-v0.44.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.44.0/rules_go-v0.44.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.5") #### What's Changed - Do not test on centos7 by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3757](https://togithub.com/bazelbuild/rules_go/pull/3757) - update documentation for 0.43.0 release by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3758](https://togithub.com/bazelbuild/rules_go/pull/3758) - Add toolchain param to affected actions by [@​kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_go/pull/3760](https://togithub.com/bazelbuild/rules_go/pull/3760) - Update GO_TOOLCHAIN string to Label and add toolchain param to one more action by [@​kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_go/pull/3762](https://togithub.com/bazelbuild/rules_go/pull/3762) - Do not choose prereleases as highest versions by [@​mering](https://togithub.com/mering) in [https://github.com/bazelbuild/rules_go/pull/3764](https://togithub.com/bazelbuild/rules_go/pull/3764) - Remove unmaintained validators by [@​mering](https://togithub.com/mering) in [https://github.com/bazelbuild/rules_go/pull/3768](https://togithub.com/bazelbuild/rules_go/pull/3768) - Use `tools.go` trick to make `go.mod` work with `go mod tidy` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3775](https://togithub.com/bazelbuild/rules_go/pull/3775) - feat(packagesdriver): add \_test suffix to pkgPath by [@​JamyDev](https://togithub.com/JamyDev) in [https://github.com/bazelbuild/rules_go/pull/3777](https://togithub.com/bazelbuild/rules_go/pull/3777) - Typo --test_runner_fail_fast by [@​Clement-Jean](https://togithub.com/Clement-Jean) in [https://github.com/bazelbuild/rules_go/pull/3773](https://togithub.com/bazelbuild/rules_go/pull/3773) - Panic when a test times out by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3749](https://togithub.com/bazelbuild/rules_go/pull/3749) - Fix integration tests with Bazel@HEAD by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3781](https://togithub.com/bazelbuild/rules_go/pull/3781) - Automatically register SDKs for common execution platforms by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3634](https://togithub.com/bazelbuild/rules_go/pull/3634) - fix `aux_files` relative paths for gomock source mocks (fix [#​3752](https://togithub.com/bazelbuild/rules_go/issues/3752)) by [@​ikavalio](https://togithub.com/ikavalio) in [https://github.com/bazelbuild/rules_go/pull/3753](https://togithub.com/bazelbuild/rules_go/pull/3753) - Update to modern protoc plugins by [@​mering](https://togithub.com/mering) in [https://github.com/bazelbuild/rules_go/pull/3761](https://togithub.com/bazelbuild/rules_go/pull/3761) - Add integration tests for protoc-gen-go-grpc by [@​ryanpbrewster](https://togithub.com/ryanpbrewster) in [https://github.com/bazelbuild/rules_go/pull/3787](https://togithub.com/bazelbuild/rules_go/pull/3787) - Add Bzlmod support for `nogo` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3782](https://togithub.com/bazelbuild/rules_go/pull/3782) - fix(gpd): don't panic on invalid root by [@​JamyDev](https://togithub.com/JamyDev) in [https://github.com/bazelbuild/rules_go/pull/3779](https://togithub.com/bazelbuild/rules_go/pull/3779) - Pass env to gentestmain so it will correctly filter by [@​patrickmscott](https://togithub.com/patrickmscott) in [https://github.com/bazelbuild/rules_go/pull/3785](https://togithub.com/bazelbuild/rules_go/pull/3785) - prepare release 0.44.0 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3788](https://togithub.com/bazelbuild/rules_go/pull/3788) #### New Contributors - [@​Clement-Jean](https://togithub.com/Clement-Jean) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3773](https://togithub.com/bazelbuild/rules_go/pull/3773) - [@​ikavalio](https://togithub.com/ikavalio) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3753](https://togithub.com/bazelbuild/rules_go/pull/3753) - [@​ryanpbrewster](https://togithub.com/ryanpbrewster) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3787](https://togithub.com/bazelbuild/rules_go/pull/3787) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.43.0...v0.44.0 ### [`v0.43.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.43.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.42.0...v0.43.0) #### Breaking `x/tools` upgrade This change includes a breaking upgrade to [golang.org/x/tools](https://pkg.go.dev/golang.org/x/tools) Please make sure to upgrade `x/tools` to version `v0.15.0` to ensure compatibility with rules_go's NoGo. **If you need to use an older version of `x/tools` (`v0.13.0` or earlier), apply the following patch to `rules_go`**: [x-tools.patch](https://togithub.com/bazelbuild/rules_go/files/13417624/x-tools.patch) #### What's Changed - Test BCR test module on macos_arm64 by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3715](https://togithub.com/bazelbuild/rules_go/pull/3715) - update documentation for `0.42.0` release by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3716](https://togithub.com/bazelbuild/rules_go/pull/3716) - add netrc support to go_download_sdk by [@​justinwon777](https://togithub.com/justinwon777) in [https://github.com/bazelbuild/rules_go/pull/3718](https://togithub.com/bazelbuild/rules_go/pull/3718) - Temporarily disable Bzlmod explicitly by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3720](https://togithub.com/bazelbuild/rules_go/pull/3720) - Fix urls used to get auth in go_download_sdk by [@​justinwon777](https://togithub.com/justinwon777) in [https://github.com/bazelbuild/rules_go/pull/3724](https://togithub.com/bazelbuild/rules_go/pull/3724) - Include `go.env` in `//go` runfiles by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3722](https://togithub.com/bazelbuild/rules_go/pull/3722) - Update arm platform constraint to latest value in bazel. by [@​BryanDClark](https://togithub.com/BryanDClark) in [https://github.com/bazelbuild/rules_go/pull/3734](https://togithub.com/bazelbuild/rules_go/pull/3734) - Add toolchain param to affected actions by [@​kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_go/pull/3740](https://togithub.com/bazelbuild/rules_go/pull/3740) - upgrade tools by [@​hawkingrei](https://togithub.com/hawkingrei) in [https://github.com/bazelbuild/rules_go/pull/3730](https://togithub.com/bazelbuild/rules_go/pull/3730) - Also take library deps like srcs into account in go context by [@​mering](https://togithub.com/mering) in [https://github.com/bazelbuild/rules_go/pull/3725](https://togithub.com/bazelbuild/rules_go/pull/3725) - Add go_cross_binary to README by [@​jfirebaugh](https://togithub.com/jfirebaugh) in [https://github.com/bazelbuild/rules_go/pull/3744](https://togithub.com/bazelbuild/rules_go/pull/3744) - Update `bazel_features` to v1.1.1 by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3747](https://togithub.com/bazelbuild/rules_go/pull/3747) - builder: Make paths absolute for stdliblist ([#​1357](https://togithub.com/bazelbuild/rules_go/issues/1357)) by [@​zecke](https://togithub.com/zecke) in [https://github.com/bazelbuild/rules_go/pull/3748](https://togithub.com/bazelbuild/rules_go/pull/3748) - feat(gopackagesdriver): add base test case for go packages driver by [@​JamyDev](https://togithub.com/JamyDev) in [https://github.com/bazelbuild/rules_go/pull/3743](https://togithub.com/bazelbuild/rules_go/pull/3743) - Fix bazel query scope not being used by [@​rastenis](https://togithub.com/rastenis) in [https://github.com/bazelbuild/rules_go/pull/3688](https://togithub.com/bazelbuild/rules_go/pull/3688) - Add support for `xtest` packages in Go Packages Driver by [@​JamyDev](https://togithub.com/JamyDev) in [https://github.com/bazelbuild/rules_go/pull/3750](https://togithub.com/bazelbuild/rules_go/pull/3750) - upgrade x/tools to 0.15.0 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3751](https://togithub.com/bazelbuild/rules_go/pull/3751) - bug fix: parse embeds in files that contain the double quote rune by [@​andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/rules_go/pull/3672](https://togithub.com/bazelbuild/rules_go/pull/3672) - prepare release 0.43.0 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3745](https://togithub.com/bazelbuild/rules_go/pull/3745) #### New Contributors - [@​justinwon777](https://togithub.com/justinwon777) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3718](https://togithub.com/bazelbuild/rules_go/pull/3718) - [@​BryanDClark](https://togithub.com/BryanDClark) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3734](https://togithub.com/bazelbuild/rules_go/pull/3734) - [@​kotlaja](https://togithub.com/kotlaja) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3740](https://togithub.com/bazelbuild/rules_go/pull/3740) - [@​rastenis](https://togithub.com/rastenis) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3688](https://togithub.com/bazelbuild/rules_go/pull/3688) - [@​andyscott](https://togithub.com/andyscott) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3672](https://togithub.com/bazelbuild/rules_go/pull/3672) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.42.0...v0.43.0

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.