swiftkube/client

Dependency on SwiftkubeModel is too loose

allenhsu opened this issue · 1 comments

It seems that minor versions of SwiftkubeModel are not backward compatible. For example settings has been removed from SwiftkubeModel 0.4.0, however it's used in SwiftkubeClient 0.9.0. So installing SwiftkubeClient 0.9.0 without manually pinning SwiftkubeModel to 0.3.x in the main project would cause the project failing to compile.

So, I would recommend updating the dependency on SwiftkubeModel to upToNextMinor in Package.swift.

@allenhsu Yes, you are absolutely right. From SwiftkubeClient 0.10.0 forward it will be the case, which will be released this week.