Skip to content

MINOR: Bump trunk to 4.5.0-SNAPSHOT - #23125

Merged
AndrewJSchofield merged 6 commits into
apache:trunkfrom
Parkerhiphop:minor/bump-trunk-to-4.5.0
Aug 13, 2026
Merged

MINOR: Bump trunk to 4.5.0-SNAPSHOT#23125
AndrewJSchofield merged 6 commits into
apache:trunkfrom
Parkerhiphop:minor/bump-trunk-to-4.5.0

Conversation

@Parkerhiphop

@Parkerhiphop Parkerhiphop commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

As described in
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34840886#ReleaseProcess-CutBranches

This is the standard post-branch-cut bump after the 4.4 branch was
created. Trunk now tracks 4.5.0-SNAPSHOT.

Reviewers: Chia-Ping Tsai chia7712@gmail.com, Andrew Schofield
aschofield@confluent.io

@github-actions github-actions Bot added triage PRs from the community streams tools build Gradle build or GitHub Actions small Small PRs labels Aug 11, 2026
Comment thread .github/workflows/ci.yml
branches:
- 'trunk'
- '4.3'
- '4.4'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering whether the active branches 4.3 and 4.2 should be included

@Parkerhiphop Parkerhiphop Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing!

Yes. I checked the current supported releases and recent branch activity, and both 4.3 and 4.2 are still active maintenance branches.

I’ll include them in both push and pull_request so this workflow also runs for PRs and pushes targeting those branches.

@github-actions github-actions Bot removed the triage PRs from the community label Aug 11, 2026
@AndrewJSchofield

Copy link
Copy Markdown
Member

I think we need to update https://github.com/apache/kafka/blob/trunk/server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java too because LATEST_PRODUCTION should be IBP_4_4_IV2 I think.

@github-actions github-actions Bot added the core Kafka Broker label Aug 11, 2026
@Parkerhiphop

Copy link
Copy Markdown
Contributor Author

I think we need to update https://github.com/apache/kafka/blob/trunk/server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java too because LATEST_PRODUCTION should be IBP_4_4_IV2 I think.

Thanks for reviewing and pointing out.

I updated LATEST_PRODUCTION to IBP_4_4_IV2 and synced LATEST_STABLE_METADATA_VERSION in kafkatest.

Since IBP_4_4_IV2 was previously the latest enum value, I also added IBP_4_5_IV0 as the new unstable/testing metadata version for trunk and moved the unstable-version boundary comment accordingly. MetadataVersionTest passes locally.

@AndrewJSchofield AndrewJSchofield left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. A bunch of tests will need tweaking I think.

//

// New version for the Kafka 4.5.0 release.
IBP_4_5_IV0(34, "4.5", "IV0", false);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to add this one yet, just moving the comment tells the next MV author where to insert their new MV.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that makes sense. I originally added IBP_4_5_IV0 to keep the existing latestTesting() > LATEST_PRODUCTION invariant used by some tests. I removed it now and kept the unstable-version boundary comment after IBP_4_4_IV2 instead.

I also updated the affected tests to handle the temporary state where latestTesting() can equal LATEST_PRODUCTION.
MetadataVersionTest still verifies that latestTesting is unstable when it is newer than LATEST_PRODUCTION, and FormatterTest now skips unstable-release-version cases when no unstable MV exists. I also updated the expected share.version default to SV_2 since LATEST_PRODUCTION is now 4.4-IV2.

@github-actions github-actions Bot added the kraft label Aug 12, 2026

@AndrewJSchofield AndrewJSchofield left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for the PR.

@AndrewJSchofield
AndrewJSchofield merged commit 0656d96 into apache:trunk Aug 13, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions ci-approved core Kafka Broker kraft small Small PRs streams tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants