# Migrations

Audience: Developer

Migration guides for breaking changes in the Pyck API

This section contains migration guides for breaking changes in the Pyck GraphQL API. Each guide explains what changed, why it changed, and provides step-by-step instructions for updating your code.

## Available migration guides

| Guide | Description |
|-------|-------------|
| [Relay Connections](https://docs.pyck.cloud/dev/developers/migrations/relay-connections.md) | All entity relationship fields now return Relay-style Connection objects |
| [InventoryItem Data Field](https://docs.pyck.cloud/dev/developers/migrations/inventory-item-data-field.md) | The inventoryJSONData field has been removed in favor of the unified data field |

## General migration tips

1. Always apply migrations to your development environment before production.
2. When multiple breaking changes are introduced, migrate one change at a time.
3. Before you update your queries, use GraphQL introspection to verify the new schema structure.
4. Check that your GraphQL client libraries are compatible with the new schema.
5. After you deploy migrated code, monitor your application for GraphQL errors.

## Getting help

If you encounter issues during migration:

- Check the specific migration guide for troubleshooting tips
- Review the [GraphQL Error Handling](https://docs.pyck.cloud/dev/developers/error-handling.md) documentation
- Consult the [GraphQL Getting Started](https://docs.pyck.cloud/dev/developers/getting-started.md) guide for basics
