rewrite-spring icon indicating copy to clipboard operation
rewrite-spring copied to clipboard

Deprecations in Spring Boot 2.3

Open fabapp2 opened this issue 3 years ago • 1 comments

Spring Boot 2.5 Release Notes

Reflecting the Spring Boot release compatibility policy, code deprecated in Spring Boot 2.3 has been removed in Spring Boot 2.5. Code deprecated in Spring Boot 2.4 remains in place, and is scheduled for removal in Spring Boot 2.6.

This recipe must run before the Spring Boot dependencies are upgraded from 2.4 to 2.5!

The deprecations in 2.3 are removed in 2.5. So before upgrading to 2.5 all deprecations must be replaced.

Spring Boot 2.5 Release Notes

Reflecting the Spring Boot release compatibility policy, code deprecated in Spring Boot 2.3 has been removed in Spring Boot 2.5. Code deprecated in Spring Boot 2.4 remains in place, and is scheduled for removal in Spring Boot 2.6.

This recipe must run before the Spring Boot dependencies are upgraded from 2.4 to 2.5!

The deprecations in 2.3 are removed in 2.5. So before upgrading to 2.5 all deprecations must be replaced.

fabapp2 avatar Jan 05 '22 12:01 fabapp2

JTA-Bitronix deprecation to be looked at in #168

Prefer using AssertJ assertThat: #169

org.springframework.boot.autoconfigure.data.solr.SolrRepositoriesAutoConfiguration is a similar case - the whole lib is deprecated thus I'd leave usages of API from the lib as is for manual removal.

org.springframework.boot.actuate.endpoint.invoker.cache.CachingOperationInvoker.apply(OperationInvoker, long) - no obvious replacement. Leave as is?

BoykoAlex avatar Feb 10 '22 18:02 BoykoAlex

I think we're likely already doing a decent job at the most often used replacements here; given the age of the issue I'm going to close this one , although contributions for anything missed are still welcome.

timtebeek avatar Jun 18 '24 13:06 timtebeek