Skip to content

docs: Publish docs for a release branch before it is tagged, document upgrade guide release steps - #27917

Draft
alamb wants to merge 3 commits into
apache:mainfrom
alamb:alamb/release-guide-upgrade-guide-step
Draft

alamb wants to merge 3 commits into
apache:mainfrom
alamb:alamb/release-guide-upgrade-guide-step

Conversation

@alamb

@alamb alamb commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

After #27769 the upgrade guide on main only has the content for the version under development, and the guides for released versions are links to the versioned documentation. Keeping it that way needs manual steps for each release, and the release guide does not mention them.

The versioned documentation can only be built from a release tag, so the upgrade guide for a new release branch could not be linked (and so not removed from main) until the release was tagged.

What changes are included in this PR?

  • docs/scripts/build_versions.sh builds a version that has no tag yet from its release branch (such as branch-57 for 57.0.0).
  • dev/release/README.md documents the upgrade guide steps:
    • When bumping the version on main after creating the release branch: add the new version to versions.json as 57.0.0 (unreleased), replace its section in the upgrade guide with one for the next version, and link it under "Past Upgrade Guides".
    • When publishing the versioned documentation for the release: mark the entry as "preferred" and remove (unreleased).
    • For a minor or patch release: point the existing link to the new release.

What is the testing strategy for this PR?

I ran docs/scripts/build_versions.sh 56.9.0 locally (a version with no tag): it built the documentation from branch-56. The change is not tested through the GitHub workflow.

Are there any user-facing changes?

The version picker on the documentation site will list a release as (unreleased) from when its branch is created until it is released.

@github-actions github-actions Bot added documentation Improvements or additions to documentation development-process Related to development process of DataFusion core Core DataFusion crate labels Dec 1, 2026
alamb and others added 3 commits December 1, 2026 16:02
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@alamb
alamb force-pushed the alamb/release-guide-upgrade-guide-step branch from 3561d1e to b83a558 Compare December 1, 2026 21:03
@alamb alamb changed the title docs: Document how to update the upgrade guide in the release process docs: Publish docs for a release branch before it is tagged, document upgrade guide release steps Dec 1, 2026
@github-actions github-actions Bot removed the core Core DataFusion crate label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant