Latitude 10 docs

Breaking changes

Each version you push is compared with the version before it. Every change found has a kind and a level: breaking, warning or information. The version's diff lists them, breaking changes first.

Breaking

KindWhat changed
operation-removedAn operation (a method and a path) is gone, and no new operation has its operationId.
operation-movedAn operation’s method or path changed. It’s matched to the old one by its operationId.
parameter-removedA parameter an operation took is gone.
parameter-became-requiredAn optional parameter is now required.
required-parameter-addedAn operation has a new parameter, and it’s required.
request-body-became-requiredAn operation’s request body is now required.
response-property-removedA property is gone from a JSON success response.
response-property-type-changedA JSON success response, or a property in it, has a different type.
response-enum-value-addedAn enum in a JSON success response has a new value, which clients may not handle.
request-enum-value-removedAn enum in a parameter or a JSON request body lost a value clients may still send.
success-response-removedA 2xx response an operation had is gone.
security-requirement-addedAn operation’s security asks for a scheme that a client meeting the old requirement doesn’t have. A new alternative breaks nobody.
security-scheme-changedA security scheme an operation uses changed its type, location, name, scheme, bearer format or flows.
server-url-removedA URL in servers is gone.

Warnings

KindWhat changed
operation-id-changedAn operation’s operationId changed, so agents see a new tool name.
description-removedAn operation or a parameter lost its description.
operation-deprecatedAn operation is now marked deprecated.

Information

KindWhat changed
operation-addedA new operation.
optional-parameter-addedAn operation has a new optional parameter.
response-property-addedA JSON success response has a new property.

In CI

The GitHub Action's fail-on-breaking input, off by default, fails the job when the diff has a breaking change.

Where this comes from

  • app/registry/_lib/diff.ts
  • tests/fixtures/registry/diff/
  • app/registry/_lib/ci.ts