Fix #451: Support Spring Boot 4.0.x#452
Open
romanstrobl wants to merge 19 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates this multi-module library to align with the Spring Boot 4.x ecosystem by adjusting dependency versions and adapting Jackson/WebFlux integration to the newer stack.
Changes:
- Bump parent-managed Spring Boot version to 4.0.6.
- Migrate multiple modules/tests from
com.fasterxml.jackson.*totools.jackson.*APIs and adjust WebClient codec configuration accordingly. - Update REST client request header handling and a few test assertions for Spring 4/Spring Framework updates.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
pom.xml |
Bumps the managed Spring Boot dependency version to 4.0.6. |
rest-model-base/src/main/java/com/wultra/core/rest/model/base/response/ObjectResponse.java |
Adds JSON property ordering annotation to stabilize serialized field order. |
rest-model-base/pom.xml |
Adds a Jackson dependency to support new JSON annotations in the model module. |
rest-client-base/src/main/java/com/wultra/core/rest/client/base/DefaultRestClient.java |
Migrates Jackson/WebClient codec configuration and type handling for Spring Boot 4 compatibility. |
rest-client-base/src/main/java/com/wultra/core/rest/client/base/RestClientConfiguration.java |
Switches Jackson feature types to the relocated Jackson API surface. |
rest-client-base/src/test/java/com/wultra/core/rest/client/base/DefaultRestClientTest.java |
Updates tests to new Jackson exception types and header handling style. |
rest-client-base/pom.xml |
Adds relocated Jackson dependency and epoll transport classes required by Netty option usage. |
http-common/src/test/java/com/wultra/core/http/common/headers/UserAgentTest.java |
Migrates test JSON parsing to the relocated Jackson API surface. |
http-common/pom.xml |
Updates test Jackson dependency coordinates to relocated groupId. |
audit-base/src/main/java/com/wultra/core/audit/base/util/JsonUtil.java |
Migrates JSON serialization utilities to relocated Jackson APIs and a builder-based mapper. |
audit-base/pom.xml |
Updates Jackson dependency coordinates and removes the JavaTime datatype module dependency. |
Comments suppressed due to low confidence (1)
rest-client-base/src/main/java/com/wultra/core/rest/client/base/DefaultRestClient.java:110
- DefaultRestClient constructor signature changed from accepting Jackson Module to JacksonModule (tools.jackson.*). This is a breaking API change for library consumers passing standard Jackson modules; consider keeping a compatibility overload or clearly versioning/documenting the breaking change as part of the Spring Boot 4 migration.
* @param modules jackson modules
* @throws RestClientException Thrown in case client initialization fails.
*/
public DefaultRestClient(final RestClientConfiguration config, final JacksonModule... modules) throws RestClientException {
// Use WebClient configuration from the config constructor parameter
this.config = config;
this.modules = modules == null ? Collections.emptyList() : Arrays.asList(modules);
initializeWebClient();
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
banterCZ
reviewed
May 13, 2026
banterCZ
approved these changes
May 13, 2026
Member
banterCZ
left a comment
There was a problem hiding this comment.
May we please start writing Changelog.md as we have discussed? Just one line, that we are migrating to Spring Boot 4 and Jackson 3.
banterCZ
reviewed
May 13, 2026
michal-rozehnal-w
approved these changes
May 13, 2026
banterCZ
approved these changes
May 13, 2026
Member
banterCZ
left a comment
There was a problem hiding this comment.
Thanks for reflecting the comments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.