Buf v0.4.0 is released - compare enum values based on number instead of name

14 views
Skip to first unread message

bufbuild-announce

unread,
Dec 4, 2019, 10:32:07 PM12/4/19
to bufbuild-announce
We have released Buf v0.4.0.

Per issue #8, Buf was comparing enum values based on name instead of number. This meant that changing the name of an enum value was reported as a wire-breaking change. We did name originally because due to allow_alias, names to tags are many to one, so the thinking was that name has to be the unique key for enum values. However, this didn't allow users to rename enum values, which is desirable in a pure monorepo situation (for example, if people want to start abiding by ENUM_VALUE_PREFIX).

The brew tap and documentation have also been updated.
Reply all
Reply to author
Forward
0 new messages