Skip to content
Gelatin UIAlpha

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.

Stay up to date · step 1 of 1 · 2 min read

Prompt for your agent

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.

Your agent reads /docs/updates.md: the same text as this page, as Markdown.

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.

2. Add the item again

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

3. Review the diff

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

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 lists what changed, by day and by item. You can also follow it as JSON or RSS. It is news: it does not say if a change fits your code.

Next steps