Migrate Spring Boot 3.5 deprecated classes and methods

Proprietary

Migrate deprecated classes and methods that have been marked for removal in Spring Boot 3.5.

io.moderne.java.spring.boot3.SpringBoot35Deprecations
mod run . --recipe=io.moderne.java.spring.boot3.SpringBoot35Deprecations

Install 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.

  1. Replace deprecated KafkaConnectionDetails bootstrap server methods
  2. Replace deprecated ThreadPoolTaskSchedulerBuilder 5-argument constructor
  3. Remove Spring Boot 3.5 deprecated conditions
  4. Remove TestRestTemplate.HttpClientOption.ENABLE_REDIRECTS option
  5. Replace ConditionOutcome.inverse() with constructor
  6. Change method name org.springframework.boot.logging.LoggingSystemProperties getDefaultCharset() to getDefaultConsoleCharset
  7. Update OpenTelemetry resource attributes