dominictarr / sentimental-versioning

version numbers with meaning
sentimentalversioning.org
Other
57 stars 10 forks source link

Add TypeScript as an example #8

Open jamiegluk opened 3 years ago

jamiegluk commented 3 years ago

TypeScript versioning is notoriously determined by marketing too 😒

https://github.com/microsoft/TypeScript/issues/14116#issuecomment-280592571

The trade-off for getting millions of dollars of engineering investment in the TypeScript project is that marketing gets to control version numbers to a certain extent.

It's not really an unalloyed good anyway. If we followed semver rules exactly, literally every single release would be a major version bump. Any time we produced the wrong type or emitted the wrong code or failed to issue a correct error, that's a breaking change, and we fix dozens of bugs like that in every release. The middle digit just isn't useful for TypeScript in a strict semver interpretation.

This is a bullshit excuse for not following semver.

dominictarr commented 3 years ago

there now! sentimental versioning does not cast judgement on whether or not someone should follow semver. sentimental versioning is about following your heart. and if your heart follows the almighty dollar, well, you should find a creative way to express that with your versioning system. like maybe just having the version number start out as a dollar sign and append another one with each version. If you are gonna sell your soul to the devil for the ability to infer javascript types, then he's probably gonna want control of the version numbering system.