Skip to content

Commit cb279cd

Browse files
authored
prepare release 0.43.0 (#3745)
* prepare release 0.43.0 * upgrade gazelle + workspace deps
1 parent c009a2b commit cb279cd

File tree

7 files changed

+39
-64
lines changed

7 files changed

+39
-64
lines changed

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module(
22
name = "rules_go",
3-
version = "0.42.0",
3+
version = "0.43.0",
44
compatibility_level = 0,
55
repo_name = "io_bazel_rules_go",
66
)
@@ -26,7 +26,7 @@ use_repo(go_sdk, "go_toolchains")
2626

2727
register_toolchains("@go_toolchains//:all")
2828

29-
bazel_dep(name = "gazelle", version = "0.33.0")
29+
bazel_dep(name = "gazelle", version = "0.34.0")
3030

3131
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
3232
go_deps.from_file(go_mod = "//:go.mod")

WORKSPACE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ protobuf_deps()
2525
# Used by //tests:buildifier_test.
2626
http_archive(
2727
name = "com_github_bazelbuild_buildtools",
28-
sha256 = "ca524d4df8c91838b9e80543832cf54d945e8045f6a2b9db1a1d02eec20e8b8c",
29-
strip_prefix = "buildtools-6.0.1",
30-
# latest, as of 2023-03-27
31-
urls = ["https://github.com/bazelbuild/buildtools/archive/refs/tags/6.0.1.tar.gz"],
28+
sha256 = "05c3c3602d25aeda1e9dbc91d3b66e624c1f9fdadf273e5480b489e744ca7269",
29+
strip_prefix = "buildtools-6.4.0",
30+
# latest, as of 2023-11-17
31+
urls = ["https://github.com/bazelbuild/buildtools/archive/refs/tags/v6.4.0.tar.gz"],
3232
)
3333

3434
# For manual testing against an LLVM toolchain.
@@ -71,10 +71,10 @@ bazel_skylib_workspace()
7171

7272
http_archive(
7373
name = "bazel_gazelle",
74-
sha256 = "d3fa66a39028e97d76f9e2db8f1b0c11c099e8e01bf363a923074784e451f809",
74+
sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf",
7575
urls = [
76-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
77-
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
76+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
77+
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
7878
],
7979
)
8080

go/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ filegroup(
1818
"//go/config:all_files",
1919
"//go/constraints/amd64:all_files",
2020
"//go/platform:all_files",
21+
"//go/private:all_files",
2122
"//go/runfiles:all_files",
2223
"//go/toolchain:all_files",
2324
"//go/tools:all_files",
24-
"//go/private:all_files",
2525
],
2626
visibility = ["//visibility:public"],
2727
)

go/def.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ TOOLS_NOGO = [
119119

120120
# Current version or next version to be tagged. Gazelle and other tools may
121121
# check this to determine compatibility.
122-
RULES_GO_VERSION = "0.42.0"
122+
RULES_GO_VERSION = "0.43.0"
123123

124124
go_context = _go_context
125125
gomock = _gomock

go/private/repositories.bzl

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def go_rules_dependencies(force = False):
5050
wrapper(
5151
http_archive,
5252
name = "bazel_skylib",
53-
# 1.4.2, latest as of 2023-09-18
53+
# 1.5.0, latest as of 2023-11-16
5454
urls = [
55-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
56-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
55+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
56+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
5757
],
58-
sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
58+
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
5959
strip_prefix = "",
6060
)
6161

@@ -64,7 +64,7 @@ def go_rules_dependencies(force = False):
6464
wrapper(
6565
http_archive,
6666
name = "org_golang_x_tools",
67-
# v0.15.0, latest as of 2023-11-12
67+
# v0.15.0, latest as of 2023-11-16
6868
urls = [
6969
"https://mirror.bazel.build/github.com/golang/tools/archive/refs/tags/v0.15.0.zip",
7070
"https://github.com/golang/tools/archive/refs/tags/v0.15.0.zip",
@@ -105,13 +105,13 @@ def go_rules_dependencies(force = False):
105105
wrapper(
106106
http_archive,
107107
name = "org_golang_x_sys",
108-
# v0.13.0, latest as of 2023-10-29
108+
# v0.14.0, latest as of 2023-11-16
109109
urls = [
110-
"https://mirror.bazel.build/github.com/golang/sys/archive/refs/tags/v0.13.0.zip",
111-
"https://github.com/golang/sys/archive/refs/tags/v0.13.0.zip",
110+
"https://mirror.bazel.build/github.com/golang/sys/archive/refs/tags/v0.14.0.zip",
111+
"https://github.com/golang/sys/archive/refs/tags/v0.14.0.zip",
112112
],
113-
sha256 = "24abdcbecddb288fb1007f8cb814b1592531d5bb62817bc30925e3175f3f5749",
114-
strip_prefix = "sys-0.13.0",
113+
sha256 = "0791dad0d738ef5e92304d6691d58e37c8a643844f13dfad26d28e1adb6c61ce",
114+
strip_prefix = "sys-0.14.0",
115115
patches = [
116116
# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/sys -go_naming_convention import_alias
117117
Label("//third_party:org_golang_x_sys-gazelle.patch"),
@@ -124,13 +124,13 @@ def go_rules_dependencies(force = False):
124124
wrapper(
125125
http_archive,
126126
name = "org_golang_x_xerrors",
127-
# master, as of 2023-09-18
127+
# master, as of 2023-11-16
128128
urls = [
129-
"https://mirror.bazel.build/github.com/golang/xerrors/archive/04be3eba64a22a838cdb17b8dca15a52871c08b4.zip",
130-
"https://github.com/golang/xerrors/archive/04be3eba64a22a838cdb17b8dca15a52871c08b4.zip",
129+
"https://mirror.bazel.build/github.com/golang/xerrors/archive/104605ab7028f4af38a8aff92ac848a51bd53c5d.zip",
130+
"https://github.com/golang/xerrors/archive/104605ab7028f4af38a8aff92ac848a51bd53c5d.zip",
131131
],
132-
sha256 = "ffad2b06ef2e09d040da2ff08077865e99ab95d4d0451737fc8e33706bb01634",
133-
strip_prefix = "xerrors-04be3eba64a22a838cdb17b8dca15a52871c08b4",
132+
sha256 = "007a5988932222d36c106636de7f0031bb26c426327a8f1253fbf17c7c9756c1",
133+
strip_prefix = "xerrors-104605ab7028f4af38a8aff92ac848a51bd53c5d",
134134
patches = [
135135
# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/xerrors -go_naming_convention import_alias
136136
Label("//third_party:org_golang_x_xerrors-gazelle.patch"),
@@ -160,7 +160,7 @@ def go_rules_dependencies(force = False):
160160
http_archive,
161161
name = "org_golang_google_protobuf",
162162
sha256 = "f5d1f6d0e9b836aceb715f1df2dc065083a55b07ecec3b01b5e89d039b14da02",
163-
# v1.31.0, latest as of 2023-09-18
163+
# v1.31.0, latest as of 2023-11-16
164164
urls = [
165165
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf-go/archive/refs/tags/v1.31.0.zip",
166166
"https://github.com/protocolbuffers/protobuf-go/archive/refs/tags/v1.31.0.zip",
@@ -182,7 +182,7 @@ def go_rules_dependencies(force = False):
182182
wrapper(
183183
http_archive,
184184
name = "com_github_golang_protobuf",
185-
# v1.5.3, latest as of 2023-09-18
185+
# v1.5.3, latest as of 2023-11-16
186186
urls = [
187187
"https://mirror.bazel.build/github.com/golang/protobuf/archive/refs/tags/v1.5.3.zip",
188188
"https://github.com/golang/protobuf/archive/refs/tags/v1.5.3.zip",
@@ -202,7 +202,7 @@ def go_rules_dependencies(force = False):
202202
wrapper(
203203
http_archive,
204204
name = "com_github_mwitkow_go_proto_validators",
205-
# v0.3.2, latest as of 2023-09-18
205+
# v0.3.2, latest as of 2023-11-16
206206
urls = [
207207
"https://mirror.bazel.build/github.com/mwitkow/go-proto-validators/archive/refs/tags/v0.3.2.zip",
208208
"https://github.com/mwitkow/go-proto-validators/archive/refs/tags/v0.3.2.zip",
@@ -216,7 +216,7 @@ def go_rules_dependencies(force = False):
216216
wrapper(
217217
http_archive,
218218
name = "com_github_gogo_protobuf",
219-
# v1.3.2, latest as of 2023-09-18
219+
# v1.3.2, latest as of 2023-11-16
220220
urls = [
221221
"https://mirror.bazel.build/github.com/gogo/protobuf/archive/refs/tags/v1.3.2.zip",
222222
"https://github.com/gogo/protobuf/archive/refs/tags/v1.3.2.zip",
@@ -242,13 +242,13 @@ def go_rules_dependencies(force = False):
242242
wrapper(
243243
http_archive,
244244
name = "org_golang_google_genproto",
245-
# main, as of 2023-09-18
245+
# main, as of 2023-11-16
246246
urls = [
247-
"https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/007df8e322eb3e384d36c0821e2337825c203ca6.zip",
248-
"https://github.com/googleapis/go-genproto/archive/007df8e322eb3e384d36c0821e2337825c203ca6.zip",
247+
"https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/bbf56f31fb17579209f44dda2d2567d20ff21a20.zip",
248+
"https://github.com/googleapis/go-genproto/archive/bbf56f31fb17579209f44dda2d2567d20ff21a20.zip",
249249
],
250-
sha256 = "e7d0f3faed86258ed4e8e5527a8e98ff00fbd5b1a9b379a99a4aa2f76ce8bbcc",
251-
strip_prefix = "go-genproto-007df8e322eb3e384d36c0821e2337825c203ca6",
250+
sha256 = "28f26095dca7821661b37190516955185c295a49c44d026de24df7755d46c389",
251+
strip_prefix = "go-genproto-bbf56f31fb17579209f44dda2d2567d20ff21a20",
252252
patches = [
253253
# releaser:patch-cmd gazelle -repo_root . -go_prefix google.golang.org/genproto -go_naming_convention import_alias -proto disable_global
254254
Label("//third_party:org_golang_google_genproto-gazelle.patch"),
@@ -260,7 +260,7 @@ def go_rules_dependencies(force = False):
260260
_maybe(
261261
http_archive,
262262
name = "com_github_golang_mock",
263-
# v1.7.0-rc.1, latest as of 2023-09-18
263+
# v1.7.0-rc.1, latest as of 2023-11-16
264264
urls = [
265265
"https://mirror.bazel.build/github.com/golang/mock/archive/refs/tags/v1.7.0-rc.1.zip",
266266
"https://github.com/golang/mock/archive/refs/tags/v1.7.0-rc.1.zip",

third_party/org_golang_google_genproto-gazelle.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ diff -urN a/googleapis/analytics/management/v1alpha/BUILD.bazel b/googleapis/ana
373373
diff -urN a/googleapis/api/annotations/BUILD.bazel b/googleapis/api/annotations/BUILD.bazel
374374
--- a/googleapis/api/annotations/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
375375
+++ b/googleapis/api/annotations/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000
376-
@@ -0,0 +1,28 @@
376+
@@ -0,0 +1,29 @@
377377
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
378378
+
379379
+go_library(
@@ -382,6 +382,7 @@ diff -urN a/googleapis/api/annotations/BUILD.bazel b/googleapis/api/annotations/
382382
+ "annotations.pb.go",
383383
+ "client.pb.go",
384384
+ "field_behavior.pb.go",
385+
+ "field_info.pb.go",
385386
+ "http.pb.go",
386387
+ "resource.pb.go",
387388
+ "routing.pb.go",
@@ -1483,7 +1484,7 @@ diff -urN a/googleapis/bigtable/admin/table/v1/BUILD.bazel b/googleapis/bigtable
14831484
diff -urN a/googleapis/bigtable/admin/v2/BUILD.bazel b/googleapis/bigtable/admin/v2/BUILD.bazel
14841485
--- a/googleapis/bigtable/admin/v2/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
14851486
+++ b/googleapis/bigtable/admin/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000
1486-
@@ -0,0 +1,37 @@
1487+
@@ -0,0 +1,35 @@
14871488
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
14881489
+
14891490
+go_library(
@@ -1499,8 +1500,6 @@ diff -urN a/googleapis/bigtable/admin/v2/BUILD.bazel b/googleapis/bigtable/admin
14991500
+ visibility = ["//visibility:public"],
15001501
+ deps = [
15011502
+ "//googleapis/api/annotations",
1502-
+ "//googleapis/iam/v1:iam",
1503-
+ "//googleapis/longrunning",
15041503
+ "//googleapis/rpc/status",
15051504
+ "@com_google_cloud_go_iam//apiv1/iampb:go_default_library",
15061505
+ "@com_google_cloud_go_longrunning//autogen/longrunningpb:go_default_library",

third_party/org_golang_x_sys-gazelle.patch

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,30 +98,6 @@ diff -urN a/execabs/BUILD.bazel b/execabs/BUILD.bazel
9898
+ srcs = ["execabs_test.go"],
9999
+ embed = [":execabs"],
100100
+)
101-
diff -urN a/internal/unsafeheader/BUILD.bazel b/internal/unsafeheader/BUILD.bazel
102-
--- a/internal/unsafeheader/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
103-
+++ b/internal/unsafeheader/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000
104-
@@ -0,0 +1,20 @@
105-
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
106-
+
107-
+go_library(
108-
+ name = "unsafeheader",
109-
+ srcs = ["unsafeheader.go"],
110-
+ importpath = "golang.org/x/sys/internal/unsafeheader",
111-
+ visibility = ["//:__subpackages__"],
112-
+)
113-
+
114-
+alias(
115-
+ name = "go_default_library",
116-
+ actual = ":unsafeheader",
117-
+ visibility = ["//:__subpackages__"],
118-
+)
119-
+
120-
+go_test(
121-
+ name = "unsafeheader_test",
122-
+ srcs = ["unsafeheader_test.go"],
123-
+ deps = [":unsafeheader"],
124-
+)
125101
diff -urN a/plan9/BUILD.bazel b/plan9/BUILD.bazel
126102
--- a/plan9/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000
127103
+++ b/plan9/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000

0 commit comments

Comments
 (0)