---
title: "Get a newer version"
description: "Gelatin UI is in alpha. Items change often, and a new version can break your code. Take a newer version on a branch and review the diff."
url: https://gelatinui.com/docs/updates
markdown_url: https://gelatinui.com/docs/updates.md
docs_index: https://gelatinui.com/docs/llms.txt
prompt: "Read https://gelatinui.com/docs/updates.md. Then tell me that a newer version of a Gelatin UI item can break my code, and ask before you change anything. After my yes, on a new branch, add the item again with --overwrite, show me the diff, keep the edits I want, and fix the code that uses it. Done when the project builds and its checks pass."
---

> Docs index: https://gelatinui.com/docs/llms.txt

# Get a newer version

> Gelatin UI is in alpha. Items change often, and a new version can break your code. Take a newer version on a branch and review the diff.

Gelatin UI is in alpha: items change often, and a new version can break your code. The code you add is yours, and it never changes unless you add the item again.

There is no update check and no promise that a newer version fits your code. An item can rename a part, change a prop, or change how it looks in any version.

## Take a newer version

Do these steps in order.

### 1. Start a branch

Make a new branch, so you can look at the change and go back.

```bash
git switch -c update-dialog
```

### 2. Add the item again

The `--overwrite` flag replaces every file of the item, and the helpers it needs, with the newest version.

```bash
npx shadcn@latest add @gelatin-ui/dialog --overwrite
```

### 3. Review the diff

Read what changed. Put back the local edits that you want to keep.

```bash
git diff
```

### 4. Fix the code that uses it

Fix each place that uses a part or a prop that changed. Then build the project and run its checks.

## See what changed

The [changelog](https://gelatinui.com/changelog) lists what changed, by day and by item. You can also follow it as [JSON](https://gelatinui.com/changelog.json) or [RSS](https://gelatinui.com/changelog.xml). It is news: it does not say if a change fits your code.

## Next steps

- [Install the agent skill](https://gelatinui.com/docs/agent-skill.md): teach your agent our rules once.
- [Changelog](https://gelatinui.com/changelog): what changed, by day and by item.
