# publicationState is removed and replaced by status

> Source: https://docs.strapi.io/cms/migration/v4-to-v5/breaking-changes/publication-state-removed

In Strapi 5, the `publicationState` parameter is replaced with `status`, which accepts `draft` and `published` values instead of `live` and `preview`.

In Strapi 5, the [Draft & Publish feature](/cms/features/draft-and-publish) has been reworked, and the Content API, including REST, GraphQL, and Document Service APIs accept a new `status` parameter.

This page is part of the [breaking changes database](/cms/migration/v4-to-v5/breaking-changes) and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.

- Is this breaking change affecting plugins? Yes
- Is this breaking change automatically handled by a codemod? Yes
  - Codemod: [entity-service-document-service](https://github.com/strapi/strapi/blob/develop/packages/utils/upgrade/resources/codemods/5.0.0/entity-service-document-service.code.ts)

## Breaking change description

**In Strapi v4**

`publicationState` is used and accepts the following values:

- `live` returns only published entries,
- `preview` returns both draft entries & published entries.

**In Strapi 5**

`status` is used and accepts the following values:

- `draft` returns the draft version of a document,
- `published` returns the published version of a document.

## Migration

This section regroups useful notes and procedures about the introduced breaking change.

### Notes

* There are no fallbacks to return by default the published version, and return the draft version if no published version is found.
* Additional information about how to use the new `status` parameter can be found in the [REST API](/cms/api/rest/status), [GraphQL API](/cms/api/graphql#status), and [Document Service API](/cms/api/document-service/status) documentation.

### Migration procedure

* API calls initiated from the front end (REST API, GraphQL API) that used `publicationState` need to be manually updated.
* If `publicationState` is used in your custom back-end code with the Entity Service API in Strapi v4, a codemod will automatically handle the change for Strapi 5 (see [Entity Service to Document Service migration reference](/cms/migration/v4-to-v5/additional-resources/from-entity-service-to-document-service) for additional details).
