Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

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

Merged
mokagio merged 2 commits into
trunkfrom
mokagio/relax-podspec-dependencies
Jan 10, 2024
Merged

Relax WordPressKit dependency from ~> 9.0.0 to ~> 9.0#824
mokagio merged 2 commits into
trunkfrom
mokagio/relax-podspec-dependencies

Conversation

@mokagio

@mokagio mokagio commented Jan 9, 2024

Copy link
Copy Markdown
Contributor

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,
wordpress-mobile/WordPressKit-iOS#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.


  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

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,
wordpress-mobile/WordPressKit-iOS#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.
@mokagio
mokagio requested a review from crazytonyli January 9, 2024 03:44

@crazytonyli crazytonyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call! It should have been 9.0 in the first place.

@mokagio
mokagio merged commit 6aeeb30 into trunk Jan 10, 2024
@mokagio
mokagio deleted the mokagio/relax-podspec-dependencies branch January 10, 2024 05:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants