All Sudo Platform SDKs conform to the following versioning rules:
The major version is incremented when there is a breaking update to an existing public API or an existing public API is removed.
Example: Updating an existing API.
+ public func doSomething(param1: String)- public func doSomething(param1: String, param2: Boolean)
Example: Removing an existing API.
- public func doSomething(param1: String)
The major version will also be incremented if any API change is made to a public protocol or interface the SDK expects the consumer to implement for production code. This does not include any protocol or interface that is provided for mocking.
The minor version is incremented when a new API is added.
Example: Adding a new API.
+ public func doMore(param1: Int)
The patch version is incremented when a change is introduced that does not impact any public API. For example, a fix is made to an internal function.