-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency io_bazel_rules_go to v0.51.0 #2
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 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
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
2 times, most recently
from
September 21, 2022 13:53
dcb45a8
to
764420b
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
7 times, most recently
from
September 29, 2022 23:23
264c45b
to
5fbc642
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
3 times, most recently
from
October 13, 2022 09:05
623dee3
to
2c79347
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
2 times, most recently
from
October 20, 2022 10:13
bc12230
to
acd0360
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
October 26, 2022 23:30
acd0360
to
c7b2a9e
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
4 times, most recently
from
November 11, 2022 20:46
6ff2235
to
09eac14
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
November 12, 2022 19:57
09eac14
to
8d8454c
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.35.0
Update dependency io_bazel_rules_go to v0.36.0
Nov 23, 2022
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
2 times, most recently
from
November 30, 2022 16:01
d77aece
to
4a4431a
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.36.0
Update dependency io_bazel_rules_go to v0.37.0
Dec 6, 2022
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
4 times, most recently
from
December 14, 2022 03:18
bdfcd9e
to
da98575
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
December 16, 2022 16:31
da98575
to
59d1b28
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
December 8, 2023 21:59
8b91b15
to
a52db9b
Compare
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
December 19, 2023 20:02
a52db9b
to
428c277
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.43.0
Update dependency io_bazel_rules_go to v0.44.0
Dec 19, 2023
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
December 29, 2023 22:50
428c277
to
e0e4d27
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.44.0
Update dependency io_bazel_rules_go to v0.44.1
Dec 29, 2023
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
January 3, 2024 22:32
e0e4d27
to
e90439a
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.44.1
Update dependency io_bazel_rules_go to v0.44.2
Jan 3, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
January 12, 2024 21:28
e90439a
to
0d0c772
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.44.2
Update dependency io_bazel_rules_go to v0.45.0
Jan 12, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
January 19, 2024 16:56
0d0c772
to
3f4ef66
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.45.0
Update dependency io_bazel_rules_go to v0.45.1
Jan 19, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
February 10, 2024 04:10
3f4ef66
to
95c6072
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.45.1
Update dependency io_bazel_rules_go to v0.46.0
Feb 10, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
April 23, 2024 15:54
95c6072
to
d0e8324
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.46.0
Update dependency io_bazel_rules_go to v0.47.0
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
May 6, 2024 23:10
d0e8324
to
7fe585f
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.47.0
Update dependency io_bazel_rules_go to v0.47.1
May 6, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
May 22, 2024 03:39
7fe585f
to
27fcf3c
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.47.1
Update dependency io_bazel_rules_go to v0.48.0
May 22, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
June 19, 2024 22:03
27fcf3c
to
cf96d11
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.48.0
Update dependency io_bazel_rules_go to v0.48.1
Jun 19, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
July 13, 2024 07:52
cf96d11
to
e0ef6c4
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.48.1
Update dependency io_bazel_rules_go to v0.49.0
Jul 13, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
August 30, 2024 19:51
e0ef6c4
to
7c25aac
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.49.0
Update dependency io_bazel_rules_go to v0.50.0
Aug 30, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
September 5, 2024 15:06
7c25aac
to
1027acf
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.50.0
Update dependency io_bazel_rules_go to v0.50.1
Sep 5, 2024
renovate
bot
force-pushed
the
renovate/io_bazel_rules_go-0.x
branch
from
December 16, 2024 00:46
1027acf
to
0935215
Compare
renovate
bot
changed the title
Update dependency io_bazel_rules_go to v0.50.1
Update dependency io_bazel_rules_go to v0.51.0
Dec 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.34.0
->v0.51.0
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
bazelbuild/rules_go (io_bazel_rules_go)
v0.51.0
Compare 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_library
has 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 asdepset
s 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_files
has 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.GoSource
andGoLibrary
providers 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_library
andgo.library_to_source
are 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_context
will 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.go
go.sdk_root
->go.sdk.root_file
go.sdk_tools
->go.sdk.tools
go.package_list
->go.sdk.package_list
go.tags
->go.mode.tags
go.stamp
->go.mode.stamp
go.cover_format
->go.mode.cover_format
go.pgoprofile
->go.mode.pgoprofile
Removed
get_nogo
from the Go context object (0f88f8c8)Removed
exe_extension
andshared_extension
from the Go context object. (c419453a)Removed
GoSource.cc_info
. If you need to access theCcInfo
from a Go target, you will need to apply the_go_cc_aspect
fromgo/private/rules/binary.bzl
. Please let us know if it's needed and we can move it to public API. (a01ba7c72)go_binary
andgo_test
targets no longer exposeGoInfo
,GoSource
orGoLibrary
providers. If you need a dedicated provider to attach an aspect to, please let us know. (2d2266)The Go context's
mode
property is now aGoConfigInfo
provider instead of a bare struct.go.mode.link
has been renamed togo.mode.linkmode
(5933f872)If you are relying on
go_context
to read an_stdlib
attribute from yourattr
s, please ensure the attribute is not transitioned, as it will no longer handle a list value. (9214edcd126)go_context
now 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
, usecdeps
instead (56d415d)Removed
orig_srcs
(520bee50)Removed
cgo_exports
(86c3f3ae97)Converted
cover
to adepset
(692d008c96)deps
is now a list ofGoArchive
s instead ofTarget
s (a32f3e1)GoArchive
mode
, usesource.mode
instead (bfd99a663)GoArchiveData
data_files
, use withrunfiles
instead, which is arunfiles
object (60f55c91ce)CgoContextInfo
cc_toolchain_files
to adepset
(3994841)WORKSPACE
codeWhat's Changed
go_deps.gazelle_default_attributes
by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/4021-typed
flag by @maratori in https://github.com/bazel-contrib/rules_go/pull/4017suffixes
attribute ofgo_proto_compiler
by @leskin-in in https://github.com/bazel-contrib/rules_go/pull/3970go_reset_target
public by @tyler-french in https://github.com/bazel-contrib/rules_go/pull/3965-testfilter
to nogo and fix failure in case of no srcs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/4075//go get
as direct by @fmeum in https://github.com/bazel-contrib/rules_go/pull/4027GoArchiveData
docs by @fmeum in https://github.com/bazel-contrib/rules_go/pull/4130srcs
lists forgo_library
andgo_test
rules. by @eljobe in https://github.com/bazel-contrib/rules_go/pull/4151go_tool_binary
non-hermeticity and Go 1.19 incompatibility by @fmeum in https://github.com/bazel-contrib/rules_go/pull/4167testing.Testing()
function by @apsaltis-ddog in https://github.com/bazel-contrib/rules_go/pull/4190New Contributors
Full Changelog: bazel-contrib/rules_go@v0.50.1...v0.51.0
v0.50.1
Compare Source
WORKSPACE
codeFixes Included:
#4081
#4082
#4083
Full Changelog: bazel-contrib/rules_go@v0.50.0...v0.50.1
v0.50.0
Compare Source
WORKSPACE
codeWhat's Changed
New Contributors
Full Changelog: bazel-contrib/rules_go@release-0.49...release-0.50
v0.49.0
Compare Source
WORKSPACE
codeWhat's Changed
bazel mod tidy
in@rules_go//go
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3927purego
tag whenpure
(#3901)" by @fmeum in https://github.com/bazelbuild/rules_go/pull/3961go_sdk.host()
in bzlmod.md (see #713) by @vorburger in https://github.com/bazelbuild/rules_go/pull/3968fs.FS
implementation torunfiles
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3969New Contributors
Full Changelog: bazel-contrib/rules_go@v0.48.0...v0.49.0
v0.48.1
Compare Source
WORKSPACE
codeFull Changelog: bazel-contrib/rules_go@v0.48.0...v0.48.1
v0.48.0
Compare Source
Important Changes!
--incompatible_enable_proto_toolchain_resolution
is now supported inrules_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
codeWhat's Changed
purego
tag whenpure
by @mattyclarkson in https://github.com/bazelbuild/rules_go/pull/3901--incompatible_enable_proto_toolchain_resolution
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3919New Contributors
Full Changelog: bazel-contrib/rules_go@v0.47.1...v0.48.0
v0.47.1
Compare Source
WORKSPACE
codeWhat's Changed
New Contributors
Full Changelog: bazel-contrib/rules_go@v0.47.0...v0.47.1
v0.47.0
Compare Source
WORKSPACE
codeWhat's Changed
presubmit.yml
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3861"main"
) importpath to nogo formain
package by @Strum355 in https://github.com/bazelbuild/rules_go/pull/3863//go
stricter by @fmeum in https://github.com/bazelbuild/rules_go/pull/3867bazel_features
transitive.bzl
s tobzl_library
targets by @fmeum in https://github.com/bazelbuild/rules_go/pull/3903go_sdk
extension asreproducible
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3911go_env
in@rules_go//go
by @fmeum in https://github.com/bazelbuild/rules_go/pull/3909New Contributors
Full Changelog: bazel-contrib/rules_go@v0.46.0...v0.47.0
v0.46.0
Compare Source
WORKSPACE
codeWhat's Changed
GOARM
architecture levels via platform constraints by @LINKIWI in https://github.com/bazelbuild/rules_go/pull/3837Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.