ApiVersion

public class ApiVersion

Represents the Marta API version.

  • Major version. Each major version upgrade signifies about the breaking changes in the API. Plugins build for the previous API version are considered to be 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