PerpetuusPerpetuus Developers

Versioning policy

How the Perpetuus API versions the contract, marks deprecations, and removes routes or fields.

Contract version

The public contract is the OpenAPI document. The version lives in info.version and follows SemVer (MAJOR.MINOR.PATCH):

PartWhen it increasesExample
MAJORA change that breaks integrations: removing a route or field, changing a type, or making a previously optional field required1.4.2 → 2.0.0
MINORA compatible addition: a route, an optional field, a new enum value, or a new alias1.1.0 → 1.2.0
PATCHA documentation fix, with no behavior change1.1.0 → 1.1.1

URLs have no version in the path (/api/boards, not /api/v1/boards). Every change is recorded in the API changelog.

Clients should ignore unknown fields in the response and accept new enum values. That counts as a compatible change.

Deprecation

When a route or field will be removed:

  1. The operation is marked with deprecated: true in the OpenAPI document, and the replacement is indicated in the description.
  2. The old route starts responding with Deprecation: true and Link: <new-path>; rel="successor-version".
  3. The change is added to the changelog with the migration path.
  4. When a removal date is set, the route also responds with Sunset (an HTTP date, RFC 8594) and the date is added to the changelog.

Minimum notice: a deprecated route or field keeps working for at least 90 days after the changelog announcement before it is removed. Removal increments MAJOR.

BETA APIs

Routes marked BETA follow the BETA API policy: the contract may change without incrementing MAJOR. Even so, every change to them is recorded in the changelog. That policy page is currently available in Portuguese.

On this page