A release in Sentry represents a specific version of your deployed code. By telling Sentry when you release new code, you can see which version introduced a bug, track how quickly users adopt updates, and monitor the health of each release over time.Documentation Index
Fetch the complete documentation index at: https://sentrydocs.dev/llms.txt
Use this file to discover all available pages before exploring further.
What releases give you
- Suspect commits — Sentry uses commit data to identify which code changes likely introduced an issue
- Issue attribution — you can see “this issue first appeared in version 2.4.1”
- Release health — track crash-free session and crash-free user rates per release
- Deployment notifications — notify your team when a new version ships to an environment
- Resolve in next release — mark an issue resolved and have Sentry automatically reopen it if it recurs in a later release
Creating a release
You can create releases via the Sentry CLI or the Sentry API. Most teams do this as part of their CI/CD pipeline.Using sentry-cli
$VERSION with your release identifier — a git SHA, tag, or semantic version string (e.g. 2.4.1 or abc123f).
Using the API
Configuring the SDK
Set therelease option when initializing the Sentry SDK so that all events captured include the release version:
Associating commits
Linking commits to a release is what powers suspect commit detection. When Sentry knows which files changed between releases, it can identify the commits most likely to have introduced a regression. To associate commits, you need to:- Connect your source code repository (GitHub, GitLab, Bitbucket, Azure DevOps) in Settings → Integrations
- Pass commit information when creating the release, either via
sentry-cli releases set-commitsor therefsfield in the API
Deploy notifications
A deploy records that a release was deployed to a specific environment. Creating a deploy triggers notifications to users who are subscribed to the repository’s commit activity.Release health
Release health gives you visibility into how stable each release is after deployment.Crash-free sessions
The percentage of user sessions that did not end in a crash. A session starts when your app launches and ends when it goes to the background or crashes.
Crash-free users
The percentage of unique users who did not experience a crash in the given release.