What a release contains
From the source model:version field is any string you choose — a git SHA, a semantic version tag, or a build number.
Tagging events with a release
Set therelease option in the SDK to attach events to a release:
- Python
- JavaScript / Node.js
<package>@<version> for semantic versioning. Sentry parses semver-formatted versions and stores major, minor, patch, revision, and prerelease columns for filtering and comparison.
Creating a release
You must explicitly create a release in Sentry before or shortly after deploying. There are three ways to do this:sentry-cli
API
CI/CD integration
Sentry provides official GitHub Actions and GitLab CI integrations. Example using GitHub Actions:Release health
Release health tracks crash-free rates and adoption across your user base. Sentry calculates:- Crash-free session rate — the percentage of sessions that did not end in a crash
- Crash-free user rate — the percentage of users who did not experience a crash
- Adoption — the percentage of your user base running each release version
release and environment.
Suspect commits
When an issue is first seen in a release that has associated commits, Sentry uses blame information to identify the commit most likely responsible for the regression. This appears on the issue detail page under Suspect Commits. To enable suspect commits:- Connect a source code integration (GitHub, GitLab, Bitbucket) in Organization Settings → Integrations.
- Associate commits when creating releases using
sentry-cli releases set-commitsor therefsfield in the API.
Source maps
For JavaScript projects, upload source maps when creating a release so that Sentry can display original (un-minified) stack frames:Release status
Releases have anopen or archived status: