---
title: Versioning
description: How the version in the path works, what counts as a breaking change, and how long an old version keeps working.
section: Core concepts
order: 6
---

# Versioning

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](/docs/resources/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

- [Changelog](/docs/resources/changelog): what has shipped.
- [Errors](/docs/concepts/errors): unknown codes and how to handle them.
- [API reference](/reference): the current operations.
