Apiome RC9
RC9 closed on 2026-11-22. It brings the app notes below and REST API 1.767.0 to 1.810.0 (44 versions).
What's new in the app
From the in-app What's new for Apiome 11-2026 RC9.
Features/Improvements
- RC9 begins — RC8 is complete, and its notes are kept in the Apiome RC8 release notes. The version on the launcher, in the user menu and on Help & docs now names the new release candidate (
RC9). RC9 is about Projects and Catalog, with OpenAPI 3.2 / 3.1 and Arazzo 1.1 first - Arazzo 1.1 everywhere — The Import dialog accepts Arazzo 1.1 documents and their AsyncAPI sources, the CLI validates each document against the schema for the version it declares, and generated workflows can be written as Arazzo 1.1
- Arazzo workflows with their API files — Import a
.zip(or, with the CLI, a folder) holding an Arazzo workflow and the OpenAPI/AsyncAPI files it calls, and they come in as one workflow with every source resolved; any source that is not found is listed in the import report with the reason - See an Arazzo workflow as a flow — An Arazzo catalog item, and a project whose HEAD revision holds workflows, has a Workflows tab: each workflow's steps, inputs and outputs, a step graph of its success and failure paths, and whether each source it calls was found; click a step to open the operation it calls
- Arazzo changes graded by workflow rules —
apiome diff, the diff Action, the publish check and a catalog revision's change report now grade an Arazzo workflow by what its callers depend on: a newly required input, a removed output or source description is breaking; changed parameters, success criteria oronSuccess/onFailureactions are flagged for review, each with its rule and reason - Arazzo exports that explain themselves — An Arazzo 1.1 step that waits on an event channel (
channelPath) now imports and exports back unchanged, and the fidelity report on the Arazzo card names every difference a round trip finds; Arazzo import and export are checked against official OpenAPI Initiative fixtures and files from Redocly, Spectral and Specmatic - Arazzo workflows from the CLI and the API —
apiome arazzo listandapiome arazzo showread the workflows and steps an Arazzo import stores, with whether each step's operation was found;apiome arazzo validatechecks a workflow file, or fails a CI job when a stored step did not resolve. The REST API reads one workflow, its steps, or any revision of a catalog item - Run an Arazzo workflow against a target —
apiome arazzo run(and the REST API) runs a stored workflow step by step against a verification target or a mock: each step's request is built from the workflow inputs and earlier steps' outputs, every success criterion is reported with its expected and actual value, andgoto,retryandendactions are followed. Only read-only steps run unless the target allows writes, the run opts in and a fixture names the operation - Arazzo: complete, current and visible — Arazzo 1.0 and 1.1 now work end to end: import a workflow with its API files, read it on the Workflows tab or from the CLI, validate it, compare revisions, export it back and run it against a mock or a deployment. Help & docs has a new Arazzo in Apiome page that shows how the pieces fit
- OpenAPI exports keep everything — Export an item imported from OpenAPI 3.0, 3.1 or 3.2 to the same version and it comes back as it was read: callbacks, links, webhooks,
discriminator, examples,x-extensions,$self,itemSchemaand the other constructs are no longer dropped. Exporting to an older version lists each construct that version cannot hold in the loss report. The new OpenAPI construct matrix page in Help & docs shows the result for every construct and version - Bundled, dereferenced or split OpenAPI — An OpenAPI export's $ref handling option writes one bundled file (the default), one file with every
$refwritten out in full, or a.zipwith one file per path and component that imports back as the same document. A schema that refers to itself is kept as a$refand listed in the fidelity report, or stops the export if you choose error. Choose it on the Options step, or withapiome export openapi --refs - Upgrade OpenAPI version — A version's row menu (and an OpenAPI catalog item's header menu) has Upgrade OpenAPI version…: it plans the move from Swagger 2.0 or OpenAPI 3.0 / 3.1 to OpenAPI 3.0, 3.1 or 3.2, lists every change by hop with the ones to Review marked, and Apply as new version adds the upgraded document as a new version. Also
apiome upgradein the CLI. - OpenAPI 3.2 in Projects — A project keeps QUERY and custom methods such as
REPORT, its tag tree (parent,summary,kind), streaming media types (itemSchema) andin: querystringparameters. View spec now names the version the document declares and lists them under OpenAPI 3.2.0 constructs. A 3.1 document holds none of them - Overlay manager in Versions — The Overlays tab writes OpenAPI Overlays in the app (Update, Remove, Copy and reusable actions, or the whole document as JSON), previews them with a match count per action and every value before and after with the action that changed it, applies the chain as a new version with Apply as version, and opens Export studio with Export with overlays
- External references and cycles — A References tab on Versions lists every external
$refa revision depends on, with where it is used, when it was last fetched and whether it changed. Refresh fetches them and lists what changed, Pin accepts a document so later changes stay reported, circular references are listed with their path, and administrators can change the workspace external reference policy (block, fetch, allowlisted hosts) right there - OpenAPI 3.2 / 3.1: fidelity and authoring — OpenAPI 3.2, 3.1, 3.0 and Swagger 2.0 now work end to end: imports keep every construct, each document is checked against its own version's schema, exports are written at any version and bundled, dereferenced or split, and versions can be upgraded, overlaid and checked for external and circular
$refs. Help & docs has a new OpenAPI in Apiome page that shows how the pieces fit - Apply lint fixes where the finding is — In a revision's Quality & Lint report on Versions, findings with a deterministic fix carry a Fix chip and Apply N deterministic fixes applies every ready one; in Lint posture, a finding's drawer and the bulk bar offer Apply fix. Fixes are applied with a reason as a new revision that is linted again, and a finding moves to Fixed only once that lint no longer reports it. Breaking and conflicting fixes say why they are not applied, a published revision's fixes are read-only, and MCP endpoint findings say why they have no document to fix.
- Export reports name every loss — Exporting an item to another format now lists what the conversion changes: the kind of API it reads back as, each operation or type written under another name, and the source details the target has no field for. GraphQL exports now write every type, ONC RPC exports write structs and number their procedures, and an OpenAPI export keeps a request body marked required
- Exact scalar types in IDL and schema exports — ASN.1, Avro, OMG IDL, FlatBuffers, TypeSpec, WSDL and XSD exports now write every scalar as the target's own type, and an OpenAPI
integerwithformat: int64stays 64-bit (Avro wrote it asint). Where a target has no type big enough — Avro'slongfor an unsigned 64-bit value,doublefor a decimal — the fidelity report says so - Every export reads back — AsyncAPI, Protobuf, Connect RPC and ONC RPC exports of an item from another format now import back into Apiome: no more AsyncAPI files that fail validation over another format's metadata or a missing scalar schema, and no more
.protofiles that do not compile. ASN.1, WADL, CDDL, FlatBuffers, XSD and RAML are greyed out, with the reason, for a source they cannot hold anything of, instead of exporting an empty file. - OpenAPI 3.2 and Arazzo read the same in the catalog — An OpenAPI 3.2 or Arazzo item in the Catalog (from a connector sync, an Arazzo
.zipor an OpenAPI item before Convert to Project) now reads streamingitemSchemabodies, QUERY and custom methods, the tag tree and$selfreferences exactly as a Project does. A method declared twice imports once, a broken tagparentis reported, and a$refinto another file is no longer mistaken for a schema of the same name - Every export is checked — CloudEvents, XML-RPC, Connect RPC, Kafka Connect, MCP and A2A exports are now validated before you download them: CloudEvents against the CloudEvents 1.0 rules, XML-RPC with Python's own XML-RPC reader, Connect RPC with
buf build, MCP and A2A against their schemas, and each file must import back. Where no check exists, the Validation tab and the verdict banner in Export studio say Not validated instead of reading as a pass - Import and export fidelity — Converting an item to another format is now honest end to end: the fidelity report names every loss, scalars are written as the target's own types, every exported file imports back or the target is greyed out with the reason, and every export is checked before download or says Not validated. Help & docs has a new Import and export fidelity page that shows how the pieces fit
- Catalog and Projects, walked end to end — New version no longer opens on a Couldn't load this project's branches error. An OpenAPI file pasted into Import to catalog now says to use Import on the Projects page and links there, instead of leaving Continue disabled with no reason. The import quality step links each finding to its rule in the docs, Edit project shows its dates on one line, the Convert dialog names the source format ("RAML", not "raml"), and a catalog item no longer logs an error while it loads
- Catalog and Projects cleanup — The Bring in, Build and Ship pages now match the code, an OpenAPI 3.2 or Arazzo document reads the same in the Catalog as in a Project, and the journey from import to export was walked end to end with seven defects fixed. Help & docs has a new Catalog and Projects page that shows where an import lands and how the two paths fit
- Arazzo and Overlay governance — Arazzo workflows and OpenAPI Overlays are now linted, fixed, graded by a maturity ladder and exported like the APIs they sit beside. Help & docs has a new Arazzo and Overlay governance page that shows how the pieces fit
- Faster comparisons of large versions — A merge request's or review's Changes tab, the merge compatibility check on Versions and a published version's changelog now read each version's stored OpenAPI document instead of building it again, so comparing two large versions a second time is quick. The first comparison of a version still builds it, and a long wait now says Rendering the documents for the first time instead of just spinning
- Download and compare the original file — Download original in a version's spec viewer and on a catalog item saves the file the import read, under its original name. Compare has a new Originals tab: a line-by-line diff of the two imported files beside the semantic diff, quick even for very large files. From the CLI:
apiome versions original - One OpenAPI document everywhere — View spec, Compare, a catalog item's Versions diff and the Spec and Plain diff of a review or merge request now show the document the REST server keeps for each version, instead of one built again by the page on every click. Opening a version a second time is quick, two versions with the same document say Identical documents without diffing, and a very long diff scrolls without freezing the tab. In Compare, the Originals tab is now a Rendered / Original switch on Diff View. The document's title now reads
<project slug> APIand its description is the project's; canvas notes are no longer written into it - Document store status in the admin console — The admin console has a Document store page: which store the REST server uses (database, S3-compatible bucket or directory) and its settings, whether it answers, how many objects it holds and when they were last verified. Test connection writes, reads back and deletes a probe file. Settings stay in the server's environment and credentials are never shown
- No more hangs on a stuck database session — Saving a canvas with groups, moving several classes at once and marking a group's properties read-only each ran as a transaction spread across several database connections, which could leave one of them holding locks and stall every screen that touched the same rows; each now runs on a single connection. The web app and the REST API also stop waiting forever: a query blocked on a lock fails after 30 seconds, an abandoned transaction is ended by the database, and a request that cannot get a database connection fails after 10 seconds with an error instead of hanging. Administrators can tune the limits in Operating Apiome → Database connections
- Keep documents in your own bucket — A workspace can now keep its imported originals and rendered documents in an S3-compatible bucket it owns. Manage a tenant and open Document storage: choose Your own bucket, pick or add a storage credential, name the bucket (with its folder, region, endpoint and SSE-S3 or SSE-KMS encryption if you need them), Test bucket, then Save and move documents. Existing documents move in the background and stay readable throughout; Delete old copies… removes what the move left behind. If the bucket stops answering, owners and administrators are notified and specs and diffs keep working. Needs the new Document storage → Manage permission (Owner and Admin have it), and a platform administrator has to turn it on first
- The document store — Every import's original and every version's OpenAPI document are now stored once, in the database, a directory or an S3-compatible bucket, and read back instead of rebuilt on every request. Diffs and merge-request Changes are faster, Download original returns the file you imported, every screen shows the same document, and a workspace can keep its documents in its own bucket. Operators choose the store and watch it on the admin console's Document store page
- Projects, Catalog, OpenAPI and Arazzo — RC9's core work is complete: the Catalog and Projects agree on every import, OpenAPI 3.2, 3.1, 3.0 and Swagger 2.0 and Arazzo 1.0 and 1.1 work end to end, workflows and overlays are governed like the APIs they sit beside, every export names what it loses, and documents are stored once and read back. Help & docs has a new Projects, Catalog, OpenAPI and Arazzo page that links the overview page for each part
- New versions start from your latest — New version now copies the project's head (or the default branch's tip) instead of starting blank, and Publish warns before you freeze a version with no operations and no schemas; an empty version's lint report says Nothing to score instead of A · 100
- OpenAPI in Import to catalog carries on into Projects — When Import to catalog detects an OpenAPI or Swagger source you pasted, uploaded or fetched from a URL, Continue in Projects opens the Projects importer on Analyze with the source already loaded, so finishing there creates the project without pasting or uploading it again
- Catalog and Projects polish — Import to catalog ends with a link to the new item and one Done button; quality findings open on #1 and name the line in your source; the catalog's kind tiles fit one row in a smaller window, and the Versions tabs fade where more are hidden; Convert no longer lists Source OpenAPI version as missing for a non-OpenAPI source
- Large specs open the Export screen in seconds — On a spec with thousands of schemas, the Export dialog and the Export Studio list every format at once and each badge reads Scoring… until Apiome has measured it, instead of the whole screen waiting (or giving up with “Could not load export targets”). Reopening it for the same version is quick, and a format that cannot be built from the spec is greyed out with the reason instead of breaking the list
REST API
1.810.0 — 2026-11-22
Added
- Deferred scoring of the export targets list:
GET /v1/export/{tenant}/targets?fidelity=deferredreturns every target at once withfidelitynull,fidelity_status: "pending"and afidelity_token, and scores the targets on a bounded background pool (APIOME_EXPORT_FIDELITY_WORKERS, default 2).GET /v1/export/{tenant}/targets/fidelity/{token}returnspending,readywith the scored list, orfailed; a token is visible only to the tenant that started it, and an unknown one is404 fidelity-job-unknown. The default (fidelity=inline) still waits for the scores. OpenAPI 1.634.0. - Targets list cache: a scored list is kept per worker for ten minutes, keyed by the source's content, its plans, the Apiome version and the registered targets, so reopening the Export screen does not score again.
Changed
- The targets request no longer blocks the server: loading the source and scoring it run off the event loop.
Fixed
- One failing target no longer fails the whole list: a target whose prediction raises (an HL7 v2 segment guide of a spec with more records than its 1 296 site-defined segment IDs) is listed unavailable with the reason.
- Large JSON documents parse in a fraction of the time: the YAML alias-expansion scan runs only on text that is not strict JSON (strict JSON has no aliases). A 9 MB OpenAPI document reads in 0.5 s instead of 3.5 s.
- EDI and HL7 v2 guide planning is linear: segment IDs are allocated from a cursor over the fallback candidates, picking exactly the IDs the full scan did. Guide fidelity on an 1 800-record spec drops from about 8 s to under 1 s.
1.809.0 — 2026-11-22
Added
- Export git delivery to GitLab, Bitbucket and Azure DevOps — OpenAPI 1.633.0 (#6654):
POST /v1/export/{tenant}/jobs/{job_id}/deliveries/gitnow delivers to repositories on GitLab (gitlab.com, as a merge request), Bitbucket Cloud and Azure DevOps (as pull requests), as well as GitHub, in bothprandcommitmode. The request and the run are unchanged.- New write clients behind
app.export_git_delivery_providers.PROVIDERS(gitlab,bitbucket,azure_devops): GitLab's Commits API, Bitbucket's/srcform and Azure DevOps' Pushes and Refs APIs. They stage the tree and commit locally and write them in the host's one commit call; every commit carries anApiome-Tree:trailer so an unchanged re-delivery is stillunchanged. A direct commit only fast-forwards on every host. - Refusals map to the existing
export-git-delivery-*codes (credential-rejected,permission-denied,push-rejected,pull-request-refused,target-path-invalid,tree-too-large, …) with the token redacted, and the messages name what the account needs on that host. - Linked-account registration (
POST /v1/tenants/{tenant_slug}/repositories,source: linked_account) accepts GitLab (group[/subgroup]/project), Bitbucket (workspace/repo) and Microsoft accounts (Azure DevOps,organization/project/repository, stored as providerazure_devops); any other account still answers400. The operation now has a description listing the accepted names. - SDK delivery and PR-back still support GitHub only:
repository_problemtakes the channel's providers.
- New write clients behind
1.808.0 — 2026-11-21
Fixed
- Readable description and slug for a converted project (COA-4.3d, #7129): Convert to OpenAPI Project now
describes the new project as
Converted from the RAML catalog item “Bookstore API”.(or reuses the item's own description when it has one) and slugs it as the item's slug plus-openapi, with a short suffix only when that slug is already taken. No UUID appears in either, so download file names read cleanly. Existing converted projects are untouched. The response shape is unchanged (OpenAPI version not bumped).
1.807.0 — 2026-11-21
Added
- Per-tenant bring-your-own buckets for the document store — OpenAPI 1.632.0 (COA-5.15, #7092): a workspace
can keep its originals and rendered documents in its own S3-compatible bucket, reached with a sealed storage
credential (the ones export delivery uses). The platform store stays the default.
GET/PUT /v1/tenants/{tenant_slug}/document-storeread and choose where documents are kept (platformortenant, withcredentialId,bucket,prefix,region,endpointUrl,addressingStyle,sse,kmsKeyId).POST …/document-store/testwrites, reads back and deletes a probe object under the workspace's own key layout.POST …/document-store/cleanup({"confirm": true}) deletes the copies a move left behind. All need the new permissiondocument_store:manage(Owner and Admin by default).- Changing
modestarts a background move of the existing objects: each is copied, read back, checked against its SHA-256 and only then re-pointed, so reads keep working throughout; the move is resumable and reports its progress onGET.document_objects.backendgainstenant_s3for an object held in a tenant bucket. - An unreachable or revoked tenant bucket answers
503 tenant-document-store-unavailablewith a redacted reason. Rendered documents are rendered uncached instead; originals report unavailable. The workspace's owners and administrators get onedocument_store_unavailablenotification per outage,GET /v1/ops/document-store(and its/v1/admintwin) lists tenant buckets with their state intenantBuckets, andGET /healthcounts them indocument_store.tenant_buckets_unavailable. - Off by default:
APIOME_DOCUMENT_STORE_ALLOW_TENANT_BUCKETS=trueturns it on (403 tenant-document-store-disabledotherwise). Tenant endpoints pass the SSRF guard;APIOME_DOCUMENT_STORE_TENANT_ALLOW_PRIVATE=truelifts its address filter for installs whose tenants run a store on the private network. Turning the first setting off later blocks changes but keeps tenants already on their own bucket working. - Retention, integrity runs and tenant deletion follow each object to its bucket; deleting a tenant removes only Apiome's folder for that tenant from its bucket, never the bucket.
DELETE /v1/export/{tenant_slug}/storage-credentials/{credential_id}answers409 storage-credential-in-usefor the credential the workspace's document storage uses.- Export download artifacts stay on the platform store.
- Needs apiome-db V408.
1.806.0 — 2026-11-21
Fixed
- Database sessions that could hang the API — OpenAPI 1.631.1 (no schema change):
- Every connection is opened with a connect timeout, TCP keepalives, a
lock_timeoutand anidle_in_transaction_session_timeout, and names itselfapiome-restinpg_stat_activity. A statement blocked on a lock now fails afterDB_LOCK_TIMEOUT_MS(default 30 s) instead of waiting forever — on anasyncroute that wait stalled every request. New settings:DB_CONNECT_TIMEOUT_SECONDS(10),DB_LOCK_TIMEOUT_MS(30000),DB_IDLE_IN_TRANSACTION_TIMEOUT_MS(300000) andDB_STATEMENT_TIMEOUT_MS(0, off). They are skipped whenDATABASE_URLcarries its ownoptions. - 85 store functions (domains, version overlays, Arazzo workflows and the Slate stores) ran statements and
returned without ending the transaction, leaving their thread's pooled connection idle in a transaction
with its locks and snapshot held. They now use
app.db_cursor.db_cursor, which commits or rolls back the transaction it starts and leaves a caller's open transaction alone. The seven Slate domain writes (attach_domain,record_verification,record_certificate,record_certificate_error,set_primary,set_auto_renew,detach_domain) were among them: they were only saved when a later query on the same connection happened to commit. execute_queryno longer replaces a query's error withInterfaceError: connection already closedwhen the rollback fails on a dead connection.
- Every connection is opened with a connect timeout, TCP keepalives, a
1.805.0 — 2026-11-21
Changed
- Every REST feature reads a revision's OpenAPI document through the document store — OpenAPI 1.631.0
(COA-5.14, #7090).
app/rendered_documents.pyis now the only module that calls the generator.openapi_for_revisionreads the rendered document cache (COA-5.5) and generates only when the cache cannot serve the revision, so its callers stop regenerating: lint report and lint fixes, quality capture, style-guide lint, merge preview / merge / rollback check, publish prechecks and the breaking-change guardrail, publication change reports, PR-back, reviews, source provenance, consumer contracts, blast radius, component governance, repository federation, spec sync, import delta, export and conversion. The routes that called the generator themselves read through the newrendered_documents.revision_openapi: mock start, mock scenario validation and Try it (_generated_spec_for_version), Swagger UI, preservation and source review. On a warm revision none of them queries a class, property or path row to build the document. - States that are not a stored revision are rendered through the new
rendered_documents.render_uncached(reason=…)and never stored: the component bulk-upgrade preview and the materialization preview (REASON_COMPONENT_PINS_OVERRIDE), and a source apply's predicted document and its in-transaction read of the current rows (REASON_SOURCE_APPLY). The merge preview needs none: it merges three stored documents. - A committed merge stores the merged revision's document when it reads it for the compatibility audit,
and
POST …/source-applycalls the newrendered_documents.write_throughafter a successful apply, so the next read of either is warm. build_live_spec,load_classes_and_properties,SpecCounts,render_spec_bytesandsha256_hexmoved fromapp/spec_snapshot.pytoapp/rendered_documents.py;spec_snapshotre-exports them. Two callers keepbuild_live_spec: a freeze (it needs the counts) and the URL-import divergence guard (its content identity names no project).- Preservation, source review and the mock scenario routes used to generate their document from a row
without the project's description and metadata. They now read the document
GET /v1/schemaserves, soinfo.description,tagsandx-metadataare present. tests/test_rendered_document_architecture.pyfails on anygenerate_openapi_specreference outsiderendered_documents.pyandopenapi_generator.py, pins the fourrender_uncachedcall sites and the callers ofbuild_live_spec, and checks that a stored revision's canonical model is rebuilt only bybuild_conversion_source(captured source throughrevision_source, parse through the per-digest model cache — unchanged since COA-5.4).tests/test_revision_openapi_readers_db.pyholds the query-count tests for lint, mock start, merge preview and publish.
Fixed
- A source review and the apply that follows it now fingerprint the same document. The review built its
base without the project's description and metadata while the apply's transaction included them, so
for a project with either, the apply answered
409 STALE_BASEalthough nothing had changed.
Known limits
- The publish prechecks still read the class list once for the "every class has a description" gate. That is the gate's own query; the document is not generated.
1.804.0 — 2026-11-21
Added
- The members' OpenAPI document, served from the document store — OpenAPI 1.630.0 (COA-5.13, #7089):
GET /v1/versions/{tenant_slug}/{project_id}/{version_record_id}/document(versions:view) returns a revision's OpenAPI document by record id, draft or published. It is the document the UI now shows in the version view, the compare view, the catalog's version diff and the merge-request / review spec views, in place of the one the Next.js server used to generate. It declares OpenAPI 3.2 and keeps the operations markedx-private(each carryingx-private: true); the publicGET /v1/schemais unchanged in both respects. Rendered once per change of the revision and then streamed from the store (rendered_documents.KIND_OPENAPI_MEMBERS, rolerendered_openapi_members, apiome-db V407):ETag/X-Apiome-Content-Sha256,If-None-Match→304,X-Apiome-Document-Cache: hit|miss,Cache-Control: private, no-cache;404for a revision of another workspace or project,502document-unreadablewhen the stored bytes are gone. Not rendered at publish: the first member to open it pays for the render. The lifecycle job treats the new role like the other rendered roles.generate_openapi_specandbuild_live_spectakeinclude_private(andbuild_live_specopenapi_version). - The large-spec benchmark (COA-5.11) gains
compare-cold/compare-warm: the two members' documents the UI's Compare view fetches. A warm run must not generate; baselines added totests/scale/large_spec_budgets.json.
Fixed
- The OpenAPI generator, after a parity audit against the UI's generator (COA-5.13, #7089). Both
generators rendered the 46 importable OpenAPI corpus files and the sample project; the report is
docs/coa-5-13-generator-parity.md. Five differences were defects here and are fixed, soGET /v1/schema, the classified diff, compatibility checks and exports now see them too:- a property's
descriptioncolumn was ignored (311 descriptions across the corpus were missing); operationIdwas never written (the row names itoperation_id);- only
apiKeysecurity schemes were written —http,oauth2,openIdConnect,mutualTLSand custom schemes now are; - an object property with required children lost its own
requiredflag on its parent; type: objectwas forced on a schema composed withallOf/anyOf/oneOf.
- a property's
Changed
OPENAPI_GENERATOR_VERSIONis2, so every storedrendered_openapidocument is rendered again on its next read (the old rows are left for the lifecycle job). A frozen version keeps its frozen bytes. TheETagofGET /v1/schemachanges once for every unfrozen version, and the document can gain the fields listed above.
1.803.0 — 2026-11-21
Added
- Large-spec performance benchmark and nightly gate — OpenAPI 1.629.0 (COA-5.11, #7087):
tests/large_spec_benchmark.pybuilds four synthetic OpenAPI revision families (GitHub-, Stripe- and Azure-shaped, and a ~50 MB stress revision), each with a base and a small- and a large-change head, as the class and property rows the generator reads, and runs them through the real rendered-document cache (rendered_document, filesystem store). Cold and warm wall-clock and peak memory (separate passes, so tracemalloc does not inflate latency) are recorded forschema, the classifieddiff,compatandexportstages (the 50 MB fixture skips export: the intake limit refuses a source over 10 MiB). The opt-intests/test_large_spec_benchmark.py(RUN_LARGE_SPEC_SUITE=1/--large-spec) holds every stage to the committed baselinetests/scale/large_spec_budgets.json(--update-large-spec-budgetsrefreshes it), enforces the targets warm diff < 2 s and warm schema < 200 ms on the public-API-sized fixtures, and fails when a warm stage runs the generator. Nightly at 05:15 UTC via.github/workflows/apiome-rest-large-spec.yml(report artifactreports/large-spec-benchmark.json);tests/test_large_spec_harness.pycovers the machinery on every PR.scale_benchmark.ceiling_breachestakes optional ceilings. No endpoint changes.
1.802.0 — 2026-11-21
Added
- Document lifecycle: reference counting, GC and integrity checks — OpenAPI 1.628.0 (COA-5.10, #7086):
migration V406 keeps
document_objects.ref_countequal to the live references (version_documentslinks whose revision and tenant are not deleted; a soft-deleted project still counts) with triggers on link insert / re-point / delete and onversions.deleted_at/tenants.deleted_at, stampsunreferenced_atat zero, and addsintegrity_failed_at, thedocument_lifecycle_eventsaudit table anddocument_tenant_purges.app.document_lifecycle:release_versions(called afterDELETE /v1/versions/…and MFI-31.5 pruning) deletes the objects only those revisions used;run_document_lifecycle(everyAPIOME_DOCUMENT_LIFECYCLE_INTERVAL_SECONDS, default 3600; advisory-locked) drops renders a newer render replaced, deletes objects unreferenced forAPIOME_DOCUMENT_GC_GRACE_HOURS(24; never-linked rows count fromcreated_at), empties deleted tenants' store prefixes (tenant id and, unless a live tenant reuses it, slug; also thedbstore), and re-hashesAPIOME_DOCUMENT_INTEGRITY_SAMPLEobjects (100, least recently verified first): a match stampsverified_at, a mismatch or missing object writes anintegrity_failedrow and anERRORlogdocument integrity failure, then drops a rendered document for re-render or flags an original / frozen schema. Each purge recounts under a row lock before deleting the index row, and deletes the bytes only if no writer re-created the row.DocumentStore.delete_tenant_objectson every backend (S3 paginatedDeleteObjects).scripts/document_lifecycle.py(--dry-run,--grace-hours,--sample,--all,--integrity-only). No endpoint changes.
1.801.0 — 2026-11-21
Added
- Document store settings, health and connection test — OpenAPI 1.627.0 (COA-5.9, #7085):
GET /v1/ops/document-store(platform admin) reports the active backend, the configured one and any startup fallback, the non-secret settings (bucket, prefix, region, endpoint, addressing style, directory, encryption and KMS key, whether static keys or the default credential chain are used, presign lifetime,dbobject cap), a cached reachability check (HeadBucketfors3, a writable directory forfilesystem, a read ofdocument_store_blobfordb) and the document index's object count and bytes per backend with the latestverified_at.POST /v1/ops/document-store/testwrites, reads back and deletes a random probe object under theapiome-probekey segment and reports each step with its duration and redacted error (200either way). The same two endpoints are served at/v1/admin/document-store[/test]for the super-admin console session.Database.document_store_usage()readsdocument_objectsonly. - Fail fast at startup:
app.document_store_health.initialize_document_storebuilds the configured store and checks ans3bucket orfilesystemdirectory answers; an unusable store stops startup with a redactedDocumentStoreConfigErrornaming the setting. NewAPIOME_DOCUMENT_STORE_FALLBACK(empty, ordb) starts on the database backend instead and reports the fallback. GET /healthgains adocument_storeblock (statusok/degraded/unavailable,backend,fallback), cached for 30 seconds, with no error text or settings. The HTTP status still reflects database readiness only.
1.800.0 — 2026-11-21
Added
- Move existing documents into the store — OpenAPI 1.626.0 (COA-5.8, #7084):
app/document_migration.pycopies the documents the database still holds into the configured document store:format_metadata.sourceContent(adapter_source; a base64 archive becomes a manifest plus oneoriginal_partper file),version_import_snapshots.source_text(import_snapshot),version_spec_snapshots.content(frozen_schema) and unexpiredexport_job_artifact.content(export_artifact,s3/filesystemonly). Each object is read back and checked (SHA-256 of the stored bytes and the decoded content against the database copy),document_objects.verified_atis stamped, then it is linked (version_documents, thesourceDocumentpointer,export_job_artifact.storage_uri). The purge step (purge_db_copies) re-verifies each object against its database copy and only then drops the copy (export rows switch toobject_store); it is refused on thedbbackend. Re-running is a no-op (each step selects only rows it still has to do, so originals on another backend are re-copied), an interrupted run resumes fromapiome.document_migration_checkpoints(V405), andversions.content_stampis claimed in the same statement so rendered documents stay valid. A stored original that differs from the database copy is skipped (original-differs), never overwritten. Rate-limited (20 rows/s), 50-row batches, one worker by default (up to 4), one run at a time across instances (advisory lock). scripts/migrate_documents_to_store.py(--dry-run,--tenant,--purge-db-copies,--source,--rate,--batch-size,--workers; exit 0 / 1 failed rows / 2 refused or busy).POST /v1/ops/document-migration(platform admin) starts a step in the background (202;409 document-migration-running/document-migration-refused), andGET /v1/ops/document-migrationreports the run, its last report or error, the backend and every checkpoint.
Changed
revision_source.legacy_fileset(was private_legacy_fileset) is shared with the migration.
1.799.0 — 2026-11-21
Added
- Download the original file — OpenAPI 1.625.0 (COA-5.7, #7083):
GET /v1/versions/{tenant}/{project}/{version}/originalstreams the document an import stored for a revision (after the tenant's secret scrub) under its original file name;…/original/{part_path}streams one file of a stored set (…/originalis then the set's manifest).ETag: "<sha256 of the content>"andX-Apiome-Content-Sha256,If-None-Match→304, oneRange→206(416past the end),If-Range. A gzip-coded object is decoded into a spooled temporary file, so the digest and ranges are over the imported bytes.?redirect=presignedanswers302to a 5-minute presigned link when the store can sign one (s3) and the object is stored uncoded; otherwise the file streams. Errors carrydetail.code:404 original-not-stored,410 original-withheld(format_metadata.sourceWithheld),502 original-unreadable. A single document a pre-store import kept in a legacy column is served too. Permissionversions:view. Newapp/version_original.py(resolve, materialize,Range/ETaghelpers),app/version_original_routes.py,Database.get_version_original_facts. - Catalog item detail:
source.revisionId, the latest revision whose original the UI downloads.
Changed
DocumentStore.presign_getacceptscontent_dispositionandcontent_type; the S3 backend signs them asResponseContentDisposition/ResponseContentType.
1.798.0 — 2026-11-21
Added
- Diff and compatibility read stored documents — OpenAPI 1.624.0 (COA-5.6, #7082):
compatibility_engine.read_revision_openapi(version, tenant_slug, tenant_id)returns a revision's OpenAPI document from the rendered document cache (COA-5.5) as aRevisionOpenApi(spec,sha256,cache=hit|miss). A revision the cache cannot serve, or a render that fails through the cache, is generated directly byopenapi_for_revision, which raises what it always raised.same_document(a, b)compares rendered digests;document_cache_header(sides)builds the header value. X-Apiome-Document-Cacheresponse header onPOST /v1/diff/{tenant_slug}/classified(JSON and Markdown) andPOST /v1/versions/{tenant_slug}/{project_id}/compatibility(also on its 409 replies):base=hit, head=miss, plusprioron a transitive comparison (misswhen any earlier revision missed). Absent when the sides were compared as canonical models; an inline head is not listed.
Changed
- The classified diff, the compatibility check, the oasdiff compatibility evidence
(
POST …/compatibility/evidence) and the publish-time version changelog read every stored side, including each transitive baseline, throughread_revision_openapiinstead of generating it. A merge request's Changes tab calls the classified diff, so it is covered too. With a warm cache a diff issues no class, property or path query (tests/test_diff_document_cache_db.py). - A baseline whose rendered digest equals the head's is reported with no changes without classifying (classified diff, compatibility check, changelog).
- Classified diff output is unchanged:
tests/test_diff_document_cache.pychecks every case of the CTG-1.4 diff corpus (tests/fixtures/diff) through the route, before and after. - Canonical (mode-graded) comparisons already read their models through COA-5.4's per-worker model cache; unchanged.
- Not moved here (COA-5.14, #7090): merge preview/merge/rollback, publish prechecks and the other
openapi_for_revisioncallers.
1.797.0 — 2026-11-21
Added
- Rendered document cache for revisions — OpenAPI 1.623.0 (COA-5.5, #7081):
app.rendered_documents.rendered_document(revision, kind, tenant_id=…)returns a revision's generated document from the document store. It looks the document up inversion_documentsby (revision, role, content stamp, generator, generator version). On a miss it renders,puts the bytes, records them and returns them. Kinds:openapi(rolerendered_openapi, the bytesGET /v1/schemasends) andcanonical(rolerendered_canonical, the canonical model as JSON;Nonefor a revision without one).- An edit bumps
versions.content_stamp, so the next read renders again. The older row and object are left for the lifecycle job (COA-5.10). - The OpenAPI document names the project, which the stamp does not cover. The recorded generator
version is
<version>+<digest of the project's slug, description and metadata>, so a project change also misses. - A generator version bump (
OPENAPI_GENERATOR_VERSION,CANONICAL_GENERATOR_VERSION) changes the key; no row is deleted. - Renders are single-flight per key inside a worker. Two workers can render the same key at once; the result is one object and one row.
- The cache never fails a read: when the store or the tables cannot keep the document, the
rendered bytes are returned unrecorded (
rendered document not storedin the log). A row whose object is gone is rendered again. - Rendered documents are stored without a content coding, so the object's SHA-256 is the digest of the bytes served.
- An edit bumps
GET /v1/schema/{tenant}/{project}/{version}sendsETag: "<sha256>"andContent-Length, honorsIf-None-Match(weak comparison, lists and*) with304 Not Modified, and streams the stored bytes. A304for a frozen version is not counted as a download.- Publishing a version renders and stores its documents in a background task
(
warm_rendered_documents), so a published revision's first reader gets stored bytes. Database.get_properties_for_classes,get_rendered_document_context,find_version_document,set_version_documentandclear_spec_snapshot_content.get_version_by_slugsalso returnstenant_id.- apiome-db V404:
version_spec_snapshots.contentis nullable.
Changed
/v1/schemafor an unfrozen version reads the rendered document cache. The second request for an unchanged version issues no class, property or path query. The bytes are identical to the previous live generation (checked across the OpenAPI corpus intests/test_rendered_documents_db.py).- A freeze writes the snapshot bytes to the document store as the version's
frozen_schemaobject (store_frozen_schema). The row is written first, then the object, so a lost freeze race links nothing. WithAPIOME_DOCUMENT_STORE=s3orfilesystemthe row's bytes are then dropped and it keeps the metadata only (contentis NULL); withdb, or when the store write fails, the row keeps the bytes too. Unfreezing deletes the row and thefrozen_schemalink in one transaction. Snapshots frozen earlier are served from their row until COA-5.8 (#7084) moves them. - A frozen version whose bytes cannot be read answers
503from/v1/schema; it is never replaced by a newly generated document. - The class and property load for a render is one query per table
(
spec_snapshot.load_classes_and_properties), used by/v1/schema, the freeze andcompatibility_engine.openapi_for_revision.openapi_for_revisionitself still generates on every call; COA-5.6 (#7082) moves the diff family onto the cache.
1.796.0 — 2026-11-21
Added
- One reader for captured sources — OpenAPI 1.622.0 (COA-5.4, #7080):
app.revision_source.revision_source(db, store, tenant_id, version_id)returns the source an import captured for a revision (text, SHA-256 digest, format; for an archive, every file and the root). It reads the revision'soriginalfrom the document store first (version_documents→document_objects, gzip decoded) and the legacy columns second (format_metadata.sourceContent, thenversion_import_snapshots.source_text). It never raises: a missing object or an unreachable bucket falls back to the database text.attach_revision_source/source_from_rowcarry the source on a row for the row-shaped readers;has_revision_sourceanswers without reading the content.decomposed=Truealso returns the document an OpenAPI, Swagger or Arazzo worker import read. Model rebuilds leave it out, because such a revision is exported from its classes, paths and workflows; provenance uses it.CanonicalModelCache: parsed canonical models are kept per worker by source digest, least recently used first out, bounded byAPIOME_CANONICAL_MODEL_CACHE_ENTRIES(default 32) andAPIOME_CANONICAL_MODEL_CACHE_MAX_BYTES(default 16777216, the sum of the cached sources' sizes; a source over a quarter of it is not cached).0turns the cache off. Readers get a deep copy.tests/test_revision_source_readers.pyfails when a module other than the helper namessourceContentorsource_textin code. The import writers and the E1-6 repair job (source_backfill) are listed there with their known writes.
Changed
- Every reader of a captured source goes through the helper: export and public export
(
export_source), conversion (catalog_conversion), the catalog source download and detail (catalog_detail), lint evidence (format_adapter_evidence), compatibility (compatibility_modes.canonical_model_for_revision), OpenAPI upgrade, source provenance, the schema registry, catalog refresh and the catalog revision change report. WithAPIOME_DOCUMENT_STORE=s3orfilesystemthese no longer answersource-not-capturedfor a revision whose source is in the store. - Version queries no longer select the source text.
format_metadatacomes back withoutsourceContentfrom the catalog list and item (GET /v1/catalog/{tenant}and…/{item_id}),get_version_source_projection,get_public_version_source_projection,get_revision_source_row, the identity profile and suggestion queries and the schema registry lookups. Catalog rows gainsource_capturedandlatest_version_id; the item'ssource.has_contentis unchanged. Download the document withGET /v1/catalog/{tenant}/{item_id}/source. Database.get_import_snapshot_lineageno longer returnssource_text.- An item imported from an archive is rebuilt from its stored files. Its captured text (the
source download, a conversion's
source_textand source hash) is now the root file's text, not the base64 of the archive, so the conversion history of such an item shows the source as changed once.
1.795.0 — 2026-11-21
Added
- Every import stores its original in the document store — OpenAPI 1.621.0 (COA-5.3, #7079):
app.original_documentswrites the document an import read — the text after the tenant's secret scrub — throughapp.document_store, records it inapiome.document_objectsand links it to the revision inapiome.version_documentswith roleoriginal. An archive is oneoriginal_partrow per file plus a manifest (application/vnd.apiome.fileset-manifest+json) as theoriginal. Identical bytes reuse the object; a withheld source stores nothing and drops an earlier original of the revision.- Both import write points call it:
import_source_pipeline.persist_adapter_import(every in-process importer: catalog upload and re-upload, connectors, live refresh, schema registry, Backstage migration, lint-fix / upgrade / overlay revisions) andspec_import_engine._record_worker_import_snapshot(OpenAPI and Swagger through the apiome-ui worker: URL refresh, bulk and git import,apiome import, catalog conversion). The snapshot hook now also stores the original of an Arazzo document. POST /v1/tenants/{tenant_slug}/import-originals(imports:create) records the original of an import that ran outside the REST import job (the apiome-ui import wizard and repository file import). Only the revision's creator may call it, a revision keeps its first original, and the document passes the upload size, alias and depth limits.format_metadata.sourceDocumentholds the pointer (sha256,contentSha256,sizeBytes,mediaType,encoding,parts).APIOME_DOCUMENT_STORE_GZIP_MIN_BYTES(default 65536; 0 = off): originals of at least this size are stored gzip-coded, withdocument_objects.encoding = 'gzip'.Database.upsert_document_object,set_version_original_documents,clear_version_original_documentsandlist_version_original_documents.
- Both import write points call it:
Changed
- With
APIOME_DOCUMENT_STORE=s3orfilesystem, a new import no longer writesversion_import_snapshots.source_textorformat_metadata.sourceContent/sourceEncoding: the database keeps the pointer only. Withdb(the default) both are written as before. When the store write fails, the text is kept in the database under any backend. Readers of those columns move to the store in COA-5.4 (#7080). source_backfill.find_missing_source_revisionsno longer lists a revision whose source is in the document store.
1.794.0 — 2026-11-21
Added
- Revision content stamp and document object tables — OpenAPI 1.620.0 (COA-5.2, #7078):
apiome-db V403 adds
versions.content_stamp(BIGINT, catalog-only add — no rewrite ofversions),apiome.document_objects(one row per stored object, unique on(tenant_id, sha256); size, media type, encoding, backend, storage key,ref_count,verified_at) andapiome.version_documents(roleoriginal|original_part|rendered_openapi|rendered_canonical|frozen_schema, the object, the filesetpart_path, and for rendered roles thecontent_stamp,generatorandgenerator_version).- One trigger function,
apiome.bump_version_content_stamp(), bumps the stamp once per transaction on writes to classes, class properties and tags, library properties (every revision using one), paths, operations and their descriptions, parameters, request bodies, responses and contents, servers, security schemes, component pins, the canonical API model tables and the revision's own content columns. Reads, no-op updates,updated_at/canvas_metadata-only updates and the quality / search columns do not bump it. Database.get_version_content_stamp(version_record_id)reads it.tests/test_content_stamp_db.pyfails when a table referencing a revision's content has neither the trigger nor a listed reason.
- One trigger function,
GET /v1/versions/{tenant_slug}/{project_id}/{version_record_id}documents the stamp; no endpoint or schema changed.
1.793.0 — 2026-11-21
Added
- Document store SPI with S3, filesystem and database backends — OpenAPI 1.619.0 (COA-5.1,
#7077):
app.document_storeis one interface for immutable, content-addressed objects.DocumentStore.put(tenant_id, data | stream, media_type)returns anObjectRefkeyed by the SHA-256 of the bytes (a secondputof the same bytes writes nothing), withget,open_stream,head,exists,deleteandpresign_get(ttl)(S3 only). Keys are<prefix>/tenants/<tenant_id>/objects/sha256/<aa>/<hex>, so tenants never share a namespace.- Backends, chosen by
APIOME_DOCUMENT_STORE:db(default;apiome.document_store_blob, apiome-db V402, capped byAPIOME_DOCUMENT_STORE_DB_MAX_BYTES),s3(boto3; AWS, MinIO, Garage, Cloudflare R2, GCS interop; path-style or virtual-host; SSE-S3 / SSE-KMS; IAM role, environment or static keys; multipart upload above 16 MiB) andfilesystem(APIOME_DOCUMENT_STORE_PATH). - Settings:
APIOME_DOCUMENT_STORE,_BUCKET,_PREFIX(the storage folder, defaultapiome),_PATH,_REGION,_ENDPOINT_URL,_ADDRESSING_STYLE,_SSE,_KMS_KEY_ID,_ACCESS_KEY_ID,_SECRET_ACCESS_KEY,_PRESIGN_TTL_SECONDS,_DB_MAX_BYTESand_ALLOW_PRIVATE. The endpoint passes the SSRF guard;_ALLOW_PRIVATE=truelifts the address filter for this endpoint only (a store on a private network). - Streams are hashed while spooled to a temporary file (8 MiB in memory at most). Provider
errors are raised as
DocumentStoreErrorwith the access key and secret key redacted.
- Backends, chosen by
Changed
- Export artifacts above the DB threshold are stored (COA-5.1, #7077): the export artifact
store's object backend is implemented on the document store. An export larger than
APIOME_EXPORT_ARTIFACT_DB_MAX_BYTES(and withinAPIOME_EXPORT_ARTIFACT_MAX_BYTES) now succeeds whenAPIOME_DOCUMENT_STOREiss3orfilesystem; its row recordsbackend = object_storeand the object'sstorage_uri. Withdbit still fails withEXPORT_ARTIFACT_STORE_UNAVAILABLE, and the message names the setting. Deleting or reaping an artifact leaves the shared object in place until reference-counted cleanup (COA-5.10, #7086). - No endpoint or schema changed; the OpenAPI document changes in version only.
1.792.0 — 2026-11-21
Added
- Fixable Arazzo rules — OpenAPI 1.618.0 (GVM-4.5, #5880): three on-demand rules in
app.arazzo_fix_rules, registered in the rule catalogue (GET /v1/lint/rules) and never part of the default Arazzo lint:arazzo.step-id-suffix(rename, suffixes a repeatedstepId),arazzo.success-criteria-scaffold(fill-in, off by default; addssuccessCriteria: [{condition: "$statusCode == 200"}]from the 2xx response of the step's embedded OpenAPI source operation) andarazzo.version-marker-bump(structural,arazzo: 1.0.x→1.1.0when an asyncapi source,channelPathstep orquerystring/channelparameter is used).POST /v1/lint/fixes/planandbuild_fix_plannow plan an Arazzo document (recognised by itsarazzofield); the unified diff of such a plan is labelledarazzo.json. Each rule has a GVM-3.5 fixture;V401seeds the rules into the built-in style guide. The format-scoped ladder level test isxfailuntil GOV-3.2 (#4439).
1.791.0 — 2026-11-21
Added
- Arazzo 1.1 validation rules — OpenAPI 1.617.0 (GVM-4.4, #5879): the
arazzorule pack (app.arazzo_lint.ArazzoRulePack) gains twelveerrorrules, implemented inapp.arazzo_structure_rules:arazzo.runtime-expression-invalid(every$-expression parses against the Arazzo runtime-expression grammar,app.arazzo_expression_grammar, with the position where it stops),arazzo.success-criteria-context-required,arazzo.on-success-target-unresolved,arazzo.on-failure-target-unresolved,arazzo.component-ref-unresolved,arazzo.step-id-duplicate,arazzo.workflow-id-duplicate,arazzo.depends-on-cycle,arazzo.parameter-in-invalid(per the step's source type and version: 1.1 addsquerystring, andheader/channelfor an AsyncAPI step),arazzo.inputs-schema-invalid(JSON Schema 2020-12),arazzo.outputs-expression-invalid(a 1.1 output may be a selector object) andarazzo.source-description-type-invalid(app.arazzo_spec.SOURCE_TYPES_BY_VERSION;arazzo.async-source-before-1-1stays as its AsyncAPI-under-1.0 case). Each has a CLX-4.3 transparency entry and a corpus fixture;catalog/arazzo-compliant-1-1-workflowtrips nothing. V400 seeds them in the built-in style guide. aliasesonGET /v1/lint/rules: each rule lists the earlier ids that still match it (empty for every rule but one).
Changed
arzzo.unresolvable-operation-ref→arazzo.unresolvable-operation-ref: the operationRef rule is emitted under the corrected id. The old id is a registered alias (app.lint_rule_aliases): a style-guide row under it governs the rule (compilation andPUT /v1/style-guides/{tenant}/{guide}/rules, which stores the canonical id), a stored finding carrying it is re-scored as the renamed rule, and finding ids — which decisions and waivers match on — are hashed with the old id, so they do not change. The corpus fixture moved tocatalog/arazzo-unresolvable-operation-ref.- Corpus: Specmatic's
arazzo-1.1/16-specmatic-place-ordernow reportsarazzo.runtime-expression-invalidfor its runner-specific$specmatic.authparameter values; no other shipped Arazzo example changes.
1.790.0 — 2026-11-20
Changed
- Catalog ↔ Projects path parity for OpenAPI 3.2 and Arazzo — OpenAPI 1.616.0 (COA-4.2,
#7059): no endpoint changes. The Catalog normalizer (
app.openapi_normalizer) now reads the OpenAPI 3.2 constructs RC7 §3.2 built on the Projects path the same way the Projects importer does:- Streaming (OA3): each Media Type Object with an
itemSchemais recorded on the message'sextras.streamswith its stream kind (jsonl,json-seq,sse,sequential) and its element (aTypeRef, or the inline schema). Before, a streamed body had no payload at all. - Methods (OA4): a method declared twice on one path item (
getandadditionalOperations.GET) imports once — the first declaration, walked in the Projects order — and is listed on the model'sextras.duplicateMethods. Before, both imported under one key. A mixed-case token (Purge) is kept onextras.methodToken. - Tag hierarchy (OA5): a tag's first declaration wins (the last one did), a
parentnaming no declared tag is dropped, and every tag on aparentcycle becomes top-level; each repair is listed onextras.tagHierarchyIssues. Service descriptions also take the first declaration. $self(OA6):$refs resolve against a declared$self(newapp.openapi_self_references); a reference to another document is marked on itsTypeRefasextras.externalRef(before,common.yaml#/components/schemas/Partnerread as the localPartner) and listed onextras.externalReferences.rawand the preserved source keep the references as written.- Arazzo (AZ2): already resolved the same steps and sources; now asserted.
- Streaming (OA3): each Media Type Object with an
- Tests:
tests/test_catalog_projects_path_parity.pyimports the fixtures intests/golden/path_parity/on the Catalog path and compares a language-neutral projection withexpected.json;apiome-ui/tests/catalog-projects-path-parity.test.tscompares the Projects path with the same file. The storage differences left out of the projection are listed in it.
1.789.0 — 2026-11-20
Added
- Validators for the export targets that reported "not applicable" — OpenAPI 1.615.0 (COA-3.4,
#7055): no endpoint changes; the
ValidationVerdictdescription is updated. Every registered emit target except the internalsample-noopnow has an emitted-artifact validator (app.export_validation._VALIDATORS);tests/test_unvalidated_export_targets.pyfails if a new target is added without one. Of the 14 targets the RC7 audit listed, nine gained one in RC7 and WADL in MFX-29.3; this release adds the rest, plus the two agent targets:connectrpc:buf build, as forproto3(skipped, never passed, withoutbuf).cloudevents:app.cloudevents_spec_validationchecks the CloudEvents 1.0 core and JSON format rules (specversion, requiredid/source/type, attribute types, RFC 3339time,datavsdata_base64, extension names and values), then each event re-imports. A batch is re-imported event by event: the CloudEvents import source reads one event per document.xmlrpc:app.xmlrpc_spec_validationchecks the structure (methodCallwith onemethodNameofA-Z a-z 0-9 _ . : /) after a secure parse, then every value throughxmlrpc.client.loads, then a re-import.kafka-connect: the schemas andconnector.jsonre-import together through the Kafka Connect reader.a2a/mcp: each Agent Card against the vendored AgentCard schema, each MCP tool against the MCP Tool schema of the descriptor'smcpVersion, then a re-import.- Findings carry their rule as
keyword(cloudevents.required,xmlrpc.method-name,mcp.tool-schema,<format>.reimport…);TOOL_BY_TARGETnames each new validator.
Changed
- A target with no validator reads "Not validated": the
not_applicableverdict's reportheadlineis Not validated (was Not applicable) and itsmessagesays the export proceeded without an emitted-artifact check; theVALIDATION_NOT_APPLICABLEjob event and the dispatcher'sdetailsay the artifact was not validated. The enum value is unchanged.
Fixed
- XML-RPC
methodName: an operation name with characters XML-RPC does not allow (an agent skillBuild itinerary, an Agent Card URL) is written with each run of them as_(xmlrpc_emitter.xmlrpc_method_name); the rule pack's re-key verdict reports the rename. A legal name is unchanged.
1.788.0 — 2026-11-20
Fixed
- Re-import failures: wadl, asn1, asyncapi, postman, oncrpc, protobuf, connectrpc, corbaidl —
OpenAPI 1.614.0 (COA-3.3, #7054): no endpoint changes; the version moves with the export
changes below. Every cell of these eight targets in the round-trip matrix now re-imports, or the
target refuses the source up front (300 re-import failures across the matrix → 15, none in
these columns; ONC RPC passes 38 → 69).
- AsyncAPI: another format's
extrasare written only asx-extensions (AsyncApiEmitter.carried_extras); an AsyncAPI source's are written back as before. A$refto an undeclared scalar (bool,int32,decimal) is written inline fromCANONICAL_SCALAR_SCHEMAS(unknown-typeloss when it has no form); a component key outside^[A-Za-z0-9.\-_]+$is renamed and every reference follows (component_renames). toolchain/asyncapi-parse.mjs: a recursive schema dereferences to a cycle; the wrapper overflowed its stack. It now writes a$refto the named component at the cycle.SchemaEmitter(every JSON Schema target): a field name repeated in a record is listed once inrequired, and an enum value shared by two members is written once.- Protobuf / Connect RPC: packages are sanitized per segment (
_sanitize_package); a reference uses the qualified name its declaration is written under (_qualified_name); anALIASis written as its target and a declaredSCALARas its proto scalar; an undeclared name becomes the closest proto type (unmapped-type:decimal→string, date-time →Timestamp, elsegoogle.protobuf.Value); a non-message rpc payload becomes a wrapper orValue(wrapped-rpc-type); an illegal field number is renumbered (renumbered-field;FieldNumberAllocator(legal=…)); a repeated field name or JSON name is suffixed (renamed-field); a service named like a message or sub-package becomes<Name>Service(renamed-service); enum values sharing a number getallow_alias; a service in a named package imports the default package'sapi.proto. - ONC RPC: scalars map through the new
XDR_SCALAR_FOR_KIND; an undeclared name is written asstring/hyper/double/bool(unmapped-type).is_xdr_types_only(): a file ofstruct … };declarations only is ONC RPC (detected at confidence 0.6). - Refusals: new
"type"source requirement; ASN.1, CDDL, FlatBuffers and XSD require a type, WADL and RAML an HTTP operation or a type; Avro refuses an.avscexport of a typeless source (.avdlstill exports it).Emitter.raise_if_source_unsupported()refuses at emit time with thesource_unsupported_reasonsentence. - Tests:
tests/test_reimport_failures.py;tests/test_roundtrip_matrix.pygates the eight columns on no re-import failure. 165 cells moved from strict xfails to deliberate refusals (tests/roundtrip_unsupported.py), 31 xfails removed,ARAZZO_XFAIL_CEILING25 → 18.
- AsyncAPI: another format's
1.787.0 — 2026-11-20
Fixed
- IDL scalar names and Avro int64 narrowing — OpenAPI 1.613.0 (COA-3.2, #7053): no endpoint
changes; the version moves with the export changes below. Every canonical scalar spelling now
maps to the target's own type in the ASN.1, Avro, OMG IDL, FlatBuffers, TypeSpec, WSDL and XSD
exports, and a JSON Schema
integer/numberkeeps the width itsformatnames.app.scalar_aliases: new per-target kind tables (AVRO_,FLATBUFFERS_,ASN1_,TYPESPEC_,XSD_SCALAR_FOR_KIND),INTEGER_RANGE_FOR_KINDandformat_kind(). The TypeSpec and XSD tables moved here from their emitters.fixed32/fixed64are now unsigned (as in Protobuf), andblobandu8…u64are known spellings.- Avro:
integer+format: int64was written asint; it is nowlong(number+floatisfloat).fixed32/fixed64were written asstring; they arelong.void/nonearenull.uint64/fixed64,bigintand adecimalwith no precision are reported as approximated (warn,precision-narrowed):longholds values up to 2^63 − 1, anddoublerounds decimal digits. - FlatBuffers: a width
formatis read (int+int64was written asint,integer+int32aslong,number+floatasdouble).byteis now signed (byte, wasubyte).bigint→longanddecimal→doubleare reported asprecision-narrowed. - ASN.1:
integer+format: int32/int64is written with the width as a value range.byteis now signed (-128..127). - OMG IDL: a member of type
voidwas written asvoid f;, which no IDL compiler reads; it is left out and reported (void-member-dropped).blobissequence<octet>,fixed32/fixed64are unsigned. - TypeSpec:
bigint→integer,instant→utcDateTime,blob→bytes,none→null(all werestring). - XSD, WSDL:
bigint→xs:integer,instant→xs:dateTime,blob→xs:base64Binary(all werexs:string);fixed32/fixed64are unsigned. - Tests:
tests/test_idl_scalar_table.py— every canonical scalar × the seven targets, the kind tables, narrowing, and the all-scalars record compiled by each target's validator.
1.786.0 — 2026-11-20
Fixed
- Silent-loss ledger burn-down — OpenAPI 1.612.0 (COA-3.1, #7052): no endpoint changes; the
version moves with the export and fidelity changes below.
tests/export_conformance_ledger.pyheld 148 source → target pairs whose export reported no loss while a re-import showed drift. It is now empty: 145 pairs report their loss, 3 are fixed outright, and 16 pairs that counted asokonly because the file could not be read back now report theirs.app.conversion_verdicts(new): the verdicts a cross-format export shares — a paradigm change (APPROXon the root), a construct written under another key (DROPunder the source key,SYNTHunder the new one, bothinfo), source-format metadata the target has no field for (DROP,info), the title / identifier / namespace / version a target cannot hold or must invent, and agents and skills.- Fidelity reports (
GET /v1/export/.../targets, preview, jobs,export/preflight) now name these for a model imported from another format:- OpenAPI: the HTTP method and path an operation with no binding is placed on, a
synthesized
operationIdand default response, a service kept only as a tag (or dropped), the source format'sextrason operations, parameters, messages, types and fields, and a synthesizedinfo.version. A gateway import that carries its OpenAPI document (AWS API Gateway, Azure API Management) reports its metadata as read back only as vendor extensions. A model imported from OpenAPI, or authored as OpenAPI, reports nothing new. - AsyncAPI: a components-only document for a source with no operation or channel; an
AsyncAPI 2 source written as 3.x (
send/receive, named channels). - CloudEvents: every named type (
DROP); a placeholder event for a source with no publish or subscribe operation (critical). - GraphQL SDL: the root field an operation becomes, the root types, a placeholder
Query._, a type written under its bare name, an operation that maps to no root type. - JSON Type Definition, CDDL: a namespace-qualified type written under its bare name.
- Avro, Kafka Connect: a type written under its namespace-qualified name; the document's identifier and version.
- Protobuf, Connect RPC: service and method names coerced to protobuf identifiers.
- ONC RPC: every type, program and procedure filed under the first program's name; a type kind RPCL does not declare.
- XML-RPC: the one operation the
methodCallis written for; every other operation and every named type (DROP). - WIT: when nothing else is reported, the writer's renamed identifiers and its
synthesized package name and
typesinterface. - An operation whose verdict already says how it is reframed gets no second, re-key line.
- OpenAPI: the HTTP method and path an operation with no binding is placed on, a
synthesized
- Emitter fixes:
- GraphQL wrote only the types a root field reaches, so a source with no operations
exported as a placeholder
Queryalone. Every model type is now written. - ONC RPC wrote a struct only for a record imported from ONC RPC, numbered every
procedure
1, and wrote names as they were. Records are written as structs, procedures are numbered in order (after any number the source assigned), and names become identifiers. - OpenAPI did not write
requestBody.required. This also fixes the AWS API Gateway and Azure API Management exports, which are built on it. - Azure API Management wrote the server the importer derives from a
set-backend-servicepolicy into the definition'sservers.
- GraphQL wrote only the types a root field reaches, so a source with no operations
exported as a placeholder
- Tests:
tests/test_silent_loss_burn_down.py;SILENT_LOSS_CEILING = 0ratchet intests/test_export_conformance_matrix.py. 251 strict round-trip xfails removed fromtests/roundtrip_xfails.py(899 → 1,150 passing cells;ARAZZO_XFAIL_CEILING29 → 25). Conformance, round-trip, corpus-parity, projection and export-surface-parity goldens regenerated, with their CLI, UI and Browse copies.
1.785.0 — 2026-11-20
Added
- Fix corpus and regression gates (GVM-3.5, #5873): the scanner-evaluation corpus gains a
fixfixture kind. Every fixable rule has a one-defect fixture (before, expectedplan, expectedafter, expected classification) undertests/fixtures/scanner_evaluation/fix/, moved fromtests/fixtures/lint_fix/. CI gates: the rule is clean after the fix; no other finding changes; plan and apply are byte-stable twice; the classified diff is non-breaking (the four fixes the classifier reads as breaking are pinned with a reason and withheld by the plan); a fixable rule without a fixture failstest_every_fixable_rule_has_a_fixture. The corpus README's fixable table regenerates withscripts/generate_fix_corpus_readme.py. No REST change; OpenAPI is unchanged.
1.784.0 — 2026-11-20
Added
- Suggested lint fixes in CI summaries — OpenAPI 1.611.0 (GVM-3.4, #5872): a reviewer sees on
the pull request which lint failures are mechanical.
GET /v1/versions/{tenantSlug}/{projectId}/{versionId}/lint/gate?format=markdowngains a Suggested fixes section before Provenance: per rule the number ofreadyfixes, the fix class and a fenceddiffsnippet of the first hunk, the breaking and conflicting fixes left for a person, and the…/lint/fixes?format=patch/?format=overlaydownloads. The other gate formats are unchanged.- The API change check suite's
lintcomponent records the suggestions asevidence.fixSuggestions(ready,breaking,conflict,rules[],links), and the run'ssummary— the GNC-2.2 provider check run's summary — renders the same section, so the check on the pull request carries the fix count and links the patch. - Both plan the revision with the default options of
GET …/lint/fixes, so the counts match the linked patch byte for byte. A revision that is not OpenAPI 3.x has no section. app.lint_fix_suggestions(pure summary + Markdown renderer) andapp.lint_fix_routes.suggest_revision_fixes/fix_plan_links.
1.783.0 — 2026-11-20
Added
- Lint-fix plan, apply and Overlay rendering — OpenAPI 1.610.0 (GVM-3.2, #5870): fixes can
be inspected before they are applied and reproduced after, through one contract.
GET /v1/versions/{tenantSlug}/{projectId}/{versionId}/lint/fixesplans the fixes of a stored revision under its project's style guide;POST /v1/lint/fixes/planplans a posted YAML/JSON document (file mode, stateless) under the tenant's guide. Options:format(json/patch/overlay/diff),rules,includeRenames,operationIdTemplate.- Each entry is
{fixId, ruleId, fixClass, wireVisible, path, pointer, ops[], status}withstatusready,conflict(overlapping subtree; the outer node's fix wins and the loser names it inconflictsWith),breaking(the fix's own delta is breaking under the CTG classified diff; the classification is attached) orexcluded(reason:not-selected,guide-disabled,renames-not-included,opt-in-required). Plans are byte-identical across runs. POST …/lint/fixes/applywith{fixIds[] | rules[], reason}needsversions:editand an unpublished revision (409 lint-fix-version-published). It never edits the revision: the fixed document is imported as a new revision through the import pipeline, re-linted and its report stored with its fingerprint;format_metadata.source: lint-fix(with the fix ids) and theversion.lint_fix_appliedaudit row are written in one transaction, and the new revision is withdrawn if they cannot be (500 lint-fix-record-failed). A breaking fix is never applied (422 lint-fix-breaking).app.openapi_overlay.render_patch_overlayrenders JSON Patch operations as an Overlay 1.0 document thatapply_overlaysturns into the same document.Database.record_lint_fix_revisionwrites the provenance stamp and the audit row in one transaction.
1.782.0 — 2026-11-20
Added
- Fix capability on the lint rule SPI — OpenAPI 1.609.0 (GVM-3.1, #5869): a lint rule
reported a path and a message and nothing else, so every finding was repaired by hand. A rule
can now carry a deterministic fix, with no model involved.
GET /v1/lint/rulespublishes the fix capability of every rule:fixable, and for a fixable rulefixClass(structural/removal/fill-in/rename),wireVisible,fixScope(finding/document),fixDefaultand a one-linefixSummary.fixOwnersays who repairs a rule's findings:engine,agent(everydocumentationandsecurityrule and theexamplespack, whose repair invents meaning) orhuman.app.lint_engine.LintRulegainsfix,fix_class,wire_visible,fix_summary,fix_scopeandfix_default. A fix yields RFC 6902 operations for one finding;LintRule.plan_fixrefuses any operation outside the finding's JSON Pointer subtree unless the rule declared thedocumentscope (app.lint_fix).- Thirteen OpenAPI rules are fixable. Twelve are new and run on demand only: they are in
the catalog but not in the default lint, so no stored report, score, grade or report
fingerprint changes. They cover the 3.0 → 3.1 syntax moves (
nullable, schemaexample, booleanexclusiveMinimum/exclusiveMaximum), server URL trailing slash and scheme case, unused components,required: [], duplicate tags, a missingoperationId(from a template, default{method}{Path}), missingtags(off by default), andoperationIdand tag casing. The existingnaming.schema-pascal-casegains a rename fix that is wire-visible and off by default. - Each fixable rule has a fixture under
tests/fixtures/lint_fix/with its expected plan and post-fix document; a fixable rule without one fails the build.
Changed
- apiome-db V399 re-seeds the built-in "Apiome Recommended" style guide with the twelve new rule ids, so the seed matches the catalog.
1.781.0 — 2026-11-20
Added
$refhygiene: refresh, cycles and external-ref policy — OpenAPI 1.608.0 (COA-2.8, #7051): a project had no view of what its spec pulls from outside, or of when it was last fetched.GET /v1/projects/{tenant_slug}/{project_id}/references?version=…lists every external$refof the version's OpenAPI document, grouped by URL with every location. Each one carries its status (not-fetched/ok/changed/unreachable/blocked, with the reason), the last fetched digest and time, the pin and the last diff. The response also lists the document's circular internal references (cycles, each with a path round the loop) and the external-ref policy in force. It needsprojects:viewandimports:view.POST …/references/refresh({version?, urls?}) fetches the references now, under the tenant's external-ref policy, theremote_ref_resolution_allowedkill switch and the SSRF guard, bypassing the resolver cache. It compares each document with its pin, or with the previous snapshot when unpinned. A different digest ischanged, with a JSON Pointer diff (added/removed/changed, at most 200 rows, totals kept). A failed fetch keeps the previous snapshot. Writesproject.external_ref.changedandproject.external_refs.refreshedaudit rows. 422unknown-reference. Needsprojects:edit.PUT …/references/pin({url}) accepts the last fetched snapshot (409ref-not-fetched).DELETE …/references/pin?url=removes the pin (404ref-not-found).GET /v1/tenants/{tenant_slug}/governance/external-ref-policy(any member) andPUT(tenant administrators; access-audited asgovernance.external_ref_policy.update) read and set the REPO-3.9 policy (block/inline/proxy-fetch+ host allowlist), which had no API. Refusals: 422invalid-allowlist,allowlist-required.- Pure
app.openapi_ref_hygiene(external-ref grouping, Tarjan cycle groups, JSON diff) andapp.project_references. V398 addsapiome.project_external_refs(one row per project and URL).
1.780.0 — 2026-11-20
Added
- Overlay manager in Versions — OpenAPI 1.607.0 (COA-2.7, #7050): stored overlay chains could be
listed, uploaded and previewed, but not written, checked action by action, or applied.
POST /v1/versions/{tenant_slug}/{project_id}/{version_record_id}/overlays/previewrenders the chain with an unsaveddraftoverlay — appended, or in place ofreplace_overlay_id— and writes nothing (it works on a published revision too). 404overlay-not-foundfor an unknownreplace_overlay_id, 422overlay-draft-missingwhen it comes without a draft.POST …/overlays/applyimports the rendered document (exactly what the preview and an export render) as a new version of the same project, after the tenant's import quality gate, with the source version's recorded import options.version_labelis optional (a date/time label is minted). Refusals: 409overlay-chain-empty,overlay-no-changes,version-exists,QUALITY_POLICY_BLOCKED; 422overlay-apply-import-failed. Needsversions:view,imports:createandprojects:edit; writes aversion.overlays.appliedaudit row. The source revision and its chain are untouched.- Every overlay report (export jobs, verify, chain preview) carries
actions: one row per action with itskind(update/remove/copy,reffor a reusable action),matches(nodes the target selected),changesandstatus(applied/unmatched/invalid). - The chain preview (
GETandPOST …/overlays/preview) carriesdiff: one row per changed value withbefore/after(andbefore_present/after_present) andchanged_by, every overlay action that changed it in application order (per-value provenance), plusdraft.
Changed
- The spec upgrade assistant's apply and the overlay apply share
app.openapi_version_import(label choice, quality gate, import pipeline). No behaviour change.
1.779.0 — 2026-11-20
Added
- OpenAPI spec upgrade assistant — OpenAPI 1.606.0 (COA-2.6, #7049): a Swagger 2.0 or
OpenAPI 3.0 document had a downgrade path but no guided upgrade.
POST /v1/openapi-upgrade/{tenant_slug}/planplans an upgrade to3.0,3.1or3.2without writing anything. The source is a pasted document (document_text, JSON or YAML) or a project / catalog item version (project_id+version, default the latest; its captured source, or the rebuilt document of a decomposed OpenAPI import). The plan lists every change (hop, rule, pointer, before / after, areviewflag where the meaning may change), a count per rule, the upgraded document and aplan_digest.POST /v1/openapi-upgrade/{tenant_slug}/applyre-plans the version, refuses a changed source (409plan-stale), a version already at the target (409nothing-to-upgrade) and a taken label (409version-exists), runs the tenant's import quality gate, and imports the upgraded document as a new version of the same project or catalog item (anopenapi.upgrade.appliedaudit row).- Pure
app.openapi_upgrade(+openapi_upgrade_rules,openapi_upgrade_swagger2): 2.0 → 3.0 (servers, components,$refs, body / formData →requestBody, responsecontentand examples,collectionFormat→style/explode,x-nullable,discriminator,type: file, security schemes;x-extensions kept), 3.0 → 3.1 (nullable→ type arrays /anyOf, numeric exclusive bounds,example→examples), 3.1 → 3.2 (version string). 26 rules. Tests check that every changed object is listed, that the upgraded documents pass their meta-schema, and that a downgrade of the result matches the original on the construct corpus (3.0 and 3.1 documents, and the Swagger 2.0 petstore).
1.778.0 — 2026-11-20
Added
- OpenAPI 3.2 in Projects — OpenAPI 1.605.0 (COA-2.5, #7048): a project's paths could
carry the
QUERYmethod and custom methods, but the authoring API, the generated document and the viewers had no way to hold or show the tag hierarchy, streaming media types orin: querystringparameters.GET/PUT /v1/projects/{tenant_slug}/{project_id}/openapi-tagsread and replace the project's OpenAPI tag list (name,summary,description,parent,kind,externalDocs), kept on project metadata underx-apiome-tag-taxonomy(the list an OpenAPI import already fills).PUTrefuses a repeated name, aparentthat is the tag itself or is not listed, and aparentcycle (422invalid_tags, one message each), and a concurrent project change (409update_conflict). Newapp.openapi_project_tags.- Request- and response-body content types take
item_schema(defaultfalse): the stored class or inline schema is then the OpenAPI 3.2itemSchemaof a stream. New columnitem_schemaonshared_path_request_body_content/shared_path_response_content(V397), copied with a version's paths. - Shared parameters accept
in_location: "querystring"(V397 widens the CHECK); its schema is written undercontent(data.contentMediaType, defaultapplication/x-www-form-urlencoded). generate_openapi_spec(..., openapi_version="3.2.0")writesquery/additionalOperations,itemSchema,in: querystringand the tags'summary/parent/kindnatively. The default 3.1 document stays valid 3.1: QUERY and custom methods move to thex-apiome-query-operation/x-apiome-additional-operationsstashes (they were written asquery/reportkeys before), element schemas tox-apiome-item-schema, and querystring parameters and the 3.2 tag fields are left out. The tag list is written astags; it is no longer copied intoinfoorx-metadata.
Changed
- An operation's method must be an HTTP method token (RFC 9110
tchars, at most 50 characters):GET,QUERY,REPORT. A blank method or one with spaces or/is now a 422. - A shared parameter's
in_locationmust bepath,query,header,cookieorquerystring(422 otherwise; it was a database error). - QUERY and custom-method operations keep their request body in the generated document, as POST, PUT and PATCH do.
1.777.0 — 2026-11-20
Added
- Bundle and dereference options — OpenAPI 1.604.4 (COA-2.4, #7047): an OpenAPI export had
one shape (a bundled document with
$refintocomponents) and no user-facing choice.- New OpenAPI emit options
refs(bundledefault ·dereference·split) andref_cycles(keep-refdefault ·error), shown in Export studio and the Export dialog from the options schema, accepted by/export/{tenant}/document,/preview,/verifyand/jobs. app.openapi_ref_modes:dereferencereplaces every internal$refwith its expanded target (components kept, entries dereferenced; literal data such asexample/default/enumis never treated as a reference;$refsiblings kept). A circular reference is never expanded:keep-refkeeps the closing$refand records oneopenapi-dereference-cycleloss per cycle;errorrefuses the export (422). A dereference past 2,000,000 JSON values is refused.splitwrites the root pluspaths/<path>.jsonandcomponents/<section>/<name>.json(Swagger 2.0:definitions/) with relative$refs, safe unique file names; the job download is the multi-file zip.openapi_fileset_bundle: a root entry that is a whole-file$ref(a split layout) is inlined and every other reference to that file —$ref,discriminator.mapping,operationRef— becomes the internal pointer; URL$refs are left as written. The OpenAPI fileset import bundles a base whose$refs reach other members (references_fileset_members).- The vendored OpenAPI 3.1 meta-schema (2022-10-07) gains the Path Item
$refproperty the 3.1 specification defines (the COA-2.1 follow-up), so a split 3.1 root validates. - Tests: across the construct corpus at 3.0 / 3.1 / 3.2 / 2.0, a split export bundles back to
exactly the bundled document, a dereferenced one is stable through import, and neither adds a
meta-schema error to a valid document; cycles (self and mutual) for both policies
(
tests/test_openapi_ref_modes.py).
- New OpenAPI emit options
1.776.0 — 2026-11-20
Added
- JSON Schema dialect handling per document — OpenAPI 1.604.3 (COA-2.3, #7046): the
canonical path assumed every schema was draft 2020-12, and the 3.0 ⇄ 2020-12 rewrites on export
were silent.
app.openapi_schema_dialect: reads a document's dialect (jsonSchemaDialect, the 3.1 / 3.2 defaults, the OpenAPI 3.0 schema subset) and a schema's own$schema. Import keeps it in the preservation bag (schemaDialect);CanonicalSchemaProjection.source_dialectreports it.- Every schema rewrite between the 3.0 subset and 2020-12 is recorded: each rewritten object
gets an inferred provenance note (
record_schema_rewrites), and the unfaithful cases are losses —openapi-30-nullable-ref(3.0 ignorednullablebeside$ref) andopenapi-30-schema-dialect(a declared non-default dialect written at 3.0). - The 3.0 downgrade folds
anyOf: [X, {type: null}]back intoX+nullable: true, so an upgraded nullable 3.0 schema returns as it was. - Tests:
$dynamicRef/$dynamicAnchor/$anchorat 3.1, 3.2 and 3.0; every 3.0 document of the construct corpus goes 3.0 → 3.1 → 3.2 → 3.0 with every change recorded (tests/test_openapi_schema_dialect.py).
1.775.0 — 2026-11-20
Added
- Every OpenAPI version is validated against its meta-schema — OpenAPI 1.604.2 (COA-2.2, #7045):
openapi_validator.pybundled the 3.1 and 3.2 meta-schemas only, so 3.0 and Swagger 2.0 documents were never schema-validated and the 3.1.2 patch release had no explicit coverage.- Vendored the official OpenAPI 3.0 (
oas/3.0/schema/2021-09-28) and Swagger 2.0 schemas (JSON Schema draft-04, checked withDraft4Validator);validate_openapi_documentselects the schema from the declaredswagger/openapiversion. Invalid 3.0 and 2.0 documents fail with located errors; the 3.1.0 / 3.1.1 / 3.1.2 patch releases are covered by tests. has_meta_schemaandvalidation_status(validated/invalid/not_validated): a document no meta-schema covers is not validated, never reported valid (the RC7 rule).- The export round-trip now schema-checks the 3.0 and 2.0 downgrades (
schemaCheckedis true for them); the construct audit checks 3.0 too.
- Vendored the official OpenAPI 3.0 (
1.774.0 — 2026-11-20
Fixed
- OpenAPI constructs survive import → canonical → export — OpenAPI 1.604.1 (COA-2.1, #7044):
an OpenAPI 3.0 / 3.1 / 3.2 document normalized to the canonical model and emitted back to
OpenAPI silently lost every construct the model has no field for — callbacks, links, webhooks,
discriminator,allOf, examples,x-extensions,externalDocs, security requirements, non-schema components, path-item fields and$refs,$self,jsonSchemaDialect,$dynamicRef,itemSchema,in: querystringparameters — with no loss recorded. Catalog export to an OpenAPI target took that path.app.openapi_source_preservation: the OpenAPI normalizer now stores each source object verbatim in the owning entity'sextras["openapiSource"](document root and non-schema components on the API, the Operation Object on each operation, the Schema Object on each named type) with a digest of the entity as modelled. The emitter writes an unedited entity back verbatim; an edited one is emitted from the model plus the source fields the model has no place for, with anopenapi-edited-operation/-schema/-documentloss.- Version gates: a construct newer than the target is removed with an
openapi-3.1-only/openapi-3.2-onlyloss ($self,itemSchema,querystring, servername, responsesummary,webhooksat 3.0, …). A 3.0 source emitted as 3.1 / 3.2 has its schemas upgraded (nullable→ a"null"type, boolean exclusive bounds → numeric); a 3.1+ source emitted as 3.0 has the restored schemas downgraded (downgrade_remaining_schemas_30, and a newopenapi-30-ref-siblingsloss for keywords beside a$ref). Swagger 2.0 output recordsopenapi-swagger-2-source-constructs. - YAML dates in a source are written as their ISO 8601 text (
json_safe), so a restored document is always JSON-serializable. - The bag is excluded from both canonical fingerprints, the canonical diff and the corpus
snapshots (it is the same information as
raw), so stored fingerprints do not change. app.openapi_document_walk(structure-aware walk with kinds and RFC 6901 pointers) andapp.openapi_construct_audit(a 42-construct catalogue × 3.0 / 3.1 / 3.2, import → emit → re-import → emit, each occurrence preserved / reported / silent). The corpus (tests/fixtures/openapi_construct_corpus) holds the OpenAPI Initiative's 3.1 and 3.2 schema test documents and learn.openapis.org examples, plus one Apiome document per version; zero silent loss is a test. The matrix is published onreference/openapi-construct-matrix.md, generated byscripts/generate_openapi_construct_matrix_doc.pyand drift-tested.
1.773.0 — 2026-11-19
Added
- Run an Arazzo workflow against a target — OpenAPI 1.604.0 (COA-1.7, #7043):
POST /v1/workflows/{tenant_slug}/versions/{version_id}/workflows/{workflow_id}/runexecutes a stored workflow end to end against an ECA-1.2 verification target (a deployment or amocktarget) and returns a per-step report (ArazzoWorkflowRunResponse).app.arazzo_runtime_expression: runtime expressions ($statusCode,$url,$method,$request.*,$response.header.*,$response.body#/pointer,$inputs.*,$outputs.*,$steps.<id>.outputs.*,$components.*,{$…}templates) and success criteria (simplewith==/!=/</<=/>/>=/&&/||/!,regex,jsonpath;xpathreported as unsupported). Each criterion records its expected and actual values.app.arazzo_workflow_run: compiles the workflow into an ordered run (workflow-level andcomponentsparameters, request bodypayload+replacements, an implicit 2XX check for a step with no criteria) and followsend,goto(to a step) andretryactions (retryLimitdefault 1,retryAftercapped at 10 s, 100 step executions per run).- Safety is the CTG-4.3 model: a mutating step needs the target policy,
verification.allow_mutatingand aMutatingFixturenaming its operation (or the step, bycase_id); otherwise the whole run is refused before anything is sent (ok: false,refusals[]withmutating-method-blocked/mutating-fixture-missing). Unresolved steps, nested-workflow steps and inputs failing the workflow'sinputsschema are refused the same way. - Every executed run is recorded as ECA-1.3 evidence (runner
apiome-arazzo-runner, one operation per executed step, criteria as assertions);Database.get_arazzo_componentsreads the document'scomponents.
1.772.0 — 2026-11-19
Added
- Arazzo change reports and breaking-change depth — OpenAPI 1.603.0 (COA-1.6, #7042): no
endpoint shape changes; Arazzo revisions are graded by workflow rules.
app.arazzo_change_rules: 26 rules (arazzo.*) registered in the CTG classifier registry, for workflow inputs (required added, type changed, removed, schema changed, added, made optional — compared after following a$reftocomponents.inputs), workflow and step outputs, parameters (workflow, step andcomponents.parameters), success criteria,onSuccess/onFailure/successActions/failureActions, a step's target,dependsOn, request body, step order (a reorder is dangerous, a shift from an added or removed step is safe) and source descriptions (removed is breaking). A change no rule claims is breaking underctg.unclassified(fail-safe).ArazzoBreakingChangeClassifiergrades a modified workflow or step by those rules (the worst rule wins; the rationale lists each one) and reports source-description, component and referenced-input changes as unattributed findings.BreakingChangeClassifier.grades_classified_diff: Arazzo opts in, soPOST /v1/diff/{tenant_slug}/classified(apiome diff, the diff Action), the breaking publish guardrail and catalog revision change reports grade Arazzo revisions with these rules instead of their OpenAPI projection, with each change'srationale.
1.771.0 — 2026-11-19
Added
- Arazzo workflow records: REST, CLI and docs — OpenAPI 1.602.0 (COA-1.5, #7041): the
workflows and steps an Arazzo import persists (REPO-3.4, #2773) can be read one at a time.
GET /v1/workflows/{tenant_slug}/versions/{version_id}/workflows/{workflow_id}— one workflow by its ArazzoworkflowId(ArazzoWorkflowDetailResponse: the workflow, its revision and the document's declared sources).GET …/workflows/{workflow_id}/steps— its ordered steps with theiroperationRef/operationIdresolution state (ArazzoWorkflowStepsResponse), andGET …/steps/{step_id}— one step bystepId(ArazzoWorkflowStepOut). Unknown workflow or step ids are404.GET /v1/workflows/{tenant_slug}/catalog/{item_id}/revisions/{version_id}— the workflows of a named catalog revision;404when the revision belongs to another item.ArazzoWorkflowOut.step_resolution— each workflow's steps counted byresolution_status(additive; also on the existing version and catalog list routes).
1.770.0 — 2026-11-19
Fixed
- Arazzo round-trip and conformance corpus — OpenAPI 1.601.0 (COA-1.4, #7040): no endpoint
changes; the version moves with the import, export and fidelity changes below.
- Arazzo 1.1 import: a step whose only target is
channelPath(an AsyncAPI channel) is accepted instead of being rejected as naming nothing to invoke, and is classified asynchronous (app.arazzo_spec,STEP_TARGET_FIELDS). The step fieldschannelPath,action,correlationIdandtimeout, workflow-levelparametersand the document's$selfare kept in the canonical model and written back when a stored revision is exported;$selfhas no 1.0 spelling, so a 1.0 export leaves it out and records the loss. A workflow with only asummaryno longer gains a copy of it asdescription. - Arazzo export fidelity: for a non-Arazzo source the report now predicts the keys a re-import
gives (
{workflowId}#{stepId}): an operation whose key changes isdropunder the old key andsynthunder the new one, a step id two operations share is reported as not written, each service becomes a workflow (approx) or is not written (drop), and agents and skills aredrop. The writer and the report shareplanned_steps, so they cannot disagree. - Round-trip reconcile (
app.roundtrip_matrix.reconcile) pairs differences with findings by maximum bipartite matching instead of first fit, so a changed service no longer takes the onlydropa removed type of the same key needs; the lookup is indexed and the search iterative, so a large model reconciles in linear-logarithmic time without deep recursion. - Round-trip matrix: the Arazzo strict xfails fall from 166 to 29. 56 cells now pass (every
source → Arazzo cell that has operations), 81 deliberate export refusals are recorded as
unsupportedwith their reason (tests/roundtrip_unsupported.py, checked to still refuse), and each remaining xfail names its ticket (COA-3.1 #7052 or COA-3.3 #7054). - Conformance corpus: 14 Arazzo documents from the OpenAPI Initiative (1.0.0 examples, 1.1.0
schema fixtures), Redocly, Spectral and Specmatic join the corpus as
derivedentries, with canonical goldens andtests/test_arazzo_conformance_corpus.py(schema, import, rebuild equals source, lossless round trip) for 1.0 and 1.1, including$componentsreferences, runtime expressions,querystringparameters andchannelPath.
- Arazzo 1.1 import: a step whose only target is
1.769.0 — 2026-11-19
Added
- Arazzo workflow viewer reads — OpenAPI 1.600.0 (COA-1.3, #7039): the workflows REPO-3.4
persists (
api_workflows/api_workflow_steps, V225) are readable for the UI's new Workflows tab. Newarazzo-workflowstag, routerapp.arazzo_workflow_routes:GET /v1/workflows/{tenant_slug}/versions/{version_id}— a revision's workflows in declaration order, each with itsinputs/outputs, ordered steps (target kind, rawoperationRef/operationId,resolution_status/resolution_reason, parameters, success criteria,on_success/on_failureactions, outputs) and, for a resolved step, theoperationit calls (method, route, owning project and revision,project_publishable).GET /v1/workflows/{tenant_slug}/catalog/{item_id}— the same for a catalog item's latest revision (version_id: nulland no workflows when it has none).GET /v1/workflows/{tenant_slug}/operations/{path_operation_id}— one operation a step calls, with its linked parameters and declared responses, for the step drawer.- Each workflow lists the source descriptions its steps point into, with a status:
resolved(and the tier) ormissing(and the reason) from the COA-1.2 report on the revision'sformat_metadata.arazzoSources, orunknownfor a revision imported before that report. - All three are tenant-scoped; a malformed id is a 400, an id outside the tenant a 404. The
mapping is the pure
app.arazzo_workflow_view; the reads areDatabase.get_arazzo_source_context,get_arazzo_step_operationsandget_arazzo_operation_detail.
1.768.0 — 2026-11-19
Added
- Arazzo multi-file filesets — OpenAPI 1.599.0 (COA-1.2, #7038): an Arazzo workflow imports
together with the OpenAPI/AsyncAPI files its
sourceDescriptionsname.- Archive, bulk and repository intake: a workflow whose
sourceDescriptions[].urlvalues name sibling members is ranked as the fileset root, and those members are its dependencies rather than rival roots, so a zip offlow.arazzo.yamland two OpenAPI files no longer fails as "ambiguous"..arazzo.yaml/.arazzo.yml/.arazzo.jsonjoinarchive_intake._ROOT_CANDIDATE_SUFFIXES; the bulk/git reference scan (bulk_intake.member_references, used by the BLK-1.5 ticked-files closure) follows the workflow's source URLs. - New
app.arazzo_source_resolution: each source is resolved from the fileset, then the tenant's catalog (Database.find_arazzo_source_in_catalog: the spec imported from the same repository and branch at that path, or from exactly that URL), then remote through the new SSRF-guardedremote_ref_resolver.fetch_remote_documents(same guard, budgets and cache as remote$refs; only underoptions.resolve_remote_refsandremote_ref_resolution_allowed). Fetched documents joinresolvedSources, so the lint pack checks steps against them. - The import report: the job summary carries an
arazzo_sourcesblock (resolved,unresolved,by_tier,sources[],unresolved_sources[]with stable reason codesnot-in-fileset,relative-without-fileset,unparseable-member,invalid-source-description, or a remote-fetch reason such asresolution-disabled/blocked-by-ssrf-guard/fetch-failed), plusARAZZO_SOURCES_RESOLVED/ARAZZO_SOURCES_UNRESOLVEDevents; the stored revision records the same block onformat_metadata.arazzoSources.
- Archive, bulk and repository intake: a workflow whose
Changed
SpecImportOptions.resolve_remote_refsdocuments that it also governs Arazzo remote sources.
1.767.0 — 2026-11-19
Added
- Arazzo version option on the generated workflow endpoints — OpenAPI 1.598.0 (COA-1.1, #7037):
GET /v1/arazzo/{tenant_slug}/{project_slug}/{version_slug}andGET /v1/arazzo/{tenant_slug}/{project_slug}/{version_slug}/{class_name}take an optionalarazzo_versionquery parameter (any 1.0.x or 1.1.x version, for example1.1.0). The default stays1.0.1; any other value answers400and names the supported versions.app.arazzo_generator.generate_arazzo_spec/generate_class_arazzo_spectakearazzo_versionandsource_descriptionskeyword arguments, and the newresolve_generator_arazzo_versionapplies the export target's rule: an explicit version wins; otherwise1.1.0when a source description is AsyncAPI and1.0.1when none is; a 1.0.x request for an AsyncAPI-bearing document is rejected rather than downgraded.- The generated
info.descriptionnames the version actually written.
Changed
docs/ARAZZO_ENDPOINTS.md,docs/ARAZZO_QUICK_REFERENCE.md,docs/JSON_SCHEMA_ENDPOINTS.mdand the README describe Arazzo 1.0.x and 1.1.x instead of "Arazzo 1.0.1" only.
