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

Bump github.com/bazelbuild/rules_go from 0.24.7 to 0.25.1 #207

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 28, 2020

Bumps github.com/bazelbuild/rules_go from 0.24.7 to 0.25.1.

Release notes

Sourced from github.com/bazelbuild/rules_go's releases.

v0.25.1

Bug fixes

  • Fixed an issue in go_test with capturing XML output when changing directories.
  • Paths in error messages are now relativized. This should reduce noise from Bazel sandbox directories. (thanks @robfig)
  • go_local_sdk provides better error messages when Go is built for multiple platforms. (thanks @prattmic)
  • Multiple compatibility fixes for Go 1.16beta1.

WORKSPACE code

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

http_archive( name = "io_bazel_rules_go", sha256 = "7904dbecbaffd068651916dce77ff3437679f9d20e1a7956bff43826e7645fcc", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz", ], )

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

go_rules_dependencies()

go_register_toolchains(version = "1.15.6")

v0.25.0

Changes

  • go_download_sdk and go_register_toolchains can now download any version of Go from golang.org/dl without the need for hardcoded support in rules_go.
    • Consequently, the version parameter must be set to a string like "1.15.5" or to "host". This requires a change to WORKSPACE for most users. See go_register_toolchains for details.
    • go_download_sdk queries https://golang.org/dl in order to find SHA-256 of toolchains. Bazel won't cache downloaded files without these. If your build has limited network access, use version = "host" or set the sdks and urls attributes in go_download_sdk.
    • As a result of this change, rules_go will no longer need patch releases for new Go versions. The v0.24 branch will still be patched as long as it's supported.
  • Package conflicts are now errors rather than warnings. The linker already reports errors for most of these since Go 1.15.
  • rules_go now uses Bazel's modern C/C++ Starlark linker API.
  • go_path supports the include_transitive attribute, which controls whether transitively imported packages are included (thanks @steeve)
  • go_test changes to the test directory in an init function run before other package inits instead of in main (thanks @dragonsinth)
  • Several deprecated features were removed. See Deprecation schedule for information on removals.
    • go_rule wrapper.
    • go_archive_aspect and GoAspectProvider.
    • It is now an error when a go_binary or go_test depends on another go_binary or go_test.
    • --feature flags are no longer used for configuration. Use flags like --@io_bazel_rules_go//go/config:pure instead.

Compatibility

  • Go 1.13 is no longer supported.
  • Bazel 3.4.0 is now required.
  • This release is expected to be compatible with Bazel 4.0.0. Earlier rules_go releases may not work due to incompatible changes in the C/C++ APIs.

... (truncated)

Commits
  • f0b8d73 Test Go 1.16beta1 (#2769)
  • 7d4e90d builder: support appending to non-existant archive (#2767)
  • 2929361 go/tools/builders: don't format subcommand output as []byte (#2766)
  • 800ed40 go_local_sdk: more strict SDK platform detection (#2765)
  • e883622 Relative paths in error messages (#2736)
  • bc81644 go_test: combine testinit and wrapper packages into bzltestutil (#2755)
  • 7e00e16 Set RULES_GO_VERSION to 0.25.1
  • 8c81912 Set RULES_GO_VERSION to 0.25.0 (#2744)
  • 94a6fcd doc: fix go_download_sdk attribute table [skip ci] (#2746)
  • 694c23a go_register_toolchains: improve version string parsing and comparison (#2745)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/bazelbuild/rules_go](https://github.com/bazelbuild/rules_go) from 0.24.7 to 0.25.1.
- [Release notes](https://github.com/bazelbuild/rules_go/releases)
- [Commits](bazelbuild/rules_go@v0.24.7...v0.25.1)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 28, 2020
@philwo philwo merged commit ce39857 into master Mar 4, 2021
@philwo philwo deleted the dependabot/go_modules/github.com/bazelbuild/rules_go-0.25.1 branch March 4, 2021 20:49
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.

None yet

1 participant