+1 for the sb4-dev branch, easier to do this entirely in one place and then
note down the upgrade steps/PRs are needed for the upstream develop branch
and extract separate PRs to prepare the current develop branch for a future
switch to spring boot 4. When done we can remove that sb4-dev branch.

On Sun, Mar 1, 2026 at 7:44 PM VICTOR MANUEL ROMERO RODRIGUEZ <
[email protected]> wrote:

> Adam,
>
> I agree on doing the change after 6 months, we are considering that the
> Apache Fineract must be a reliable platform 7x24.
>
> But I think that the effort for having a "draft" version of that upgrade
> should occur before, because I have noticed that there are relevant
> changes, or maybe having a sb4-dev branch for that task?
>
> A quick comparison table about the "relevant changes"
>
> Change Category Spring Boot 3 Spring Boot 4 Migration Impact
> Java Baseline Java 17 minimum Java 17 minimum, Java 25 recommended Ensure
> JDK compatibility and remove older JDK APIs.
> Jakarta EE Jakarta EE 10 (mostly jakarta.* namespace) Jakarta EE 11 (full
> alignment) Third-party libraries must also align; javax.* is completely
> unsupported.
> Modularity Monolithic spring-boot-autoconfigure JAR Split into smaller,
> focused modules Requires updating dependencies to specific new starters,
> e.g., spring-boot-starter-webmvc.
> JSON Processing Jackson 2.x Jackson 3.x Requires updates to custom
> serializers/deserializers and potential package name changes (
> com.fasterxml.jackson packages moved).
> Testing Primarily JUnit 5 (limited JUnit 4 support) Only JUnit 5 (JUnit 4
> support removed) Legacy test suites built with JUnit 4 require
> refactoring.
> Observability Micrometer 1.x, OpenTelemetry integration Micrometer 2.x and
> first-class OpenTelemetry integration Easier setup for tracing and
> metrics, but may require adjusting existing observability configurations.
> Removed APIs Deprecated APIs from 2.x and 3.x lines present Deprecated
> classes/config keys removed Expect compile errors for code using outdated
> APIs (e.g., WebSecurityConfigurerAdapter is gone).
>
> El dom, 1 mar 2026 a las 3:37, Ádám Sághy (<[email protected]>)
> escribió:
>
>> Hi,
>>
>> I recommend waiting a few more months to reach at least six months from
>> the release date to ensure that most of the bugs and issues have been
>> identified and resolved.
>>
>> What do you think?
>>
>> Regards,
>> Adam
>>
>> > On Mar 1, 2026, at 10:14 AM, VICTOR MANUEL ROMERO RODRIGUEZ <
>> [email protected]> wrote:
>> >
>> > Hello Apache Fineract Community,
>> >
>> > How should we go for the upgrade to Java 25 and Spring 4.0?
>> >
>> > Upgrade to Java 25 first and then to upgrade Spring 4.0?
>> >
>> > or
>> >
>> > Upgrade to Spring 4.0 and then to upgrade to Java 25 ?
>> >
>> > Best Regards
>> >
>> > Victor
>>
>>

Reply via email to