Skip to content

Upgrading org.springframework.boot:spring-boot-starter-test 2 to 3

Breaking2.7.18 → 3.5.16Breaking1Security2Deprecated2New15Changed1524Fixed657Other532

Fetching 85 releases from GitHub…56 / 85
BreakingUpgrade verdict

1 breaking change and 2 security fixes.

  • Old HTTP client property names are gone; use the new 'spring.http.reactiveclient' prefix.
  • Mail sending configuration now verifies the mail server's hostname, improving security.
  • The timestamp shown on the default error page is now HTML-escaped to prevent injection.
  • The deprecation level of the InfluxDB health property has been adjusted.
5 items need code or config changes

Adds net.minidev:json-smart 2.5.2, org.awaitility:awaitility 4.2.2.

Installs 48 packages in all (was 45).

Breaking1
Removes the 'spring.http.client' deprecation and renames 'spring.http.reactiveclient.settings' to 'spring.http.reactiveclient'.
spring.http.clientspring.http.reactiveclient.settingsspring.http.reactiveclient
Security2
MailSender auto-configuration now enables hostname verification.
Applies HTML escaping to the timestamp attribute in the Whitelabel error page.
Deprecated2
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled