Skip to content

Releases: rules-proto-grpc/rules_proto_grpc

5.8.0

23 Oct 15:30

Choose a tag to compare

Notes

A number of dependencies are blocked on being updated to their latest versions at present due to two pending issues on upstream repositories. For Protobuf, rules_java and grpc-gateway, there is a conflicting issue when multiple repositories specify Maven dependencies with a lock-file on the @maven name. For gRPC, no recent versions have been published to the Bazel Central Registry.

Changes

None

Version Updates

  • Updated Bazel apple_support to 1.24.1
  • Updated Bazel aspect_bazel_lib to 2.21.2
  • Updated Bazel aspect_rules_js to 2.7.0
  • Updated Bazel bazel_skylib to 1.8.2
  • Updated Bazel rules_cc to 0.2.11
  • Updated Bazel rules_dotnet to 0.20.5
  • Updated Bazel rules_java to 8.15.2
  • Updated Bazel rules_python to 1.6.3
  • Updated Bazel rules_rust to 0.66.0
  • Updated Bazel rules_scala to 7.1.3
  • Updated Bazel rules_shell to 0.6.1
  • Updated Bazel rules_swift_package_manager to 1.9.0
  • Updated Buf to 1.59.0
  • Updated Go google.golang.org/protobuf to v1.36.10
  • Updated JS @grpc/grpc-js to 1.14.0
  • Updated JS grpc-web to 2.0.2
  • Updated Python multidict to 6.7.0
  • Updated Swift apple/swift-protobuf to 1.32.0
  • Updated Swift grpc/grpc-swift-protobuf to 2.1.1

5.7.1

30 Aug 11:50

Choose a tag to compare

Changes

  • Removed experimental_use_cc_common_link from Rust internal tool targets. #532

Version Updates

None

5.7.0

29 Aug 12:39

Choose a tag to compare

Changes

  • Removed unused gRPC-Gateway plugins
  • Rewrote internal file manipulation tools from C++ to Rust, to avoid varying levels of C++ standard support across platforms

Version Updates

  • Updated Bazel apple_support to 1.23.1
  • Updated Bazel aspect_bazel_lib to 2.21.1
  • Updated Bazel aspect_rules_js to 2.5.0
  • Updated Bazel protobuf to 32.0
  • Updated Bazel rules_cc to 0.2.2
  • Updated Bazel rules_go to 0.570
  • Updated Bazel rules_python to 1.5.4
  • Updated Bazel rules_scala to 7.1.1
  • Updated Bazel rules_shell to 0.6.0
  • Updated Bazel rules_swift_package_manager to 1.4.0
  • Updated Bazel toolchains_protoc to 0.5.0
  • Updated Buf to 1.57.0
  • Updated Go google.golang.org/protobuf to v1.36.8
  • Updated JS google-protobuf to 4.0.0
  • Updated Python h2 to 4.3.0
  • Updated Scala com.thesamet.scalapb:* to 0.11.20

5.6.0

11 Aug 14:38

Choose a tag to compare

Changes

  • Removed all uses of ctx.actions.run_shell() from the core module, which improves compatibility with Windows and avoids path escaping issues
  • The gRPC-Gateway gateway_openapiv2_compile rule has been reverted to not use directory output due to issues with selecting single outputs from the directory. A new gateway_openapiv2_combined_compile rule has been added to create a single output file as {name}.swagger.json
  • Migrated Swift from grpc/grpc-swift to grpc/grpc-swift-2
  • Switched C# gRPC plugin to use deterministic outputs rather than a tree (dir) artifact output
  • Fixed bug where plugins with same name used on same compilation target could conflict. This was not possible with the builtin plugins in these rules, but could have been hit by users with custom plugins

Version Updates

  • Updated Bazel aspect_rules_js to 2.4.2
  • Updated Bazel gazelle to 0.45.0
  • Updated Bazel grpc to 1.74.1
  • Updated Bazel rules_cc to 0.2.0
  • Updated Bazel rules_go to 0.56.1
  • Updated Bazel rules_java to 8.15.1
  • Updated Bazel rules_python to 1.5.2
  • Updated Bazel rules_shell to 0.5.1
  • Updated Bazel rules_swift to 3.1.2
  • Updated Buf to 1.56.0
  • Updated Go google.golang.org/grpc to v1.74.2
  • Updated Go google.golang.org/protobuf to v1.36.
  • Updated Java com.google.protobuf:* to 4.31.1
  • Updated Java io.grpc:grpc-* to 1.74.0
  • Updated Python multidict to 6.6.4
  • Updated Swift grpc/grpc-swift to grpc/grpc-swift-2 2.1.0
  • Updated Swift grpc/grpc-swift-protobuf to 2.0.0

5.5.0

21 Jul 12:37

Choose a tag to compare

Changes

  • Restored C# language support

Version Updates

  • Updated Bazel rules_cc to 0.1.4
  • Updated Bazel rules_java to 8.14.0

5.4.0

17 Jul 13:14

Choose a tag to compare

Changes

  • Switched Maven dependencies for Java and Scala to share the common maven name for maven.install, rather than use a unique deconflicted name that can cause classpath issues with duplicate dependencies with differing versions. This means that the Protobuf and gRPC dependencies used internally by java_proto_library etc will be resolved alongside any dependencies from the root module and the versions can be overridden there. Note that the Java protoc plugins are not sourced from Maven and thus care needs to be taken to ensure the runtime version guarantees are met. Scala version specific dependencies are still sourced from separate Maven repositories. See #449

Version Updates

  • Updated Bazel apple_support to 1.22.1
  • Updated Bazel aspect_rules_js to 2.4.0
  • Updated Bazel bazel_skylib to 1.8.1
  • Updated Bazel rules_cc to 0.1.3
  • Updated Bazel rules_jvm_external to 6.8
  • Updated Bazel rules_python to 1.5.1
  • Updated Bazel rules_swift to 3.1.1
  • Updated Scala com.thesamet.scalapb:* to 0.11.19

5.3.1

02 Jul 17:45

Choose a tag to compare

Changes

  • Fixed download path for grpc-web protoc plugin on any arm64 platform

Version Updates

  • Updated Bazel bazel_skylib to 1.8.0
  • Updated Bazel grpc to 1.73.1
  • Updated Bazel rules_java to 8.13.0
  • Updated Bazel rules_python to 1.5.0
  • Updated Bazel rules_swift_package_manager to 1.3.0
  • Updated Bazel toolchains_protoc to 0.4.3
  • Updated Go google.golang.org/grpc to v1.73.0
  • Updated Go google.golang.org/protobuf to v1.36.6
  • Updated Java io.grpc:grpc-* to 1.73.0

5.3.0

19 Jun 15:12

Choose a tag to compare

Changes

  • Restored JavaScript language support, thanks to @Lev1ty

Version Updates

None

5.2.1

19 Jun 11:21

Choose a tag to compare

Changes

No major changes, only version updates

Version Updates

  • Updated Bazel buildifier_prebuilt to 8.2.0.2
  • Updated Bazel gazelle to 0.44.0
  • Updated Bazel rules_cc to 0.1.2
  • Updated Bazel rules_go to 0.55.1
  • Updated Bazel rules_shell to 0.5.0
  • Updated Bazel rules_swift to 3.0.2
  • Updated Bazel rules_swift_package_manager to 1.0.0
  • Updated Swift grpc/grpc-swift to 2.2.3
  • Updated Swift grpc/grpc-swift-protobuf to 1.3.1

5.2.0

06 Jun 14:33

Choose a tag to compare

Changes

  • Restored Scala language support
  • Restored Swift langauge support
  • Fixed usage of options attr on Bazel 8, where the Label canonicalisation has changed
  • Fixed loading of Buf protoc lint plugin
  • Fixed loading of Buf protoc breaking plugin on linux/arm64
  • Switched gRPC-Gateway to be loaded directly from Bazel bzlmod dependency rather than via Go/Gazelle
  • The gateway_openapiv2_compile() rule now uses a directory as output, to allow creating a combined output file. #382
  • Fixed bzl_library referencing incorrect dependency in @protobuf
  • Switched from @bazel_tool//platforms to @platforms
  • The Python dependencies for Protobuf and gRPC are now loaded from the @protobuf and @grpc bzlmod workspaces respectively, rather than from PyPI wheels. This is necessary to prevent version skew between the protoc version and the runtime version, but unfortunately may result in longer uncached build times
  • Added CI testing on MacOS (x64 and arm)

Version Updates

  • Updated Bazel protobuf to 31.1
  • Updated Bazel rules_go to 0.55.0
  • Updated Bazel rules_java to 8.11.0
  • Updated Bazel toolchains_protoc to 0.4.2
  • Updated Java com.google.protobuf:protobuf-java to 4.31.1