Skip to content

Releases: rules-proto-grpc/rules_proto_grpc

5.7.1

30 Aug 11:50
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Changes

  • Restored JavaScript language support, thanks to @Lev1ty

Version Updates

None

5.2.1

19 Jun 11:21
Compare
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
Compare
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

5.1.0

16 May 13:19
Compare
Choose a tag to compare

Changes

  • Added support for Bazel 8 and dropped Bazel 6 support
  • Replaced deprecated rules_proto with protobuf
  • Added support for providing extra plugins to rules at runtime using the extra_plugins attribute
  • Fixed version skew between grpc-gateway protoc plugin and runtime
  • Added optional generation of .pyi files for Python
  • Switched Objective-C sources to use non_arc_srcs
  • Dropped C language support, as the μpb API is considered unstable and the C plugin is no longer publicly visible from the protobuf workspace
  • Removed usage of ctx.resolve_tools that is deprecated
  • Added Python 3.13 to supported list
  • Replaced custom grpclib plugin with py_console_script_binary

Version Updates

  • Updated Bazel apple_support to 1.22.0
  • Updated Bazel buildifier_prebuilt to 8.0.3
  • Updated Bazel gazelle to 0.43.0
  • Updated Bazel grpc to 1.72.0
  • Updated Bazel protobuf to 30.2
  • Updated Bazel rules_cc to 0.1.1
  • Updated Bazel rules_go to 0.54.0
  • Updated Bazel rules_java to 8.11.0
  • Updated Bazel rules_python to 1.4.1
  • Updated Bazel rules_shell to 0.4.1
  • Updated Bazel toolchains_protoc to 0.4.1
  • Updated Buf to 1.54.0
  • Updated Go google.golang.org/protobuf to v1.36.0
  • Updated Go google.golang.org/grpc to v1.72.1
  • Updated grpc-gateway to 2.26.3
  • Updated Java com.google.protobuf:protobuf-java to 4.30.2
  • Updated Java io.grpc:grpc-api to 1.72.0
  • Updated Python grpcio to 1.71.0
  • Updated Python grpclib to 0.4.8
  • Updated Python protobuf to 6.30.2