14
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 19 Nov 2026
14 points (88.9% liked)
Rust
8392 readers
10 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 3 years ago
MODERATORS
Maybe just don't fuck around and do semver properly? Is that really so hard?
As the article kind of hints at, doing semver properly can be really painful for libraries that are widely used across the ecosystem.
For example, when the
httplibrary jumped from 0.2 to 1.0, we couldn't upgrade the HTTP stack in our application at $DAYJOB for more than half a year, so the web server, gRPC, OpenTelemetry and an HTTP client.Because some of our dependencies stayed on
http0.2 for that long. And if we tried to upgrade parts of it, those would then use datatypes fromhttp1.0, which couldn't be passed into libraries that still usedhttp0.2.Which was particularly painful, because libraries that had already upgraded to 1.0, of course didn't provide patches for their previous version using 0.2 anymore, so for months we couldn't get security updates for a number of libraries.
So, yeah, I'm now in favor of doing shenanigans with semver to avoid breaking changes where possible, for libraries that are used across much of the ecosystem.
The actual point here is not really SemVer but to avoid breaking changes. Most devs still underestimate the value of backwards-compatibility.
Why do you have to be so aggressive?
Not my intent, apologies. But the rusts community general inability to do semver properly really grinds my gears...
Why? On the contrary, in my experience cargo update is more reliable than the equivalent in any other language.
Ive run into quite a few packages that have breaking changes in minor bumps. Which happens everywhere, so not rally rust exclusive.