Hynek SchlawackOn the Meaning ofVersion Numbers@hynek
View Slide
SemanticVersioning@hynek
1.2.3micro@hynek
1.2.3minormicro@hynek
1.2.3majorminormicro@hynek
SemVer is apoor choice formost projects.@hynek
SemVer doesn’tdeliver on itspromises.@hynek
“I can choose to only get bugfixes.”https://xkcd.com/1172/@hynekHyrum’s Law
Very few open source projectshave the resources tomaintain more than onerelease branch (properly).“I can choose to only get bugfixes.”@hynek
If You Pin Major Version In Your Applications@hyne
-No security updates.If You Pin Major Version In Your Applications@hyne
-No security updates.-The longer you wait, the harder it gets.If You Pin Major Version In Your Applications@hyne
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9User’sApp
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9User’sApp<2.0
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9User’sApp<2.02.0.0
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9User’sApp<2.0other-pkg>2.02.0.0
@hynekIf You Pin Major Version In Your Public Packageyour-pkgurllib31.25.9User’sApp<2.0other-pkg>2.0Conflict!2.0.0
@hynek
1. Have tests.@hynek
1. Have tests.2. Pin your dependencies.@hynek
1. Have tests.2. Pin your dependencies.3. Try to update dependencies.@hynek
1. Have tests.2. Pin your dependencies.3. Try to update dependencies.4. See if tests still pass.@hynek
1. Have tests.2. Pin your dependencies.3. Try to update dependencies.4. See if tests still pass.5. GOTO 3@hynek
Almost nobodydoes SemVercorrectly.@hynek
https://0ver.org@hynek
A concept that mostpeople get wrongis nota useful concept formost people.@hynek
Acceptance@hynek
CalendarVersioning@hynek
• Toyota 2020 Yaris• pip 20.0.2• Ubuntu 20.04• certifi 2020.4.5.1@hynek
Takeaways@hynek
Takeaways•Don’t believe the promises of SemVer.@hynek
Takeaways•Don’t believe the promises of SemVer.•Don’t do SemVer if you’re afraid to increment major.@hynek
Takeaways•Don’t believe the promises of SemVer.•Don’t do SemVer if you’re afraid to increment major.•Try CalVer!@hynek
@hynekCalVer.orgvrmd.de