rules_py
rules_py copied to clipboard
chore(deps): update dependency io_bazel_rules_go to v0.37.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| io_bazel_rules_go | http_archive | minor | v0.35.0 -> v0.37.0 |
Release Notes
bazelbuild/rules_go
v0.37.0
Major New Features
- Support fetching packages for generated code in the Go Packages Driver
What's Changed
- bzlmod: Add missing
strip_prefixfield tosource.template.jsonby @fmeum in https://github.com/bazelbuild/rules_go/pull/3359 - Declare toolchains in a separate repository by @jfirebaugh in https://github.com/bazelbuild/rules_go/pull/3348
- Delete legacy actions API by @fmeum in https://github.com/bazelbuild/rules_go/pull/3173
- go_path: support go:embed of generated files by @S-Chan in https://github.com/bazelbuild/rules_go/pull/3285
- Properly deprecate
bindata,go_embed_data, andgo_embed_data_depsby @fmeum in https://github.com/bazelbuild/rules_go/pull/3362 - link.bzl: ignore duplicate dep on coverdata by @robfig in https://github.com/bazelbuild/rules_go/pull/3032
- feat(pkg-drv): add support for generated files by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3354
- Remove unused variables in link action by @fmeum in https://github.com/bazelbuild/rules_go/pull/3367
- Reduce number of declared files in
emit_stdlibby @fmeum in https://github.com/bazelbuild/rules_go/pull/3366 - Update docs regarding vendored proto files by @garymm in https://github.com/bazelbuild/rules_go/pull/3360
- go link: use external linker when in race mode by @motiejus in https://github.com/bazelbuild/rules_go/pull/3370
- Adding first example by @chrislovecnm in https://github.com/bazelbuild/rules_go/pull/3317
- fix(packagesdriver): bazelFlags should prefix the command by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3371
- chore(gpd): export aspect utils for reusability by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3373
- nogo: Add a _base key to be a default config for all Analyzers. by @DolceTriade in https://github.com/bazelbuild/rules_go/pull/3351
- Document that
Rlocationcan return relative paths by @fmeum in https://github.com/bazelbuild/rules_go/pull/3377 - Fix normalization check for
Rlocationpath by @fmeum in https://github.com/bazelbuild/rules_go/pull/3378 - fix(gpd): Write large target patterns to file by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3372
- Make Go runfiles library repo mapping aware by @fmeum in https://github.com/bazelbuild/rules_go/pull/3347
New Contributors
- @jfirebaugh made their first contribution in https://github.com/bazelbuild/rules_go/pull/3348
- @S-Chan made their first contribution in https://github.com/bazelbuild/rules_go/pull/3285
- @garymm made their first contribution in https://github.com/bazelbuild/rules_go/pull/3360
- @motiejus made their first contribution in https://github.com/bazelbuild/rules_go/pull/3370
- @chrislovecnm made their first contribution in https://github.com/bazelbuild/rules_go/pull/3317
- @DolceTriade made their first contribution in https://github.com/bazelbuild/rules_go/pull/3351
Full Changelog: https://github.com/bazelbuild/rules_go/compare/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
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, thePathfunction present in https://github.com/phst/runfiles is calledRlocationin rules_go. - Adding two new command line flags
--@​io_bazel_rules_go//go/config:gc_gooptsand--@​io_bazel_rules_go//go/config:gc_linkoptsto accept additional compiler and linker flags.
What's Changed
- bzlmod: Use register_toolchains by @fmeum in https://github.com/bazelbuild/rules_go/pull/3290
- Remove unused env_execute by @kmicklas in https://github.com/bazelbuild/rules_go/pull/3276
- Correctly forward InstrumentedFilesInfo from dependencies by @fmeum in https://github.com/bazelbuild/rules_go/pull/3294
- Parse Go SDK version out of
go versioninstead ofVERSIONby @fmeum in https://github.com/bazelbuild/rules_go/pull/3296 - also write test stderr to json (xml) output file by @rickystewart in https://github.com/bazelbuild/rules_go/pull/3300
- Bzlmod: Pin Bazel version in CI by @fmeum in https://github.com/bazelbuild/rules_go/pull/3301
- Allow to select Go SDK version from declared SDKs by @ash2k in https://github.com/bazelbuild/rules_go/pull/3303
- Use top level VERSION file when it exists by @linzhp in https://github.com/bazelbuild/rules_go/pull/3309
- synchronize when writing to the JSON converter by @rickystewart in https://github.com/bazelbuild/rules_go/pull/3311
- update version manifest URL by @benjaminp in https://github.com/bazelbuild/rules_go/pull/3314
- Symlink "misc" into repository for local_sdk. by @adam-azarchs in https://github.com/bazelbuild/rules_go/pull/3313
- Ensure compatibility with incompatible flags close to flipping by @fmeum in https://github.com/bazelbuild/rules_go/pull/3319
- Add additional bzlmod requirements to allow grpc protobufs to work by @shs96c in https://github.com/bazelbuild/rules_go/pull/3320
- bzlmod: Update pinned Bazel version by @fmeum in https://github.com/bazelbuild/rules_go/pull/3321
- bzlmod: Set up automated BCR releases by @fmeum in https://github.com/bazelbuild/rules_go/pull/3324
- bzlmod: Add support for gogo proto compiler by @fmeum in https://github.com/bazelbuild/rules_go/pull/3323
- gopackagesdriver: move non-Go files to OtherFiles (Fixes #3326) by @michaelarusso in https://github.com/bazelbuild/rules_go/pull/3327
- bzlmod: Allow yanked versions in CI by @fmeum in https://github.com/bazelbuild/rules_go/pull/3329
- feat(pkg-drv): allow setting custom aspect and kinds by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3328
- fix(packages-driver): allow defining additional aspects instead by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3330
- Add support for parsing Go development versions by @zakcutner in https://github.com/bazelbuild/rules_go/pull/3333
- Match GOARCH ppc64 to @platforms//cpu:ppc as well. by @mahiuchun in https://github.com/bazelbuild/rules_go/pull/3336
- bzlmod: Update Publish to BCR app config by @fmeum in https://github.com/bazelbuild/rules_go/pull/3337
- gopackagesdriver: default to NotHandled:true for package queries by @ian-h-chamberlain in https://github.com/bazelbuild/rules_go/pull/3338
- fix(packagesdrv): resolve third party go packages by @JamyDev in https://github.com/bazelbuild/rules_go/pull/3332
- runfiles: port phst/runfiles to rules_go by @sluongng in https://github.com/bazelbuild/rules_go/pull/3205
- Adding gc_linopts to command line flag by @linzhp in https://github.com/bazelbuild/rules_go/pull/3342
- Move new runfiles library to
//go/runfilesby @fmeum in https://github.com/bazelbuild/rules_go/pull/3341 - Rename
PathtoRlocationin runfiles library by @fmeum in https://github.com/bazelbuild/rules_go/pull/3346 - Add 'gc_goopts' flag to command line to allow gc_goopts to propagate by @LWarrens in https://github.com/bazelbuild/rules_go/pull/3340
New Contributors
- @kmicklas made their first contribution in https://github.com/bazelbuild/rules_go/pull/3276
- @adam-azarchs made their first contribution in https://github.com/bazelbuild/rules_go/pull/3313
- @shs96c made their first contribution in https://github.com/bazelbuild/rules_go/pull/3320
- @michaelarusso made their first contribution in https://github.com/bazelbuild/rules_go/pull/3327
- @zakcutner made their first contribution in https://github.com/bazelbuild/rules_go/pull/3333
- @mahiuchun made their first contribution in https://github.com/bazelbuild/rules_go/pull/3336
- @LWarrens made their first contribution in https://github.com/bazelbuild/rules_go/pull/3340
Full Changelog: https://github.com/bazelbuild/rules_go/compare/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")
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.