wordpress-mobile / WordPressAuthenticator-iOS

GNU General Public License v2.0
17 stars 11 forks source link

Relax WordPressKit dependency from `~> 9.0.0` to `~> 9.0` #824

Closed mokagio closed 9 months ago

mokagio commented 9 months ago

A dependency on ~> 9.0.0 results in only versions 9.0.x being compatible. Under the assumption WordPressKit always respects semantic versioning, that approach limits the versions WordPressAuthenticator can be compatible with. In particular, prevents seamlessly using something like WordPressKit 9.1.0 in a client of both WordPressAuthenticator and WordPressKit.

Case in point, I just created WordPressKit 9.0.3, https://github.com/wordpress-mobile/WordPressKit-iOS/pull/677, in place of 9.1.0 in order to avoid having to ship a new WordPressAuthenticator version in the middle of a release cycle.