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

Update dependency rules_proto_grpc to v5 #112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2024

This PR contains the following updates:

Package Type Update Change
rules_proto_grpc http_archive major 4.4.0 -> 5.0.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

rules-proto-grpc/rules_proto_grpc (rules_proto_grpc)

v5.0.1

Compare Source

Fixed gRPC-Gateway OpenAPI plugin on Linux ARM64 #​360

v5.0.0

Compare Source

The 5.0.0 release introduces support for Bzlmod and drops support for WORKSPACE. This has required a large restructure of the repo, with the code being split into multiple modules. A 'core' module provides common types and compilation support, whilst per-language modules provide the integration with each language's specific third-party modules and tools. Moving to Bzlmod provides a huge improvement in the stability and maintainability of these rules, as third-party transitive dependency management has been handed off to Bazel and new versions of gRPC and Protobuf should hopefully be able to be supported more rapidly.

At present, a limited number of languages have been migrated from the 4.x.x releases, with support for the remaining languages being tracked here. For these unsupported languages - or for WORKSPACE repos - it is recommended you continue using the 4.x.x releases.

The way you use these rules is largely unchanged, but unfortunately the paths used for load of the rules will have changed due to the splitting into language-specific modules. For example, the following load:

load("@​rules_proto_grpc//go:defs.bzl", "go_proto_library")

Will become:

load("@​rules_proto_grpc_go//:defs.bzl", "go_proto_library")

Details on the new rule loads can, as always, be found on each language's page in the documentation. Examples for each language are also provided in the repo's examples directory.

Some key other changes include:

  • The versions of gRPC and Protobuf are updated to the latest available in
    Bazel Central Registry
  • Python now pulls gRPC and Protobuf from pip wheels
  • Buf rules now work on Windows (requires the --enable_runfiles flag to be set)

Should you have any issues with the new release, please open a new issue or discussion.

v4.6.0

Compare Source

General
  • Fixed incompatibility with Bazel 7 for the C, C++ and Objective-C rules. #​298
Rust
  • Breaking change: The preserve_proto_field_names option is no longer set on the Serde plugin by default, as it cannot then be disabled. If you need this option, set if manually with the options attr. #​297
  • Disabled Clippy lints in generated code. #​296

v4.5.0

Compare Source

General
  • Updated grpc to 1.54.1
  • Updated rules_proto to 5.3.0-21.7
  • Fixed passing extra options to the grpc-gateway plugin. #​258
  • Removed header files from runfiles of cpp_grpc_library. #​262
  • Added a path conversion from snake_case to dashed-case. #​274
  • Fixed missing env var in documentation. #​279
C++
  • Added support for NO_PREFIX output mode. #​276
C#/F#
  • Updated gRPC to 2.53.0
Go
  • Updated rules_go to 0.39.1
Python
  • Added support for passing data attr to Python library rules. #​257
Ruby
  • Updated rules_ruby to latest
Rust
  • Major change: Replaced Rust protobuf and gRPC libraries with Prost and Tonic respectively. See the Rust rules documentation for examples of how this change can be adopted. #​265

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team August 26, 2024 14:46
@renovate renovate bot force-pushed the renovate/rules_proto_grpc-5.x branch 3 times, most recently from 3ea22a1 to 39ebbfa Compare September 30, 2024 22:11
@renovate renovate bot force-pushed the renovate/rules_proto_grpc-5.x branch from 39ebbfa to 912ea6b Compare October 23, 2024 03:26
@renovate renovate bot force-pushed the renovate/rules_proto_grpc-5.x branch from 912ea6b to 308660a Compare October 23, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants