Skip to content
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.49.0 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 19, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
io_bazel_rules_go http_archive minor v0.29.0 -> v0.49.0

Release Notes

bazelbuild/rules_go (io_bazel_rules_go)

v0.49.0

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "d93ef02f1e72c82d8bb3d5169519b36167b33cf68c252525e3b9d3d5dd143de7",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.49.0/rules_go-v0.49.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.49.0/rules_go-v0.49.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.5")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.48.0...v0.49.0

v0.48.1

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "b2038e2de2cace18f032249cb4bb0048abf583a36369fa98f687af1b3f880b26",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.4")

Full 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 in rules_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 code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "33acc4ae0f70502db4b893c9fc1dd7a9bf998c23e7ff2c4517741d4049a976f8",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.3")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.47.1...v0.48.0

v0.47.1

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.2")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.47.0...v0.47.1

v0.47.0

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.2")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.46.0...v0.47.0

v0.46.0

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.22.0")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.45.1...v0.46.0

v0.45.1

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "6734a719993b1ba4ebe9806e853864395a8d3968ad27f9dd759c196b3eb3abe8",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.1/rules_go-v0.45.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.45.1/rules_go-v0.45.1.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.6")

What's Changed

Full Changelog: bazel-contrib/rules_go@v0.45.0...v0.45.1

v0.45.0

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "de7974538c31f76658e0d333086c69efdf6679dbc6a466ac29e65434bf47076d",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.6")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.44.2...v0.45.0

v0.44.2

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "7c76d6236b28ff695aa28cf35f95de317a9472fd1fb14ac797c9bf684f09b37c",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.2/rules_go-v0.44.2.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.44.2/rules_go-v0.44.2.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.5")

What's Changed

Full Changelog: bazel-contrib/rules_go@v0.44.1...v0.44.2

v0.44.1

Compare Source

Why a patch release

This patch release is to include bazel-contrib/rules_go@43c40a9 which reverts a change to forcefully upgrade genproto transitively, which is causing linker failures since google.golang.org/genproto/googleapis/rpc was separated from google.golang.org/genproto

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "b6828eb2d03bb5ef76f2077f8670b211fe792e77ddb83450ea9f887df04db9c7",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.5")

What's Changed

Full Changelog: bazel-contrib/rules_go@v0.44.0...v0.44.1

v0.44.0

Compare Source

IMPORTANT CHANGES

Tests now call panic() when they timeout

This means there is a running goroutine (which will fail goleak detection)

[Goroutine 26 in state chan receive, with github.com/bazelbuild/rules_go/go/tools/bzltestutil.RegisterTimeoutHandler.func1 on top of the

This also means there may be some different behavior when calling SIGTERM directly from within a test.

For more information see: https://github.com/bazelbuild/rules_go/pull/3749

Bzlmod support for nogo

This can be added in your MODULE.bazel file:

go_sdk = use_extension("@​rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(
    name = "go_sdk",
    ...
)
go_sdk.nogo(
    nogo = "//:default_nogo",
)

For more information see https://github.com/bazelbuild/rules_go/pull/3782

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "c8035e8ae248b56040a65ad3f0b7434712e2037e5dfdcebfe97576e620422709",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.0/rules_go-v0.44.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.44.0/rules_go-v0.44.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.5")

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.43.0...v0.44.0

v0.43.0

Compare Source

Breaking x/tools upgrade

This change includes a breaking upgrade to golang.org/x/tools

Please make sure to upgrade x/tools to version v0.15.0 to ensure compatibility with rules_go's NoGo.

If you need to use an older version of x/tools (v0.13.0 or earlier), apply the following patch to rules_go:
x-tools.patch

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.42.0...v0.43.0

v0.42.0

Compare Source

What's Changed

Added patches to go_download_sdk:

Patches can now be applied to the standard library using go_download_sdk (and go_sdk.download for Bzlmod).

Example:

    go_download_sdk(
        name = "go_sdk",
        sdks = {
            "linux_amd64": (
                "go{}.linux-amd64.mirror6598503.tar.gz".format(go_version),
                "3f5c50e592d8845d30eebd08ddb9c670fd2d909e032b6c2b83ecf97afb34660c",
            ),
            "darwin_arm64": (
                "go{}.darwin-arm64.mirror6598503.tar.gz".format(go_version),
                "fbe78beee7861da09de9319498a1521bc41a8b79d3ead2218ce307b9fa5503e5",
            ),
        },
        patches = [
            "//patches:golang_osx_dns_workaround.patch",
        ],
        urls = ["https://dl.google.com/go/{}"],
        version = go_version,
    )

Other changes included:

Full Changelog: bazel-contrib/rules_go@v0.41.0...v0.42.0

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.21.1")

v0.41.0

Compare Source

What's Changed

Starting this release, rules_go no longer ship with @go_googleapis repo. Together with Gazelle v0.32.0, it means that all Go code importing generated code from Google APIs will depend on @org_golang_google_genproto, which is resolved by Go modules. For proto files importing Google APIs proto and generating Go code, users need to:

  1. Add an http_archive rule to download Google APIs, e.g.,
http_archive(
    name = "googleapis",
    sha256 = "9d1a930e767c93c825398b8f8692eca3fe353b9aaadedfbcf1fca2282c85df88",
    strip_prefix = "googleapis-64926d52febbf298cb82a8f472ade4a3969ba922",
    urls = [
        "https://github.com/googleapis/googleapis/archive/64926d52febbf298cb82a8f472ade4a3969ba922.zip",
    ],
)

load("@​googleapis//:repository_rules.bzl", "switched_rules_by_language")

switched_rules_by_language(
    name = "com_google_googleapis_imports",
)

Note that the version of Google APIs archive needs to be compatible with the pre-generated code in @org_golang_google_genproto.

  1. Resolve the proto manually. If Gazelle is being used, directives like the following need to be added to a parent directory of the proto files:
### gazelle:resolve proto proto google/rpc/status.proto @​googleapis//google/rpc:status_proto
### gazelle:resolve proto go google/rpc/status.proto  @​org_golang_google_genproto//googleapis/rpc/status
### gazelle:resolve proto google/longrunning/operations.proto @​googleapis//google/longrunning:operations_proto
### gazelle:resolve proto go google/longrunning/operations.proto @​org_golang_google_genproto//googleapis/longrunning

Other changes included in this release

Full Changelog: bazel-contrib/rules_go@v0.40.1...v0.41.0

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.20.5")

v0.40.1

Compare Source

WORKSPACE code

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "51dc53293afe317d2696d4d6433a4c33feedb7748a9e352072e2ec3c0dafd2c6",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.40.1/rules_go-v0.40.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.40.1/rules_go-v0.40.1.zip",
    ],
)

load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.20.5")

Changes

This patch release cherry-picked two bug fixes related to Go package driver from master

v0.40.0

Compare Source

What's Changed


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from e895fdf to d85cb7b Compare March 30, 2023 13:41
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.38.1 Update dependency io_bazel_rules_go to v0.39.0 Mar 30, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from d85cb7b to 83f7a73 Compare May 28, 2023 19:59
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.39.0 Update dependency io_bazel_rules_go to v0.39.1 May 28, 2023
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.39.1 Update dependency io_bazel_rules_go to v0.40.0 Jun 22, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 83f7a73 to eb8ee5b Compare June 22, 2023 23:26
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.40.0 Update dependency io_bazel_rules_go to v0.40.1 Jun 30, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from eb8ee5b to dee3e1c Compare June 30, 2023 05:42
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from dee3e1c to e64a820 Compare July 10, 2023 23:43
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.40.1 Update dependency io_bazel_rules_go to v0.41.0 Jul 10, 2023
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.41.0 Update dependency io_bazel_rules_go to v0.42.0 Sep 29, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from e64a820 to 871e6f6 Compare September 29, 2023 23:23
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 871e6f6 to 9459842 Compare November 21, 2023 08:53
@renovate renovate bot changed the title Update dependency io_bazel_rules_go to v0.42.0 Update dependency io_bazel_rules_go to v0.43.0 Nov 21, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 9459842 to de20f0b Compare December 20, 2023 08:04
@renovate 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 20, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from de20f0b to 16409fc Compare December 30, 2023 02:47
@renovate 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 30, 2023
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 16409fc to 6a8ce52 Compare January 4, 2024 08:33
@renovate 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 4, 2024
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 6a8ce52 to c942afd Compare January 13, 2024 08:50
@renovate 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 13, 2024
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from c942afd to e69a22c Compare January 20, 2024 17:30
@renovate 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 20, 2024
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from e69a22c to 0006b7d Compare February 10, 2024 08:59
@renovate 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 renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 0006b7d to c7b0b1b Compare April 23, 2024 20:51
@renovate 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 renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from c7b0b1b to c755189 Compare May 8, 2024 02:46
@renovate 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 8, 2024
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from c755189 to 45044e9 Compare May 23, 2024 05:37
@renovate 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 23, 2024
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 45044e9 to ec20930 Compare June 19, 2024 20:46
@renovate 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 renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from ec20930 to 7ff9348 Compare July 14, 2024 23:51
@renovate 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 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants