Migrate Spring Boot 3.5 deprecated classes and methods
ProprietaryMigrate deprecated classes and methods that have been marked for removal in Spring Boot 3.5.
io. moderne. java. spring. boot3. SpringBoot35Deprecationsmod run . --recipe= io. moderne. java. spring. boot3. SpringBoot35DeprecationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Replace deprecated
KafkaConnectionDetailsbootstrap server methods - Replace deprecated ThreadPoolTaskSchedulerBuilder 5-argument constructor
- Remove Spring Boot 3.5 deprecated conditions
- Remove
TestRestTemplate.HttpClientOption.ENABLE_REDIRECTSoption - Replace ConditionOutcome.inverse() with constructor
- Change method name
org.springframework.boot.logging.LoggingSystemProperties getDefaultCharset()togetDefaultConsoleCharset - Update OpenTelemetry resource attributes