Skip to content

chore(deps): Upgrade to Spring Boot 4#129

Open
lukaszgyg wants to merge 2 commits into
microcks:mainfrom
lukaszgyg:dependabot/maven/org.springframework.boot-spring-boot-starter-parent-4.0.5
Open

chore(deps): Upgrade to Spring Boot 4#129
lukaszgyg wants to merge 2 commits into
microcks:mainfrom
lukaszgyg:dependabot/maven/org.springframework.boot-spring-boot-starter-parent-4.0.5

Conversation

@lukaszgyg
Copy link
Copy Markdown

@lukaszgyg lukaszgyg commented Mar 31, 2026

Description

  • Migrate Jackson imports from com.fasterxml.jackson to tools.jackson (Jackson 3 new package)
  • Use immutable JsonMapper.builder() API (Jackson 3 removes mutable ObjectMapper configuration)
  • Upgrade Testcontainers to 2.x (testcontainers-kafka, ConfluentKafkaContainer)
  • Replace spring-kafka with spring-boot-starter-kafka (Kafka auto-config extracted in Spring Boot 4)
  • Add jackson-databind 2.x for Kafka client backward compatibility
  • Align JUnit versions with Spring Boot BOM, remove unused junit-vintage-engine

Related issue(s)

Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.4.7 to 4.0.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.4.7...v4.0.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-version: 4.0.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions
Copy link
Copy Markdown

👋 @lukaszgyg

Welcome to the Microcks community! 💖

Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly.

Hope you have a great time there!

  - Migrate Jackson imports from com.fasterxml.jackson to tools.jackson
    (except annotations which stay in the old package per Jackson 3 guide)
  - Use immutable JsonMapper.builder() instead of new ObjectMapper()
  - Upgrade Testcontainers to 2.x artifact names (testcontainers-kafka, etc.)
  - Use ConfluentKafkaContainer from new org.testcontainers.kafka package
  - Replace spring-kafka with spring-boot-starter-kafka (extracted in SB4)
  - Add Jackson 2.x databind for Kafka client backward compatibility
  - Align JUnit versions with Spring Boot BOM (remove pinned 1.11.4/5.11.4)
  - Remove unused junit-vintage-engine dependency

Signed-off-by: lukaszgyg <lukasz.luszczynski@getyourguide.com>
@lukaszgyg lukaszgyg force-pushed the dependabot/maven/org.springframework.boot-spring-boot-starter-parent-4.0.5 branch from 9f4203a to d65a577 Compare March 31, 2026 19:53
@lukaszgyg lukaszgyg changed the title Upgrade to Spring Boot 4 chore(deps): Upgrade to Spring Boot 4 Mar 31, 2026
@lukaszgyg lukaszgyg marked this pull request as ready for review March 31, 2026 19:55
Comment thread pom.xml
<scope>test</scope>
</dependency>

<!-- Don't know why this is needed by IntelliJ -->
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Tested on my IntelliJ :-)

Comment thread pom.xml
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@lukaszgyg
Copy link
Copy Markdown
Author

@lbroudoux can you please have a look?
Or what is the PR review process to follow?

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.

1 participant