v0.48.0
tyler-french
released this
22 May 03:03
·
2 commits
to release-0.48
since this release
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
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 in #3931
- go_test: use different mnemonic for compilation by @sluongng in #3936
- Add go.work support to the documentation by @stefanpenner in #3932
- feat(mode): add
purego
tag whenpure
by @mattyclarkson in #3901 - generate_test_main: Move timeout handling back to bzltestutil by @DolceTriade in #3939
- Add support for
--incompatible_enable_proto_toolchain_resolution
by @fmeum in #3919 - Add exec_compatible_with to @go_sdk//:builder by @EdSchouten in #3943
- prepare v0.48.0 release by @tyler-french in #3946
New Contributors
- @stefanpenner made their first contribution in #3931
Full Changelog: v0.47.1...v0.48.0