v0.40.0
What's Changed
- Revert "Add automatic platform detection from inbound crosstool_top a… by @fmeum in #3468
- bzlmod: Add dedicated documentation by @fmeum in #3519
- Create TEST_SHARD_STATUS_FILE when sharding tests by @fmeum in #3547
- Move CI flags to .bazelrc and fix BwoB build by @fmeum in #3551
- Re-enable go_path_test on RBE by @sluongng in #3539
- nogo: provide usage doc by @sluongng in #3534
- respect global strip config by @malt3 in #3527
- stdliblist: return generated files by @grampelberg in #3552
- Fix formatting in nogo usage doc by @sluongng in #3557
- Fix
goexperiment.*
build tags by @lbcjbb in #3556 - Remove tests for
go_path
'slink
mode by @fmeum in #3565 - Fix tests with
--incompatible_disable_starlark_host_transitions
by @fmeum in #3560 - Create empty
.go
file in a random location by @fmeum in #3566 - gopackagesdriver: fix interface to work with golangci-lint (#3523) by @grampelberg in #3524
- Fix typo in load statement for bzlmod docs by @Sovietaced in #3570
- context: remove unused import by @sluongng in #3571
- docs: Mention
use_repo
automation by @fmeum in #3573 - Test basic-gazelle example with incompatible flags by @fmeum in #3575
- go_sdk extension: create
go_host_compatible_sdk
repository by @ylecornec in #3543 - docs: Mention that
gazelle:prefix
can be replaced bygo.mod
by @fmeum in #3577 - go_download_sdk: apply extraction workaround to zips on non-windows OSs by @jayconrod in #3563
- Fix
go_download_sdk
with Bazel dev versions by @fmeum in #3580 - Implement //nolint parsing similar to golangci-lint by @patrickmscott in #3562
New Contributors
- @bricedp made their first contribution in #3512
- @patrickmscott made their first contribution in #3528
- @grampelberg made their first contribution in #3552
- @Sovietaced made their first contribution in #3570
- @ylecornec made their first contribution in #3543
Full Changelog: v0.39.1...v0.40.0
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "bfc5ce70b9d1634ae54f4e7b495657a18a04e0d596785f672d35d5f505ab491a",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.40.0/rules_go-v0.40.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.40.0/rules_go-v0.40.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")