Releases: bufbuild/buf
Releases · bufbuild/buf
v1.1.1
v1.1.0
- Add
--type
flag to thebuild
command to create filtered images containing only the specified types and their required dependencies. - Trim spaces and new lines from user-supplied token for
buf registry login
. - Add support for conversion between JSON and binary serialized message for
buf beta convert
.
v1.0.0
- 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
.
v1.0.0-rc12
- Add
default
,except
andoverride
tojava_package_prefix
. - Add dependency commits as a part of the
b3
digest. - Upgrade to
protoc
3.19.4 support. - Remove
branch
field frombuf.lock
.
v1.0.0-rc11
- Upgrade to
protoc
3.19.3 support. - Add
PACKAGE_NO_IMPORT_CYCLE
lint rule to detect package import cycles. - Add
buf beta registry {plugin,template} {deprecate,undeprecate}
. - Add warning when using enterprise dependencies without specifying a enterprise remote in the module's identity.
- Remove
digest
, andcreated_at
fields from thebuf.lock
. This will temporarily create a new commit when pushing the same contents to an existing repository, since theModulePin
has been reduced down. - Add manpages for
buf
.
v1.0.0-rc10
- Fix issue where remote references were not correctly cached.Fix issue where remote references were not correctly cached.
v1.0.0-rc9
- Always set
compiler_version
parameter in theCodeGeneratorRequest
to "(unknown)". - Fix issue where
buf mod update
was unable to resolve dependencies from different remotes. - Display the user-provided Buf Schema Registry remote, if specified, instead of the default within the
buf login
message. - Fix issue where
buf generate
fails when the same plugin was specified more than once in a single invocation. - Update the digest algorithm so that it encodes the
name
,lint
, andbreaking
configuration encoded in thebuf.yaml
.
When this change is deployed, users will observe the following:- Users on
v0.43.0
or before will notice mismatched digest errors similar to the one described in #661. - Users on
v0.44.0
or after will have their module cache invalidated, but it will repair itself automatically. - The
buf.lock
(across all versions) will reflect the newb3-
digest values for new commits.
- Users on
v1.0.0-rc8
- Add new endpoints to the recommendation service to make it configurable.
- Add
--exclude-path
flag tobuf breaking
,buf build
,buf export
,buf generate
, andbuf lint
commands. This allows users to exclude specific paths when running commands. - Change
GetModulePackages
endpoint to return a repeatedModulePackage
message that now includes package description with the package name. - Add
Oneof
to theMessage
structure for documentation.
v1.0.0-rc7
- Upgrade to protoc 3.19.1 support.
- Fix issue with
buf generate
where multiple insertion points are defined in the same file.
v1.0.0-rc6
- Fix issue with
buf ls-files
when given an image as an input, imports were being printed,
even without the--include-imports
flag. - Add the ability for users to provide individual protobuf files as inputs to CLI commands. This allows users to run
buf
commands against and file input based on their current working directory, for example,buf lint foo/bar.proto
, wherefoo/bar.proto
is a path to protobuf file on disk.