This document describes the process of releasing a new version of the Dependency-Track Frontend.
Patch releases (e.g. 5.0.1) ship bugfixes and security fixes off a release branch.
No new features, no breaking changes.
Important
Backport, don't forward-port. Merge the fix on main first, then cherry-pick onto the patch branch.
Direct commits on the patch branch are fine for fixes that no longer apply to main.
First patch in a series, branched from the GA tag:
git checkout -b 5.0.x 5.0.0
git push -u origin 5.0.xSubsequent patches:
git checkout 5.0.x
git pullVersions are set by the Release CI, so there is nothing to bump by hand.
Open one PR per backport against the patch branch, using the branch name backport-pr-<original-PR-number>:
git checkout -b backport-pr-1234 5.0.x
git cherry-pick -x -s <sha>Resolve any conflicts, then git cherry-pick --continue.
Tip
Claude Code users can run /backport <original-PR-number> [target-branch] to automate this step.
See .claude/skills/backport.
Localization files (src/i18n/locales/*.json) conflict easily, since keys are sorted and every
locale carries every key. Take only the keys the backported commit touches, and run
npm run prettier-fix to restore ordering.
Once CI is green on the patch branch, follow the Stable Version workflow below,
selecting the patch branch (e.g. 5.0.x) for the Branch parameter and the patch version
(e.g. 5.0.1) for Release version.
To release a new stable version such as 5.1.0:
- Ensure the current state in the target branch is ready to be released.
- Navigate to the Release CI workflow.
- Run the workflow with the following parameters:
- Branch: Select the branch to release from (e.g.
mainfor new releases,5.1.xfor bugfixes, see Patch Releases). - Release version: Specify a custom version (e.g.
5.1.0), or leave empty to use NPM's version bumping. - Version bump type: Select the bump type (e.g.
minorto bump5.0.0to5.1.0). Ignored when Release version was specified. - Dry run: Enable to test the release process without making any changes.
To release a prerelease such as 5.2.0-rc.1:
- Ensure the current state in the target branch is ready to be released.
- Navigate to the Release CI workflow.
- Run the workflow with the following parameters:
- Branch: Select the branch (usually
main). - Release version: Enter the prerelease version (e.g.
5.2.0-rc.1). - Version bump type: Leave empty.