This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Update dependency io_bazel_rules_go to v0.13.0 #150
Merged
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 Pull Request updates dependency io_bazel_rules_go from
v0.11.0
tov0.13.0
Release Notes
v0.13.0
Compare Source
New features
@go_googleapis
, is declared ingo_rules_dependencies()
. This downloadsi.8713187.xyz/googleapis/googleapis
and includesproto_library
andgo_proto_library
rules for everything inside.go_proto_library
rules for the Well Known Types are still found in@io_bazel_rules_go//proto/wkt
.go_library
rules using pre-generated .pb.go files may be found in@com_github_golang_protobuf
and@org_golang_google_genproto
. These should be used if you want to avoid a build-time dependency on protoc.go_binary
can now build plugins withlinkmode = "plugin"
(thanks @teh-cmc)go_test
now acceptsgoos
andgoarch
attributes (thanks @kerinin).go_path
can now bundle compiled .a files in pkg directories for its transitive dependencies (thanks @steeve!).c-archive
mode is position independent (thanks @siddharthab).race
andmsan
tags are enabled in those modes.importmap
may now be inherited from embedded libraries.restricted_to
andcompatible_with
are now propagated in cgo rules (thanks @iley)Notes
go_prefix
.importpath
is now required on libraries.gazelle fix
can help you migrate.go_repository
in rules_go. Use the one in@bazel_gazelle//:deps.bzl
instead.gazelle fix
can help you migrate.Updated dependencies
com_google_protobuf
(github.com/google/protobuf
) updated to v3.6.0.1.org_golang_google_grpc
(google.golang.org/grpc
) updated to v1.13.0.org_golang_google_genproto
(google.golang.org/genproto
) updated to master.org_golang_x_net
(golang.org/x/net
) updated to master.WORKSPACE code
To use this release, add this code to your WORKSPACE file:
v0.12.1
Compare Source
Go support
Added support for Go 1.10.3 and 1.9.7.
Bug fixes
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
v0.12.0
Compare Source
New features
srcs
andcdeps
.objc = True
must be set ingo_library
to use this. It will onlywork on macOS, since it requires an Apple toolchain.
go_binary
andgo_test
once again supportimportpath
attributes. Thesetargets are not importable, but
go_path
and other rules can use these toplace source files in appropriate directories.
improve reproducibility.
Notes
resolution. rules_go declares a
@bazel_gazelle
repository with these fixes,but this will be removed in the future. You should declare
@bazel_gazelle
explicitly in your WORKSPACE (see
Running Gazelle with Bazel
for setup instructions).
library
attribute is removed in favor ofembed
.linkstamp
attribute is removed in favor ofx_defs
.go_sdk
andgo_repositories
rules are removed in favor ofgo_rules_dependencies
,go_register_toolchains
and related functions.cgo_library
andcgo_genrule
are removed in favor ofgo_library
.proto/go_proto_library.bzl
are removed in favorof the new proto rules in
proto/def.bzl
.release. See Deprecation schedule for more information.
go_prefix
will be removed in favor ofimportpath
attributes.go_repository
andnew_go_repository
will be removed in favorof the
equivalent rule
in the Gazelle repository.
Updated dependencies
The following repositories declared in
go_rules_dependencies()
were updated tonew versions.
bazel_gazelle
to master as of 2018-05-08.com_github_golang_protobuf
to v1.1.0.com_github_mwitkow_go_proto_validators
to master as of 2018-05-07.org_golang_x_net
to master as of 2018-05-07.org_golang_google_grpc
to v1.10.3.org_golang_google_genproto
to master as of 2018-05-07.WORKSPACE code
To use this release, add this code to your WORKSPACE file:
v0.11.2
Compare Source
Go support
Added support for Go 1.10.3 and 1.9.7.
Bug fixes
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
v0.11.1
Compare Source
Go support
Added support for Go 1.10.2 and 1.9.6.
Bug fixes
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
This PR has been generated by Renovate Bot.