Developers

Search the docs

Search guides and headings.

Versioning

How the version in the path works, what counts as a breaking change, and how long an old version keeps working.

View as Markdown

You will know what can change under you, what cannot, and how much warning you get.

The version is in the path#

Every path starts with a product and a version.

text
/meals/v1/...
/care/v1/...
/developer/v1/...

Each product moves on its own. A new /care/v2 does not move /meals/v1.

Not breaking#

These ship into v1 at any time:

  • A new endpoint.
  • A new optional input.
  • A new field in an answer.
  • A new event type.
  • A new error code for a new failure.

Write your code to ignore fields and event types it does not know. Do not fail on an unknown enum value, and do not reject an answer for having an extra field.

Breaking#

These ship only in a new version, so they never change under v1:

  • Removing or renaming a field.
  • Changing the type of a field.
  • Making an input required.
  • Changing what a status or an error code means.
  • Changing the default sort or the default page size.

When a new version ships#

When v2 of a product ships, its v1 keeps working for at least six months.

  • Nurish'd tells you by email and in the changelog.
  • Every v1 answer then carries a Deprecation header with the end date.
  • You move when you are ready, inside the six months.
http
HTTP/1.1 200 OK
Deprecation: Wed, 30 Jun 2027 00:00:00 GMT

The date above is an example. Log the header when you see it, and alert on it so a deprecation does not surprise you.

Next#