Catch breaking changes in a new API version

Compare a new OpenAPI version with the project's contract, see what breaks and what it touches, and let verification decide it.

In short

Give {{brand}} a new OpenAPI version and it compares it with the project's contract: what breaks callers, what needs review and what is safe. It lists what the change touches, runs the affected suites, files one card, and keeps one timeline per endpoint and a changelog.

Before you start

Steps

  1. Open API Tester › "Watch" › "API changes" with a project open.
  2. Choose "Try a sample change". The sandbox bookstore's version 1 becomes the contract and its version 2 is compared with it.
  3. Open the change: a removed field and a newly required one break callers, and a deprecated parameter gets a sunset.
  4. Mark it verified, or dismiss the version.
  1. Choose "Compare a new version".
  2. Upload an OpenAPI 3 or Swagger 2 file, or give the document's address.
  3. Open the change and read its verdict and what it touches.

Result: the change is classified, and what it touches is listed and acted on by itself.

What happens next by itself

One timeline per endpoint

In a change, choose "Timeline" beside an endpoint. It lists every change that touched it, oldest first. Each change shows when it was detected and how it was classified, what it touched, and the before and after. It also shows each verification and reviewer's decision with its evidence, the card, who decided, and the deprecation marks with their reminders. Under "More", export it as Markdown or CSV.

Changes seen in runs

"Seen in runs" lists what runs and monitor checks saw change in an endpoint, without a new API document: a field that appeared or went away, a new status code, a slower response. It shows the open project, or every project when none is open. Accept a change to make it the endpoint's new baseline, or ignore it. When some wait, the changes list says how many and "Review them" opens them.

The changelog and deprecations

"Changelog" lists every version that became the contract, newest first. Each is sorted for the people who call the API: breaking changes, changes to check, added, deprecated, and the notes on how to update. Export it as Markdown for a release note. When a breaking change is verified, the people who depend on the API are told.

"Deprecations" lists the endpoints and fields on their way out. Mark one with the day it stops working, or let the API document mark it with its deprecated flag and an x-sunset date. A run that still uses it gets a warning, and the people who depend on it are reminded 30, 7 and 1 days before, and on the day.

Good to know

If something goes wrong

Related