Update dependency bazel_gazelle to v0.35.0
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
bazel_gazelle | http_archive | minor | v0.35.0 | source |
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
bazelbuild/bazel-gazelle (bazel_gazelle)
v0.35.0
What's Changed
- Don't run on centos7 in BCR presubmit and add maintainers by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1663
- update readme for v0.34.0 by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1662
- nit: doc
gazelle_generation_test
use ofarguments.txt
by @vpanta in https://github.com/bazelbuild/bazel-gazelle/pull/1660 - feat(bzlmod): allow patches in
archive_override
s by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1665 - fix(bzlmod): fail on unused overrides by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1669
- Annotate more globs with
allow_empty = True
by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1674 - Generate BUILD files for grpc compiler by @mering in https://github.com/bazelbuild/bazel-gazelle/pull/1672
- Disable lockfile check for BCR test module by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1673
- Make isolated extensions usable for Go tools by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1678
- bzlmod: support go.mod replace directives with a version qualifier on the left by @andyscott in https://github.com/bazelbuild/bazel-gazelle/pull/1679
- fix CI by running both WORKSPACE and Bzlmod on select packages by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1690
- disable lockfile by default by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1692
- feat(resolve): optimize applying overrides to be efficient by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1687
- feat(fix-update): allow user to profile commands with
pprof
by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1685 - Fix partial execution with mapped kinds by @HALtheWise in https://github.com/bazelbuild/bazel-gazelle/pull/1680
- prepare release 0.35.0 by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1693
New Contributors
- @mering made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1672
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.34.0...v0.35.0
v0.34.0
What's Changed
- update readme for v0.33.0 by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1627
- Remove golang.org/x/crypto dep by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1631
- Fix map_kind with empty rules by @lbcjbb in https://github.com/bazelbuild/bazel-gazelle/pull/1441
- fix: add missing bzl_library declaration and dep by @cgrindel in https://github.com/bazelbuild/bazel-gazelle/pull/1633
- chore: add bzl_test to ensure that bzl_library declarations exist by @cgrindel in https://github.com/bazelbuild/bazel-gazelle/pull/1634
- Set runfiles environment variables for Gazelle by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1632
- address comments from #1597 by @shahms in https://github.com/bazelbuild/bazel-gazelle/pull/1628
- Fix kinds and stmt by @birunts in https://github.com/bazelbuild/bazel-gazelle/pull/1613
- Export workspace file in go_repository_config.bzl by @mortenmj in https://github.com/bazelbuild/bazel-gazelle/pull/1641
- Add github.com/google/gnostic-models to default_gazelle_overrides.bzl by @mortenmj in https://github.com/bazelbuild/bazel-gazelle/pull/1645
- Support parsing labels that begin '@@' by @mark-thm in https://github.com/bazelbuild/bazel-gazelle/pull/1651
- Fix path for google/gnostic-models by @mortenmj in https://github.com/bazelbuild/bazel-gazelle/pull/1652
- fix(bzlmod): allow passing build_extra_args in gazelle_override by @casuallyhostile in https://github.com/bazelbuild/bazel-gazelle/pull/1648
- prepare release 0.34.0 by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1656
New Contributors
- @casuallyhostile made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1648
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.33.0...v0.34.0
v0.33.0
What's Changed
- Generate BUILD files for grpc-gateway by default by @seh in https://github.com/bazelbuild/bazel-gazelle/pull/1578
- Remove temporary workaround after rules_go 0.41.0 release by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1577
- bzlmod: Use first host-compatible SDK to bootstrap Gazelle by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1581
- Update: golang.org/x/exp & golang.org/x/oauth2 deps. by @sfc-gh-ptabor in https://github.com/bazelbuild/bazel-gazelle/pull/1582
- [README.rst] Mention kotlin PoC by @kolloch in https://github.com/bazelbuild/bazel-gazelle/pull/1590
- Fix and let
# gazelle:follow
accept a glob by @shahms in https://github.com/bazelbuild/bazel-gazelle/pull/1596 - Add support for isolated
go_deps
usages by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1584 - feat(bzlmod): support archive_override in go_deps by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1559
- fix: avoid updating
WORKSPACE
file when runningupdate-repos
when bzlmod is enabled by @cgrindel in https://github.com/bazelbuild/bazel-gazelle/pull/1589 - Make
go_deps.from_file
compatible with Go 1.21 by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1605 - go_repository: fix missing default GOPROXY by @sluongng in https://github.com/bazelbuild/bazel-gazelle/pull/1602
- fix: patch support for dir named workspace by @michaellzc in https://github.com/bazelbuild/bazel-gazelle/pull/1606
- Revert "go_repository: fix missing default GOPROXY (#1602)" by @sluongng in https://github.com/bazelbuild/bazel-gazelle/pull/1609
- Upgrade
golang.org/x/mod
Vendor to Support Go 1.21 by @alan910127 in https://github.com/bazelbuild/bazel-gazelle/pull/1611 - fix: go_repository: never shadow a module with a compatibility mapping for major versions. by @reltuk in https://github.com/bazelbuild/bazel-gazelle/pull/1608
- bug fix: don't generate invalid go_binary rules for empty main packages by @andyscott in https://github.com/bazelbuild/bazel-gazelle/pull/1618
- Fix wrong Kotlin Support link in README. by @duckladydinh in https://github.com/bazelbuild/bazel-gazelle/pull/1619
- bzlmod: Verify that the lockfile is platform-independent by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1617
- Add gazelle_rust under supported languages by @Calsign in https://github.com/bazelbuild/bazel-gazelle/pull/1620
- replace golang.org/x/tools with golang.org/x/tools/go/[email protected] by @malt3 in https://github.com/bazelbuild/bazel-gazelle/pull/1603
- Implement Merger interface by @Whoaa512 in https://github.com/bazelbuild/bazel-gazelle/pull/1569
- Improve Gazelle launcher's runfiles discovery on Windows by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1604
- Add an entry for "github.com/googleapis/gax-go/v2" to default_gazelle_overrides.bzl by @andrewmbenton in https://github.com/bazelbuild/bazel-gazelle/pull/1623
- add a go_test directive to enable generating go_test targets per _test.go file by @shahms in https://github.com/bazelbuild/bazel-gazelle/pull/1597
- Detect whether Gazelle itself is a Bazel module by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1624
- prepare release 0.33 by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1615
New Contributors
- @sfc-gh-ptabor made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1582
- @kolloch made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1590
- @shahms made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1596
- @michaellzc made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1606
- @alan910127 made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1611
- @reltuk made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1608
- @andyscott made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1618
- @duckladydinh made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1619
- @Calsign made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1620
- @malt3 made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1603
- @andrewmbenton made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1623
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.32.0...v0.33.0
v0.32.0
Starting this release, Gazelle no longer resolves Go and proto imports of Google APIs to @go_googleapis
. Instead, Go packages from Google APIs will be treated as regular Go packages, and resolve to @org_golang_google_genproto
, which contains the pre-generated Go code, with its version determined by Go modules. For proto files importing Google APIs proto and generating Go code, users need to:
- 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
.
- 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
What's Changed
- Decouple Google APIs by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1561
- resolve: Add a resolve_regexp directive by @DolceTriade in https://github.com/bazelbuild/bazel-gazelle/pull/1542
- Remove module dependency on go_googleapis by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1563
- Testing on macOS arm64 by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1568
- Stop resolving to @io_bazel_rules_go//proto/wkt by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1567
- Fix directive table in Readme file by @farhaven in https://github.com/bazelbuild/bazel-gazelle/pull/1571
New Contributors
- @DolceTriade made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1542
- @farhaven made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1571
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.1...v0.32.0
v0.31.1
What's Changed
- point sync.Once in walkConfig by @jmhodges in https://github.com/bazelbuild/bazel-gazelle/pull/1532
- add copylock vet to nogo by @jmhodges in https://github.com/bazelbuild/bazel-gazelle/pull/1534
- bzlmod: Remove deprecated override attributes on
go_deps.module
by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1548 - Add default directives for github.com/envoyproxy/protoc-gen-validate by @mortenmj in https://github.com/bazelbuild/bazel-gazelle/pull/1553
- cmd/gazelle: do not use the epoch as timestamp in diff output by @siddharthab in https://github.com/bazelbuild/bazel-gazelle/pull/1552
- fileinfo: fix not detecting 'unix' files to be OS specific by @sluongng in https://github.com/bazelbuild/bazel-gazelle/pull/1554
- language/go: Emit apparent repo name of rules_go in select keys by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1555
- Let
bazel_dep
s replace Go deps by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1526
New Contributors
- @mortenmj made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1553
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.31.0...v0.31.1
v0.31.0
What's Changed
- feat: allow passing GIT_CONFIG_COUNT and it's related configs by @manuelnaranjo in https://github.com/bazelbuild/bazel-gazelle/pull/1462
- feat(bzlmod): add
module_override
tag to allow patching in go_deps by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1500 - fix typo
build_proto_file_mode
in message by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1504 - fix: support running within a dir named workspace by @jbedard in https://github.com/bazelbuild/bazel-gazelle/pull/1498
- fix: check for gazelle command before adding -repo_config flag by @cgrindel in https://github.com/bazelbuild/bazel-gazelle/pull/1501
- language/go: Infer prefix from go.mod by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1497
- don't overwrite directives by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1503
- Support Bzlmod for gazelle itself by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1509
- language/go: Add windows arm64 as a known platform. by @connyay in https://github.com/bazelbuild/bazel-gazelle/pull/1507
- Adding lifecycle manager by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1475
- Disable protobuf generation for more modules by @seh in https://github.com/bazelbuild/bazel-gazelle/pull/1514
- Support '~' in label repo by @mark-thm in https://github.com/bazelbuild/bazel-gazelle/pull/1518
- language/go: Handle
unix
build tag. by @connyay in https://github.com/bazelbuild/bazel-gazelle/pull/1512 - Pass data arg through to sh_binary if defined by @Preston4tw in https://github.com/bazelbuild/bazel-gazelle/pull/1483
- remove circular override hack by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1515
- Add major version suffix download example by @kriswuollett in https://github.com/bazelbuild/bazel-gazelle/pull/1453
- Relax parsing of labels by @purkhusid in https://github.com/bazelbuild/bazel-gazelle/pull/1508
- bzlmod: Add
build_file_generation
togazelle_override
by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1522 - Fix incremental build of to bootstrap Gazelle by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1529
- Support macros/rules packed within bazel
struct
by @birunts in https://github.com/bazelbuild/bazel-gazelle/pull/1524 - Prefer non-proto over proto deps in external repos by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1537
- bzlmod: Return
extension_metadata
to automateuse_repo
fixes by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1511 - Fix
go:embed
failing to addembedsrcs
for subdirectories named build by @sgavinio in https://github.com/bazelbuild/bazel-gazelle/pull/1539 - Remove support for godep and dep by @sluongng in https://github.com/bazelbuild/bazel-gazelle/pull/1541
- Avoid putting -repo_config after directories by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1544
- Dropping -args by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1546
New Contributors
- @connyay made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1507
- @mark-thm made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1518
- @Preston4tw made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1483
- @kriswuollett made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1453
- @purkhusid made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1508
- @birunts made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1524
- @sgavinio made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1539
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.30.0...v0.31.0
v0.30.0
What's Changed
- fix: add missing Starlark dependency and introduce
bzl_test
by @cgrindel in https://github.com/bazelbuild/bazel-gazelle/pull/1413 - Upgrade rules_go and known imports by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1426
- Regenerate known imports from downgraded go_googleapis by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1429
- testdata with buildable Go pkg deep below by @linzhp in https://github.com/bazelbuild/bazel-gazelle/pull/1433
- language/go: add //go:embed all: support by @mbicz in https://github.com/bazelbuild/bazel-gazelle/pull/1432
- Fix
go mod download
output expectation for errors by @illicitonion in https://github.com/bazelbuild/bazel-gazelle/pull/1442 - Apply map_kind to existing rules as well as new ones by @illicitonion in https://github.com/bazelbuild/bazel-gazelle/pull/1425
- Ignore symlinks into Bazel output rather than relying on name by @cpsauer in https://github.com/bazelbuild/bazel-gazelle/pull/1384
- Use
short_path
forgo
in the wrapper by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1446 - feature: gazelle wrapper allows to pass environment variables by @manuelnaranjo in https://github.com/bazelbuild/bazel-gazelle/pull/1438
- Update directive documentation by @moisesvega in https://github.com/bazelbuild/bazel-gazelle/pull/1454
- Update gazelle directive documenmtation. by @moisesvega in https://github.com/bazelbuild/bazel-gazelle/pull/1455
- Default Visibility extension overwrite on descent (fixes #1467) by @dnathe4th in https://github.com/bazelbuild/bazel-gazelle/pull/1472
- Allow keep to be explained by @stevebarrau in https://github.com/bazelbuild/bazel-gazelle/pull/1447
- Respect repo_name in MODULE.bazel for load generation by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1463
- Add
.ijwb
to.gitignore
by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1478 - Use spaces instead of tabs in go_repositor_tools_srcs.bzl by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1479
- Run buildifier by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1480
- bzlmod: Test BCR test module on all platforms by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1481
- bzlmod: Allow overriding default Go module configuration by @seh in https://github.com/bazelbuild/bazel-gazelle/pull/1456
- fix(bzlmod): apply go.sum sums after version resolution by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1477
- fix(bzlmod/go_deps): don't read go.sum for empty go.mod files by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1484
- feat(bzlmod): support go.mod replace directives by @tyler-french in https://github.com/bazelbuild/bazel-gazelle/pull/1450
- README update mentioning gazelle-haskell-modules by @kczulko in https://github.com/bazelbuild/bazel-gazelle/pull/1439
- Exclude
.ijwb
from repository tools srcs by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1490 - bzlmod: Fix interaction between replace and implicit upgrade check by @fmeum in https://github.com/bazelbuild/bazel-gazelle/pull/1492
New Contributors
- @darist made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1410
- @mbicz made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1432
- @cpsauer made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1384
- @manuelnaranjo made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1438
- @moisesvega made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1454
- @stevebarrau made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1447
- @seh made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1456
- @kczulko made their first contribution in https://github.com/bazelbuild/bazel-gazelle/pull/1439
Full Changelog: https://github.com/bazelbuild/bazel-gazelle/compare/v0.29.0...v0.30.0
Configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.