Buf v0.26.0 is released - add jar and zip output support for protoc and generate

24 views
Skip to first unread message

bufbuild-announce

unread,
Oct 14, 2020, 10:32:40 AM10/14/20
to bufbuild-announce
We have released Buf v0.26.0.

This adds jar and zip output support to match mainline protoc. You can now do:

buf protoc -I . --java_out=out.jar $(find . -name '*.proto')
buf protoc -I . --java_out=out.zip $(find . -name '*.proto')

The resulting jar or zip file matches what mainline protoc produces. It is also possible to do this with buf beta generate:

buf beta generate --plugin java --plugin-out out.jar

If you didn't know this feature existed in mainline protoc - don't worry!

Thanks for your continued support of Buf.
Reply all
Reply to author
Forward
0 new messages