From 8c8db07f859b7c943b3fc442122ed1cd8cebc093 Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" Date: Tue, 19 May 2026 15:08:28 +0000 Subject: [PATCH 1/2] detected new plugin versions --- .../connect-rust/v0.5.0/.dockerignore | 2 + .../anthropics/connect-rust/v0.5.0/Dockerfile | 17 ++++++ .../connect-rust/v0.5.0/buf.plugin.yaml | 55 +++++++++++++++++++ .../grpc/swift-protobuf/v2.4.0/.dockerignore | 3 + plugins/grpc/swift-protobuf/v2.4.0/Dockerfile | 18 ++++++ .../swift-protobuf/v2.4.0/Package.resolved | 33 +++++++++++ .../swift-protobuf/v2.4.0/buf.plugin.yaml | 30 ++++++++++ .../connect-rust/v0.5.0/eliza/plugin.sum | 1 + .../connect-rust/v0.5.0/petapis/plugin.sum | 1 + .../swift-protobuf/v2.4.0/eliza/plugin.sum | 1 + .../swift-protobuf/v2.4.0/petapis/plugin.sum | 1 + 11 files changed, 162 insertions(+) create mode 100644 plugins/anthropics/connect-rust/v0.5.0/.dockerignore create mode 100644 plugins/anthropics/connect-rust/v0.5.0/Dockerfile create mode 100644 plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml create mode 100644 plugins/grpc/swift-protobuf/v2.4.0/.dockerignore create mode 100644 plugins/grpc/swift-protobuf/v2.4.0/Dockerfile create mode 100644 plugins/grpc/swift-protobuf/v2.4.0/Package.resolved create mode 100644 plugins/grpc/swift-protobuf/v2.4.0/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/petapis/plugin.sum diff --git a/plugins/anthropics/connect-rust/v0.5.0/.dockerignore b/plugins/anthropics/connect-rust/v0.5.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.5.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/anthropics/connect-rust/v0.5.0/Dockerfile b/plugins/anthropics/connect-rust/v0.5.0/Dockerfile new file mode 100644 index 000000000..feb741776 --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.5.0/Dockerfile @@ -0,0 +1,17 @@ +# syntax=docker/dockerfile:1.23 +FROM rust:1.95.0-alpine3.23@sha256:606fd313a0f49743ee2a7bd49a0914bab7deedb12791f3a846a34a4711db7ed2 AS builder +RUN apk add --no-cache musl-dev +WORKDIR /app +ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse +# The protoc-gen-connect-rust binary is a [[bin]] target in the +# connectrpc-codegen crate. cargo install compiles it by crate name. +RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked --mount=type=cache,target=/root/target \ + cargo install connectrpc-codegen --version 0.5.0 --locked --root /app + +FROM gcr.io/distroless/static-debian13:latest@sha256:3592aa8171c77482f62bbc4164e6a2d141c6122554ace66e5cc910cadb961ff0 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=builder /app/bin/protoc-gen-connect-rust /protoc-gen-connect-rust +USER nobody +ENTRYPOINT ["/protoc-gen-connect-rust"] diff --git a/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml b/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml new file mode 100644 index 000000000..9ff7420c0 --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml @@ -0,0 +1,55 @@ +version: v1 +name: buf.build/anthropics/connect-rust +plugin_version: v0.5.0 +source_url: https://github.com/anthropics/connect-rust +description: Generates ConnectRPC service traits, typed clients, and monomorphic dispatchers for Rust. Compatible with the Connect, gRPC, and gRPC-Web protocols. Passes the full ConnectRPC conformance suite. +deps: + - plugin: buf.build/anthropics/buffa:v0.6.0 +output_languages: + - rust +spdx_license_id: Apache-2.0 +license_url: https://github.com/anthropics/connect-rust/blob/v0.5.0/LICENSE +registry: + cargo: + rust_version: "1.88" + deps: + # ConnectRPC runtime: Router, Context, ConnectError, client transports. + # https://github.com/anthropics/connect-rust/blob/v0.5.0/connectrpc/Cargo.toml + - name: "connectrpc" + req: "0.5.0" + default_features: true + # Generated service stubs use buffa::Message, buffa::view::OwnedView, + # buffa::bytes::Bytes directly. Message types live in the buffa SDK + # crate (via the plugin dep above); this dep is for the runtime API. + - name: "buffa" + req: "0.5.2" + default_features: true + # Well-known types. Service stubs whose request/response types are + # WKTs (e.g. google.longrunning.Operations) reference them as + # `::buffa_types::google::protobuf::...`, mirroring buffa-codegen's + # extern_path mapping for `.google.protobuf`. Must be a direct dep + # so the `::buffa_types` path resolves in the generated crate. + - name: "buffa-types" + req: "0.5.2" + default_features: true + features: + - json + # Streaming method signatures use futures::Stream. + - name: "futures" + req: "0.3" + default_features: true + # Client transport bounds reference http_body::Body. + - name: "http-body" + req: "1" + default_features: true + # The plugin accepts `extern_path=.=` (or the shorthand + # `buffa_module=`) to tell it where the buffa-generated message + # types live. BSR should inject this based on the buffa dep's SDK crate + # name, same as tonic receives extern_path for its prost dep. Leaving + # it out here; please advise if an explicit entry is needed. + opts: + # Emit one `.rs` per proto package, mirroring the + # buffa plugin's `file_per_package=true` opt. Matches the + # prost/tonic filename convention the BSR Rust SDK lib.rs + # synthesis expects. + - file_per_package diff --git a/plugins/grpc/swift-protobuf/v2.4.0/.dockerignore b/plugins/grpc/swift-protobuf/v2.4.0/.dockerignore new file mode 100644 index 000000000..2b3157b59 --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.4.0/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!Package.resolved diff --git a/plugins/grpc/swift-protobuf/v2.4.0/Dockerfile b/plugins/grpc/swift-protobuf/v2.4.0/Dockerfile new file mode 100644 index 000000000..d085bea8c --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.4.0/Dockerfile @@ -0,0 +1,18 @@ +# syntax=docker/dockerfile:1.23 +FROM swift:6.3.2-bookworm@sha256:40918972df286d15aa47f4686c98a211f0a6152ca1d48b3dbccd6f56a3c34815 AS build + +RUN apt-get update \ + && apt-get install -y unzip +WORKDIR /app +RUN git clone --depth 1 --branch 2.4.0 https://github.com/grpc/grpc-swift-protobuf --recursive +WORKDIR /app/grpc-swift-protobuf +COPY --link Package.resolved . +RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift-2 -Xlinker -s --force-resolved-versions + +FROM gcr.io/distroless/cc-debian13:latest@sha256:8b5d1db6d2253036a53cb8362d3e3fa82a7caf84c247772c46a023166c64e977 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build /app/grpc-swift-protobuf/.build/release/protoc-gen-grpc-swift-2 . +USER nobody +ENTRYPOINT [ "/protoc-gen-grpc-swift-2" ] diff --git a/plugins/grpc/swift-protobuf/v2.4.0/Package.resolved b/plugins/grpc/swift-protobuf/v2.4.0/Package.resolved new file mode 100644 index 000000000..e09425e57 --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.4.0/Package.resolved @@ -0,0 +1,33 @@ +{ + "originHash" : "6191d898f7c18a107e7714f7960c012906126eb95f0770b4bf0335224ec96f68", + "pins" : [ + { + "identity" : "grpc-swift-2", + "kind" : "remoteSourceControl", + "location" : "https://github.com/grpc/grpc-swift-2.git", + "state" : { + "revision" : "21fe69ab7ce0e87ac089534733c52f037e74a3eb", + "version" : "2.4.1" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections.git", + "state" : { + "revision" : "fea17c02d767f46b23070fdfdacc28a03a39232a", + "version" : "1.5.1" + } + }, + { + "identity" : "swift-protobuf", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-protobuf.git", + "state" : { + "revision" : "f6506eaa86ed2e01cb0ae14a75035b7fdbf0918f", + "version" : "1.38.0" + } + } + ], + "version" : 3 +} diff --git a/plugins/grpc/swift-protobuf/v2.4.0/buf.plugin.yaml b/plugins/grpc/swift-protobuf/v2.4.0/buf.plugin.yaml new file mode 100644 index 000000000..2be13f2bd --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.4.0/buf.plugin.yaml @@ -0,0 +1,30 @@ +version: v1 +name: buf.build/grpc/swift-protobuf +plugin_version: v2.4.0 +source_url: https://github.com/grpc/grpc-swift-protobuf +description: Generates Swift client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/apple/swift:v1.38.0 +output_languages: + - swift +registry: + swift: + deps: + - source: https://github.com/grpc/grpc-swift-protobuf.git + package: grpc-swift-protobuf + version: 2.4.0 + products: + - GRPCProtobuf + platforms: + macos: v15 + ios: v18 + tvos: v18 + watchos: v11 + swift_versions: + - .v6 + opts: + - Visibility=Public + - FileNaming=PathToUnderscores +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc-swift-protobuf/blob/2.4.0/LICENSE +integration_guide_url: https://swiftpackageindex.com/grpc/grpc-swift-protobuf/2.4.0/documentation/grpcprotobuf diff --git a/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/eliza/plugin.sum b/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/eliza/plugin.sum new file mode 100644 index 000000000..321a6ce58 --- /dev/null +++ b/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:mFkXt5wOM/CcvFH4VTw7NQp9Obws7Etqrxd3vp8A5LU= diff --git a/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/petapis/plugin.sum b/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/petapis/plugin.sum new file mode 100644 index 000000000..33e07640d --- /dev/null +++ b/tests/testdata/buf.build/anthropics/connect-rust/v0.5.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:EpPCbq9Lb12JwHApK7tbAFbABQmCKVhyPh0kxCViZhY= diff --git a/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/eliza/plugin.sum b/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/eliza/plugin.sum new file mode 100644 index 000000000..eb2c8732b --- /dev/null +++ b/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:H1L2+dsAzxe/ws+/A+IrA6i90XNPvCUzQ2XzLsRGfWI= diff --git a/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/petapis/plugin.sum b/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/petapis/plugin.sum new file mode 100644 index 000000000..13ab4a1e3 --- /dev/null +++ b/tests/testdata/buf.build/grpc/swift-protobuf/v2.4.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:0NpEEqxBXr2NItKYA/fHLsnwN1eqJFEVakuZ2Wao9Yk= From a22bc50737940d279110fe439db8a6809c78ca84 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Tue, 19 May 2026 14:00:45 -0500 Subject: [PATCH 2/2] Update buffa deps to 0.6.0 --- plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml b/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml index 9ff7420c0..f82c52452 100644 --- a/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml +++ b/plugins/anthropics/connect-rust/v0.5.0/buf.plugin.yaml @@ -22,7 +22,7 @@ registry: # buffa::bytes::Bytes directly. Message types live in the buffa SDK # crate (via the plugin dep above); this dep is for the runtime API. - name: "buffa" - req: "0.5.2" + req: "0.6.0" default_features: true # Well-known types. Service stubs whose request/response types are # WKTs (e.g. google.longrunning.Operations) reference them as @@ -30,7 +30,7 @@ registry: # extern_path mapping for `.google.protobuf`. Must be a direct dep # so the `::buffa_types` path resolves in the generated crate. - name: "buffa-types" - req: "0.5.2" + req: "0.6.0" default_features: true features: - json