Skip to content

Add Spring Boot 4 support#2787

Open
cretz wants to merge 2 commits intotemporalio:jackson-3from
cretz:spring-4-minimal
Open

Add Spring Boot 4 support#2787
cretz wants to merge 2 commits intotemporalio:jackson-3from
cretz:spring-4-minimal

Conversation

@cretz
Copy link
Contributor

@cretz cretz commented Feb 17, 2026

BEFORE MERGE:

What was changed

  • Updated Gradle build files and added CI test to ensure Spring 4 works
    • Did not have to change code
  • Updated MetricsScopeAutoConfiguration and OpenTracingAutoConfiguration to point to the newer Spring 4 class names
    • Also added test to that would have broken on Spring 4 without these changes

Leans on #2783 (since both are in same fork, hard to target it without forcing PR to be on the fork too, will update when other merged, for now ignore the Jackson 3 parts).

Checklist

  1. Closes Spring Boot 4 Support #2738
  2. Closes Spring Metrics Configuration fails with Spring Boot 4 #2758

@cretz cretz changed the title [DO NOT MERGE] Spring 4 tests [DO NOT MERGE] Spring 4 support Feb 18, 2026
@mjameswh mjameswh marked this pull request as ready for review March 24, 2026 17:48
@mjameswh mjameswh requested a review from a team as a code owner March 24, 2026 17:48
@mjameswh mjameswh changed the title [DO NOT MERGE] Spring 4 support Add Spring Boot 4 support Mar 24, 2026
@mjameswh mjameswh changed the base branch from master to jackson-3 March 24, 2026 17:49

- name: Start containerized server and dependencies
env:
TEMPORAL_CLI_VERSION: 1.6.1-server-1.31.0-151.0
Copy link
Contributor

Choose a reason for hiding this comment

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

[unrelated] Seems like removing this line is causing test flakes in Nexus tests, not sure why.

version = getVersionName()

subprojects {
apply plugin: "com.palantir.git-version"
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated, but this was causing Gradle error messages in my environment because jgit used internally by com.palantir.git-version doesn't know how to deal with Git worktrees. AFAICS, we're anyway relying on CLI calls to git, rather than use APIs provided by that plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring Metrics Configuration fails with Spring Boot 4 Spring Boot 4 Support

3 participants