Update module github.com/bazelbuild/rules_go to v0.37.0 - abandoned #865
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.29.0
->v0.37.0
Release Notes
bazelbuild/rules_go
v0.37.0
Compare Source
Major New Features
What's Changed
strip_prefix
field tosource.template.json
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3359bindata
,go_embed_data
, andgo_embed_data_deps
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3362emit_stdlib
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3366Rlocation
can return relative paths by @fmeum in https://github.com/bazelbuild/rules_go/pull/3377Rlocation
path by @fmeum in https://github.com/bazelbuild/rules_go/pull/3378New Contributors
Full Changelog: bazel-contrib/rules_go@v0.36.0...v0.37.0
WORKSPACE
codev0.36.0
Compare Source
Major new features
github.com/bazelbuild/rules_go/go/runfiles
(target@io_bazel_rules_go//go/runfiles
) and is now the official way to look up runfiles from Go. It will be made compatible with Bzlmod in a future release.Note: For improved consistency with runfiles libraries in other languages, the
Path
function present in https://github.com/phst/runfiles is calledRlocation
in rules_go.--@​io_bazel_rules_go//go/config:gc_goopts
and--@​io_bazel_rules_go//go/config:gc_linkopts
to accept additional compiler and linker flags.What's Changed
go version
instead ofVERSION
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3296//go/runfiles
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3341Path
toRlocation
in runfiles library by @fmeum in https://github.com/bazelbuild/rules_go/pull/3346New Contributors
Full Changelog: bazel-contrib/rules_go@v0.35.0...v0.36.0
WORKSPACE
codev0.35.0
Compare Source
What's Changed
go_binary
to gopackagesdriver. by @DrewMonroe in https://github.com/bazelbuild/rules_go/pull/3271go_cross_binary
rule for cross-compilation. by @JamesMBartlett in https://github.com/bazelbuild/rules_go/pull/3261@//
labels by @Wyverald in https://github.com/bazelbuild/rules_go/pull/3281go_proto_library
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3283New Contributors
Full Changelog: bazel-contrib/rules_go@v0.34.0...v0.35.0
WORKSPACE
codev0.34.0
Compare Source
What's Changed
New Contributors
Full Changelog: bazel-contrib/rules_go@v0.33.0...v0.34.0
WORKSPACE
codev0.33.0
Compare Source
Breaking changes
Deprecations
Bug Fixes
go_test
targets to fail (https://github.com/bazelbuild/rules_go/pull/3145)//go:embed
work withgo_path
(https://github.com/bazelbuild/rules_go/pull/3163)gomock
can be used with any Gazelle naming convention (https://github.com/bazelbuild/rules_go/pull/3155)go_library
targets using CGo can now reference unresolved symbols (https://github.com/bazelbuild/rules_go/pull/3174)Thanks to all of the contributors!
Compatibility
The minimum required version of Bazel remains at 4.2.1.
Updated dependencies
org_golang_x_sys
,org_golang_x_xerrors
,org_golang_google_genproto
,go_googleapis
to their most recent commit as of 2022-06-05As always, you can use higher versions of rules_go's dependencies by declaring them in WORKSPACE before calling go_rules_dependencies. Lower versions may work but are not supported.
WORKSPACE
codev0.32.0
Compare Source
This release brings many exciting changes
New features
gomock
rule is officially supported in rules_go (doc), replacing the original jmhodges/bazel_gomock repository. Thanks to @jmhodges for the original implementation.--combined_report=lcov
. To generate reports in the oldgo tool cover
format, please use--//go/config:cover_format=go_cover
. Thanks to @fmeum @abhinavBug fixes
Deprecations
go_embed_data
andbindata
will be deprecated in rules_go 0.35.0. Users are encourage to migrate togo:embed
andembedsrcs
.Other changes
Updated dependencies
As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.
org_golang_google_protobuf
updated to v1.28.0org_golang_x_sys
,org_golang_x_xerrors
,org_golang_google_genproto
andgo_googleapis
updated tomaster
, as of 2022-05-09WORKSPACE
codev0.31.0
Compare Source
This is a maintenance release to support Bazel 5.0. No new feature was added since last release.
Changes
Updated dependencies
As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.
platforms
updated to 0.0.5 as of 2022-03-14.bazel_skylib
updated to 1.2.1 as of 2022-03-14.org_golang_x_tools
updated to v0.1.9 as of 2022-03-14.org_golang_x_sys
updated tomaster
as of 2022-03-14.org_golang_google_genproto
updated tomain
as of 2022-03-14.go_googleapis
updated tomaster
as of 2022-03-14.Thanks @moisesvega for updating the dependencies and preparing the release notes.
WORKSPACE
codev0.30.0
Compare Source
Changes
Add first class support for GOOS=ios (#3013)
Always include debug symbols with -c dbg (#3029)
Previously, debugging a go_test target was only possible with an explicit --@io_bazel_rules_go//go/config:debug.
go_test: Add env attribute (#3004)
This allows setting environment variables before static initialisers run, and which reference expanded locations.
tests/core/cgo: do not assume test is being run from main repo (#2956)
reproducibility_test: explicitly build the go_sdk builder (#3026)
map bazel's --test_runner_fail_fast to go's -failfast (#3058)
Bug Fixes
go_bazel_test
rule on Windows (#3036)Thanks to all of the contributors
Compatibility
was 4.2.0.
Updated dependencies
As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.
org_golang_x_tools
updated tov0.1.8
(#3031)org_golang_x_sys
updated tomaster
as of 2022-01-24.org_golang_google_genproto
updated tomaster
as of 2022-01-24.go_googleapis
updated tomaster
as of 2022-01-24.WORKSPACE
codeConfiguration
📅 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 has been generated by Mend Renovate. View repository job log here.