zbraniecki / pluralrules

Pluralization handling in Rust
36 stars 4 forks source link

1.1.0 Breaks Semver #29

Closed distransient closed 5 years ago

distransient commented 5 years ago

Commit 41500c50e38a14cdb4b3614c2400efca735af735 modifies some public api's, which is fine going from 0.1.0 to 0.2.0 for example, but Semver, or more specifically caret dependencies in rust, assume that "stable" (read: 1.x.x and greater) libraries will not change their existing API's in minor versions. Therefor crates that depend on intl_pluralrules with version = "1.0" or even version = "1.0.0" would still break with the publishing of 1.1.0. Check the "Caret Requirements" section of The Cargo Book's guide on specifying dependencies (all version requirements without operators are interpreted as caret requirements).

zbraniecki commented 5 years ago

oh, thank you for reporting that! I was not aware of this. :(

I'll likely yank this version tomorrow and plan to release it as 2.0.

zbraniecki commented 5 years ago

Yanked and will release soon as 2.0