| [ Web Proxy ] |
| Viewing: https://changesets.dev/faq | [Back] [Original] |
Check the guide to learn more about Changesets.
A changeset is a Markdown file with YAML frontmatter. The contents of the Markdown is the change summary which will be written to the changelog and the YAML frontmatter describes the packages that have changed and their respective semver bump types.
They typically look like this:
---
"pkg-a": minor
"pkg-b": patch
---
Summary of the changeNo! Since a changeset describes how a change should be released, changes that don't require a release do not need a changeset.
Run the CLI to generate a changeset:
$ pnpm changeset$ npx @changesets/cli$ yarn changesetAnd follow the prompts:
If the project has multiple packages, select the packages you want to include.
Select the appropriate semver bump type for each selected package.
Provide a message to go alongside the changeset. This will be written into the changelog when the next release occurs.
While not every changeset is going to need a huge amount of detail, a good idea of what should be in a changeset is:
A new changeset file will be created in the .changeset folder. Once you are happy with the changeset, commit the file to your branch.
Yes! Changesets are designed to stack, so there's no problem with adding multiple. You might want to add more than one changeset when:
Yes! You can edit the file name, Markdown summary, and YAML frontmatter package names and bump types after they're created or committed. The file name uses random human readable names by default to avoid collisions, but there's no harm in renaming them.
You can also delete them if you feel the changeset is not needed for a previous change as long as it has not been released yet.
When changeset version is run, all changeset files are removed. This is so we only ever use a changeset once. This makes the .changeset folder a very bad place to store any other information.
Last updated:
2026 Changesets (bed4581)
| Web Proxy Viewer | New URL | Original Page |