secretflow / yacl

YACL (Yet Another Common crypto library) is a C++ library that contains cryptography, network and io modules which other SecretFlow code depends on.
https://www.secretflow.org.cn/en/docs/yacl/main/
Apache License 2.0
79 stars 66 forks source link

chore(deps): update dependency rules_proto to v6 - autoclosed #407

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
rules_proto http_archive major 5.3.0-21.7 -> 6.0.2

Release Notes

bazelbuild/rules_proto (rules_proto) ### [`v6.0.2`](https://redirect.github.com/bazelbuild/rules_proto/releases/tag/6.0.2) [Compare Source](https://redirect.github.com/bazelbuild/rules_proto/compare/6.0.0...6.0.2) #### Using bzlmod with Bazel 6 or later: 1. \[Bazel 6] Add `common --enable_bzlmod` to `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_proto", version = "6.0.2") ``` #### Using WORKSPACE: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_proto", sha256 = "6fb6767d1bef535310547e03247f7518b03487740c11b6c6adb7952033fe1295", strip_prefix = "rules_proto-6.0.2", url = "https://github.com/bazelbuild/rules_proto/releases/download/6.0.2/rules_proto-6.0.2.tar.gz", ) load("@​rules_proto//proto:repositories.bzl", "rules_proto_dependencies") rules_proto_dependencies() load("@​rules_proto//proto:setup.bzl", "rules_proto_setup") rules_proto_setup() load("@​rules_proto//proto:toolchains.bzl", "rules_proto_toolchains") rules_proto_toolchains() ``` #### What's Changed - Make rules_cc a production dep by [@​keith](https://redirect.github.com/keith) in [https://github.com/bazelbuild/rules_proto/pull/215](https://redirect.github.com/bazelbuild/rules_proto/pull/215) - Fix Bazel version to 7.1.2, update lock file, fix no bzlmod builds by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/217](https://redirect.github.com/bazelbuild/rules_proto/pull/217) **Full Changelog**: https://github.com/bazelbuild/rules_proto/compare/6.0.0...6.0.2 ### [`v6.0.0`](https://redirect.github.com/bazelbuild/rules_proto/releases/tag/6.0.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_proto/compare/5.3.0-21.7...6.0.0) ### NEW FEATURES When used with Bazel 7, [Protobuf Toolchainization](https://docs.google.com/document/d/1CE6wJHNfKbUPBr7-mmk\_0Yo3a4TaqcTPE0OWNuQkhPs/edit) is now available. This allows you to choose where the protobuf compiler (`protoc`) comes from, as well as configure a toolchain for each language you generate proto stubs for. This de-couples rules_proto from the https://github.com/protocolbuffers/protobuf repository; `rules_proto` no longer depends on `com_google_protobuf`. The Bazel rules in that repository are now maintained by the protobuf team for Google use cases, and may diverge from rules_proto over time. rules_proto does not include the toolchain implementation. See https://registry.bazel.build/modules/toolchains_protoc for an example module that registers the prebuilt binary from https://github.com/protocolbuffers/protobuf/releases. The tracking issue for this feature is [#​179](https://redirect.github.com/bazelbuild/rules_proto/issues/179) ### BREAKING CHANGES Upgrading from rules_proto 5.x requires some changes: - The `load` site for `rules_proto_toolchains` has changed. See the new WORKSPACE snippet below. - As mentioned above, rules_proto no longer depends on the protobuf repo (commonly as `com_google_protobuf`). As a result, the `rules_proto_dependencies` macro no longer fetches one. For WORKSPACE users, this may affect what version of protobuf you end up with. We recommend explicitly fetching `com_google_protobuf` early in the WORKSPACE file, as the first declaration wins. ### Install #### Using bzlmod with Bazel 6 or later: 1. \[Bazel 6] Add `common --enable_bzlmod` to `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_proto", version = "6.0.0") ``` #### Using WORKSPACE: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_proto", sha256 = "303e86e722a520f6f326a50b41cfc16b98fe6d1955ce46642a5b7a67c11c0f5d", strip_prefix = "rules_proto-6.0.0", url = "https://github.com/bazelbuild/rules_proto/releases/download/6.0.0/rules_proto-6.0.0.tar.gz", ) load("@​rules_proto//proto:repositories.bzl", "rules_proto_dependencies") rules_proto_dependencies() load("@​rules_proto//proto:toolchains.bzl", "rules_proto_toolchains") rules_proto_toolchains() ``` #### What's Changed - Upgrade WORKSPACE snipped to 4.0.0 release by [@​Yannic](https://redirect.github.com/Yannic) in [https://github.com/bazelbuild/rules_proto/pull/99](https://redirect.github.com/bazelbuild/rules_proto/pull/99) - Remove deleted buildkite pipeline from readme by [@​Yannic](https://redirect.github.com/Yannic) in [https://github.com/bazelbuild/rules_proto/pull/98](https://redirect.github.com/bazelbuild/rules_proto/pull/98) - Update rules_java to HEAD by [@​Bencodes](https://redirect.github.com/Bencodes) in [https://github.com/bazelbuild/rules_proto/pull/102](https://redirect.github.com/bazelbuild/rules_proto/pull/102) - Update bazel skylib version to prevent failures on newer Bazel versions. by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/104](https://redirect.github.com/bazelbuild/rules_proto/pull/104) - Update protobuf to 3.19.1 by [@​thii](https://redirect.github.com/thii) in [https://github.com/bazelbuild/rules_proto/pull/108](https://redirect.github.com/bazelbuild/rules_proto/pull/108) - Upgrade to protobuf 3.19.2 by [@​dhalperi](https://redirect.github.com/dhalperi) in [https://github.com/bazelbuild/rules_proto/pull/109](https://redirect.github.com/bazelbuild/rules_proto/pull/109) - Update code annotations to 'starlark' by [@​aignas](https://redirect.github.com/aignas) in [https://github.com/bazelbuild/rules_proto/pull/105](https://redirect.github.com/bazelbuild/rules_proto/pull/105) - Add link to proto/grpc docs on rules authors SIG by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/111](https://redirect.github.com/bazelbuild/rules_proto/pull/111) - \[Zlib] update zlib version to zlib-1.2.12 by [@​ThomasCJY](https://redirect.github.com/ThomasCJY) in [https://github.com/bazelbuild/rules_proto/pull/117](https://redirect.github.com/bazelbuild/rules_proto/pull/117) - Update protobuf to 3.20.0 by [@​thii](https://redirect.github.com/thii) in [https://github.com/bazelbuild/rules_proto/pull/113](https://redirect.github.com/bazelbuild/rules_proto/pull/113) - Update readme to point to the latest version by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/124](https://redirect.github.com/bazelbuild/rules_proto/pull/124) - migrating to usage of rbe_preconfig and remove bazel-toolchains by [@​aranguyen](https://redirect.github.com/aranguyen) in [https://github.com/bazelbuild/rules_proto/pull/134](https://redirect.github.com/bazelbuild/rules_proto/pull/134) - Bump rules_cc to [`2f8c04c`](https://redirect.github.com/bazelbuild/rules_proto/commit/2f8c04c) by [@​shaldengeki](https://redirect.github.com/shaldengeki) in [https://github.com/bazelbuild/rules_proto/pull/130](https://redirect.github.com/bazelbuild/rules_proto/pull/130) - update googletest by [@​aranguyen](https://redirect.github.com/aranguyen) in [https://github.com/bazelbuild/rules_proto/pull/137](https://redirect.github.com/bazelbuild/rules_proto/pull/137) - Update protobuf to v21.5 by [@​sagmor](https://redirect.github.com/sagmor) in [https://github.com/bazelbuild/rules_proto/pull/139](https://redirect.github.com/bazelbuild/rules_proto/pull/139) - Internal change by [@​copybara-service](https://redirect.github.com/copybara-service) in [https://github.com/bazelbuild/rules_proto/pull/143](https://redirect.github.com/bazelbuild/rules_proto/pull/143) - Test automatic import to Piper by [@​kotlaja](https://redirect.github.com/kotlaja) in [https://github.com/bazelbuild/rules_proto/pull/145](https://redirect.github.com/bazelbuild/rules_proto/pull/145) - Add MODULE.bazel to rules proto by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/147](https://redirect.github.com/bazelbuild/rules_proto/pull/147) - Test automatic import to Piper by [@​kotlaja](https://redirect.github.com/kotlaja) in [https://github.com/bazelbuild/rules_proto/pull/146](https://redirect.github.com/bazelbuild/rules_proto/pull/146) - fix jar shasums for protobuf java/util by [@​perezd](https://redirect.github.com/perezd) in [https://github.com/bazelbuild/rules_proto/pull/150](https://redirect.github.com/bazelbuild/rules_proto/pull/150) - doc: point users to the release page by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/149](https://redirect.github.com/bazelbuild/rules_proto/pull/149) - Add protobuf_lite target to protobuf_workspace by [@​shaldengeki](https://redirect.github.com/shaldengeki) in [https://github.com/bazelbuild/rules_proto/pull/131](https://redirect.github.com/bazelbuild/rules_proto/pull/131) - Workaround repository name for bzlmod by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/156](https://redirect.github.com/bazelbuild/rules_proto/pull/156) - Update protobuf to v21.7 by [@​neumann-nico](https://redirect.github.com/neumann-nico) in [https://github.com/bazelbuild/rules_proto/pull/154](https://redirect.github.com/bazelbuild/rules_proto/pull/154) - Changing bazel skylib version from 1.1.1 to 1.3.0 by [@​Clement-Jean](https://redirect.github.com/Clement-Jean) in [https://github.com/bazelbuild/rules_proto/pull/158](https://redirect.github.com/bazelbuild/rules_proto/pull/158) - Update versions of protobuf by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/161](https://redirect.github.com/bazelbuild/rules_proto/pull/161) - docs: explain the roadmap by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/180](https://redirect.github.com/bazelbuild/rules_proto/pull/180) - Add protobuf-team to CODEOWNERS by [@​comius](https://redirect.github.com/comius) in [https://github.com/bazelbuild/rules_proto/pull/183](https://redirect.github.com/bazelbuild/rules_proto/pull/183) - chore: add a pre-commit hook config. by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/184](https://redirect.github.com/bazelbuild/rules_proto/pull/184) - refactor: remove protobuf_workspace by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/181](https://redirect.github.com/bazelbuild/rules_proto/pull/181) - docs: begin generating docs for defs by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/186](https://redirect.github.com/bazelbuild/rules_proto/pull/186) - chore: automate releases by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/189](https://redirect.github.com/bazelbuild/rules_proto/pull/189) - fix: executable bit for release shell script by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/190](https://redirect.github.com/bazelbuild/rules_proto/pull/190) - chore: add missing file needed by release automation by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/191](https://redirect.github.com/bazelbuild/rules_proto/pull/191) - Update release_prep.sh by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/192](https://redirect.github.com/bazelbuild/rules_proto/pull/192) - chore: add config for Publish to BCR app by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/193](https://redirect.github.com/bazelbuild/rules_proto/pull/193) - feat: introduce toolchain helper by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/194](https://redirect.github.com/bazelbuild/rules_proto/pull/194) - fix: presubmit does not have access to tests by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/196](https://redirect.github.com/bazelbuild/rules_proto/pull/196) - fix: set allowlist_different_package conditionally by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/199](https://redirect.github.com/bazelbuild/rules_proto/pull/199) - chore: update protobuf to 23.1 by [@​benjamin-bader](https://redirect.github.com/benjamin-bader) in [https://github.com/bazelbuild/rules_proto/pull/200](https://redirect.github.com/bazelbuild/rules_proto/pull/200) - fix: add bazel versions tested to presubmit by [@​thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazelbuild/rules_proto/pull/202](https://redirect.github.com/bazelbuild/rules_proto/pull/202) - chore: fix stardoc targets by [@​alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazelbuild/rules_proto/pull/209](https://redirect.github.com/bazelbuild/rules_proto/pull/209) #### New Contributors - [@​Bencodes](https://redirect.github.com/Bencodes) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/102](https://redirect.github.com/bazelbuild/rules_proto/pull/102) - [@​thii](https://redirect.github.com/thii) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/108](https://redirect.github.com/bazelbuild/rules_proto/pull/108) - [@​dhalperi](https://redirect.github.com/dhalperi) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/109](https://redirect.github.com/bazelbuild/rules_proto/pull/109) - [@​aignas](https://redirect.github.com/aignas) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/105](https://redirect.github.com/bazelbuild/rules_proto/pull/105) - [@​alexeagle](https://redirect.github.com/alexeagle) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/111](https://redirect.github.com/bazelbuild/rules_proto/pull/111) - [@​ThomasCJY](https://redirect.github.com/ThomasCJY) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/117](https://redirect.github.com/bazelbuild/rules_proto/pull/117) - [@​aranguyen](https://redirect.github.com/aranguyen) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/134](https://redirect.github.com/bazelbuild/rules_proto/pull/134) - [@​shaldengeki](https://redirect.github.com/shaldengeki) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/130](https://redirect.github.com/bazelbuild/rules_proto/pull/130) - [@​sagmor](https://redirect.github.com/sagmor) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/139](https://redirect.github.com/bazelbuild/rules_proto/pull/139) - [@​copybara-service](https://redirect.github.com/copybara-service) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/143](https://redirect.github.com/bazelbuild/rules_proto/pull/143) - [@​kotlaja](https://redirect.github.com/kotlaja) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/145](https://redirect.github.com/bazelbuild/rules_proto/pull/145) - [@​perezd](https://redirect.github.com/perezd) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/150](https://redirect.github.com/bazelbuild/rules_proto/pull/150) - [@​neumann-nico](https://redirect.github.com/neumann-nico) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/154](https://redirect.github.com/bazelbuild/rules_proto/pull/154) - [@​Clement-Jean](https://redirect.github.com/Clement-Jean) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/158](https://redirect.github.com/bazelbuild/rules_proto/pull/158) - [@​thesayyn](https://redirect.github.com/thesayyn) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/181](https://redirect.github.com/bazelbuild/rules_proto/pull/181) - [@​benjamin-bader](https://redirect.github.com/benjamin-bader) made their first contribution in [https://github.com/bazelbuild/rules_proto/pull/200](https://redirect.github.com/bazelbuild/rules_proto/pull/200) **Full Changelog**: https://github.com/bazelbuild/rules_proto/compare/4.0.0...6.0.0

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.