docs/source/contributor-guide/release_management.md
This page describes DataFusion release branches and backports. For the
maintainer release guide, including release candidate artifacts, voting, and
publication, see the release process README in dev/release.
DataFusion typically has a major release about once per month, including breaking API changes. Patch releases are made on an ad hoc basis, but we try to avoid them because major releases are frequent.
New development happens on the main branch. Releases are made from release
branches named branch-NN, such as branch-50 for the 50.x.y release
series.
In general:
main]branch-NNChanges reach a release branch in one of two ways:
main and then backport the merged change to the release branchmainReleases are coordinated in a GitHub issue, such as the release issue for 50.3.0. If you think a fix should be included in a patch release, discuss it on the relevant tracking issue first. You can also open the backport PR first and then link it from the tracking issue.
To prepare for a new release series, maintainers:
main, such as branch-50, in the Apache repositorymainThe usual workflow is:
main first, and merge the fix via a normal PR workflow.To backport a change, gather the following information:
apache/branch-52Start from the target release branch, create a dedicated backport branch, and
use git cherry-pick. For example, to backport PR #1234 to branch-52 when
the commit SHA is abc123, run:
git checkout apache/branch-52
git checkout -b alamb/backport_1234
git cherry-pick abc123
Run tests as described in the testing documentation.
Create a PR against the release branch, not main, and prefix it with
[branch-NN] to show which release branch the backport targets. For example:
[branch-52] fix: validate inter-file ordering in eq_properties() (#20329)Use a PR description that links the tracking issue, original PR, and target branch, for example:
- Part of <tracking-issue-url>
- Closes <backport-issue-url> on <branch-name>
This PR:
- Backports <original-pr-url> from @<author> to the <branch-name> line