Releases
Compare releases
Read the release diff of a release, and see the commits, pull requests and activity behind each change.
On this page
Each release page compares the release with an earlier one that Patchbay picks for you. The result is the release diff, which shows one entry for each component and how it changed.
What a release compares with
Genesis is the first release of a project, so it has nothing to compare with. Later releases compare with the candidate before them or with their baseline, which is the latest promoted release of the project when the version started.
| Release | Compared with |
|---|---|
| Genesis | Nothing. Every component is Added. |
| The first candidate of a version | The baseline of the version. |
| A later candidate | The candidate before it in the same version. |
| A promoted release | The baseline of its version. |
The promotion preview also compares with the baseline, as Promote a release explains. The header of a promoted release names its baseline, and you can click the name to open that release.
Types of change
Each component on the release page has an icon that shows how it changed since the earlier release.
| Type | Meaning |
|---|---|
| Added | The component is in this release but not in the earlier one. |
| Removed | The component was in the earlier release but is removed from this one. |
| Updated | The files of the component changed between the two commits. |
| Unchanged | The files of the component are the same in both releases. |
Two notes can also show under a component when Patchbay could not compare it fully:
- Files not compared yet means that the commit moved but Patchbay did not read the files yet. The component counts as updated until a reload compares them.
- Branch no longer exists or Tag no longer exists means that the tracked ref was deleted. The release keeps the last commit saved before the deletion.
Monorepo components
A component has a root path, which for a monorepo folder is that folder, and Patchbay compares only the files under the root path. If the commit moved but no file under the root path changed, the component is Unchanged. The commits, pull requests and activity of the component also include only the commits that changed files under its root path.
As a result, two components in the same repository can share a commit and still show different types of change.
Commits and pull requests
The Digest section of a release page lists the commits between the two releases. Each row shows the author, the commit, the subject, the components it touched, its pull request and its date.
To group the commits another way, open the menu next to the section title and select a Group by value:
- Change type groups commits by rules that read the commit subject, for example features and fixes. See Release digest.
- Component groups commits by component, and a commit that touched several components shows under each of them.
To follow the pull requests of a release on GitHub, see Follow pull requests on GitHub.
Activity and code changes
The side panel of a release page shows two more views of the same changes:
- Activity counts the commits of the release over time. Markers show when the release was created and, for a promoted release, when it was released. Partial data shows when the chart does not include every commit.
- Code changes shows the lines added and removed for each component.
To open or close the side panel, click the panel button in the toolbar. You can also press Cmd+K (or Ctrl+K) and select Show details or Hide details.