Skip to main content

Version dialogs

Every change to a version goes through a dialog on Versions. This page covers each one, in the order you are likely to meet them.

New version​

Click “New version” in the page header.

  1. Copy source — Copy from version starts on the project's head (its newest version), so a new version begins as a copy of what you have. With two or more branches it is Base copy on branch tip, starting on the default branch's tip. Pick another version to copy from it instead, or choose Create blank version to start empty. Copy paths decides whether the paths come too (see Copy paths).
  2. Version — keep Auto-generate version and pick a Bump strategy (Minor by default, or Patch); the dialog shows the number it will create. Or choose Manual entry and type a Version ID such as 2.5.0.
  3. Describe the release — a Message is required (for example Add refund webhooks); External reference (a ticket id) and Changelog are optional.
  4. Click “Create version”.
The New version dialog copying from v2.3.1: the Copy paths checkbox ticked, version strategy and bump, and the release messageThe New version dialog copying from v2.3.1: the Copy paths checkbox ticked, version strategy and bump, and the release message
Route/ade/dashboard/versions

Copy paths​

When you copy from a version, its classes and properties are always copied — paths point at classes, so the classes have to come along. Copy paths (ticked by default) also copies the version's paths: every operation with its parameters, request bodies, responses and the path's Studio canvas. Each copied reference to a class points at the new version's class of the same name, so editing the new version never touches the old one.

Untick “Copy paths” to start the new version with the schemas only — for example, to redesign the API surface on top of the same models. The note under the checkbox says what will be copied.

After “Create version”, the confirmation says how many classes and paths were copied.

Edit​

Click “Edit” on a row, or choose Edit from its Actions menu. The Version ID cannot change. You can set the Lifecycle (Stable, Beta, Deprecated, Archived), a Deprecation message, a Sunset date (entered in local time, stored as UTC), a Successor revision, and the Revision note and Changelog. Click “Save changes”.

On a published version only a workspace administrator can edit, and only the deprecation and sunset metadata.

The Edit version dialog: lifecycle, deprecation message, sunset, successor, revision note and changelogThe Edit version dialog: lifecycle, deprecation message, sunset, successor, revision note and changelog
Route/ade/dashboard/versions

Publish​

Click “Publish” on a draft's row — shown to the version's creator or a workspace administrator whose role can publish (an Editor can't). Choose Private or Public, write a Revision note, check the Publish gates, and click “Publish”. The full walk-through, including Force publish (ignore validation errors), is in Version and publish.

If the version has no operations and no schemas — for example a blank version you never filled in — the gates panel opens with a warning, This version has no operations and no schemas. It doesn't block Publish, but publishing freezes an empty document, so go back and copy from an earlier version if that isn't what you meant. An empty version's lint report reads Nothing to score rather than a grade.

The Publish dialog: visibility, revision note, changelog and the publish gates panelThe Publish dialog: visibility, revision note, changelog and the publish gates panel
Route/ade/dashboard/versions

Schedule sunset​

Choose “Schedule sunset (EOL)…” from a version's Actions menu. On a published version only a workspace administrator can do this.

  1. Set Lifecycle to Deprecated — a sunset needs it.
  2. Write a Deprecation message telling consumers what to do.
  3. Pick the Sunset date and time (local time; stored in UTC).
  4. Pick the Successor revision consumers should move to, if there is one.
  5. Click “Save”.

The version then appears on the sunset timeline and under the deprecated status chip on the timeline.

The Schedule sunset (EOL) dialog: revision, lifecycle, deprecation message, sunset date and successorThe Schedule sunset (EOL) dialog: revision, lifecycle, deprecation message, sunset date and successor
Route/ade/dashboard/versions

Compare​

Click “Compare” in the page header (it needs at least two versions). Pick Version 1 (base) and Version 2 (compare to), then click “Compare versions”. The result has five tabs, and each tab's body fills the rest of the dialog:

  • Diff View — what changed between the two documents, as one Overlay or Side-by-side, in JSON or YAML. Show only changes is ticked by default: each run of unchanged lines keeps three lines of context next to a change and folds the rest into one ⋯ N unchanged lines row, so even a very large spec opens quickly. Untick it to read both documents in full;
  • Schema Changes — each version's revision note and changelog, with breaking hints, and the Classes list, which runs down to the dialog's footer;
  • Breaking doc — the compatibility report: whether the change is breaking, the rules that fired and where;
  • Migration guide — what consumers need to change;
  • Originals — a text diff of the two files the versions were imported from — see Compare two originals.

The Canvas tab, which compared the two schema layouts, is switched off for now while it is fixed.

Compare, Schema Changes: the base and compare versions' revision notes and changelogs side by side, with a breaking hintCompare, Schema Changes: the base and compare versions' revision notes and changelogs side by side, with a breaking hint
Route/ade/dashboard/versions
Compare, Breaking doc: the overall verdict, the rules that fired, and breaking and safe changes by pathCompare, Breaking doc: the overall verdict, the rules that fired, and breaking and safe changes by path
Route/ade/dashboard/versions

Export​

Choose “Export to another format…” from a row's Actions menu. Pick a target format, read its fidelity — what survives the conversion — and click “Export” (or “Export anyway” when the fidelity check warns). “Open in Export Studio” continues in the full Export studio, carrying your target and options across.

The Export dialog on its Target step: target formats with their fidelityThe Export dialog on its Target step: target formats with their fidelity
Route/ade/dashboard/versions

View spec from the same menu shows the generated OpenAPI document as JSON or YAML, with “Copy” and “Download”. Under the document, its Export panel groups the formats by how well they carry this version and lists the version's recent exports; see The version's Export panel.

Heatmap​

Choose “Heatmap” from a row's Actions menu to see every class in that version as a tile. The warmer the tile, the higher it scores on the metric picked in the switch at the top; tiles are ordered warmest first, and the legend says what cold and warm mean. Hover a tile for all four measurements at once.

MetricWhat warms a class
Complexity (the default)More properties, deeper nesting and more references to other classes. Scaled to the most complex class in the version
Recent changeA newer last edit: today or yesterday is warmest, then this week, this month and the last 90 days; older is cold
ReferencesMore other classes in the version point at it with $ref. Scaled to the most referenced class
DocumentationA larger share of the class and its properties have a description; 100% is warmest, none is cold

Use it to find the classes worth reviewing first — complex ones nobody has documented, or the ones many others depend on. A version with no classes shows an empty state; add classes in the Studio.

The Heatmap dialog: a payments schema's classes as tiles, colored by complexity, with the metric switch and legendThe Heatmap dialog: a payments schema's classes as tiles, colored by complexity, with the metric switch and legend
Route/ade/dashboard/versions

Lint report​

Click a revision's grade chip (for example B · 80) to open its Quality & Lint report: the score, the severity counts and every finding.

Findings with a deterministic fix carry a Fix chip. Above the list, Apply N deterministic fixes applies every fix that is ready.

  1. Click “Fix” on a finding, or “Apply N deterministic fixes”.
  2. Check the Reason (prefilled, for example Apply the deterministic operation-id-required fix.) and click “Apply fix”.
  3. The fixes are applied as a new revision; the report shows Applied 1 fix as a new revision v1.0.1 with its new grade, and the Versions list gains the revision. The revision you opened is not changed.
The lint report: a Fix chip on a finding, Apply 1 deterministic fix, and the reasons breaking and conflicting fixes are not appliedThe lint report: a Fix chip on a finding, Apply 1 deterministic fix, and the reasons breaking and conflicting fixes are not applied
Route/ade/dashboard/versions

A fix that would make a breaking change, or that conflicts with another fix, has no chip; its reason is shown under the finding instead. On a published revision the fixes are read-only: This revision is published, so fixes cannot be applied to it. Apply them to a draft revision. See Auto-fix lint findings for what each fix does.

Git-like features​

Flag offFEATURE_GITLIKE

Apiome has branch, merge, fork and tag tooling for versions, but it is switched off: FEATURE_GITLIKE is a constant in apiome-ui/lib/feature-flags.ts, false in every shipped build. Production builds hide these controls; development builds draw them disabled, and hovering one says Compiled but hidden today (FEATURE_GITLIKE=false). With the flag on, each control carries a small outline gitlike badge. Turning them on takes a code change and a rebuild.

ControlWhat it would do
Merge branches… (More actions ⋯ in the page header)Preview and apply a merge of two branches, resolving conflicts path by path
Branch from hereStart a named branch at a revision
Rollback branch to this revision…Revert a branch to an earlier revision
Fork to another project…Copy a revision into another project
Tag this revisionGive a revision a named tag
Compare with current, Relationship graphCompare against the head; show how revisions relate
Freeze schema, Lock revision (delete policy), DeleteProtect or remove a revision
Change report tabThe publication change report — see Versions

How these controls map to Git, and which version-control features work today without them (tags and forks from the CLI and API, publishing, the compatibility gate), is on Git-like version control. How revisions link to their parents, and how the merge base of two branches is found, is described in Revision history and merge base.

Merge conflicts, from a development build: two paths needing a resolution, with Mine, Theirs and Manual choicesMerge conflicts, from a development build: two paths needing a resolution, with Mine, Theirs and Manual choices
Route/ade/dashboard/versionsFrom a development build — this screen cannot be opened in a shipped build.

With the API​

POST /v1/versions/{tenant}/{project} (new), PUT /v1/versions/{tenant}/{project}/{version} (edit and sunset), POST …/publish, POST /v1/versions/{tenant}/{project}/compatibility and POST /v1/diff/{tenant}/classified (compare), POST /v1/export/{tenant}/document (export). See the API reference.

Where next​