- Check that the user provided a valid token when running
buf registry login
. - Add
buf mod open
that opens a module's homepage in a browser. - Add
buf completion
command to generate auto-completion scripts in commonly used shells. - Add
--disable-symlinks
flag to thebreaking, build, export, generate, lint, ls-files, push
commands. By default, the CLI will follow symlinks except on Windows, and this disables following
symlinks. - Add
--include-wkt
flag tobuf generate
. When this flag is specified alongside
--include-imports
, this will result in the Well-Known Types
being generated as well. Most language runtimes have the Well-Known Types included as part
of the core library, making generating the Well-Known Types separately undesirable. - Remove
buf protoc
. This was a pre-v1.0 demonstration to show thatbuf
compilation
produces equivalent results to mainlineprotoc
, howeverbuf
is working on building
a better Protobuf future that provides easier mechanics than our formerprotoc
-based
world.buf protoc
itself added no benefit over mainlineprotoc
beyond being considerably
faster and allowing parallel compilation. Ifprotoc
is required, move back to mainlineprotoc
until you can upgrade tobuf
. See #915 for more
details. - Context modifier no longer overrides an existing token on the context. This allows
buf registry login
to properly check the user provided token without the token being overriden by the CLI interceptor. - Removed the
buf config init
command in favor ofbuf mod init
. - Removed the
buf config ls-breaking-rules
command in favor ofbuf mod ls-breaking-rules
. - Removed the
buf config ls-lint-rules
command in favor ofbuf mod ls-lint-rules
. - Removed the
buf config migrate-v1beta1
command in favor ofbuf beta migrate-v1beta1
. - Add
buf beta decode
command to decode message with provided image source and message type. - Disable
--config
flag for workspaces. - Move default config version from
v1beta1
tov1
.