ApiVersion

public class ApiVersion

Swift API version.

  • Major version. Each major version upgrade means some breaking changes happened in the API, and plugins built for the previous API versions are now incompatible.

    Declaration

    Swift

    public let major: Int
  • Minor version. The API is backwards-compatible if only the minor version is increased.

    Declaration

    Swift

    public let minor: Int