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 module github.com/bazelbuild/rules_go to v0.37.0 - abandoned #865

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/bazelbuild/rules_go require minor v0.29.0 -> v0.37.0

Release Notes

bazelbuild/rules_go

v0.37.0

Compare Source

Major New Features

  • Support fetching packages for generated code in the Go Packages Driver

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.36.0...v0.37.0

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.19.3")

v0.36.0

Compare Source

Major new features

  • The Go runfiles library developed by @​phst at https://github.com/phst/runfiles is now available as github.com/bazelbuild/rules_go/go/runfiles (target @io_bazel_rules_go//go/runfiles) and is now the official way to look up runfiles from Go. It will be made compatible with Bzlmod in a future release.
    Note: For improved consistency with runfiles libraries in other languages, the Path function present in https://github.com/phst/runfiles is called Rlocation in rules_go.
  • Adding two new command line flags --@​io_bazel_rules_go//go/config:gc_goopts and --@​io_bazel_rules_go//go/config:gc_linkopts to accept additional compiler and linker flags.

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.35.0...v0.36.0

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.19.3")

v0.35.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.34.0...v0.35.0

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.19.1")

v0.34.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/rules_go@v0.33.0...v0.34.0

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.18.4")

v0.33.0

Compare Source

Breaking changes

Deprecations

  • The asm, compile, and pack action generators provided by go_context are deprecated and planned for removal in version v0.36.0. Please leave a comment on the tracking bug if archive and link are not suitable replacements for your use cases.

Bug Fixes

Thanks to all of the contributors!

Compatibility

The minimum required version of Bazel remains at 4.2.1.

Updated dependencies

  • Updated org_golang_x_sys, org_golang_x_xerrors, org_golang_google_genproto, go_googleapis to their most recent commit as of 2022-06-05

As always, you can use higher versions of rules_go's dependencies by declaring them in WORKSPACE before calling go_rules_dependencies. Lower versions may work but are not supported.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.18.3")

v0.32.0

Compare Source

This release brings many exciting changes

New features

  • gomock rule is officially supported in rules_go (doc), replacing the original jmhodges/bazel_gomock repository. Thanks to @​jmhodges for the original implementation.
  • rules_go now generates coverage reports in LCOV format by default (#​3117), to be compatible with Bazel's --combined_report=lcov. To generate reports in the old go tool cover format, please use --//go/config:cover_format=go_cover. Thanks to @​fmeum @​abhinav
  • supporting windows/arm64 (#​3072). Thanks to @​nsait-linaro
  • nogo config can now takes analyzer_flags (#​3082), thanks to @​NavneethJayendran

Bug fixes

Deprecations

go_embed_data and bindata will be deprecated in rules_go 0.35.0. Users are encourage to migrate to go:embed and embedsrcs.

Other changes

Updated dependencies

As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.

  • org_golang_google_protobuf updated to v1.28.0
  • org_golang_x_sys, org_golang_x_xerrors, org_golang_google_genproto and go_googleapis updated to master, as of 2022-05-09

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.18.2")

v0.31.0

Compare Source

This is a maintenance release to support Bazel 5.0. No new feature was added since last release.

Changes

Updated dependencies

As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.

  • platforms updated to 0.0.5 as of 2022-03-14.
  • bazel_skylib updated to 1.2.1 as of 2022-03-14.
  • org_golang_x_tools updated to v0.1.9 as of 2022-03-14.
  • org_golang_x_sys updated to master as of 2022-03-14.
  • org_golang_google_genproto updated to main as of 2022-03-14.
  • go_googleapis updated to master as of 2022-03-14.

Thanks @​moisesvega for updating the dependencies and preparing the release notes.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.18")

v0.30.0

Compare Source

Changes

  • Add first class support for GOOS=ios (#​3013)

  • Always include debug symbols with -c dbg (#​3029)

    Previously, debugging a go_test target was only possible with an explicit --@​io_bazel_rules_go//go/config:debug.

  • go_test: Add env attribute (#​3004)

    This allows setting environment variables before static initialisers run, and which reference expanded locations.

  • tests/core/cgo: do not assume test is being run from main repo (#​2956)

  • reproducibility_test: explicitly build the go_sdk builder (#​3026)

  • map bazel's --test_runner_fail_fast to go's -failfast (#​3058)

Bug Fixes

  • Emit correct header in CGo c-archive (#​2874)
  • Append path into trimpath if option already exists (#​2994)
  • Fixed issue with go_bazel_test rule on Windows (#​3036)
  • Skipping linker flag for versioned dylib on Darwin (#​2989)
  • Trim absolute paths in files generated by cgo (#​3011)
  • builders/cover: register coverage without changing line numbers (#​2993)
  • cover: use Z instead of underscore for variable name separator (#​2995)
  • .bazelci/presubmit.yml: remove old flag (#​3023)
  • builders/gentestmain: register correct cover mode in the coverage report file when enabling race mode (#​3019)
  • -fsanitize-ignorelist should have an absolute path (#​3001)
  • internal changes: #​2942, #​2987, #​2988, #​2992, #​3000, #​3035, #​3038, #​3046

Thanks to all of the contributors

Compatibility

  • Bazel 4.2.1 or higher is now required. The previous minimum version
    was 4.2.0.

Updated dependencies

As always, you can use higher versions of rules_go's dependencies by declaring
them in WORKSPACE before calling go_rules_dependencies. Lower versions may
work but are not supported.

  • org_golang_x_tools updated to v0.1.8 (#​3031)
  • org_golang_x_sys updated to master as of 2022-01-24.
  • org_golang_google_genproto updated to master as of 2022-01-24.
  • go_googleapis updated to master as of 2022-01-24.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.17.6")

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from statik as a code owner January 13, 2023 20:56
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 13, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jan 13, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot changed the title Update module github.com/bazelbuild/rules_go to v0.37.0 Update module github.com/bazelbuild/rules_go to v0.37.0 - abandoned Oct 17, 2024
Copy link
Contributor Author

renovate bot commented Oct 17, 2024

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants