Skip to content

Upgrade to Spring Boot 4.0.5 / Spring Framework 7.x - #43

Merged
theanubhava merged 5 commits into
masterfrom
t/anubhava/W-22133858-spring7-upgrade
May 6, 2026
Merged

theanubhava merged 5 commits into
masterfrom
t/anubhava/W-22133858-spring7-upgrade

Conversation

@theanubhava

Copy link
Copy Markdown
Contributor
  • Bump version to 4.0.0-SNAPSHOT (major version for Spring 7 compat)
  • Upgrade Spring Boot starter from 3.3.8 to 4.0.5
  • Swap javax.annotation-api for jakarta.annotation-api 3.0.0
  • Upgrade Jackson to 2.21.0 (required by Spring Boot 4)
  • Add explicit jackson-datatype-jdk8 dependency
  • Upgrade Netty from 4.1.x to 4.2.10.Final (Spring Boot 4 requires Netty 4.2)
  • Upgrade Mockito to 5.14.2, JUnit to 5.11.4, Reactor to 3.7.6
  • Fix Spring 7 HttpHeaders API: entrySet() -> headerSet(), getRawStatusCode() -> getStatusCode().value()
  • Fix UriComponentsBuilder.fromHttpUrl() -> fromUriString()
  • Add find-and-replace executions to patch OpenAPI-generated code for Spring 7 compat
  • Add Maven Central direct repo for Jackson 2.21 resolution

anubhava.gupta and others added 2 commits April 21, 2026 12:43
- Bump version to 4.0.0-SNAPSHOT (major version for Spring 7 compat)
- Upgrade Spring Boot starter from 3.3.8 to 4.0.5
- Swap javax.annotation-api for jakarta.annotation-api 3.0.0
- Upgrade Jackson to 2.21.0 (required by Spring Boot 4)
- Add explicit jackson-datatype-jdk8 dependency
- Upgrade Netty from 4.1.x to 4.2.10.Final (Spring Boot 4 requires Netty 4.2)
- Upgrade Mockito to 5.14.2, JUnit to 5.11.4, Reactor to 3.7.6
- Fix Spring 7 HttpHeaders API: entrySet() -> headerSet(), getRawStatusCode() -> getStatusCode().value()
- Fix UriComponentsBuilder.fromHttpUrl() -> fromUriString()
- Add find-and-replace executions to patch OpenAPI-generated code for Spring 7 compat
- Add Maven Central direct repo for Jackson 2.21 resolution

Made-with: Cursor
@theanubhava
theanubhava requested review from jimjag and relango May 5, 2026 10:16
Comment thread pom.xml
Comment thread pom.xml
Comment thread pom.xml
@theanubhava
theanubhava requested review from Saransh-SF, dhagberg-sf and sarathm09 and removed request for sarathm09 May 5, 2026 18:44

@Saransh-SF Saransh-SF left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@theanubhava
theanubhava merged commit 8f9a210 into master May 6, 2026
2 checks passed
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.

3 participants