v0.34.0
What's Changed
- releaser: fix scrubbing timestamp from patch files by @sluongng in #3180
- Replace Starlark JSON parser with json.decode by @fmeum in #3184
- gopackagesdriver: separates "s" files in pkg info by @iamricard in #3165
- Refactor away references to @io_bazel_rules_go by @fmeum in #3185
- Do not print to stderr if cgo linking succeeds after retry by @fmeum in #3187
- Use param files with go-protoc by @fmeum in #3190
- Don't include non-executable go_binary in dependent's runfiles by @fmeum in #3151
- Link in native libraries of transitive dependencies in archive mode by @fmeum in #3186
- runfiles: remove deprecated api by @sluongng in #3198
- Fix failing open hermeticity test by @fmeum in #3206
- Fix go_googleapis Gazelle patch by @nickgooding in #3193
- Exclude unsupported C/C++ features by @fmeum in #3189
- Allow gomock to take Bazel common attributes by @linzhp in #3207
- Transition on edges not self by @illicitonion in #3116
- Include go_transition_test in bazel aspect by @ian-h-chamberlain in #3160
- Add an example for go_download_sdk.sdks by @fishy in #3139
- tests: nogo over generated code by @sluongng in #3214
- test nogo/coverage: test generated code by @sluongng in #3213
- Remove references to go_transition_test by @linzhp in #3215
- Basic bzlmod setup by @fmeum in #3047
- Run BCR tests against Bazel 6.0.0-pre.20220608.2 by @fmeum in #3223
- Use repo-relative labels in MODULE.bazel by @fmeum in #3226
- upkeep: upgrade to go 1.18.3 and gazelle v0.26.0 by @sluongng in #3220
- nogo: ignore generated source files by @sluongng in #3216
- asm: Pass package path with -p by @fmeum in #3231
- bzlmod: Add support for gomock by @fmeum in #3232
- test cgo: ensure helper script works by @sluongng in #3236
- Fix //tests/legacy/examples/cgo:cgo_lib_test on M1 Macs by @fmeum in #3237
- gopackagesdriver: Descend into go_proto_compiler's deps by @fmeum in #3240
- new_library: remove unused resolver by @sluongng in #3219
- nogo: instantiate type info for generic types when running under Go >=1.18 by @farhaven in #3212
New Contributors
- @iamricard made their first contribution in #3165
- @ian-h-chamberlain made their first contribution in #3160
- @fishy made their first contribution in #3139
- @farhaven made their first contribution in #3212
Full Changelog: v0.33.0...v0.34.0
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "16e9fca53ed6bd4ff4ad76facc9b7b651a89db1689a2877d6fd7b82aa824e366",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.18.4")