-
Notifications
You must be signed in to change notification settings - Fork 69
Update dependency io_bazel_rules_go to v0.55.1 #1092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/io_bazel_rules_go-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
323015c to
f8c9063
Compare
1d8c1c6 to
e22a99d
Compare
86e6949 to
d980c37
Compare
d980c37 to
3275317
Compare
3275317 to
e238d93
Compare
e238d93 to
2258289
Compare
722adea to
5ad991b
Compare
5ad991b to
2b7d733
Compare
394b2c4 to
986d94a
Compare
aa7a86d to
352ec00
Compare
df6084e to
771fabf
Compare
895f191 to
6c3c834
Compare
b4ae1e6 to
af54234
Compare
94309d5 to
beae7a8
Compare
35ebbba to
d3e9dca
Compare
d3e9dca to
12ea046
Compare
12ea046 to
5ee5493
Compare
5ee5493 to
aa85b61
Compare
aa85b61 to
87debbd
Compare
37855c7 to
918738c
Compare
a64fe00 to
9d555be
Compare
74b59a3 to
ee4831c
Compare
ee4831c to
d65457f
Compare
5bcf9e5 to
b7f0373
Compare
b7f0373 to
28724cf
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
bazelbuild/rules_go (io_bazel_rules_go)
v0.55.1Compare Source
This includes:
WORKSPACEcodev0.55.0Compare Source
WORKSPACEcodeWhat's Changed
--incompatible_auto_exec_groupsby @fmeum in https://github.com/bazel-contrib/rules_go/pull/41411outtoout_diagnosticsby @fmeum in https://github.com/bazel-contrib/rules_go/pull/43411pkgfactanalyzer by @fmeum in https://github.com/bazel-contrib/rules_go/pull/43499New Contributors
Full Changelog: https://github.com/bazel-contrib/rules\_go/compare/v0.54.1...v0.55.0
v0.54.1Compare Source
This release include two bug fixes:
WORKSPACEcodeFull Changelog: https://github.com/bazel-contrib/rules\_go/compare/v0.54.0...v0.54.1
v0.54.0Compare Source
WORKSPACEcodeWhat's Changed
nogorunfiles by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42700go_sdk.from_fileto read the SDK version fromgo.mod. by @jaqx0r in https://github.com/bazel-contrib/rules_go/pull/43055New Contributors
Full Changelog: https://github.com/bazel-contrib/rules\_go/compare/v0.53.0...v0.54.0
v0.53.0Compare Source
WORKSPACEcodeWhat's Changed
go_sdk.host()in the installation docs by @stefanobaghino in https://github.com/bazel-contrib/rules_go/pull/42300go_bazel_testby @fmeum in https://github.com/bazel-contrib/rules_go/pull/42311dev_dependencyingo_sdk.hosterror by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42466New Contributors
Full Changelog: https://github.com/bazel-contrib/rules\_go/compare/v0.52.0...v0.53.0
v0.52.0Compare Source
MODULE.bazelcodeWORKSPACEcodeWhat's Changed
go_bazel_tests to pass with Bzlmod by @fmeum in https://github.com/bazel-contrib/rules_go/pull/42233New Contributors
Full Changelog: https://github.com/bazel-contrib/rules\_go/compare/v0.51.0...v0.52.0
v0.51.0Compare Source
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
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.pgoprofileRemoved
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
GoSourceRemoved
cgo_deps, usecdepsinstead (56d415d)Removed
orig_srcs(520bee50)Removed
cgo_exports(86c3f3ae97)Converted
coverto adepset(692d008c96)depsis now a list ofGoArchives instead ofTargets (a32f3e1)GoArchivemode, usesource.modeinstead (bfd99a663)GoArchiveDatadata_files, use withrunfilesinstead, which is arunfilesobject (60f55c91ce)CgoContextInfocc_toolchain_filesto adepset(3994841)WORKSPACEcodeWhat's Changed
go_deps.gazelle_default_attributesby @tyler-french in https://github.com/bazel-contrib/rules_go/pull/40211-typedflag by @maratori in https://github.com/bazel-contrib/rules_go/pull/40177suffixesattribute ofgo_proto_compilerby @leskin-in in https://github.com/bazel-contrib/rules_go/pull/39700go_reset_targetpublic by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/39655-testfilterto nogo and fix failure in case of no srcs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40755//go getas direct by @fmeum in https://github.com/bazel-contrib/rules_go/pull/40277GoArchiveDatadocs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41300srcslists forgo_libraryandgo_testrules. by @eljobe in https://github.com/bazel-contrib/rules_go/pull/41511go_tool_binarynon-hermeticity and Go 1.19 incompatibility by @fmeum in https://github.com/bazel-contrib/rules_go/pull/41677testing.Testing()function by @apsaltis-ddog in https://github.com/bazel-contrib/rules_go/pull/41900New Contributors
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.