Skip to content

Define what the OpenAPI info.version means and add a changelog #511

Closed

Description

@pdettori

Follow-up from the change policy (docs/reference/change-policy.md, PR #506).

Both docs/api/openapi.yaml and docs/api/harness-openapi.yaml say version: 1.0.0 with no stated meaning.

Decision: it is the version of the /v1 contract. Bump the minor for additive changes; bump the major only together with a /v2. Add a short changelog to each file (or a linked changelog) and mention the rule in the policy page.

Activity

  1. pdettori commented on Nov 16, 2026

    @pdettori
    MemberAuthor

    Closing as completed by #821.

    • Meaning of info.version: the version of the /v1 contract. The minor goes up for additive changes, and the major only with a /v2. This is stated in docs/api/CHANGELOG.md and in change-policy decision 5, whose follow-up is now marked done.
    • One changelog for both documents: docs/api/CHANGELOG.md now covers the control plane and the data plane. Each section is a control-plane version, and an index table maps each harness-openapi.yaml version to the section that shipped it:
      • 1.1.0 shipped with 1.15.0
      • 1.2.0 shipped with 1.16.0
      • 1.3.0 shipped with 1.17.0
    • Pointers: the info.description of both openapi.yaml and harness-openapi.yaml links to the changelog.
    • Guard: packages/control-plane/test/openapi-contract.test.ts keeps the changelog's newest section in step with info.version.
  2. added this to the v0.11.0 milestone on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions