Closed renovate[bot] closed 4 years ago
Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution. If your email is listed below, please ensure that you sign the CLA with the same email address. The following users still need to sign our CLA:❌renovate-bot
Already signed the CLA? To re-check, try refreshing the page.
This PR contains the following updates:
0.14.0
->v0.21.1
v0.20.0
->v0.21.1
Release Notes
bazelbuild/bazel-gazelle
### [`v0.21.1`](https://togithub.com/bazelbuild/bazel-gazelle/releases/v0.21.1) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.21.0...v0.21.1) #### Bug fixes - Fixed visibility for Go libraries in `internal` directories. Previously, internal visibility was applied to packages in subdirectories of `internal`, directories, not `internal` directories themselves. Thanks to [@robfig](https://togithub.com/robfig). - `go_repository` no longer runs `cat`, and `genrules` are replaced with native rules to reduce dependence on msys2 on Windows. Thanks to [@tomlu](https://togithub.com/tomlu). - Cases in `select` expressions are no longer emitted for platforms that aren't supported by the current version of rules_go. ### [`v0.21.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/v0.21.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.20.0...v0.21.0) - `# gazelle:exclude` directives now accept patterns with `*` and `**` wildcards. (thanks [@kalbasit](https://togithub.com/kalbasit)) - The `-lang` flag may now be used to select which language extensions should be run. By default, all extensions Gazelle was built with will run. (thanks [@robfig](https://togithub.com/robfig)) - Attribute matching now works on string slice attributes, not just strings. This is now used to match `proto_library` rules with one or more sources in common with the generated rule, even if the rule has been renamed. (thanks [@linzhp](https://togithub.com/linzhp)) - Many bugs have been fixed. Thanks to everyone who helped out! ### [`v0.20.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/v0.20.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.19.1...v0.20.0) #### General changes - When `update-repos` is invoked with `-to_macro`, Gazelle will add a call to the macro and a `# gazelle:repository_macro` directive to WORKSPACE if neither is present. #### Go changes - Gazelle will avoid generating duplicate `go_repository` rules when two module paths differ only in case. Thanks to [@linzhp](https://togithub.com/linzhp). - When deriving a repository name from an import path, all non-word characters will be replaced with underscores, not just dots and slashes. Consecutive non-word characters will be collapsed to a single underscore. Thanks to [@carnott-snap](https://togithub.com/carnott-snap). - Imported repository rules are now sorted. #### Proto changes - Gazelle will add `load` statements for `proto_library` to comply with `--incompatible_load_proto_rules_from_bzl`. Thanks to [@Yannic](https://togithub.com/Yannic). - Fixed a bug recognizing services in .proto files. Thanks to [@asv](https://togithub.com/asv). ### [`v0.19.1`](https://togithub.com/bazelbuild/bazel-gazelle/releases/v0.19.1) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.19.0...v0.19.1) #### Changes - Rule names are now included in `go_repository` stderr output. - Environment variables `SSL_CERT_FILE` and `SSL_CERT_DIR` are passed through to tools used by `go_repository`. - The list of standard packages is correctly updated for Go 1.13. ### [`v0.19.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/v0.19.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.18.2...v0.19.0) #### General changes - The `# gazelle:repository` directive is now supported in WORKSPACE files. Gazelle will behave as if a repository rule were declared with the given kind and attributes. This may override other declared rules. This is useful for declaring rules that appear in other files and can't be managed with `#gazelle:repository_macro`. Thanks to [@blico](https://togithub.com/blico). - The `update-repos` command now accepts versions for each argument, for example, `update-repos github.com/sirupsen/logrus@v1.4.0`. For Go, the version suffixes follow the same format that `go get` accepts in module mode. Thanks to [@weixiao-huang](https://togithub.com/weixiao-huang). #### Go changes - `go_repository` has better support for visibility across submodules. For example, `cloud.google.com/logging` may now depend on internal packages in `cloud.google.com`, when both modules are unmodified `go_repository` rules. Previously, this required `visibility` attributes to be patched into the parent module. - `go_repository` now handles WORKSPACE-based configuration more efficiently. A configuration file is derived from the relevant parts of WORKSPACE and any functions declared with `# gazelle:repository_macro`. `go_repository` rules are re-evaluated when the configuration file changes, not when WORKSPACE changes. Previously, non-Go-related changes to WORKSPACE would cause `go_repository` to be re-evaluated. Thanks to [@blico](https://togithub.com/blico). - `go_repository` now accepts a `build_directives` attribute, a list of directives to write into the root build file before running Gazelle. Thanks to [@linzhp](https://togithub.com/linzhp). - The `# gazelle:go_visibility` directive may be used to add labels to visibility attributes of Go rules. Thanks to [@linzhp](https://togithub.com/linzhp). - Generated .go files are no longer included in `go_library` `srcs` if they are consumed by another rule through the `src` or `srcs` attributes. Thanks to [@linzhp](https://togithub.com/linzhp). #### Proto changes - Updated dependency resolution tables for know protos. ### [`v0.18.2`](https://togithub.com/bazelbuild/bazel-gazelle/releases/0.18.2) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.18.1...v0.18.2) #### Changes - Fixed an error that occurred when linking `gazelle_binary` rules in Go 1.13. - Several other small bug fixes. ### [`v0.18.1`](https://togithub.com/bazelbuild/bazel-gazelle/releases/0.18.1) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.18.0...v0.18.1) This release is a quick fix to address an issue with `go_repository` on Windows. ### [`v0.18.0`](https://togithub.com/bazelbuild/bazel-gazelle/releases/0.18.0) [Compare Source](https://togithub.com/bazelbuild/bazel-gazelle/compare/v0.17.0...v0.18.0) #### Compatibility - `rules_go` 0.19.0 or later is now required. Older versions are not supported but may still work, depending on what features are needed. #### General changes - `gazelle update-repos` now supports the flag `-to_macro=file.bzl%macro`. Instead of writing new repository rules to WORKSPACE, rules will be written to a function in a separate .bzl file. This helps keep related rules together. Thanks to [@blico](https://togithub.com/blico)! - The directive `# gazelle:repository_macro file.bzl%macro` may be used in WORKSPACE to declare a macro generated with the above flag. `gazelle update-repos` will automatically update rules declared in the named macros instead of adding them to WORKSPACE. The directive may be repeated for multiple macros. `gazelle fix` and `gazelle update` will also read workspaces declared in these macros to find known repository roots and names. Thanks again to [@blico](https://togithub.com/blico)! - The directive `# gazelle:exclude .` may now be written to skip updating the current directory and subdirectories. Previously, `exclude` only applied to files and subdirectories. #### Go changes - [`go_repository`](/workspace.rst#go-repository) can now download modules. To download a module, set the `version` and `sum` attributes instead of `urls` (for HTTP) or `commit` or `tag` (for VCS downloads). `go_repository` will download and verify the specified module with `go mod download`. The environment variables `GOPROXY`, `GOPRIVATE`, `GONOPROXY`, `GOSUMDB`, and `GONOSUMDB` are observed, so be sure to set these for private modules when using go1.13 or later. - `gazelle update-reposRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.