TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Buf CLI, an all-in-one tool for Protobuf development, has reached v1.0

63 pointsby biggestlouabout 3 years ago

3 comments

jrockwayabout 3 years ago
I&#x27;ve always felt a little uncomfortable how many open source projects README files they&#x27;ve edited to recommend their product. You read it thinking it&#x27;s mandatory, then you realize it&#x27;s just an ad (see &quot;PRICING&quot;) and that you can continue to use &quot;go generate&quot; like you always have.<p>(Example: <a href="https:&#x2F;&#x2F;github.com&#x2F;grpc-ecosystem&#x2F;grpc-gateway&#x2F;pull&#x2F;1971" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;grpc-ecosystem&#x2F;grpc-gateway&#x2F;pull&#x2F;1971</a>)
guessmynameabout 3 years ago
&gt; <i>To us, the CLI isn&#x27;t an ancillary tool or a sideshow; we treat it like a full-fledged product. Our policy is to never make breaking changes within a version of the CLI. Now that buf has reached a stable 1.0, you can expect no breaking changes until v2.0—and we have no plans to ever release a v2.0. While we do intend to release new features in the buf CLI, you can expect total stability for all of the functionality that you rely on.</i><p>&gt; <i>Reference:</i> <a href="https:&#x2F;&#x2F;buf.build&#x2F;blog&#x2F;buf-cli-v1#meaning" rel="nofollow">https:&#x2F;&#x2F;buf.build&#x2F;blog&#x2F;buf-cli-v1#meaning</a><p>That is an interesting promise, a bit similar to Go’s v1 compatibility — <a href="https:&#x2F;&#x2F;go.dev&#x2F;doc&#x2F;go1compat" rel="nofollow">https:&#x2F;&#x2F;go.dev&#x2F;doc&#x2F;go1compat</a><p>However, I think using the word <i>“[n]ever”</i> is too strong here. No one can predict the future, so the chances of this being a false statement are high. They could have removed that paragraph and the general message would have been okay. Do not over-promise, instead, over-deliver. If they want to make backward compatible changes to the code, they can do so without promising to never release a v2.0, that is just silly.
leetroutabout 3 years ago
I am very excited to try this out.<p>One day we are going to reach a convergence of really expressive typing tools (for interface description languages [IDL] and downstream consumers) that realizes the dream of effortless interop.<p>I bring up using protobufs everywhere Ive worked since 2014 when I learned much about them from a xoogler but so few people see the benefits.<p>I think tooling like Buf should help reduce the friction (and fear) I just need to carve out time to try it.
评论 #30445525 未加载