14
you are viewing a single comment's thread
view the rest of the comments
[-] Ephera@lemmy.ml 3 points 2 weeks ago

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 http library 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 http 0.2 for that long. And if we tried to upgrade parts of it, those would then use datatypes from http 1.0, which couldn't be passed into libraries that still used http 0.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.

[-] copacetic@discuss.tchncs.de 4 points 2 weeks ago

The actual point here is not really SemVer but to avoid breaking changes. Most devs still underestimate the value of backwards-compatibility.

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

!performance@programming.dev

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