Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Conversation

@j-sandy
Copy link
Contributor

@j-sandy j-sandy commented Mar 10, 2025

Upgrading spring boot 2.7.18 to 3.0.13 and spring cloud 2021.0.8 to 2022.0.5. Spring cloud release 2022.0.x is compatible with spring boot 3.0.x.
https://github.com/spring-cloud/spring-cloud-release/wiki/Supported-Versions#supported-releases

Removing bean of WebSecurityConfigurerAdapter, as in spring security 6.0 it is no more required.
spring-projects/spring-security#11923 https://www.baeldung.com/spring-security-migrate-5-to-6#2-websecurityconfigureradapter

===============================================================================================

refactor(dependency): replace javax with jakarta during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with javax to jakarta.

===============================================================================================

refactor(dependency): migrate rxjava to rxjava3 during upgrade of spring boot 3.0.x

Spring boot 3.x deprecated and removed rxjava, and rxjava3 has been added. So, update the dependency.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#rxjava

And refactored the code to accomodate changes required by rxjava2 and rxjava3 following the changelogs.
https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0 https://github.com/ReactiveX/RxJava/wiki/What%27s-different-in-3.0

================================================================================================

refactor(util): replace SocketUtils with TestSocketUtils during upgrade of spring boot 3.0.x

org.springframework.util.SocketUtils has been deprecated in spring framework 5.3.x and removed from 6.0. org.springframework.test.util.TestSocketUtils has been introduced as a replacement of SocketUtils.

spring-projects/spring-framework#28052
spring-projects/spring-framework#28210

… cloud from 2021.0.x to 2022.0.x

Upgrading spring boot 2.7.18 to 3.0.13 and spring cloud 2021.0.8 to 2022.0.5.
Spring cloud release 2022.0.x is compatible with spring boot 3.0.x.
https://github.com/spring-cloud/spring-cloud-release/wiki/Supported-Versions#supported-releases

Removing bean of WebSecurityConfigurerAdapter, as in spring security 6.0 it is no more required.
spring-projects/spring-security#11923
https://www.baeldung.com/spring-security-migrate-5-to-6#2-websecurityconfigureradapter

===============================================================================================

refactor(dependency): replace javax with jakarta during upgrade of spring boot 3.0.x

Spring Boot 3.0 has migrated from Java EE to Jakarta EE APIs for all dependencies.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes#third-party-library-upgrades
So, replacing the imports with `javax` to `jakarta`.

===============================================================================================

refactor(dependency): migrate rxjava to rxjava3 during upgrade of spring boot 3.0.x

Spring boot 3.x deprecated and removed rxjava, and rxjava3 has been added. So, update the dependency.
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#rxjava

And refactored the code to accomodate changes required by rxjava2 and rxjava3 following the changelogs.
https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0
https://github.com/ReactiveX/RxJava/wiki/What%27s-different-in-3.0

================================================================================================

refactor(util): replace SocketUtils with TestSocketUtils during upgrade of spring boot 3.0.x

`org.springframework.util.SocketUtils` has been deprecated in spring framework 5.3.x and removed from 6.0.
`org.springframework.test.util.TestSocketUtils` has been introduced as a replacement of `SocketUtils`.

spring-projects/spring-framework#28052
spring-projects/spring-framework#28210
@dbyron-sf dbyron-sf closed this Oct 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants