Skip to content

Commit

Permalink
prepare v0.48.0 release (#3946)
Browse files Browse the repository at this point in the history
This PR prepares a minor release to allow downstream users to begin integrating with #3919
  • Loading branch information
tyler-french authored May 21, 2024
1 parent e7ddb9e commit 354a98f
Show file tree
Hide file tree
Showing 7 changed files with 3,822 additions and 1,698 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "rules_go",
version = "0.47.1",
version = "0.48.0",
compatibility_level = 0,
repo_name = "io_bazel_rules_go",
)
Expand Down
2 changes: 1 addition & 1 deletion go/def.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ TOOLS_NOGO = [str(Label(l)) for l in _TOOLS_NOGO]

# Current version or next version to be tagged. Gazelle and other tools may
# check this to determine compatibility.
RULES_GO_VERSION = "0.47.1"
RULES_GO_VERSION = "0.48.0"

go_context = _go_context
gomock = _gomock
Expand Down
48 changes: 24 additions & 24 deletions go/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "bazel_skylib",
# 1.5.0, latest as of 2024-04-19
# 1.6.1, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz",
],
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
sha256 = "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2",
strip_prefix = "",
)

Expand All @@ -65,13 +65,13 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "org_golang_x_tools",
# v0.20.0, latest as of 2024-04-19
# v0.21.0, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/golang/tools/archive/refs/tags/v0.20.0.zip",
"https://github.com/golang/tools/archive/refs/tags/v0.20.0.zip",
"https://mirror.bazel.build/github.com/golang/tools/archive/refs/tags/v0.21.0.zip",
"https://github.com/golang/tools/archive/refs/tags/v0.21.0.zip",
],
sha256 = "06d29c1c1844c668bad5d57c755f5a11b99242f7a8ecd09c7b5f66aabeab32bc",
strip_prefix = "tools-0.20.0",
sha256 = "3e679aad1044575b90c14d13f2caa27840e46b38ac2a1dd391937300af56467a",
strip_prefix = "tools-0.21.0",
patches = [
# deletegopls removes the gopls subdirectory. It contains a nested
# module with additional dependencies. It's not needed by rules_go.
Expand Down Expand Up @@ -106,13 +106,13 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "org_golang_x_sys",
# v0.19.0, latest as of 2024-04-19
# v0.20.0, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/golang/sys/archive/refs/tags/v0.19.0.zip",
"https://github.com/golang/sys/archive/refs/tags/v0.19.0.zip",
"https://mirror.bazel.build/github.com/golang/sys/archive/refs/tags/v0.20.0.zip",
"https://github.com/golang/sys/archive/refs/tags/v0.20.0.zip",
],
sha256 = "a2fa1126030bf928b0ab559d2e985ea99fc974bf58a2d512f4e2e1a5303a57ae",
strip_prefix = "sys-0.19.0",
sha256 = "e9ad578952169036fb5023b0f53c0315d5f73146fc33d70255fa6d6edd859f84",
strip_prefix = "sys-0.20.0",
patches = [
# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/sys -go_naming_convention import_alias
Label("//third_party:org_golang_x_sys-gazelle.patch"),
Expand All @@ -125,7 +125,7 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "org_golang_x_xerrors",
# master, as of 2024-04-19
# master, as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/golang/xerrors/archive/104605ab7028f4af38a8aff92ac848a51bd53c5d.zip",
"https://github.com/golang/xerrors/archive/104605ab7028f4af38a8aff92ac848a51bd53c5d.zip",
Expand Down Expand Up @@ -180,7 +180,7 @@ def go_rules_dependencies(force = False):
http_archive,
name = "org_golang_google_grpc_cmd_protoc_gen_go_grpc",
sha256 = "1e84df03c94d1cded8e94da7a2df162463f3be4c7a94289d85c0871f14c7b8e3",
# cmd/protoc-gen-go-grpc/v1.3.0, latest as of 2024-04-19
# cmd/protoc-gen-go-grpc/v1.3.0, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/grpc/grpc-go/archive/refs/tags/cmd/protoc-gen-go-grpc/v1.3.0.zip",
"https://github.com/grpc/grpc-go/archive/refs/tags/cmd/protoc-gen-go-grpc/v1.3.0.zip",
Expand All @@ -200,7 +200,7 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "com_github_golang_protobuf",
# v1.5.4, latest as of 2024-04-19
# v1.5.4, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/golang/protobuf/archive/refs/tags/v1.5.4.zip",
"https://github.com/golang/protobuf/archive/refs/tags/v1.5.4.zip",
Expand All @@ -218,7 +218,7 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "com_github_gogo_protobuf",
# v1.3.2, latest as of 2024-04-19
# v1.3.2, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/gogo/protobuf/archive/refs/tags/v1.3.2.zip",
"https://github.com/gogo/protobuf/archive/refs/tags/v1.3.2.zip",
Expand All @@ -244,13 +244,13 @@ def go_rules_dependencies(force = False):
wrapper(
http_archive,
name = "org_golang_google_genproto",
# main, as of 2024-04-19
# main, as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/8c6c420018be7d99c6336d84554d856523d514bf.zip",
"https://github.com/googleapis/go-genproto/archive/8c6c420018be7d99c6336d84554d856523d514bf.zip",
"https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/dc85e6b867a5ebdfeaa293ddb423f00255ec921e.zip",
"https://github.com/googleapis/go-genproto/archive/dc85e6b867a5ebdfeaa293ddb423f00255ec921e.zip",
],
sha256 = "eddb238f5a61df730989baa6e0303666af3adf2835f226185e6c64f2958855c9",
strip_prefix = "go-genproto-8c6c420018be7d99c6336d84554d856523d514bf",
sha256 = "ef3c82a1e6951a7931107d00ad4fe034366903290feae82bb1a19211c86d9d2f",
strip_prefix = "go-genproto-dc85e6b867a5ebdfeaa293ddb423f00255ec921e",
patches = [
# releaser:patch-cmd gazelle -repo_root . -go_prefix google.golang.org/genproto -go_naming_convention import_alias -proto disable_global
Label("//third_party:org_golang_google_genproto-gazelle.patch"),
Expand All @@ -262,7 +262,7 @@ def go_rules_dependencies(force = False):
_maybe(
http_archive,
name = "com_github_golang_mock",
# v1.6.0, latest as of 2024-04-19
# v1.6.0, latest as of 2024-05-20
urls = [
"https://mirror.bazel.build/github.com/golang/mock/archive/refs/tags/v1.6.0.zip",
"https://github.com/golang/mock/archive/refs/tags/v1.6.0.zip",
Expand Down
10 changes: 5 additions & 5 deletions third_party/org_golang_google_genproto-gazelle.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9135,7 +9135,7 @@ diff -urN a/googleapis/datastore/admin/v1beta1/BUILD.bazel b/googleapis/datastor
+ visibility = ["//visibility:public"],
+ deps = [
+ "//googleapis/api/annotations",
+ "//googleapis/longrunning",
+ "@com_google_cloud_go_longrunning//autogen/longrunningpb:go_default_library",
+ "@org_golang_google_grpc//:go_default_library",
+ "@org_golang_google_grpc//codes:go_default_library",
+ "@org_golang_google_grpc//status:go_default_library",
Expand Down Expand Up @@ -10150,9 +10150,9 @@ diff -urN a/googleapis/genomics/v1/BUILD.bazel b/googleapis/genomics/v1/BUILD.ba
+ visibility = ["//visibility:public"],
+ deps = [
+ "//googleapis/api/annotations",
+ "//googleapis/iam/v1:iam",
+ "//googleapis/longrunning",
+ "//googleapis/rpc/status",
+ "@com_google_cloud_go_iam//apiv1/iampb:go_default_library",
+ "@com_google_cloud_go_longrunning//autogen/longrunningpb:go_default_library",
+ "@org_golang_google_grpc//:go_default_library",
+ "@org_golang_google_grpc//codes:go_default_library",
+ "@org_golang_google_grpc//status:go_default_library",
Expand Down Expand Up @@ -10185,8 +10185,8 @@ diff -urN a/googleapis/genomics/v1alpha2/BUILD.bazel b/googleapis/genomics/v1alp
+ visibility = ["//visibility:public"],
+ deps = [
+ "//googleapis/api/annotations",
+ "//googleapis/longrunning",
+ "//googleapis/rpc/code",
+ "@com_google_cloud_go_longrunning//autogen/longrunningpb:go_default_library",
+ "@org_golang_google_grpc//:go_default_library",
+ "@org_golang_google_grpc//codes:go_default_library",
+ "@org_golang_google_grpc//status:go_default_library",
Expand Down Expand Up @@ -11066,7 +11066,7 @@ diff -urN a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel b/googleapis/partn
+ visibility = ["//visibility:public"],
+ deps = [
+ "//googleapis/api/annotations",
+ "//googleapis/longrunning",
+ "@com_google_cloud_go_longrunning//autogen/longrunningpb:go_default_library",
+ "@org_golang_google_grpc//:go_default_library",
+ "@org_golang_google_grpc//codes:go_default_library",
+ "@org_golang_google_grpc//status:go_default_library",
Expand Down
7 changes: 4 additions & 3 deletions third_party/org_golang_x_sys-gazelle.patch
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ diff -urN a/plan9/BUILD.bazel b/plan9/BUILD.bazel
diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel
--- a/unix/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
+++ b/unix/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000
@@ -0,0 +1,301 @@
@@ -0,0 +1,303 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_library(
Expand All @@ -174,6 +174,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel
+ "asm_linux_s390x.s",
+ "asm_solaris_amd64.s",
+ "bluetooth_linux.go",
+ "bpxsvc_zos.s",
+ "cap_freebsd.go",
+ "constants.go",
+ "dev_aix_ppc64.go",
Expand Down Expand Up @@ -209,6 +210,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel
+ "sockcmsg_linux.go",
+ "sockcmsg_unix.go",
+ "sockcmsg_unix_other.go",
+ "sockcmsg_zos.go",
+ "syscall.go",
+ "syscall_aix.go",
+ "syscall_aix_ppc64.go",
Expand Down Expand Up @@ -479,15 +481,14 @@ diff -urN a/unix/internal/mkmerge/BUILD.bazel b/unix/internal/mkmerge/BUILD.baze
diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel
--- a/windows/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
+++ b/windows/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000
@@ -0,0 +1,54 @@
@@ -0,0 +1,53 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_library(
+ name = "windows",
+ srcs = [
+ "aliases.go",
+ "dll_windows.go",
+ "empty.s",
+ "env_windows.go",
+ "eventlog.go",
+ "exec_windows.go",
Expand Down
Loading

0 comments on commit 354a98f

Please sign in to comment.