Get the latest tech news
The semver trick (2019)
How to avoid complicated coordinated upgrades. Contribute to dtolnay/semver-trick development by creating an account on GitHub.
The semver trick refers to publishing a breaking change to a Rust library without requiring a coordinated upgrade across its downstream dependency graph. After making the breaking change and publishing it as libc 0.3.0, we release one final minor version of the 0.2 series and re-export the unchanged API(s) from 0.3. The libcpocalypse scenario is averted because users of libc can upgrade from 0.2 to 0.3 at their leisure, in any order, without needing to bump their own semver major version.
Or read this on Hacker News