Update actions/stale action to v10
1 file changed
tree: ee84fb0c2b5bf08374451bf97bc25dc9e21f6331
  1. .bazelci/
  2. .github/
  3. docs/
  4. examples/
  5. modules/
  6. test_workspaces/
  7. tools/
  8. .bazelignore
  9. .gitignore
  10. .readthedocs.yaml
  11. BUILD.bazel
  12. LICENSE
  13. Makefile
  14. MODULE.bazel
  15. README.md
  16. WORKSPACE
README.md

Announcements 📣

Version 5.7.0 has been released, which rewrites two of the internal rules tools in Rust, to avoid varying levels of C++ standard support across platforms. A number of dependencies have also been updated.

Version 5.6.0 has been released, which brings a number of compatibility improvements, particularly on Windows platforms.

Version 5.5.0 has been released, which adds support for C#.

...

Version 5.0.0 has been released, which rewrites the rules to support Bzlmod only. 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 not all languages supported by the 4.x.x are supported by this release, 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. Please see the docs for details of how to migrate your usage to these new rules, in particular the release notes.

Usage

Full documentation for the current and previous versions can be found here

Rules

LanguageRuleDescription
Bufbuf_proto_breaking_testChecks .proto files for breaking changes (example)
Bufbuf_proto_lint_testLints .proto files (example)
C++cpp_proto_compileGenerates C++ protobuf .h & .cc files (example)
C++cpp_grpc_compileGenerates C++ protobuf and gRPC .h & .cc files (example)
C++cpp_proto_libraryGenerates a C++ protobuf library using cc_library, with dependencies linked (example)
C++cpp_grpc_libraryGenerates a C++ protobuf and gRPC library using cc_library, with dependencies linked (example)
C#csharp_proto_compileGenerates C# protobuf .cs files (example)
C#csharp_grpc_compileGenerates C# protobuf and gRPC .cs files (example)
C#csharp_proto_libraryGenerates a C# protobuf library using csharp_library from rules_dotnet (example)
C#csharp_grpc_libraryGenerates a C# protobuf and gRPC library using csharp_library from rules_dotnet (example)
Documentationdoc_docbook_compileGenerates DocBook .xml documentation file (example)
Documentationdoc_html_compileGenerates .html documentation file (example)
Documentationdoc_json_compileGenerates .json documentation file (example)
Documentationdoc_markdown_compileGenerates Markdown .md documentation file (example)
Documentationdoc_template_compileGenerates documentation file using Go template file (example)
Gogo_proto_compileGenerates Go protobuf .go files (example)
Gogo_grpc_compileGenerates Go protobuf and gRPC .go files (example)
Gogo_proto_libraryGenerates a Go protobuf library using go_library from rules_go (example)
Gogo_grpc_libraryGenerates a Go protobuf and gRPC library using go_library from rules_go (example)
gRPC-Gatewaygateway_grpc_compileGenerates gRPC-Gateway .go files (example)
gRPC-Gatewaygateway_openapiv2_compileGenerates gRPC-Gateway OpenAPI v2 .json files (example)
gRPC-Gatewaygateway_openapiv2_combined_compileGenerate a combined gRPC-Gateway OpenAPI v2 .json file (example)
gRPC-Gatewaygateway_grpc_libraryGenerates gRPC-Gateway library files (example)
Javajava_proto_compileGenerates a Java protobuf srcjar file (example)
Javajava_grpc_compileGenerates a Java protobuf and gRPC srcjar file (example)
Javajava_proto_libraryGenerates a Java protobuf library using java_library (example)
Javajava_grpc_libraryGenerates a Java protobuf and gRPC library using java_library (example)
JavaScriptjs_proto_compileGenerates JavaScript protobuf .js and .d.ts files (example)
JavaScriptjs_grpc_compileGenerates JavaScript protobuf and gRPC-js .js and .d.ts files (example)
JavaScriptjs_grpc_web_compileGenerates JavaScript protobuf and gRPC-Web .js and .d.ts files (example)
JavaScriptjs_proto_libraryGenerates a JavaScript protobuf library using js_library from aspect_rules_js (example)
JavaScriptjs_grpc_libraryGenerates a Node.js protobuf + gRPC-js library using js_library from aspect_rules_js (example)
JavaScriptjs_grpc_web_libraryGenerates a JavaScript protobuf + gRPC-Web library using js_library from aspect_rules_js (example)
Objective-Cobjc_proto_compileGenerates Objective-C protobuf .m & .h files (example)
Objective-Cobjc_grpc_compileGenerates Objective-C protobuf and gRPC .m & .h files (example)
Objective-Cobjc_proto_libraryGenerates an Objective-C protobuf library using objc_library (example)
Objective-Cobjc_grpc_libraryGenerates an Objective-C protobuf and gRPC library using objc_library (example)
Pythonpython_proto_compileGenerates Python protobuf .py files (example)
Pythonpython_grpc_compileGenerates Python protobuf and gRPC .py files (example)
Pythonpython_grpclib_compileGenerates Python protobuf and grpclib .py files (supports Python 3 only) (example)
Pythonpython_proto_libraryGenerates a Python protobuf library using py_library from rules_python (example)
Pythonpython_grpc_libraryGenerates a Python protobuf and gRPC library using py_library from rules_python (example)
Pythonpython_grpclib_libraryGenerates a Python protobuf and grpclib library using py_library from rules_python (supports Python 3 only) (example)
Scalascala_proto_compileGenerates a Scala protobuf .jar file (example)
Scalascala_grpc_compileGenerates Scala protobuf and gRPC .jar file (example)
Scalascala_proto_libraryGenerates a Scala protobuf library using scala_library from rules_scala (example)
Scalascala_grpc_libraryGenerates a Scala protobuf and gRPC library using scala_library from rules_scala (example)
Swiftswift_proto_compileGenerates Swift protobuf .swift files (example)
Swiftswift_grpc_compileGenerates Swift protobuf and gRPC .swift files (example)
Swiftswift_proto_libraryGenerates a Swift protobuf library using swift_library from rules_swift (example)
Swiftswift_grpc_libraryGenerates a Swift protobuf and gRPC library using swift_library from rules_swift (example)

License

This project is derived from stackb/rules_proto under the Apache 2.0 license and this project therefore maintains the terms of that license