api-common-protos
api-common-protos copied to clipboard
chore(deps): update dependency io_bazel_rules_go to v0.55.1
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| io_bazel_rules_go | http_archive | minor | 0.18.5 -> v0.55.1 |
Release Notes
bazelbuild/rules_go (io_bazel_rules_go)
v0.55.1
This includes:
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "9d72f7b8904128afb98d46bbef82ad7223ec9ff3718d419afb355fddd9f9484a",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.55.1/rules_go-v0.55.1.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.55.1/rules_go-v0.55.1.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.4")
v0.55.0
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "c6cf9da6668ac84c470c43cbfccb8fdc844ead2b5a8b918e2816d44f2986f644",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.55.0/rules_go-v0.55.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.55.0/rules_go-v0.55.0.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.3")
What's Changed
- Checking test suite duration by @linzhp in https://github.com/bazel-contrib/rules_go/pull/43233
- Revert "Fail when expected files are not produced by protoc (#4287)" by @linzhp in https://github.com/bazel-contrib/rules_go/pull/43244
- Add imacros to absolutized cgo env list by @LaurenceTews in https://github.com/bazel-contrib/rules_go/pull/43255
- go_cross: allow transition on compilation_mode by @sluongng in https://github.com/bazel-contrib/rules_go/pull/43200
- Pass config to subanalyzers by @grzegorzsn in https://github.com/bazel-contrib/rules_go/pull/43300
- Update BCR presumit matrix by @linzhp in https://github.com/bazel-contrib/rules_go/pull/43311
- Work around incompatibility between zlib and clang 17 by @fmeum in https://github.com/bazel-contrib/rules_go/pull/43322
- Export new location of support files needed for using Go's WASM output. by @malt3 in https://github.com/bazel-contrib/rules_go/pull/43222
- Fix incompatibility with
--incompatible_auto_exec_groupsby @fmeum in https://github.com/bazel-contrib/rules_go/pull/41411 - Re-spawned test binary should not break PWD by @abhinav in https://github.com/bazel-contrib/rules_go/pull/43366
- Only emit patch file if nogo has fixes by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42699
- Rename
outtoout_diagnosticsby @fmeum in https://github.com/bazel-contrib/rules_go/pull/43411 - Remove rules_proto by @comius in https://github.com/bazel-contrib/rules_go/pull/43399
- Remove shadow analyzer from TOOLS_NOGO by @gpanders in https://github.com/bazel-contrib/rules_go/pull/43444
- Disable
pkgfactanalyzer by @fmeum in https://github.com/bazel-contrib/rules_go/pull/43499 - Discourage references to the default SDK by @fmeum in https://github.com/bazel-contrib/rules_go/pull/43511
- go/tools/gopackagesdriver: Adding Cgo support by @r-hang in https://github.com/bazel-contrib/rules_go/pull/43388
- Pass headers along as transitive dependencies by @patrickmscott in https://github.com/bazel-contrib/rules_go/pull/42988
- Allowing a go_proto_compiler to indicate whether it always generate files by @linzhp in https://github.com/bazel-contrib/rules_go/pull/43644
- fix: merge '-Wl,' with next value so extldflags can accept flags like " -Wl,xxxx" by @luzhanning in https://github.com/bazel-contrib/rules_go/pull/43677
New Contributors
- @LaurenceTews made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43255
- @grzegorzsn made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43300
- @comius made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43399
- @gpanders made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43444
- @r-hang made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43388
- @luzhanning made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43677
Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.54.1...v0.55.0
v0.54.1
This release include two bug fixes:
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "130739704540caa14e77c54810b9f01d6d9ae897d53eedceb40fd6b75efc3c23",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.54.1/rules_go-v0.54.1.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.54.1/rules_go-v0.54.1.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.3")
Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.54.0...v0.54.1
v0.54.0
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "f2d15bea3e241aa0e3a90fb17a82e6a8ab12214789f6aeddd53b8d04316d2b7c",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.2")
What's Changed
- Mark gomock() hidden targets manual by @EdSchouten in https://github.com/bazel-contrib/rules_go/pull/42655
- Bump golang.org/x/tools to a version that supports Go 1.24.0. by @benjaminp in https://github.com/bazel-contrib/rules_go/pull/42666
- Avoid Gazelle recognizing an internal repo as a Go SDK repo by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42644
- Generate exports for stdlib by @jgautier-dd in https://github.com/bazel-contrib/rules_go/pull/42444
- Don't swallow errors when running nogo by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42711
- gopackagesdriver: skip root packages that can't be built by @jayconrod in https://github.com/bazel-contrib/rules_go/pull/38066
- Grouping subtests using test suites in test.xml by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42755
- Update Go SDKs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42722
- Preserve
nogorunfiles by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42700 - Generate facts for targets not in nogo scope by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42688
- Use upstream definitions, fix gopackagesdriver by @rv32ima in https://github.com/bazel-contrib/rules_go/pull/41855
- Bug fix: proto: add gofeaturespb as well-known type; Go Protobuf ships it by @stapelberg in https://github.com/bazel-contrib/rules_go/pull/42799
- Calculating the test suite duraion from timestamps by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42811
- Stop using Label.workspace_name by @EdSchouten in https://github.com/bazel-contrib/rules_go/pull/42822
- Fail when expected files are not produced by protoc by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42877
- add workspaceFiles to vim configuration documentation by @rv32ima in https://github.com/bazel-contrib/rules_go/pull/42900
- Fix goos and goarch options in go_wrap_sdk by @patrickmscott in https://github.com/bazel-contrib/rules_go/pull/42955
- Escape backslashes and newlines in response files by @alopezz in https://github.com/bazel-contrib/rules_go/pull/42977
- Add wrap extension tag to implement go_wrap_sdk by @patrickmscott in https://github.com/bazel-contrib/rules_go/pull/43011
- fix the reporting message for getFixes by @peng3141 in https://github.com/bazel-contrib/rules_go/pull/42999
- Producing "fail" event when a test case panics by @linzhp in https://github.com/bazel-contrib/rules_go/pull/43066
- fix(cgo): exclude crypto/internal/sysrand/internal/seccomp from SDK srcs by @adam-azarchs in https://github.com/bazel-contrib/rules_go/pull/43111
- fix(gomock): add missing mnemonic to gomock action by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/43133
- go_sdk: Pick a consistent repo name to improve cachability by @zecke in https://github.com/bazel-contrib/rules_go/pull/43144
- Add
go_sdk.from_fileto read the SDK version fromgo.mod. by @jaqx0r in https://github.com/bazel-contrib/rules_go/pull/43055 - deps: Get repositories.bzl in sync with go.mod by @adam-azarchs in https://github.com/bazel-contrib/rules_go/pull/43166
New Contributors
- @jgautier-dd made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42444
- @rv32ima made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41855
- @stapelberg made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42799
- @alopezz made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42977
- @jaqx0r made their first contribution in https://github.com/bazel-contrib/rules_go/pull/43055
Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.53.0...v0.54.0
v0.53.0
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.0")
What's Changed
- Improve the comment for
go_sdk.host()in the installation docs by @stefanobaghino in https://github.com/bazel-contrib/rules_go/pull/42300 - Use same Go SDK as Gazelle for
go_bazel_testby @fmeum in https://github.com/bazel-contrib/rules_go/pull/42311 - Allow .so files to have more extensions by @matshch in https://github.com/bazel-contrib/rules_go/pull/42322
- Update documentation reference by @phst in https://github.com/bazel-contrib/rules_go/pull/42377
- Update protoc plugins to support Protobuf Editions by @mering in https://github.com/bazel-contrib/rules_go/pull/42366
- Fix bullet point format in readme by @bluec0re in https://github.com/bazel-contrib/rules_go/pull/42399
- sdk: remove logic for Bazel versions below 6.4.0 by @sluongng in https://github.com/bazel-contrib/rules_go/pull/42388
- Add new setting //go/toolchain:sdk_name to allow the selection of a specific Go toolchain by @bluec0re in https://github.com/bazel-contrib/rules_go/pull/42422
- Mention
dev_dependencyingo_sdk.hosterror by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42466 - Keep order for PATH components by @lukasoyen in https://github.com/bazel-contrib/rules_go/pull/42522
- Reporting subtests as they finish by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42500
- Capturing elapsed time of interrupted test cases due to timeout by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42533
- Fix upgrade-dep patching system by @stevebarrau in https://github.com/bazel-contrib/rules_go/pull/42544
- Rewrite examples and new user documentation by @jayconrod in https://github.com/bazel-contrib/rules_go/pull/42511
- Fixing a flaky test by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42577
- Sync test2json from upstream Go by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42611
- Populate timestamp in test.xml by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42599
New Contributors
- @stefanobaghino made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42300
- @matshch made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42322
- @bluec0re made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42399
- @lukasoyen made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42522
- @stevebarrau made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42544
Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.52.0...v0.53.0
v0.52.0
MODULE.bazel code
bazel_dep(name = "rules_go", version = "0.52.0")
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "90fe8fb402dee957a375f3eb8511455bd738c7ed562695f4dd117ac7d2d833b1",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.52.0/rules_go-v0.52.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.52.0/rules_go-v0.52.0.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.23.4")
What's Changed
- Update embedding.md to correct typo by @mju in https://github.com/bazel-contrib/rules_go/pull/41888
- Support Go 1.24's wasip1 reactors by @leonm1 in https://github.com/bazel-contrib/rules_go/pull/42011
- fix: Make context.mode always be GoConfigInfo by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/42033
- chore: remove Travis-specific install docs by @alexeagle in https://github.com/bazel-contrib/rules_go/pull/42088
- Undo API-breaking change to go_sdk experiments attribute by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/42100
- docs: update core link reference from .bzl to .rst by @athongsavath in https://github.com/bazel-contrib/rules_go/pull/42144
- chore(docs): move WORKSPACE docs out of primary README by @alexeagle in https://github.com/bazel-contrib/rules_go/pull/42099
- Disable mac CI, update Linux by @linzhp in https://github.com/bazel-contrib/rules_go/pull/42200
- feat: Saving the nogo fixes by @peng3141 in https://github.com/bazel-contrib/rules_go/pull/41022
- Build stdlib with msan support by @smertnik3sh in https://github.com/bazel-contrib/rules_go/pull/42188
- Get
go_bazel_tests to pass with Bzlmod by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42233
New Contributors
- @mju made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41888
- @leonm1 made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42011
- @athongsavath made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42144
- @peng3141 made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41022
- @smertnik3sh made their first contribution in https://github.com/bazel-contrib/rules_go/pull/42188
Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.51.0...v0.52.0
v0.51.0
Breaking changes
In order to reduce CPU and memory usage in the analysis phase and to improve the maintainability of the codebase, this release contains a number of breaking changes.
As the bulk of these changes are to the Go context API, users of the go_* rules should not be affected (with a very minor exception below).
The maintainers would like to give a special thanks to @dzbarsky for numerous contributions to this release!
Changes to rules
- Support for inferring an importpath for libraries named
go_default_libraryhas been removed. Modern versions of Gazelle do not generate this target name, please ensure you are up to date. (c8a7ebca3)
Changes to the Go context API and behavior
-
Converted SDK files to depsets (
go.sdk.tools,go.sdk.headers,go.sdk.libs,go.sdk.srcs). To migrate, either callto_list()on those properties or, preferably, use them asdepsets in your downstream actions. To remain compatible with older versions, consider a conditional conversion such asdepset_or_list if type(depset_or_list) == type([]) else depset_or_list.to_list()(3994841a) -
go.sdk_fileshas been removed and can be replaced withdepset(direct = [go.sdk.go], transitive = [go.sdk.srcs, go.sdk.headers, go.sdk.libs, go.sdk.tools])(which is adepset). Wherever possible, try to use only the subset of those files that's actually needed. -
GoSourceandGoLibraryproviders have been merged and renamed toGoInfo. The previous names are now aliases, but can result in errors about duplicate providers when both are returned from the same rule.go.new_libraryandgo.library_to_sourceare now deprecated. To migrate, usego.new_go_info. To remain compatible with older versions that require both providers, consider checking whetherGoSource != GoLibrary. (564f8204) -
Some fields on the Go context object are marked deprecated.
go_contextwill still add them to the context object, unless it is invoked withinclude_deprecated_properties = False. This default will be flipped in the future and eventually this codepath will be removed. (aa96a1174) You can migrate as follows:go.root->go.env["GOROOT"]go.go->go.sdk.gogo.sdk_root->go.sdk.root_filego.sdk_tools->go.sdk.toolsgo.package_list->go.sdk.package_listgo.tags->go.mode.tagsgo.stamp->go.mode.stampgo.cover_format->go.mode.cover_formatgo.pgoprofile->go.mode.pgoprofile
-
Removed
get_nogofrom the Go context object (0f88f8c8) -
Removed
exe_extensionandshared_extensionfrom the Go context object. (c419453a) -
Removed
GoSource.cc_info. If you need to access theCcInfofrom a Go target, you will need to apply the_go_cc_aspectfromgo/private/rules/binary.bzl. Please let us know if it's needed and we can move it to public API. (a01ba7c72) -
go_binaryandgo_testtargets no longer exposeGoInfo,GoSourceorGoLibraryproviders. If you need a dedicated provider to attach an aspect to, please let us know. (2d2266) -
The Go context's
modeproperty is now aGoConfigInfoprovider instead of a bare struct.go.mode.linkhas been renamed togo.mode.linkmode(5933f872) -
If you are relying on
go_contextto read an_stdlibattribute from yourattrs, please ensure the attribute is not transitioned, as it will no longer handle a list value. (9214edcd126) -
go_contextnow accepts keyword arguments for the following fields:go_context_data,importpath,importmap,embed,importpath_aliases. If these properties are omitted, the function will continue to fall back to reading them fromattr. Consider passing these explicitly to improve code clarity and analysis phase performance. (6749a3819, f3029e2a8)
Changes to providers
GoSource
-
Removed
cgo_deps, usecdepsinstead (56d415d) -
Removed
orig_srcs(520bee50) -
Removed
cgo_exports(86c3f3ae97) -
Converted
coverto adepset(692d008c96) -
depsis now a list ofGoArchives instead ofTargets (a32f3e1)
GoArchive
- Removed
mode, usesource.modeinstead (bfd99a663)
GoArchiveData
- Removed
data_files, use withrunfilesinstead, which is arunfilesobject (60f55c91ce)
CgoContextInfo
- Converted
cc_toolchain_filesto adepset(3994841)
WORKSPACE code
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "0936c9bc3c4321ee372cb8f66dd972d368cb940ed01a9ba9fd7debcf0093f09b",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.51.0/rules_go-v0.51.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.51.0/rules_go-v0.51.0.zip",
],
)
load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.23.4")
What's Changed
- Lazy expand absolute path to avoid including them in the output by @AlessandroPatti in https://github.com/bazel-contrib/rules_go/pull/40099
- Stop splitting sources in emit_archive by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40155
- Remove split_srcs by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40199
- Remove orig_src_map by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40255
- Simplify how we emit GoStdLib by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40266
- Cleanup GoArchiveData runfiles handling by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40244
- Use depset for SDK files by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40144
- Tweak how we pass GOEXPERIMENT to actions by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40222
- Remove get_nogo from context by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40299
- Remove mode from GoArchive by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40288
- Remove cgo_deps from GoSource provider by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40311
- Cleanup binary extension computation by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40333
- add docs for
go_deps.gazelle_default_attributesby @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40211 - Tweak nogo archive handling by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40233
- Prefer rfind to rpartition in go_context by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40355
- Add qnx and osx platforms by @hofbi in https://github.com/bazel-contrib/rules_go/pull/40366
- Move PATH env-var computation to GoContextInfo by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40377
- Turn source.cover into a depset by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40399
- Create shallower runfiles by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40400
- docs: add missing anchor to Bazel toolchains definition by @albertocavalcante in https://github.com/bazel-contrib/rules_go/pull/40422
- Cleanup compilepkg flags handling by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40433
- GoSource can store dependent archives instead of full deps by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40411
- Remove some fields from Go context by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40344
- Optimize CcInfo computation by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40200
- Remove GoSource/GoLibrary from test/binary rules by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40444
- Remove orig_srcs by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40388
- Cleanup infer_importpath by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40477
- Cleanup importpath/importmap handling in go_context by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40522
- Remove cgo_exports from GoSource by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40511
- gomock: support uber's
-typedflag by @maratori in https://github.com/bazel-contrib/rules_go/pull/40177 - Making gopackagesdriver correctly handle relative queries made from a subdirectory. by @waltercacau in https://github.com/bazel-contrib/rules_go/pull/40022
- Cleanup GoArchiveData usage of as_tuple by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40322
- Cleanup get_mode by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40555
- Cleanup _merge_embed by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40488
- Remove mode_tags_equivalent by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40577
- Remove more hasattr/getattr calls in go_context by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40544
- Speedup get_mode some more by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40566
- Support GOOS=wasip1 by @rockwotj in https://github.com/bazel-contrib/rules_go/pull/40455
- Remove as_list/as_iterable usage from go_path by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40599
- Remove usage of _flatten_possibly_transitioned_attr in common case by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40600
- Document the
suffixesattribute ofgo_proto_compilerby @leskin-in in https://github.com/bazel-contrib/rules_go/pull/39700 - Simplify duplicate importmap handling by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40166
- More go_context speedups by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40588
- builder: work around change in filepath.EvalSymlinks behavior by @jayconrod in https://github.com/bazel-contrib/rules_go/pull/40500
- Handle targets provided in deps as a result of GoSource.resolver by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40633
- make
go_reset_targetpublic by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/39655 - Cleanup coverdata handling in compilepkg by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40688
- gomock: allow passing extra flags to mockgen_tool by @TvdW in https://github.com/bazel-contrib/rules_go/pull/40666
- Update nogo.rst by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40711
- [context.bzl] add more helpful debug message to resolver issue by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40722
- Forward
-testfilterto nogo and fix failure in case of no srcs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40755 - prepare rules_go release 0.50.0 by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40644
- Do not report nogo diagnostics for cgo generated files by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40811
- Run nogo on internal and external tests libs, not testmain by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40822
- Only print type-checking error once in nogo by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40833
- prepare patch release 0.50.1 by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40877
- Always omit -pie from cc_toolchain linker flags by @siddharthab in https://github.com/bazel-contrib/rules_go/pull/36933
- Use -gcflags=--pgoprofile instead of -pgo when building stdlib by @JacobOaks in https://github.com/bazel-contrib/rules_go/pull/40977
- make toolchains repo more reproducible by @malt3 in https://github.com/bazel-contrib/rules_go/pull/40999
- feat(gpd): add overlay support for gopackagesdriver by @LWarrens in https://github.com/bazel-contrib/rules_go/pull/41011
- Remove unneeded packages from stdlib by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40933
- Mark deps explicitly added with
//go getas direct by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40277 - Update Go SDK to 1.23.1 by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41055
- fix(gpd): keep compiled files from stdlib packages in https://github.com/bazel-contrib/rules_go/pull/41144
- fix(gpd): add missing condition in MoveTestFiles() in https://github.com/bazel-contrib/rules_go/pull/41188
- feat(gpd): support of GOPACKAGESDRIVER_BAZEL_COMMON_FLAGS env variable https://github.com/bazel-contrib/rules_go/pull/41174117
- feat(stdlib): update TAG_AFFECTS_STDLIB dict for Go versions 1.20..1.23 ihttps://github.com/bazel-contrib/rules_go/pull/4122122
- bzlmod.md: update style of code by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/41233
- fix(compile): add missing GOAMD64 and GOARM env values in goctx.env_for_path_mapping https://github.com/bazel-contrib/rules_go/pull/41214121
- go_sdk: Add missing arguments to cross-platform SDKs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41255
- Let the Publish to BCR app maintain the module version by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41266
- Fix
GoArchiveDatadocs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41300 - fix: fix slice init length by @cuishuang in https://github.com/bazel-contrib/rules_go/pull/41333
- Make it easier to parse rules_go's .bzl files with Go Starlark by @EdSchouten in https://github.com/bazel-contrib/rules_go/pull/41400
- Add support for spaces and newlines in runfiles paths by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41366
- feat: avoid cc toolchain selection (#4145) by @sallustfire in https://github.com/bazel-contrib/rules_go/pull/41466
- Allow bazel test //... to run out-of-the-box by @eljobe in https://github.com/bazel-contrib/rules_go/pull/41500
- Support .syso files in the
srcslists forgo_libraryandgo_testrules. by @eljobe in https://github.com/bazel-contrib/rules_go/pull/41511 - fix: properly expand absolute path placeholder for link calls by @voxeljorge in https://github.com/bazel-contrib/rules_go/pull/41444
- Speedup compilepkg args handling by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40744
- Improve runfiles docs with examples and more deprecations by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41633
- Fix
go_tool_binarynon-hermeticity and Go 1.19 incompatibility by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41677 - fix: tests respect --strip like binaries (#4103) by @ajwerner in https://github.com/bazel-contrib/rules_go/pull/41644
- Raise minimum Bazel version to 6.5.0 by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41711
- chore: removed some unused vars by @hauserx in https://github.com/bazel-contrib/rules_go/pull/41755
- Merge GoLibrary and GoSource providers by @dzbarsky in https://github.com/bazel-contrib/rules_go/pull/40300
- gomock: fix for golang.org/x/tools >= v0.27.0 by @pjjw in https://github.com/bazel-contrib/rules_go/pull/41733
- prepare rules_go release 0.51.0-rc1 by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/41766
- fix(go/tools/releaser) allow prereleases by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/41777
- fix(go/tools/release): fix urls to use bazel-contrib by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/41788
- Use rules_shell's sh_binary and sh_test by @ted-xie in https://github.com/bazel-contrib/rules_go/pull/41822
- prepare rules_go release 0.51.0-rc2 by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41833
- Update BCR metadata by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41877
- Stop assuming deps of go_proto_library has importmap attribute by @linzhp in https://github.com/bazel-contrib/rules_go/pull/41899
- Support the go1.21
testing.Testing()function by @apsaltis-ddog in https://github.com/bazel-contrib/rules_go/pull/41900 - Fixing default includes of nogo by @linzhp in https://github.com/bazel-contrib/rules_go/pull/41955
New Contributors
- @AlessandroPatti made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40099
- @dzbarsky made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40155
- @hofbi made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40366
- @albertocavalcante made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40422
- @maratori made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40177
- @waltercacau made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40022
- @rockwotj made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40455
- @leskin-in made their first contribution in https://github.com/bazel-contrib/rules_go/pull/39700
- @TvdW made their first contribution in https://github.com/bazel-contrib/rules_go/pull/40666
- @cuishuang made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41333
- @sallustfire made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41466
- @eljobe made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41500
- @voxeljorge made their first contribution in https://github.com/bazel-contrib/rules_go/pull/41444
- @ajwerner made their first contribution in [https://github.com/bazel-contrib/rules_go/pu
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.